Image creation needs a size parameter
Bug #1057806 reported by
Joshua Harlow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Joshua Harlow |
Bug Description
It seems like a bug was introduced that should of formatted the qemu create options as a comma separated list.
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
To post a comment you must log in.
2012-09-27 22:01:27 ERROR nova.compute. manager [req-2a609574- ec50-4127- a55f-898d31e395 82 9cfba3bf8cf04c5 ab0c4613a98c50d f6 27b0e44aa8ba465 586b52feff8aa2d 14] [instance: d0db9727- 9598-49eb- 891c-c95f60f259 7f] Build error: ['Traceback (most recent call last):\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/compute/ manager. py", line 501, in _run_instance\n injected_files, admin_password)\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/compute/ manager. py", line 748, in _spawn\n block_device_ info)\n' , ' File "/home/ harlowja/ openstack/ nova/app/ nova/exception. py", line 117, in wrapped\n temp_level, payload)\n', ' File "/usr/lib64/ python2. 6/contextlib. py", line 23, in __exit__\n self.gen.next()\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/exception. py", line 92, in wrapped\n return f(*args, **kw)\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/virt/ libvirt/ driver. py", line 1060, in spawn\n admin_pass= admin_password) \n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/virt/ libvirt/ driver. py", line 1314, in _create_image\n project_ id=instance[ \'project_ id\'])\ n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/virt/ libvirt/ imagebackend. py", line 126, in cache\n *args, **kwargs)\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/virt/ libvirt/ imagebackend. py", line 175, in create_image\n copy_qcow2_ image(base, self.path, size)\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/utils. py", line 752, in inner\n retval = f(*args, **kwargs)\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/virt/ libvirt/ imagebackend. py", line 171, in copy_qcow2_image\n libvirt_ utils.create_ cow_image( qcow2_base, target)\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/virt/ libvirt/ utils.py" , line 110, in create_cow_image\n execute(*cmd)\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/virt/ libvirt/ utils.py" , line 53, in execute\n return utils.execute( *args, **kwargs)\n', ' File "/home/ harlowja/ openstack/ nova/app/ nova/utils. py", line 206, in execute\n cmd=\' \'.join(cmd))\n', "ProcessExecuti onError: Unexpected error while running command.\nCommand: qemu-img create -f qcow2 -o backing_ file=/home/ openstack/ instances/ _base/0fbb91a98 16031daaf5acf50 4aeac1ec4182c20 c cluster_size=65536 /home/openstack /instances/ instance- 00000001/ disk\nExit code: 1\nStdout: ''\nStderr: 'qemu-img: Invalid image size specified! You may use k, M, G or T suffixes for \\nqemu-img: kilobytes, megabytes, gigabytes and terabytes.\\n'\n"]