Comment 3 for bug 897091

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (stable/diablo)

Reviewed: https://review.openstack.org/2187
Committed: http://github.com/openstack/nova/commit/c733462b229290210d6249e0f8fc7d2beaab9091
Submitter: Jenkins
Branch: stable/diablo

 tag in-stable-diablo
 done

commit c733462b229290210d6249e0f8fc7d2beaab9091
Author: Ewan Mellor <email address hidden>
Date: Sun Nov 27 23:26:49 2011 -0800

    Bug #897091: "nova actions" fails with HTTP 400 / TypeError if a server action has been performed

    Fix code in Controller.action that was overwriting the definition of the
    actions method with a dictionary. This meant that 'nova actions' would fail
    if 'nova reboot' had previously been called.

    Added two tests, one for the actions call in general, and one for this
    failure mode specifically.

    (cherry picked from commit 4a76167e354eed4aa98232fbf6c845f86ce4cf22)

    Change-Id: I695bb5c4dcfba96a5aba54125a8f3163e1a6a193