Comment 2 for bug 1469822

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Update: the node update call worked after I started the node up.

$ maas admin-atlas node update node-1440bcfa-1b7e-11e5-846c-2c59e54ace74 hostname=lapras
{
    "ip_addresses": [
        "10.96.10.105"
    ],
    "cpu_count": 12,
    "power_type": "ipmi",
    "tag_names": [],
    "owner": "admin",
    "macaddress_set": [
        {
            "resource_uri": "/MAAS/api/1.0/nodes/node-1440bcfa-1b7e-11e5-846c-2c59e54ace74/macs/ec%3Ab1%3Ad7%3A80%3A00%3A09/",
            "mac_address": "ec:b1:d7:80:00:09"
        },
        {
            "resource_uri": "/MAAS/api/1.0/nodes/node-1440bcfa-1b7e-11e5-846c-2c59e54ace74/macs/ec%3Ab1%3Ad7%3A80%3A00%3A0a/",
            "mac_address": "ec:b1:d7:80:00:0a"
        },
        {
            "resource_uri": "/MAAS/api/1.0/nodes/node-1440bcfa-1b7e-11e5-846c-2c59e54ace74/macs/ec%3Ab1%3Ad7%3A80%3A00%3A0b/",
            "mac_address": "ec:b1:d7:80:00:0b"
        },
        {
            "resource_uri": "/MAAS/api/1.0/nodes/node-1440bcfa-1b7e-11e5-846c-2c59e54ace74/macs/ec%3Ab1%3Ad7%3A80%3A00%3A08/",
            "mac_address": "ec:b1:d7:80:00:08"
        }
    ],
    "zone": {
        "resource_uri": "/MAAS/api/1.0/zones/long-running/",
        "name": "long-running",
        "description": "Long-running test cloud machines. Do not grab nodes from there please."
    },
    "hostname": "lapras.scapestack",
    "storage": 500074,
    "system_id": "node-1440bcfa-1b7e-11e5-846c-2c59e54ace74",
    "power_state": "on",
    "memory": 16384,
    "disable_ipv4": false,
    "status": 6,
    "boot_type": "fastpath",
    "routers": [
        "bc:16:f5:12:56:c9",
        "bc:16:f5:12:56:ca"
    ],
    "netboot": true,
    "osystem": "ubuntu",
    "substatus": 9,
    "architecture": "amd64/generic",
    "distro_series": "trusty",
    "resource_uri": "/MAAS/api/1.0/nodes/node-1440bcfa-1b7e-11e5-846c-2c59e54ace74/"
}