[libvirt] libvirt: Xen Driver error : Domain not found: xenGetDomainDefForName

deepanshus deepanshus at cdac.in
Thu May 29 13:17:26 UTC 2014


Hi,

I have successfully installed xen 3.11 kernel but when I am running the vm I am
getting this error:


libvirt: Xen Driver error : Domain not found: xenGetDomainDefForName



I am sending the xend log file as well error file as an attachment.





Thanks And Regards,



Deepanshu Saxena
-------------------------------------------------------------------------------------------------------------------------------
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140529/3fcb3e1f/attachment-0001.htm>
-------------- next part --------------
Problem with vm-004: Unexpected issue
STDERR: 2014-05-29 18:16:49,865 - WARNING - mount+edit functionality for qcow2 images is disabled
2014-05-29 18:16:49,867 - WARNING - no qemu_img configuration, copy-on-write support is disabled
libvirt: Xen Driver error : Domain not found: xenGetDomainDefForName
libvirt: Xen Daemon error : POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
2014-05-29 18:16:54,216 - ERROR - Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
2014-05-29 18:16:54,216 - ERROR - POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
Traceback (most recent call last):
  File "/opt/nimbus/src/python/workspacecontrol/defaults/lvrt/lvrt_common.py", line 123, in create
    newvm = self._vmm().createXML(xml, 0)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2909, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
2014-05-29 18:16:54,244 - ERROR - Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
Traceback (most recent call last):
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 155, in _common_withnetsecurity
    _common_withtmplease(nic_set, kernel, local_file_set, c, netsecurity, platform, justprint)
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 174, in _common_withtmplease
    platform.create(local_file_set, nic_set, kernel)
  File "/opt/nimbus/src/python/workspacecontrol/defaults/lvrt/lvrt_common.py", line 128, in create
    raise UnexpectedError(shorterr)
UnexpectedError: Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
2014-05-29 18:16:54,248 - ERROR - Creation problem: going to back out tmp space lease
2014-05-29 18:16:54,249 - ERROR - Backed out tmp space lease
2014-05-29 18:16:54,250 - ERROR - Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
Traceback (most recent call last):
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 137, in _common_withnetbootstrap
    _common_withnetsecurity(vm_name, nic_set, kernel, local_file_set, p, c, netsecurity, platform, justprint)
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 164, in _common_withnetsecurity
    raise e
UnexpectedError: Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
2014-05-29 18:16:54,252 - ERROR - Creation problem: going to back out net security
2014-05-29 18:16:54,376 - ERROR - Backed out net security
2014-05-29 18:16:54,378 - ERROR - Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
Traceback (most recent call last):
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 119, in _common_withnics
    _common_withnetbootstrap(vm_name, nic_set, kernel, local_file_set, p, c, netsecurity, platform, justprint)
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 146, in _common_withnetbootstrap
    raise e
UnexpectedError: Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
2014-05-29 18:16:54,380 - ERROR - Creation problem: going to back out net bootstrap
2014-05-29 18:16:54,381 - ERROR - Backed out net bootstrap
2014-05-29 18:16:54,382 - ERROR - Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
Traceback (most recent call last):
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 96, in _common
    _common_withnics(vm_name, nic_set, kernel, local_file_set, p, c, localnet, netbootstrap, netsecurity, platform, justprint)
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 128, in _common_withnics
    raise e
UnexpectedError: Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
2014-05-29 18:16:54,384 - ERROR - Creation problem: going to back out net leases
2014-05-29 18:16:54,385 - ERROR - Backed out net leases
2014-05-29 18:16:54,386 - ERROR - Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
Traceback (most recent call last):
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core.py", line 79, in core
    _core(vm_name, action, p, c)
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core.py", line 168, in _core
    wc_core_creation.create(vm_name, p, c, async, editing, images, kernels, localnet, netbootstrap, netlease, netsecurity, persistence, platform)
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 16, in create
    _create_local(vm_name, p, c, async, editing, images, kernels, localnet, netbootstrap, netlease, netsecurity, persistence, platform)
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 31, in _create_local
    _common(local_file_set, vm_name, p, c, editing, kernels, localnet, netbootstrap, netlease, netsecurity, persistence, platform, justprint=justprint)
  File "/opt/nimbus/src/python/workspacecontrol/main/wc_core_creation.py", line 107, in _common
    raise e
UnexpectedError: Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')
Problem executing: Problem creating the VM: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: pool Pool-0 not activated')

Exiting with error code: 4
-------------- next part --------------
[2014-05-29 18:07:30 2395] 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 2545, in _constructDomain
    raise VmError("pool %s not activated" % pool_name)
VmError: pool Pool-0 not activated
[2014-05-29 18:07:30 2395] 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: pool Pool-0 not activated
[2014-05-29 18:16:54 2395] DEBUG (XendDomainInfo:103) XendDomainInfo.create(['vm', ['name', 'wrksp-4'], ['memory', '1024'], ['maxmem', '1024'], ['vcpus', '1'], ['uuid', '86ac5faf-71ca-4e2c-afd9-503aec556c70'], ['bootloader', '/usr/bin/pygrub'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'destroy'], ['image', ['linux', ['localtime', '0']]], ['localtime', '0'], ['device', ['vbd', ['dev', 'xvda'], ['uname', 'file:/opt/nimbus/var/workspace-control/secureimages/wrksp-4/tmp4powDdRepo__VMS__common__Cent-OS-8GB'], ['mode', 'w']]], ['device', ['vif', ['mac', 'a2:aa:bb:ee:5f:2a'], ['bridge', 'xenbr0'], ['script', 'vif-bridge'], ['vifname', 'wrksp-4-0']]]])
[2014-05-29 18:16:54 2395] DEBUG (XendDomainInfo:2499) XendDomainInfo.constructDomain
[2014-05-29 18:16:54 2395] DEBUG (balloon:187) Balloon: 65297600 KiB free; need 16384; done.
[2014-05-29 18:16:54 2395] 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 2545, in _constructDomain
    raise VmError("pool %s not activated" % pool_name)
VmError: pool Pool-0 not activated
[2014-05-29 18:16:54 2395] 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 2545, in _constructDomain
    raise VmError("pool %s not activated" % pool_name)
VmError: pool Pool-0 not activated
[2014-05-29 18:16:54 2395] 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: pool Pool-0 not activated


More information about the libvir-list mailing list