Desde algumas horas, minha xen VM não quer ser criada.
A VM é bastante instável, então eu preciso destruir e criar com bastante frequência. Esta manhã consegui fazer um ciclo de destruição e criação. Poucas horas depois, o ciclo de criação de destruição falhou com o seguinte erro:
O erro
~: xm create /etc/xen/buildbox03.cfg -c
Using config file "/etc/xen/buildbox03.cfg".
Error: Creating domain failed: name=buildbox03
errorlogs em /var/log/xen/xend.log:
[2013-05-14 14:11:34 3735] DEBUG (XendDomainInfo:84) XendDomainInfo.create(['vm', ['name', 'buildbox03'], ['memory', '3072'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 3], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.34-1- netlog'], ['ip', ':1.2.3.4::::eth0:dhcp'], ['root', '/dev/xvda1 ro']]], ['device', ['vbd', ['uname', 'phy:/dev/ lvmpool/buildbox03-root'], ['dev', 'xvda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/lvmpool/ buildbox03-swap'], ['dev', 'xvda2'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'br0'], ['mac', '00:16:3E:99:7F: A1']]], ['device', ['vif', ['bridge', 'br2'], ['mac', '00:16:3E:99:7F:A2']]]])
[2013-05-14 14:11:34 3735] DEBUG (XendDomainInfo:1618) XendDomainInfo.constructDomain
[2013-05-14 14:11:34 3735] DEBUG (balloon:132) Balloon: 11813504 KiB free; need 2048; done.
[2013-05-14 14:11:34 3735] ERROR (XendDomainInfo:440) VM start failed
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 419, in start
XendTask.log_progress(0, 30, self._constructDomain)
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 1656, in _constructDomain
self.info['name_label'])
VmError: Creating domain failed: name=buildbox03
[2013-05-14 14:11:34 3735] DEBUG (XendDomainInfo:1897) XendDomainInfo.destroy: domid=None
[2013-05-14 14:11:34 3735] ERROR (XendDomainInfo:89) Domain construction failed
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 87, in create
vm.start()
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 419, in start
XendTask.log_progress(0, 30, self._constructDomain)
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 1656, in _constructDomain
self.info['name_label'])
VmError: Creating domain failed: name=buildbox03
[2013-05-14 14:11:34 3735] DEBUG (XendDomainInfo:1897) XendDomainInfo.destroy: domid=None
buildbox03 config em /etc/xen/buildbox03.cfg:
kernel = '/boot/vmlinuz-2.6.34-1'
memory = '3072'
vcpus = 3
root = '/dev/xvda1 ro'
disk = [
'phy:/dev/lvmpool/buildbox03-root,xvda1,w',
'phy:/dev/lvmpool/buildbox03-swap,xvda2,w',
]
name = 'buildbox03'
dhcp = 'dhcp'
vif = [ 'mac=xxxxxx,bridge=br0', 'mac=yyyyyyy,bridge=br2' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
Você pode me orientar para solucionar este problema um pouco melhor?