Missing metadata definition for graceful shutdown
Bug #1368036 reported by
Travis Tripp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Travis Tripp |
Bug Description
The following Nova patch adds support for graceful shutdown of a guest VM and allows setting timeout properties on images. The properties should be updated in the Metadata Definitions catalog.
Please note that the related spec does not seem to match the code in terms of the properties to set, so this needs to be investigated a bit to determine the correct properties to set.
Changed in glance: | |
assignee: | nobody → Travis Tripp (travis-tripp) |
status: | New → In Progress |
tags: | added: metadef |
Changed in glance: | |
importance: | Undecided → Low |
milestone: | none → juno-rc2 |
Changed in glance: | |
milestone: | juno-rc2 → 2014.2 |
To post a comment you must log in.
From: Day, Phil
Sent: Thursday, September 11, 2014 3:04 AM
To: Tripp, Travis S
Subject: RE: User Defined Shutdown
Hi Travis,
The only part that merged in Juno is at the compute manager level, where all operations apart from delete will now by default try to do a clean shutdown. At this level you can override how long to wait (0 = just power off) via an image property.
There is another stage coming (Early Kilo now) which will expose the ability to force a shutdown via the API – that needs changes to the RPLC layer that I know from before are messy because of the cells code, plus of course it means an API extension, so I split it up to get the basic shutdown behavior in for J
Phil
From: Tripp, Travis S
Sent: 11 September 2014 02:30
To: Day, Phil
Subject: User Defined Shutdown
Hi Phil,
I’m going to plead lazy here and say that I only skimmed through all the code.
In the below spec, it mentions “shutdown_type”. However, I only see shutdown_timeout in the code. What are all the properties and values that can be added images now in support of this feature?
Also, did you implement controlling this through an image property AND a flavor property? Or is it just image properties?
https:/ /github. com/openstack/ nova-specs/ blob/master/ specs/juno/ user-defined- shutdown. rst
Thanks,
Travis