Can't update ipmi settings using maas-cli

Bug #1057854 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Critical
Unassigned

Bug Description

I ran the command below, got a 200 OK response but the ipmi settings weren't updated.

ubuntu@lenovo-RD230-01:~$ maas-cli api maas node update node-7d828c3e-0902-11e2-8461-00e081ddd1cf power_type=ipmi power_parameters_power_address=192.168.22.33 power_parameters_power_user=root power_parameters_power_pass=ubuntu
200 OK

  Content-Length: 731
    Content-Type: application/json; charset=utf-8
            Date: Fri, 28 Sep 2012 00:49:52 GMT
          Server: Apache/2.2.22 (Ubuntu)
          Status: 200
            Vary: Authorization,Cookie

{
    "status": 0,
    "macaddress_set": [
        {
            "resource_uri": "/MAAS/api/1.0/nodes/node-7d828c3e-0902-11e2-8461-00e081ddd1cf/macs/00:e0:81:dd:d5:99/",
            "mac_address": "00:e0:81:dd:d5:99"
        },
        {
            "resource_uri": "/MAAS/api/1.0/nodes/node-7d828c3e-0902-11e2-8461-00e081ddd1cf/macs/00:e0:81:dd:d5:9a/",
            "mac_address": "00:e0:81:dd:d5:9a"
        }
    ],
    "power_parameters": "",
    "netboot": true,
    "hostname": "node-00e081ddd599.local",
    "power_type": "",
    "system_id": "node-7d828c3e-0902-11e2-8461-00e081ddd1cf",
    "architecture": "amd64",
    "tag_names": [],
    "resource_uri": "/MAAS/api/1.0/nodes/node-7d828c3e-0902-11e2-8461-00e081ddd1cf/"
}

Tags: api cli
Revision history for this message
Diogo Matsubara (matsubara) wrote :

This is probably a dupe of bug 1060079. I'll leave this open until that bug is fixed so I can check it fixes the issue I reported here.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

I'll mark it as a dupe for now, just undupe it if the other bug fix turns out not to have fixed this.

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.