min_ram and min_disk is ignored when boot from volume

Bug #1360022 reported by jiang, yunhong
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
jiang, yunhong
Icehouse
Fix Released
Medium
Matthew Booth

Bug Description

When boot from volume and the volume is created from a image, the original image's min_ram, min_disk attributes are ignored, this is not good.

The reason of this failure is because the _check_requested_image() in compute/api.py ignore if the source if a volume.

Changed in nova:
assignee: nobody → jiang, yunhong (yunhong-jiang)
tags: added: bdm
tags: removed: bdm
Changed in nova:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/116407

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/116407
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=acf881a69b672936fec83900fc803c65c669f2a9
Submitter: Jenkins
Branch: master

commit acf881a69b672936fec83900fc803c65c669f2a9
Author: Yunhong Jiang <email address hidden>
Date: Thu Aug 21 17:46:50 2014 -0700

    Check min_ram and min_disk when boot from volume

    Currently when boot from volume and the volume is created
    from a image, the original image's min_ram, min_disk attributes
    are ignored, this is not good.

    We should extract these properties from the volume and check
    it when boot from volume.

    Change-Id: I861a78b5c7efa71e4bf7206d388b8d0d8048c78e
    Closes-Bug: #1360022

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/152555

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/icehouse)

Reviewed: https://review.openstack.org/152555
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=58a63935ac462ede5f0b78d58ba5397a777f3325
Submitter: Jenkins
Branch: stable/icehouse

commit 58a63935ac462ede5f0b78d58ba5397a777f3325
Author: Yunhong Jiang <email address hidden>
Date: Thu Aug 21 17:46:50 2014 -0700

    Check min_ram and min_disk when boot from volume

    Currently when boot from volume and the volume is created
    from a image, the original image's min_ram, min_disk attributes
    are ignored, this is not good.

    We should extract these properties from the volume and check
    it when boot from volume.

    (cherry picked from commit acf881a69b672936fec83900fc803c65c669f2a9)

    Conflicts:
     nova/compute/api.py
     nova/tests/compute/test_compute_api.py

    Change-Id: I861a78b5c7efa71e4bf7206d388b8d0d8048c78e
    Closes-Bug: #1360022

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.