Bug 1046031 - [engine-backend] guest alignment scan fails on file storage
Summary: [engine-backend] guest alignment scan fails on file storage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.3.0
Assignee: Daniel Erez
QA Contact: Raz Tamir
URL:
Whiteboard: storage
Depends On:
Blocks: 773427 3.3rc1
TreeView+ depends on / blocked
 
Reported: 2013-12-23 10:04 UTC by Elad
Modified: 2016-02-10 20:02 UTC (History)
11 users (show)

Fixed In Version: is29
Doc Type: Bug Fix
Doc Text:
Cause: Design flaw. Consequence: An attempt was made to align disks residing on file-based storage domains, which failed. Fix: Since this alignment is pointless, the option itself was blocked in the engine. Result: LIMITATION: You cannot scan alignment for a disk residing on a file-based (NFS, POSIX, local FS, Gluster) storage domain.
Clone Of:
Environment:
Last Closed: 2014-01-21 22:11:00 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
scohen: needinfo+


Attachments (Terms of Use)
engine, vdsm, libvirt and qemu logs (2.48 MB, application/x-gzip)
2013-12-23 10:04 UTC, Elad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 22661 0 None None None Never
oVirt gerrit 22665 0 None None None Never
oVirt gerrit 22696 0 None None None Never
oVirt gerrit 22697 0 None None None Never

Description Elad 2013-12-23 10:04:15 UTC
Created attachment 840740 [details]
engine, vdsm, libvirt and qemu logs

Description of problem:
diskGetAlignment fails when scanning an align disk on file storage (nfs)
The operation fails with the following error message:

Thread-2521::ERROR::2013-12-23 11:49:27,008::BindingXMLRPC::1003::vds::(wrapper) unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/BindingXMLRPC.py", line 989, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/BindingXMLRPC.py", line 381, in diskGetAlignment
    return api.getDiskAlignment(driveSpecs)
  File "/usr/share/vdsm/API.py", line 682, in getDiskAlignment
    return self._cif.getDiskAlignment(drive)
  File "/usr/share/vdsm/clientIF.py", line 382, in getDiskAlignment
    out = alignmentScan.scanImage(volPath)
  File "/usr/share/vdsm/alignmentScan.py", line 53, in scanImage
    "or guest:\n%s" % err)
VirtAlignError: An error scanning the disk image or guest:
["libguestfs: error: filename cannot contain ':' (colon) character. This is a limitation of qemu."]

Version-Release number of selected component (if applicable):
is28.1
vdsm-4.13.2-0.3.el6ev.x86_64
libvirt-0.10.2-29.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6.x86_64
rhevm-3.3.0-0.41.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
On NFS DC:
1. run a VM with RHEL OS installed
2. scan alignment the VM disk 


Actual results:
The operation fails with the mentioned error

Expected results:
Scan alignment should work for file storage

Additional info:
engine, vdsm, libvirt and qemu logs

Comment 2 Allon Mureinik 2013-12-23 15:51:42 UTC
patch in the external tracker represents a canDoAction improvement to handle the behavior described in comment 1.

Daniel is checking if the GUI can add an additional blocking to improve user experience.

Comment 7 Raz Tamir 2013-12-29 13:57:24 UTC
verified is29

Comment 8 Raz Tamir 2013-12-29 14:02:57 UTC
verified - When selecting disk in nfs storage domain, the scan alignment is grayed out

Comment 9 Itamar Heim 2014-01-21 22:11:00 UTC
Closing - RHEV 3.3 Released


Note You need to log in before you can comment on or make changes to this bug.