Actions are recorded in database while users take atcions in specific
instance. These actions can be listed by comand 'nova instance-action-list'.
Resize and migrate use same code path, but always record the action as
'resize' even user migrate instance. This commit check the action
firstly then record right action.
Reviewed: https:/ /review. openstack. org/95412 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=75a0ec684c4 a972ad7703399b6 4ddf9300a7acf3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 75a0ec684c4a972 ad7703399b64ddf 9300a7acf3
Author: ChangBo Guo(gcb) <email address hidden>
Date: Mon May 26 14:10:23 2014 +0800
Record right action name while migrate
Actions are recorded in database while users take atcions in specific action- list'.
instance. These actions can be listed by comand 'nova instance-
Resize and migrate use same code path, but always record the action as
'resize' even user migrate instance. This commit check the action
firstly then record right action.
Change-Id: I3462275fa30221 73d55dfa0c87328 d4bb518239b
Closes-Bug: #1323173