Hyper-V: vhdx images are rejected

Bug #1693470 reported by Lucian Petrut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Lucian Petrut
Ocata
Fix Committed
Medium
Lee Yarwood
compute-hyperv
Fix Released
Undecided
Unassigned

Bug Description

Although the Hyper-V driver is used with VHDX images most of the time, it rejects Glance images marked as VHDX.

Note that until recently, the default supported formats list from Glance did not include vhdx, so users would usually just mark them as 'vhd'. Not only can this be confusing, but it may also lead to having those images rejected when the specified format is actually validated.

tags: added: hyper-v
Changed in nova:
assignee: nobody → Lucian Petrut (petrutlucian94)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit f022d431e1f844a8faa7ab55597c83179c13022c
Author: Lucian Petrut <email address hidden>
Date: Tue May 23 22:45:20 2017 +0300

    [Trivial] Hyper-V: accept Glance vhdx images

    Although the Hyper-V driver is used with VHDX images most of the
    time, it rejects Glance images marked as VHDX.

    Note that for legacy reasons, people usually just mark them as vhd
    at he moment, which is misleading and unsafe.

    This change ensures that such images are handled properly.

    Closes-Bug: #1693470

    Change-Id: I1441304bd5a83b04877c1662e6e9d463ba629ed0

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/468647

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to compute-hyperv (master)

Reviewed: https://review.openstack.org/467370
Committed: https://git.openstack.org/cgit/openstack/compute-hyperv/commit/?id=387c53ccccd85a1ca43d9775ad12e4d98d86ebff
Submitter: Jenkins
Branch: master

commit 387c53ccccd85a1ca43d9775ad12e4d98d86ebff
Author: Lucian Petrut <email address hidden>
Date: Tue May 23 22:47:20 2017 +0300

    [Trivial] Hyper-V: accept Glance vhdx images

    Although the Hyper-V driver is used with VHDX images most of the
    time, it rejects Glance images marked as VHDX.

    Note that for legacy reasons, people usually just mark them as vhd
    at he moment, which is misleading and unsafe.

    This change ensures that such images are handled properly.

    Closes-Bug: #1693470

    Change-Id: I8cf4339cdf17721c257cf7aa5597594aa2d1c53f

Changed in compute-hyperv:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to compute-hyperv (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/468838

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 16.0.0.0b2

This issue was fixed in the openstack/nova 16.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to compute-hyperv (stable/ocata)

Reviewed: https://review.openstack.org/468838
Committed: https://git.openstack.org/cgit/openstack/compute-hyperv/commit/?id=93dc6f791bd6bd516cee5c8165e3e09ec8c158b9
Submitter: Jenkins
Branch: stable/ocata

commit 93dc6f791bd6bd516cee5c8165e3e09ec8c158b9
Author: Lucian Petrut <email address hidden>
Date: Tue May 23 22:47:20 2017 +0300

    [Trivial] Hyper-V: accept Glance vhdx images

    Although the Hyper-V driver is used with VHDX images most of the
    time, it rejects Glance images marked as VHDX.

    Note that for legacy reasons, people usually just mark them as vhd
    at he moment, which is misleading and unsafe.

    This change ensures that such images are handled properly.

    Closes-Bug: #1693470

    Change-Id: I8cf4339cdf17721c257cf7aa5597594aa2d1c53f
    (cherry picked from commit 387c53ccccd85a1ca43d9775ad12e4d98d86ebff)

tags: added: in-stable-ocata
Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/ocata)

Reviewed: https://review.openstack.org/468647
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=94a3ea56fad5e9890527ef6598bf3167f62bf6a6
Submitter: Jenkins
Branch: stable/ocata

commit 94a3ea56fad5e9890527ef6598bf3167f62bf6a6
Author: Lucian Petrut <email address hidden>
Date: Tue May 23 22:45:20 2017 +0300

    [Trivial] Hyper-V: accept Glance vhdx images

    Although the Hyper-V driver is used with VHDX images most of the
    time, it rejects Glance images marked as VHDX.

    Note that for legacy reasons, people usually just mark them as vhd
    at he moment, which is misleading and unsafe.

    This change ensures that such images are handled properly.

    Closes-Bug: #1693470

    Change-Id: I1441304bd5a83b04877c1662e6e9d463ba629ed0
    (cherry picked from commit f022d431e1f844a8faa7ab55597c83179c13022c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 15.0.6

This issue was fixed in the openstack/nova 15.0.6 release.

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.