Hyper-V: new disk policy should be validated

Bug #1727257 reported by Lucian Petrut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compute-hyperv
Fix Released
Undecided
Unassigned

Bug Description

One common host configuration issue that can lead to passthrough volume attachment errors implies having the new disk policy (also known as SAN policy) set to "Online All". What this means is that new disks will automatically be claimed by the host, which won't allow them to be exposed to virtual machines.

At the moment, when such a SAN policy is configured, we're just raising a DiskNotFound exception while looking for an attachable disk. This is not very user friendly.

The Hyper-V Nova driver should validate the SAN policy when dealing with passthrough disks, thus saving useless debugging time.

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

Reviewed: https://review.openstack.org/516661
Committed: https://git.openstack.org/cgit/openstack/compute-hyperv/commit/?id=8e5937e66803b134b06f8c186e1682c7654502d5
Submitter: Zuul
Branch: master

commit 8e5937e66803b134b06f8c186e1682c7654502d5
Author: Alexandru Muresan <email address hidden>
Date: Tue Oct 31 11:49:27 2017 +0200

    Validate SAN policy when having passthrough disks

    One common cause for passthrough disk attachment issues is an
    incorrectly configured san policy. Having it set to 'online' will
    prevevent disks from being attached to VMs.

    This change allows the hyperv driver to check the san policy and
    log a warning message when the driver loads and when a passthrough
    disk is being attached.

    Depends-On: I25033c15b77f494a417c9cd01d194a8bfb3cfe13
    Change-Id: Ia123d98286fa99f45f91bfc47a4f0d468fa7d13e
    Closes-Bug: #1727257

Changed in compute-hyperv:
status: New → Fix Released
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.