yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58309
[Bug 1638581] [NEW] Flavor with zero disk cannot be selected while booting from volume
Public bug reported:
To reproduce:
- Have an image which specifies minDisk as non-zero:
wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
glance image-create --name testimg-explicit-mindisk --min-disk 1 --disk-format=qcow2 --file cirros-0.3.4-x86_64-disk.img --container-format=bare
- Have a flavor which has a zero disk requirement:
nova flavor-create --ephemeral 0 --swap 0 tstflav tstflav 512 0 1
On Horizon follow these steps:
- Instances -> Launch Instance
- Give a name for the instance, move to Source tab
- Boot source is image, select yes to create a volume
- Select testimg-explicit-mindisk for image
- Move to Flavor tab
See that flavors with 0 disk (like `tstflav`) cannot be selected.
The yellow triangle shows the following message:
The selected image source requires a flavor with at least 1 GB of root
disk. Select a flavor with a larger root disk or use a different image
source.
** Affects: horizon
Importance: Undecided
Status: Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1638581
Title:
Flavor with zero disk cannot be selected while booting from volume
Status in OpenStack Dashboard (Horizon):
Confirmed
Bug description:
To reproduce:
- Have an image which specifies minDisk as non-zero:
wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
glance image-create --name testimg-explicit-mindisk --min-disk 1 --disk-format=qcow2 --file cirros-0.3.4-x86_64-disk.img --container-format=bare
- Have a flavor which has a zero disk requirement:
nova flavor-create --ephemeral 0 --swap 0 tstflav tstflav 512 0 1
On Horizon follow these steps:
- Instances -> Launch Instance
- Give a name for the instance, move to Source tab
- Boot source is image, select yes to create a volume
- Select testimg-explicit-mindisk for image
- Move to Flavor tab
See that flavors with 0 disk (like `tstflav`) cannot be selected.
The yellow triangle shows the following message:
The selected image source requires a flavor with at least 1 GB of root
disk. Select a flavor with a larger root disk or use a different image
source.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1638581/+subscriptions