Comment 2 for bug 1372812

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/123392
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cb42b79c1bf3a260c52087416ce46d4602bf2941
Submitter: Jenkins
Branch: master

commit cb42b79c1bf3a260c52087416ce46d4602bf2941
Author: Eli Qiao <email address hidden>
Date: Tue Sep 23 16:15:57 2014 +0800

    Add more status when do _poll_rebooting_instances

    Add task_states.REBOOT_STARTED and REBOOT_PENDING to the filters
    when doing _poll_rebooting_instances.

    When doing reboot, the task status will be REBOOT_STARTED for
    long time in some cases, it's better to add this status
    when polling the rebooting instances and try to trigger
    reboot again.
    for REBOOT_PENDING, it is also reasonable to be added.

    besides, this patch also adds new unit test case for
    _poll_rebooting_instances.

    Change-Id: I84e8cb402291ab1401d432cac8701d34a82d2d60
    Closes-Bug: 1372812