yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #33199
[Bug 1459542] [NEW] Move check whether instance is booted from volume from libvirt/driver.py to API
Public bug reported:
In the current "resize instance" implementation, if a instance is booted
from volume, it is allowed to be resize down.
But there are two problems:
1. The current implementation allows resize down with a flavor with smaller 'root_gb' than the volume the instance
booted from. This will cause differences between the actual 'root_gb' size and the one recorded in the data base.
We shouldn't allow resize down with flavor has less 'root_gb' than the volume.
2. Check if the instance is booted from volume in driver.py is a bad
implementation, we should perform it in API layer.
** Affects: nova
Importance: Undecided
Assignee: Zhenyu Zheng (zhengzhenyu)
Status: New
** Changed in: nova
Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu)
--
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/1459542
Title:
Move check whether instance is booted from volume from
libvirt/driver.py to API
Status in OpenStack Compute (Nova):
New
Bug description:
In the current "resize instance" implementation, if a instance is
booted from volume, it is allowed to be resize down.
But there are two problems:
1. The current implementation allows resize down with a flavor with smaller 'root_gb' than the volume the instance
booted from. This will cause differences between the actual 'root_gb' size and the one recorded in the data base.
We shouldn't allow resize down with flavor has less 'root_gb' than the volume.
2. Check if the instance is booted from volume in driver.py is a bad
implementation, we should perform it in API layer.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1459542/+subscriptions
Follow ups
References