Bug 844294

Summary: VDSM - 3.1 beta1 - VM (with thin-provision disk) enter to “paused” state, during installation OS (SPM not extending the disk)
Product: Red Hat Enterprise Linux 6 Reporter: vvyazmin <vvyazmin>
Component: vdsmAssignee: Federico Simoncelli <fsimonce>
Status: CLOSED ERRATA QA Contact: vvyazmin <vvyazmin>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.3CC: abaron, bazulay, cpelland, dyasny, hateya, iheim, ilvovsky, jbiddle, jlibosva, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: betaKeywords: Regression, TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: vdsm-4.9.6-26.0 Doc Type: Bug Fix
Doc Text:
Previously, a storage space error caused virtual machines on thin provision disks to enter a paused state during any operating system installation. This caused the installation to fail. This patch corrects the storage space error, allowing succesful installation of any operating system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:04:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
## Logs vdsm, rhevm none

Description vvyazmin@redhat.com 2012-07-30 08:55:58 UTC
Created attachment 601157 [details]
## Logs vdsm, rhevm

Description of problem:
[engine-core] VM (with thin-provision disk) enter to “paused” state, during installation OS

Version-Release number of selected component (if applicable):
RHEVM 3.1 - SI12

RHEVM: rhevm-3.1.0-9.el6ev.noarch
VDSM: vdsm-4.9.6-24.0.el6_3.x86_64
LIBVIRT: libvirt-0.9.10-21.el6.x86_64
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6.x86_64
SANLOCK: sanlock-2.3-3.el6_3.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create iSCSI DC, attache 2 hosts
Host-A [SPM]
Host-B [HSM]
2. Create a VM with thin-provision disk on Host-B
3. Start install OS on current VM
  
Actual results:
During installation OS, VM enter to “paused” status
Error: VM VM-001 has paused due to no Storage space error.

Expected results:
Succeed install OS on VM

Additional info:
1. HSM send command extend disk during installation OS on VM with thin-provision disk
2. SMP not get tasks from HSM
3. Disk not extend
4. VM enter to “paused” state

Comment 2 Federico Simoncelli 2012-07-30 09:41:03 UTC
commit ef04b803058b13b86c2ad6816a47daa890b48497
Author: Federico Simoncelli <fsimonce>
Date:   Mon Jul 30 05:09:10 2012 -0400

    BZ#844294 Add requiresMailbox to StorageDomain
    
    Since commit 942c2dc the storage domain objects are all DomainProxy
    instances, but the method StoragePool.__createMailboxMonitor was still
    relying on identifying the object type to activate the HSM mailbox.
    
    Signed-off-by: Federico Simoncelli <fsimonce>
    Change-Id: If26f06102b2ca54ee6fdb2cd617302b0b1ccbea7

http://gerrit.ovirt.org/6754

Comment 3 vvyazmin@redhat.com 2012-08-05 14:47:20 UTC
Verified on RHEVM 3.1 - SI13

RHEVM: rhevm-3.1.0-10.el6ev.noarch
VDSM: vdsm-4.9.6-26.0.el6_3.x86_64
LIBVIRT: libvirt-0.9.10-21.el6.x86_64
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.298.el6_3.x86_64
SANLOCK: sanlock-2.3-3.el6_3.x86_64

Comment 7 errata-xmlrpc 2012-12-04 19:04:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1508.html