Linux guest images on Hyper-V fail to access local storage when using resized differencing VHDX disks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Lucian Petrut |
Bug Description
Description of the issue
Create a differencing disk of a Linux image VHDX (any Linux distro with LIS), resizing it in the process (without resizing the base disk)
Create and boot a VM with the disk attached on the IDE controller
During boot the hv_storvsc module will start logging repeatedly the following message:
hv_storvsc vmbus_0_1: cmd 0x28 scsi status 0x2 srb status 0x4
(along with various I/O errors on sda1).
The machine manages to boot eventually after a long delay.
The following PowerShell script can be used to reproduce the issue:
http://
Tested on: Hyper-V 2012 R2 and with various Linux guests.
Workaround:
Apply the same technique used for VHD disks, where a copy of the base image is resized before the differencing one is created.
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/122195
Review: https:/