start_guests_on_host_boot option ignores use-requested states

Bug #1081808 reported by Rafi Khardalian on 2012-11-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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

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) on 2013-01-09
Changed in nova:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-04-04
Changed in nova:
milestone: grizzly-2 → 2013.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers