start_guests_on_host_boot option ignores use-requested states

Bug #1081808 reported by Rafi Khardalian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Rafi Khardalian

Bug Description

The start_guests_on_host_boot config option ignores any/all user-requested VM state and attempts to start every VM assigned to the hypervisor in question. This means even a VM which was suspended, paused, in error state, etc will run through the process of attempting to start. resume_guests_state_on_host_boot provides similar functionality, except that it confirms the VM was previously in a running state prior to attempting to restart on compute startup.

I can't think of a single valid use case for this behavior. This bug mainly serves as a tracking mechanism for removing the start_guests_on_host_boot configuration option outright.

Changed in nova:
assignee: nobody → Rafi Khardalian (rkhardalian)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/16698

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

Reviewed: https://review.openstack.org/16698
Committed: http://github.com/openstack/nova/commit/c21cbe8cd59bffe9b3d1fe9d9f4a8dc3da8cf313
Submitter: Jenkins
Branch: master

commit c21cbe8cd59bffe9b3d1fe9d9f4a8dc3da8cf313
Author: Rafi Khardalian <email address hidden>
Date: Wed Nov 21 22:26:11 2012 +0000

    Remove start_guests_on_host_boot config option

    Fixes bug 1081808

    The start_guests_on_host_boot config option ignores any/all
    user-requested VM state and attempts to start every VM assigned to the
    hypervisor in question. This means even a VM which was suspended,
    paused, in error state, etc will run through the process of attempting
    to start. resume_guests_state_on_host_boot provides similar
    functionality, except that it confirms the VM was previously in a
    running state prior to attempting to restart on compute startup.

    This patch will remove the config option entirely.

    Flags: DocImpact
    Change-Id: Ib26e74c46e17496bccf8e6fa3002fc4c78bde9e9

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-2 → 2013.1
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.