[Bug 1459748] [NEW] libvirt.libvirtError: internal error: Child process () unexpected exit status 1: qemu-img: Image creation needs a size parameter

Launchpad Bug Tracker 1459748 at bugs.launchpad.net
Tue Jun 30 10:05:22 UTC 2015


You have been subscribed to a public bug by Robie Basak (racb):

Syncing cloud images fails on wily:

$ uvt-simplestreams-libvirt sync release=vivid arch=amd64
Traceback (most recent call last):
  File "/usr/bin/uvt-simplestreams-libvirt", line 27, in <module>
    uvtool.libvirt.simplestreams.main()
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/simplestreams.py", line 326, in main
    args.func(args)
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/simplestreams.py", line 269, in main_sync
    tmirror.sync(smirror, initial_path)
  File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 88, in sync
    return self.sync_index(reader, path, data, content)
  File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 236, in sync_index
    self.sync(reader, path=epath)
  File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 86, in sync
    return self.sync_products(reader, path, data, content)
  File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 315, in sync_products
    self.insert_item(item, src, target, pgree, ipath_cs)
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/simplestreams.py", line 236, in insert_item
    pool_name=LIBVIRT_POOL_NAME
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/__init__.py", line 70, in create_volume_from_fobj
    pool_name=pool_name
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/__init__.py", line 91, in _create_volume_from_fobj_with_size
    vol = pool.createXML(etree.tostring(new_vol), 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3087, in createXML
    if ret is None:raise libvirtError('virStorageVolCreateXML() failed', pool=self)
libvirt.libvirtError: internal error: Child process (/usr/bin/qemu-img create -f qcow2 -o compat=0.10 /var/lib/uvtool/libvirt/images/x-uvt-b64-Y29tLnVidW50dS5jbG91ZDpzZXJ2ZXI6MTUuMDQ6YW1kNjQgMjAxNTA1MTMuMQ==) unexpected exit status 1: qemu-img: /var/lib/uvtool/libvirt/images/x-uvt-b64-Y29tLnVidW50dS5jbG91ZDpzZXJ2ZXI6MTUuMDQ6YW1kNjQgMjAxNTA1MTMuMQ==: Image creation needs a size parameter

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: uvtool (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: patch
-- 
libvirt.libvirtError: internal error: Child process () unexpected exit status 1: qemu-img: Image creation needs a size parameter
https://bugs.launchpad.net/bugs/1459748
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.



More information about the Ubuntu-server-bugs mailing list