[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-bugs] [Bug 1629] New: Can't create qcow image with cdrom option
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1629 Summary: Can't create qcow image with cdrom option Product: Xen Version: unstable Platform: All OS/Version: Linux Status: NEW Severity: major Priority: P1 Component: Tools AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx ReportedBy: jiajun.xu@xxxxxxxxx Environment: ------------ Service Arch (ia32/ia32e/IA64): ia32/ia32e Guest Arch (ia32/ia32e/IA64): Guest OS Type (Linux/Windows): Change Set: 21624 Hardware: Stoakley/Gulftown-HEDT Other: xen-changeset: 21624:b9c541d9c138 pvops git: commit b29254c40dac94960fd3887275c65c83b71086ea Merge: cc867b2... 9d85e25... Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx> ioemu git: commit 6392763643311272590ef5c6f75ba11d5b132585 Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Date: Wed Jun 9 17:10:59 2010 +0100 Bug detailed description: -------------------------- When set the disk configuration section to tap:qcow:<qcow-file>,the guest can't be able to create. it reports following error. [root@vt-dp6 myimg]$ xm cr test.hvm Using config file "./test.hvm". Error: need more than 1 value to unpack When you use disk option (disk = [ 'tap:qcow:/var/images/min-el3-i386.img,hda,w'] )in your xen config file, the guest can be created. But if the disk option is "disk = [ 'tap:qcow:/var/images/min-el3-i386.img,hda,w','hdc:cdrom,r']", this bug would happen. Reproduce steps: ---------------- 1.prepare the qcow file. 2.prepare the configurations file. 3. xm cr <your hvm config file> Xend log shows: [2010-06-18 16:25:07 5277] INFO (XendDomainInfo:168) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2010-06-18 16:25:07 5277] DEBUG (XendDomain:464) Adding Domain: 0 [2010-06-18 16:25:07 5277] DEBUG (XendDomain:398) number of vcpus to use is 0 [2010-06-18 16:25:07 5277] DEBUG (XendDomainInfo:1877) XendDomainInfo.handleShutdownWatch [2010-06-18 16:25:07 5277] WARNING (XendAPI:708) API call: VBD.set_device not found [2010-06-18 16:25:07 5277] WARNING (XendAPI:708) API call: VBD.set_type not found [2010-06-18 16:25:07 5277] WARNING (XendAPI:708) API call: session.get_all_records not found [2010-06-18 16:25:07 5277] WARNING (XendAPI:708) API call: event.get_record not found [2010-06-18 16:25:07 5277] WARNING (XendAPI:708) API call: event.get_all not found [2010-06-18 16:25:07 5277] WARNING (XendAPI:708) API call: VIF.set_device not found [2010-06-18 16:25:07 5277] WARNING (XendAPI:708) API call: VIF.set_MAC not found [2010-06-18 16:25:07 5277] WARNING (XendAPI:708) API call: VIF.set_MTU not found [2010-06-18 16:25:07 5277] WARNING (XendAPI:708) API call: debug.get_all not found [2010-06-18 16:25:07 5277] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server. [2010-06-18 16:25:07 5277] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock. [2010-06-18 16:26:03 5277] ERROR (xmlrpclib2:178) Internal error handling xend.domain.create Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch return func(*params) File "/usr/lib64/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 80, in domain_create info = XendDomain.instance().domain_create(config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 982, in domain_create dominfo = XendDomainInfo.create(config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 97, in create domconfig = XendConfig.XendConfig(sxp_obj = config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendConfig.py", line 346, in __init__ self._sxp_to_xapi(sxp_obj) File "/usr/lib64/python2.4/site-packages/xen/xend/XendConfig.py", line 862, in _sxp_to_xapi cfg = self._parse_sxp(sxp_cfg) File "/usr/lib64/python2.4/site-packages/xen/xend/XendConfig.py", line 725, in _parse_sxp self.device_add(dev_type, cfg_sxp = config, target = cfg) File "/usr/lib64/python2.4/site-packages/xen/xend/XendConfig.py", line 1453, in device_add ret_uuid = self.device_duplicate_check(dev_type, dev_info, target, config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendConfig.py", line 1245, in device_duplicate_check o_blkdev_file = blkdev_uname_to_file(o_dev_uname) File "/usr/lib64/python2.4/site-packages/xen/util/blkif.py", line 95, in blkdev_uname_to_file return _parse_uname(uname)[0] File "/usr/lib64/python2.4/site-packages/xen/util/blkif.py", line 90, in _parse_uname (taptype, fn) = fn.split(":", 2)[1:3] ValueError: need more than 1 value to unpack -- Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. _______________________________________________ Xen-bugs mailing list Xen-bugs@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-bugs
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |