Comment 2 for bug 897091

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

Reviewed: https://review.openstack.org/1915
Committed: http://github.com/openstack/nova/commit/4a76167e354eed4aa98232fbf6c845f86ce4cf22
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 4a76167e354eed4aa98232fbf6c845f86ce4cf22
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.

    Change-Id: I695bb5c4dcfba96a5aba54125a8f3163e1a6a193