RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 623605 - [vdsm] [storage] copyimage (create template) failed on error while converting raw: No space left on device
Summary: [vdsm] [storage] copyimage (create template) failed on error while converting...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Igor Lvovsky
QA Contact: Haim
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-12 09:56 UTC by Haim
Modified: 2014-01-13 00:46 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-02 14:59:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vdsm log (1.03 MB, application/x-gzip)
2010-08-12 09:56 UTC, Haim
no flags Details

Description Haim 2010-08-12 09:56:53 UTC
Created attachment 438387 [details]
vdsm log

Description of problem:

Fail to create template, as vdsm practically tears down the image during qemu-img convert operation, which says: "error while converting raw: No space left on device\']",)',)" 

it happens on most vms (I use vm with 2 disks, 1 cow and 1 raw). 

attached some of the log (and full log is attached as well).

819a1faa-dc0c-4720-91e8-b2da7867544f::INFO::2010-08-12 11:54:18,515::volume::518::irs::Volume: tearing down volume 6c4717af-38c1-47ea-846d-e8ecea1cd633/ba485053-e740-46b3-b62e-02ec5bcdcda0 justme False
819a1faa-dc0c-4720-91e8-b2da7867544f::INFO::2010-08-12 11:54:18,516::vg::697::irs::deactivateLV ba485053-e740-46b3-b62e-02ec5bcdcda0
819a1faa-dc0c-4720-91e8-b2da7867544f::DEBUG::2010-08-12 11:54:18,517::misc::92::irs::'/usr/bin/sudo -n /sbin/lvchange --config " devices { preferred_names = [\\"^/dev/mapper/\\"] write_cache_state=0 filter = [ \\"
a%/dev/mapper/14f504e46494c4500687a6a5649302d7a5031732d53457373%\\", \\"r%.*%\\" ] }  backup {  retain_min = 50  retain_days = 0 } " --available n 6c4717af-38c1-47ea-846d-e8ecea1cd633/ba485053-e740-46b3-b62e-02ec5
bcdcda0' (cwd None)
819a1faa-dc0c-4720-91e8-b2da7867544f::DEBUG::2010-08-12 11:54:18,783::misc::111::irs::SUCCESS: <err> = ''; <rc> = 0
819a1faa-dc0c-4720-91e8-b2da7867544f::ERROR::2010-08-12 11:54:18,784::misc::58::irs::low level Image copy failed: ('General Storage Exception: ("rc: 1, err: [\'qemu-img: /rhev/data-center/6acd4aff-334a-44e1-8370-0
48f1ba9962b/6c4717af-38c1-47ea-846d-e8ecea1cd633/images/1fb2cd3b-ade2-40f2-aa45-867ea16b9fa9/ba485053-e740-46b3-b62e-02ec5bcdcda0: error while converting raw: No space left on device\']",)',)
819a1faa-dc0c-4720-91e8-b2da7867544f::ERROR::2010-08-12 11:54:18,785::misc::59::irs::Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 973, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/task.py", line 320, in run
    return self.cmd(*self.argslist, **self.argsdict)
  File "/usr/share/vdsm/storage/spm.py", line 107, in run
    return self.func(*args, **kwargs)
  File "/usr/share/vdsm/storage/spm.py", line 627, in copyImage
    volType, volFormat, preallocate, postZero, force)
  File "/usr/share/vdsm/storage/image.py", line 715, in copy
    raise se.CopyImageError(str(e))
CopyImageError: low level Image copy failed: ('General Storage Exception: ("rc: 1, err: [\'qemu-img: /rhev/data-center/6acd4aff-334a-44e1-8370-048f1ba9962b/6c4717af-38c1-47ea-846d-e8ecea1cd633/images/1fb2cd3b-ade2
-40f2-aa45-867ea16b9fa9/ba485053-e740-46b3-b62e-02ec5bcdcda0: error while converting raw: No space left on device\']",)',)


this happens on my rhel6 server using latest vdsm 4.9 available. 



2.6.32-59.1.el6.x86_64
libvirt-0.8.1-22.el6.x86_64
vdsm-4.9-12.el6.x86_64
device-mapper-multipath-0.4.9-25.el6.x86_64
lvm2-2.02.72-4.el6.x86_64
qemu-kvm-0.12.1.2-2.109.el6.x86_64

Comment 1 Haim 2010-08-12 09:59:01 UTC
repro: 

1) work in iscsi storage 
2) create trample from vm running with 2 disks

Comment 3 Igor Lvovsky 2010-08-17 07:56:56 UTC
Work for me for both COW and RAW disks on my RHEL6.
I need you reproduce it, please.

Comment 5 Haim 2010-08-25 10:40:29 UTC
ignore latest comment - Paikov managed to reproduce and Saggi provided a patch.

Comment 6 Saggi Mizrahi 2010-08-25 10:56:37 UTC
It turns out Igor doesn't think it is the same bug. I tend to trust him on that.
Haim, please reproduce on old build so we can be sure it is fixed in new one.

Comment 9 Igor Lvovsky 2010-08-30 11:36:44 UTC
Be aware to volume format during reproducing.

Comment 10 Haim 2010-09-02 14:59:56 UTC
no repro. close as WORKSFORME


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