Hyper-V: new disk policy should be validated
Bug #1727257 reported by
Lucian Petrut
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.
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/516661 /git.openstack. org/cgit/ openstack/ compute- hyperv/ commit/ ?id=8e5937e6680 3b134b06f8c186e 1682c7654502d5
Committed: https:/
Submitter: Zuul
Branch: master
commit 8e5937e66803b13 4b06f8c186e1682 c7654502d5
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: I25033c15b77f49 4a417c9cd01d194 a8bfb3cfe13 f45f91bfc47a4f0 d468fa7d13e
Change-Id: Ia123d98286fa99
Closes-Bug: #1727257