instance.root_gb should be 0 for volume-backed instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Smith |
Bug Description
instance.root_gb means size of host local disk used by the instance root disk. All code that uses this attribute treats it that way.
Volume-backed instances have root disks placed in Cinder. Therefore obviously root_gb should be 0 for them. However currently this is not so. The same applies to min_disk and size image attributes, used for boot from a volume.
As a result the code which uses these attributes works incorrectly. Some problems are already detected [1], other are not yet [2].
There are two kinds of bugs:
1 Nova fails to launch an instance from a large volume if the volume size (or an original image's min_disk) is greater than requested flavor.root_gb.
2 Nova incorrectly calculates host disk space consumed by volume-backed instances.
To fix all these problems fully it is proposed to set root_gb, min_disk, size to 0 for volume-backed instances.
[1] https:/
https:/
https:/
https:/
https:/
[2] https:/
https:/
tags: | added: disks volumes |
description: | updated |
Changed in nova: | |
assignee: | nobody → Feodor Tersin (ftersin) |
status: | New → In Progress |
description: | updated |
tags: | added: kilo-backport-potential |
Changed in nova: | |
assignee: | Feodor Tersin (ftersin) → Matthew Booth (mbooth-9) |
Changed in nova: | |
assignee: | Matthew Booth (mbooth-9) → Feodor Tersin (ftersin) |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | Feodor Tersin (ftersin) → Tobias Urdin (tobias-urdin) |
tags: | added: liberty-backport-potential |
Changed in nova: | |
assignee: | Tobias Urdin (tobias-urdin) → Ankit Agrawal (ankitagrawal) |
Changed in nova: | |
assignee: | Ankit Agrawal (ankitagrawal) → melanie witt (melwitt) |
Changed in nova: | |
assignee: | nobody → melanie witt (melwitt) |
status: | New → In Progress |
Changed in nova: | |
assignee: | nobody → melanie witt (melwitt) |
status: | New → In Progress |
tags: | added: pike-backport-potential |
tags: | added: canonical-bootstack |
Changed in nova: | |
assignee: | Dan Smith (danms) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Dan Smith (danms) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Dan Smith (danms) |
tags: | removed: kilo-backport-potential liberty-backport-potential mitaka-backport-potential pike-backport-potential |
tags: | added: rocky-rc-potential |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Dan Smith (danms) |
Fix proposed to branch: master /review. openstack. org/200870
Review: https:/