Hello,
we have a strange problem on a fresh install of CentOS 6.5. On the server we want to use Xen to host paravirtualised guests (the system has no hardware virtualization support). To manage the domain we would like to use libvirt. Xen and libvirt are set up as described here:
http://wiki.centos.org/HowTos/Xen/Xen4QuickStart http://wiki.centos.org/HowTos/Xen/Xen4QuickStart/Xen4Libvirt
When we try to create a new domain this does not work. In /var/log/xen/xend.log we have to the following error:
[2014-01-28 10:23:02 1651] DEBUG (XendDomainInfo:103) XendDomainInfo.create(['vm', ['name', 'ccm'], ['memory', '1024'], ['maxmem', '1024'], ['vcpus', '1'], ['uuid', 'be62b0d3-4911-137f-210f-9b0948828106'], ['bootloader', '/usr/bin/pygrub'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['linux', ['localtime', '0']]], ['localtime', '0'], ['device', ['vbd', ['dev', 'xvda'], ['uname', 'phy:/dev/medusa-vm/ccm'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:1c:ee:5b'], ['bridge', 'br0'], ['script', 'vif-bridge'], ['model', 'virtio']]]]) [2014-01-28 10:23:02 1651] DEBUG (XendDomainInfo:2499) XendDomainInfo.constructDomain [2014-01-28 10:23:02 1651] DEBUG (balloon:187) Balloon: 26832188 KiB free; need 16384; done. [2014-01-28 10:23:02 1651] ERROR (XendDomainInfo:2561) (1, 'Operation not permitted') Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2556, in _constructDomain target = self.info.target()) Error: (1, 'Operation not permitted') [2014-01-28 10:23:02 1651] ERROR (XendDomainInfo:488) VM start failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 473, in start XendTask.log_progress(0, 30, self._constructDomain) File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2567, in _constructDomain raise VmError(failmsg) VmError: Creating domain failed: name=ccm [2014-01-28 10:23:02 1651] ERROR (XendDomainInfo:108) Domain construction failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 106, in create vm.start() File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 473, in start XendTask.log_progress(0, 30, self._constructDomain) File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2567, in _constructDomain raise VmError(failmsg) VmError: Creating domain failed: name=ccm [2014-01-28 10:23:02 1651] ERROR (SrvBase:88) Request create failed. Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/web/SrvBase.py", line 85, in perform return op_method(op, req) File "/usr/lib64/python2.6/site-packages/xen/xend/server/SrvDomainDir.py", line 82, in op_create raise XendError("Error creating domain: " + str(ex)) XendError: Error creating domain: Creating domain failed: name=ccm
Any help is appreciated.
Best regards,
Jens Pelzetter