Descobriu-se que o AMD Opteron 254 está com defeito e eu tive que remover a opção de segurança no xen (descobri que, ao emitir o xm dmesg depois de tentar criar a VM)
Estou tentando definir uma VM Xen em um SunFire X4200. Estou usando o Debian Wheezy e segui este guia link que usei em tentativas anteriores em servidores diferentes e trabalhei sem nenhum problema. Eu sei que um servidor diferente do mesmo modelo já hospeda alguns xen VMs, então não consigo entender por que isso não está funcionando para mim
xm create xxx.cfg
Using config file "/etc/xen/xxx.cfg".
Error: Creating domain failed: name=xxx
Aqui está o meu xxx.cfg:
# Configuration file for the Xen instance xxx, created
# by xen-tools 4.3.1 on Fri Jun 20 00:51:12 2014.
#
#
# Kernel + memory size
#
kernel = '/boot/vmlinuz-3.2.0-4-amd64'
ramdisk = '/boot/initrd.img-3.2.0-4-amd64'
vcpus = '1'
memory = '2048'
#
# Disk device(s).
#
root = '/dev/xvda2 ro'
disk = [
'phy:/dev/xen-vol/xxx-disk,xvda2,w',
'phy/dev/xen-vol/xxx-swap,xvda1,w',
]
#
# Physical volumes
#
#
# Hostname
#
name = 'xxx'
#
# Networking
#
dhcp = 'dhcp'
vif = [ 'mac=***,bridge=xenbr0' ]
#
# Behaviour
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
No log de criação de imagens, tudo parece estar ok, exceto:
mv: cannot stat '/tmp/Wtd9_3apX5/sbin/initctl': No such file or directory
O xend.log informa um erro:
[2014-06-20 10:49:05 21306] ERROR (XendDomainInfo:2560) (1, 'Operation not permitted')
Traceback (most recent call last):
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2555, in _constructDomain
target = self.info.target())
Error: (1, 'Operation not permitted')
[2014-06-20 10:49:05 21306] ERROR (XendDomainInfo:488) VM start failed
Traceback (most recent call last):
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 473, in start
XendTask.log_progress(0, 30, self._constructDomain)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2566, in _constructDomain
raise VmError(failmsg)
VmError: Creating domain failed: name=xxx
[2014-06-20 10:49:05 21306] ERROR (XendDomainInfo:108) Domain construction failed
Traceback (most recent call last):
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 106, in create
vm.start()
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 473, in start
XendTask.log_progress(0, 30, self._constructDomain)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwd
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2566, in _constructDomain
raise VmError(failmsg)
VmError: Creating domain failed: name=xxx
Alguma dica?
Tags xen virtual-machines sun