← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1370531] [NEW] Linux guest images on Hyper-V fail to access local storage when using resized differencing VHDX disks

 

Public bug reported:

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://paste.openstack.org/raw/110766/

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.

** Affects: nova
     Importance: High
         Status: Triaged


** Tags: hyper-v

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1370531

Title:
  Linux guest images on Hyper-V fail to access local storage when using
  resized differencing VHDX disks

Status in OpenStack Compute (Nova):
  Triaged

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://paste.openstack.org/raw/110766/

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1370531/+subscriptions


Follow ups

References