LINUX.ORG.RU
ФорумAdmin

Ошибка создания vm в xen


0

0

Debian x86_64 +
xen-hypervisor-3.0.3-1-amd64
xen-utils-3.0.3-1
linux-image-2.6.18-4-xen-amd64  
linux-image-2.6.18-4-xen-vserver-amd64

виртуальную машину создаю командой:
xen-create-image --debootstrap --hostname test1.domen.local --size=4G --memory=256Mb --swap=256mb --dist=etch --ip=1.1.2.2 --netmask=255.255.255.0 --gateway=10.1.2.1

имидж машины создается, вот её конфиг:
# cat /etc/xen/test1.domen.local
kernel  = '/boot/vmlinuz-2.6.18-4-xen-vserver-amd64'
ramdisk = '/boot/initrd.img-2.6.18-4-xen-vserver-amd64'
memory  = '256'
root    = '/dev/sda1 ro'
disk    = [ 'phy:datavg/test1.domen.local-disk,sda1,w', 'phy:datavg/test1.domen.local-swap,sda2,w' ]
name    = 'test1.domen.local'
vif  = [ 'ip=10.1.2.2' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'


затем я запускаю машину:
xm create /etc/xen/test1.domen.local.cfg
Using config file "/etc/xen/test1.domen.local.cfg".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

вот вывод ifconfig c dom0

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:BB:29:FD:5E
          inet addr:10.1.2.3  Bcast:10.1.2.255  Mask:255.255.255.0
          inet6 addr: fe80::219:bbff:fe29:fd5e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:371283 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63362 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:191200318 (182.3 MiB)  TX bytes:3966991 (3.7 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1005 (1005.0 b)  TX bytes:1005 (1005.0 b)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1375869 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63376 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:771020477 (735.3 MiB)  TX bytes:4476818 (4.2 MiB)
          Interrupt:16 Memory:f8000000-f8011100

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:63362 errors:0 dropped:0 overruns:0 frame:0
          TX packets:371283 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3966991 (3.7 MiB)  TX bytes:191200318 (182.3 MiB)

vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:262151 errors:0 dropped:221 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:636 (636.0 b)  TX bytes:43431861 (41.4 MiB)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:163843 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12479763 (11.9 MiB)  TX bytes:0 (0.0 b)


что за ошибка такая с Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

в гугле поискал - нашел http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/ru-RU/Virtualization
/ch19s24.html
но не помогло...
кто нибудь сталкивался с подобным?
anonymous
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.