This happened to me today.
$ maas root nodes list | grep hostname "hostname": "usable-group.maas", "hostname": "eager-insurance.maas", "hostname": "funny-shape.maas", "hostname": "fast-hospital.maas",
$ maas root nodes list hostname=usable-group.maas Success. Machine-readable output follows: []
$ maas root nodes list | grep -e hostname -e mac_address "mac_address": "52:54:00:99:41:84" "hostname": "usable-group.maas", "mac_address": "52:54:00:76:ed:b3" "mac_address": "52:54:00:cd:c6:00" "hostname": "eager-insurance.maas", "mac_address": "52:54:00:6f:25:b0" "hostname": "funny-shape.maas", "mac_address": "52:54:00:ab:a7:da" "hostname": "fast-hospital.maas",
$ maas root nodes list mac_address="52:54:00:99:41:84" Success. Machine-readable output follows: [ { "ip_addresses": [], "cpu_count": 0, "power_type": "", "tag_names": [], "swap_size": null, "owner": null, "macaddress_set": [ { "resource_uri": "/MAAS/api/1.0/nodes/node-5b20bbb4-833b-11e5-af6f-525400aabbcc/macs/52%3A54%3A00%3A99%3A41%3A84/", "mac_address": "52:54:00:99:41:84" } ], "zone": { "resource_uri": "/MAAS/api/1.0/zones/default/", "name": "default", "description": "" }, "hostname": "usable-group.maas", "storage": 0, "system_id": "node-5b20bbb4-833b-11e5-af6f-525400aabbcc", "boot_type": "fastpath", "memory": 0, "disable_ipv4": false, "status": 0, "power_state": "unknown", "routers": null, "pxe_mac": null, "netboot": true, "osystem": "", "substatus": 0, "architecture": "amd64/generic", "distro_series": "", "resource_uri": "/MAAS/api/1.0/nodes/node-5b20bbb4-833b-11e5-af6f-525400aabbcc/" } ]
$ dpkg-query -W maas maas 1.8.3+bzr4053-0ubuntu1~trusty1
This happened to me today.
$ maas root nodes list | grep hostname group.maas" , insurance. maas", maas",
"hostname": "usable-
"hostname": "eager-
"hostname": "funny-shape.maas",
"hostname": "fast-hospital.
$ maas root nodes list hostname= usable- group.maas
Success.
Machine-readable output follows:
[]
$ maas root nodes list | grep -e hostname -e mac_address
"mac_ address" : "52:54:00:99:41:84" group.maas" ,
"mac_ address" : "52:54:00:76:ed:b3"
"mac_ address" : "52:54:00:cd:c6:00" insurance. maas",
"mac_ address" : "52:54:00:6f:25:b0"
"mac_ address" : "52:54:00:ab:a7:da" maas",
"hostname": "usable-
"hostname": "eager-
"hostname": "funny-shape.maas",
"hostname": "fast-hospital.
$ maas root nodes list mac_address= "52:54: 00:99:41: 84"
"ip_addresses" : [],
"cpu_count" : 0,
"power_ type": "",
"tag_names" : [],
"swap_ size": null,
"macaddress_ set": [
"resource_ uri": "/MAAS/ api/1.0/ nodes/node- 5b20bbb4- 833b-11e5- af6f-525400aabb cc/macs/ 52%3A54% 3A00%3A99% 3A41%3A84/ ",
"mac_ address" : "52:54:00:99:41:84"
"resource_ uri": "/MAAS/ api/1.0/ zones/default/ ",
"descripti on": "" group.maas" ,
"system_ id": "node-5b20bbb4- 833b-11e5- af6f-525400aabb cc",
"boot_ type": "fastpath",
"disable_ ipv4": false,
"power_ state": "unknown",
"substatus" : 0,
"architecture" : "amd64/generic",
"distro_ series" : "",
"resource_ uri": "/MAAS/ api/1.0/ nodes/node- 5b20bbb4- 833b-11e5- af6f-525400aabb cc/"
Success.
Machine-readable output follows:
[
{
"owner": null,
{
}
],
"zone": {
"name": "default",
},
"hostname": "usable-
"storage": 0,
"memory": 0,
"status": 0,
"routers": null,
"pxe_mac": null,
"netboot": true,
"osystem": "",
}
]
$ dpkg-query -W maas 0ubuntu1~ trusty1
maas 1.8.3+bzr4053-