Nova compute needs a config option for resume_guests_state_on_host_boot

Bug #1515783 reported by David Ames
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Fix Released
Medium
Dmitrii Shcherbakov
nova-compute (Juju Charms Collection)
Invalid
Medium
Dmitrii Shcherbakov

Bug Description

Kilo's default for resume_guests_state_on_host_boot is False [1]. Any time a compute node is rebooted all the instances are in a Shutdown state until started by a human. This is somewhat opposite of expected behaviour.

The nova-compute charm should have a configurable resume_guests_state_on_host_boot option.

[1] http://docs.openstack.org/kilo/config-reference/content/list-of-compute-config-options.html

Tags: openstack
David Ames (thedac)
affects: charms → nova-compute (Juju Charms Collection)
Changed in nova-compute (Juju Charms Collection):
milestone: none → 16.01
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
David Ames (thedac) wrote :

For continuity the default for resume_guests_state_on_host_boot should remain False.

The example has been given of cold migrating instances off of a crashed/broken compute note. Then one would not want instances spun up automatically.

The configuration option at the discretion of the administrator is what this bug is aiming at.

Revision history for this message
Billy Olsen (billy-olsen) wrote :

As a work around to actually having the option on the charm, since the resume_guests_state_on_host_boot option lives within the [DEFAULT] config section, the config-flags option can be set to include this value.

Revision history for this message
James Page (james-page) wrote : Re: [Bug 1515783] Re: Nova compute needs a config option for resume_guests_state_on_host_boot

I think it would be also nice to complement this with an action to help a
cloud admin restart all of the instances that where running on a compute
host which has been rebooted.

On Thu, Nov 12, 2015 at 10:14 PM, Billy Olsen <email address hidden>
wrote:

> As a work around to actually having the option on the charm, since the
> resume_guests_state_on_host_boot option lives within the [DEFAULT]
> config section, the config-flags option can be set to include this
> value.
>
> --
> You received this bug notification because you are a member of OpenStack
> Charmers, which is subscribed to nova-compute in Juju Charms Collection.
> https://bugs.launchpad.net/bugs/1515783
>
> Title:
> Nova compute needs a config option for
> resume_guests_state_on_host_boot
>
> Status in nova-compute package in Juju Charms Collection:
> Triaged
>
> Bug description:
> Kilo's default for resume_guests_state_on_host_boot is False [1].
> Any time a compute node is rebooted all the instances are in a
> Shutdown state until started by a human. This is somewhat opposite of
> expected behaviour.
>
> The nova-compute charm should have a configurable
> resume_guests_state_on_host_boot option.
>
> [1] http://docs.openstack.org/kilo/config-reference/content/list-of-
> compute-config-options.html
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/charms/+source/nova-compute/+bug/1515783/+subscriptions
>

James Page (james-page)
Changed in nova-compute (Juju Charms Collection):
milestone: 16.01 → 16.04
tags: added: openstack
James Page (james-page)
Changed in nova-compute (Juju Charms Collection):
milestone: 16.04 → 16.07
Liam Young (gnuoy)
Changed in nova-compute (Juju Charms Collection):
milestone: 16.07 → 16.10
James Page (james-page)
Changed in nova-compute (Juju Charms Collection):
milestone: 16.10 → 17.01
Changed in nova-compute (Juju Charms Collection):
assignee: nobody → Dmitrii Shcherbakov (dmitriis)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (master)

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

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

Reviewed: https://review.openstack.org/422311
Committed: https://git.openstack.org/cgit/openstack/charm-nova-compute/commit/?id=1b9290d047432d704546c201376d75cc5dca304c
Submitter: Jenkins
Branch: master

commit 1b9290d047432d704546c201376d75cc5dca304c
Author: Dmitrii Shcherbakov <email address hidden>
Date: Thu Jan 19 00:55:33 2017 +0300

    Add an ability to configure resume_guests_state_on_host_boot

    resume_guests_state_on_host_boot can be set to 'true' in order to
    restore the state of instances after a nove-compute node is restarted.

    Closes-Bug: 1515783

    Change-Id: Ifa5347db123773fc07800d653a72ced14e3891ea
    Signed-off-by: Dmitrii Shcherbakov <email address hidden>

Changed in nova-compute (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-nova-compute:
assignee: nobody → Dmitrii Shcherbakov (dmitriis)
importance: Undecided → Medium
status: New → Fix Committed
Changed in nova-compute (Juju Charms Collection):
status: Fix Committed → Invalid
James Page (james-page)
Changed in charm-nova-compute:
milestone: none → 17.02
James Page (james-page)
Changed in charm-nova-compute:
status: Fix Committed → Fix Released
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.