Comment 6 for bug 1401101

Revision history for this message
Michael Hagedorn (mike-hagedorn) wrote : Re: [Bug 1401101] Re: Nova launch instance from snapshot ignores --min-disk

Yeah that¹s a good point, is this worth pursuing? Or fix it then
coordinate with the launch instance folks. Thoughts?

On 1/15/15, 8:43 AM, "Matthias Runge" <email address hidden> wrote:

>I think, this should be fixed during launch instance refactoring
>
>--
>You received this bug notification because you are a bug assignee.
>https://bugs.launchpad.net/bugs/1401101
>
>Title:
> Nova launch instance from snapshot ignores --min-disk
>
>Status in OpenStack Dashboard (Horizon):
> Confirmed
>Status in OpenStack Compute (Nova):
> Invalid
>
>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/horizon/+bug/1401101/+subscriptions