yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34806
[Bug 1469179] [NEW] instance.root_gb should be 0 for volume-backed instances
Public bug reported:
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_size 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].
To fix all these problems fully it is proposed to set root_gb, min_size,
size to 0 for volume-backed instances.
[1] https://bugs.launchpad.net/nova/+bug/1334974
https://bugs.launchpad.net/nova/+bug/1459491
https://bugs.launchpad.net/nova/+bug/1466305
https://bugs.launchpad.net/nova/+bug/1457517
[2] https://github.com/openstack/nova/blob/master/nova/notifications.py#L407
https://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L250
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1469179
Title:
instance.root_gb should be 0 for volume-backed instances
Status in OpenStack Compute (Nova):
New
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_size 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].
To fix all these problems fully it is proposed to set root_gb,
min_size, size to 0 for volume-backed instances.
[1] https://bugs.launchpad.net/nova/+bug/1334974
https://bugs.launchpad.net/nova/+bug/1459491
https://bugs.launchpad.net/nova/+bug/1466305
https://bugs.launchpad.net/nova/+bug/1457517
[2] https://github.com/openstack/nova/blob/master/nova/notifications.py#L407
https://github.com/openstack/nova/blob/master/nova/scheduler/host_manager.py#L250
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1469179/+subscriptions
Follow ups
References