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.
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 /bugs.launchpad .net/nova/ +bug/1459491 /bugs.launchpad .net/nova/ +bug/1466305 /bugs.launchpad .net/nova/ +bug/1457517 /github. com/openstack/ nova/blob/ master/ nova/notificati ons.py# L407 /github. com/openstack/ nova/blob/ master/ nova/scheduler/ host_manager. py#L250
https:/
https:/
https:/
[2] https:/
https:/