← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1401101] [NEW] Nova launch instance from snapshot ignores --min-disk

 

Public bug reported:

Description of problem: Nova launch instance from Horizon, if glance
image has --min-disk set insufficient flavors are filtered out. When
launching from a snapshot with --min-disk set, flavors aren't filtered
out, they all show up even flavors with insufficient disk size.


Version-Release number of selected component (if applicable):
rhel7 
python-nova-2014.1.3-9.el7ost.noarch
openstack-nova-compute-2014.1.3-9.el7ost.noarch
openstack-nova-common-2014.1.3-9.el7ost.noarch
python-novaclient-2.17.0-2.el7ost.noarch


How reproducible:
Every time

Steps to Reproduce:
1. Upload an image to glance, set --min-disk to say 20G
2. Try to launch an instance from within horizon from that image, notice tiny flavor is grayed out. 
3. From the booted instance above create a snapshot
4. Edit that snapshot   #glance image-update snapID --min-disk 20
5. From horizon boot an instance from the snapshot, notice you can select any flavor including tiny which should have been grayed out as in the case of image on step 2.


Actual results:
Tiny flavor isn't filtered from Horizon launch instance page.

Expected results:
As in the case of image if --min-disk is set any flavor with insufficient disk space should be grayed out.


If this happens to --min-disk it might also happen with  --min-ram.

** 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/1401101

Title:
  Nova launch instance from snapshot ignores --min-disk

Status in OpenStack Compute (Nova):
  New

Bug description:
  Description of problem: Nova launch instance from Horizon, if glance
  image has --min-disk set insufficient flavors are filtered out. When
  launching from a snapshot with --min-disk set, flavors aren't filtered
  out, they all show up even flavors with insufficient disk size.

  
  Version-Release number of selected component (if applicable):
  rhel7 
  python-nova-2014.1.3-9.el7ost.noarch
  openstack-nova-compute-2014.1.3-9.el7ost.noarch
  openstack-nova-common-2014.1.3-9.el7ost.noarch
  python-novaclient-2.17.0-2.el7ost.noarch

  
  How reproducible:
  Every time

  Steps to Reproduce:
  1. Upload an image to glance, set --min-disk to say 20G
  2. Try to launch an instance from within horizon from that image, notice tiny flavor is grayed out. 
  3. From the booted instance above create a snapshot
  4. Edit that snapshot   #glance image-update snapID --min-disk 20
  5. From horizon boot an instance from the snapshot, notice you can select any flavor including tiny which should have been grayed out as in the case of image on step 2.

  
  Actual results:
  Tiny flavor isn't filtered from Horizon launch instance page.

  Expected results:
  As in the case of image if --min-disk is set any flavor with insufficient disk space should be grayed out.

  
  If this happens to --min-disk it might also happen with  --min-ram.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1401101/+subscriptions


Follow ups

References