Cannot create a DomU on snv85 Somehow I can''t get it to work. Im using svn85 and Im trying to run svn84 as domU: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root@xxx:/]# prtconf |grep Memory Memory size: 7879 Megabytes [root@xxx:tmp]# mkfile 4g /export/home/svn84.img [root@xxx:/]# du -hs /export/home/svn84.img 4.0G /export/home/svn84.img [root@xxx:/]# file /var/tmp/sol-nv-b84-x86-dvd.iso /var/tmp/sol-nv-b84-x86-dvd.iso: ISO 9660 filesystem image - El Torito [root@xxx:/]# virt-install -n svn84 -r 2048 -f /export/home/svn84 --nographics -p -l /var/tmp/sol-nv-b84-x86-dvd.iso Starting install... libvir: Xen Daemon error : GET operation failed: libvir: Xen Daemon error : GET operation failed: libvir: Xen Daemon error : POST operation failed: (xend.err ''Device 0 (vif) could not be connected. Backend device not found.'') Traceback (most recent call last): File "/bin/virt-install", line 657, in ? main() File "/bin/virt-install", line 606, in main dom = guest.start_install(conscb,progresscb) File "/export/builds/xvm_85/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 638, in start_install File "/export/builds/xvm_85/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 655, in _do_install File "/usr/lib/python2.4/vendor-packages/libvirt.py", line 585, in createLinux if ret is None:raise libvirtError(''virDomainCreateLinux() failed'', conn=self) libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err ''Device 0 (vif) could not be connected. Backend device not found.'') +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ How do I fix this? This message posted from opensolaris.org
Please show us the output of ''dladm show-link'' and ''ifconfig -a''.
Hi, the default network interface for xVM is invalid I think: Properties of the service "svc:/system/xvm/xend:default" general/enabled boolean true general/entity_stability astring Unstable general/single_instance boolean true config/dom0-cpus integer 0 config/dom0-min-mem integer 196 config/enable-dump boolean true config/stability astring Unstable config/xend-relocation-address astring 127.0.0.1 config/xend-relocation-hosts-allow astring ^localhost$ config/xend-relocation-server boolean true config/xend-unix-server boolean true config/vncpasswd astring secret config/vnc-listen astring 0.0.0.0 config/default-nic astring rtls0 xenstored/entities fmri svc:/system/xvm/store xenstored/grouping astring require_all xenstored/restart_on astring restart xenstored/type astring service start/exec astring /lib/svc/method/xend %m start/timeout_seconds count 0 start/type astring method stop/exec astring :kill stop/timeout_seconds count 60 stop/type astring method tm_common_name/C ustring Hypervisor Control Daemon tm_man_xend/manpath astring /usr/share/man tm_man_xend/section astring 1M tm_man_xend/title astring xend restarter/logfile astring /var/svc/log/system-xvm-xend:default.log restarter/contract count 48 restarter/start_pid count 331 restarter/start_method_timestamp time 1205741871.016276000 restarter/start_method_waitstatus integer 0 restarter/auxiliary_state astring none restarter/next_state astring none restarter/state astring online restarter/state_timestamp time 1205741871.021475000 But there is no rtls0 interface: LINK STATE SPEED DUPLEX bge0 up 100Mb full bge1 unknown 0Mb unknown ce0 down 0Mb unknown ce1 down 0Mb unknown ce2 down 0Mb unknown ce3 down 0Mb unknown LINK CLASS MTU STATE OVER ce0 phys 1500 down -- ce2 phys 1500 down -- bge0 phys 1500 up -- bge1 phys 1500 unknown -- ce1 phys 1500 down -- ce3 phys 1500 down -- lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 bge0: flags=201004843 mtu 1500 index 2 inet 10.16.62.3 netmask ffff0000 broadcast 10.16.255.255 ether 0:9:3d:0:d1:66 lo0: flags=2002000849 mtu 8252 index 1 inet6 ::1/128 So you should change the default network interface for xVM regards, Bernd Hideaki Toyoshima wrote:> Cannot create a DomU on snv85 > > > > Somehow I can''t get it to work. Im using svn85 and Im trying to run svn84 as domU: > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > [root@xxx:/]# prtconf |grep Memory > Memory size: 7879 Megabytes > > [root@xxx:tmp]# mkfile 4g /export/home/svn84.img > > [root@xxx:/]# du -hs /export/home/svn84.img > 4.0G /export/home/svn84.img > > [root@xxx:/]# file /var/tmp/sol-nv-b84-x86-dvd.iso > /var/tmp/sol-nv-b84-x86-dvd.iso: ISO 9660 filesystem image - El Torito > > > [root@xxx:/]# virt-install -n svn84 -r 2048 -f /export/home/svn84 --nographics -p -l /var/tmp/sol-nv-b84-x86-dvd.iso > > > Starting install... > libvir: Xen Daemon error : GET operation failed: > libvir: Xen Daemon error : GET operation failed: > libvir: Xen Daemon error : POST operation failed: (xend.err ''Device 0 (vif) could not be connected. Backend device not found.'') > Traceback (most recent call last): > File "/bin/virt-install", line 657, in ? > main() > File "/bin/virt-install", line 606, in main > dom = guest.start_install(conscb,progresscb) > File "/export/builds/xvm_85/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 638, in start_install > File "/export/builds/xvm_85/proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 655, in _do_install > File "/usr/lib/python2.4/vendor-packages/libvirt.py", line 585, in createLinux if ret is None:raise libvirtError(''virDomainCreateLinux() failed'', conn=self) > libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err ''Device 0 (vif) could not be connected. Backend device not found.'') > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > How do I fix this? > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org > >-- Bernd Schemmer, Frankfurt am Main, Germany http://home.arcor.de/bnsmb/index.html M s temprano que tarde el mundo cambiar . Fidel Castro
David, thanks, Please refer to the following. -------------------------------------------------------------------------------------- ''ifconfig -a'' [root@shima03:/]# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 bge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 index 2 inet 10.16.62.3 netmask ffff0000 broadcast 10.16.255.255 ether 0:9:3d:0:d1:66 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 ''dladm show-link'' [root@shima03:/]# dladm show-link LINK CLASS MTU STATE OVER ce0 phys 1500 down -- ce2 phys 1500 down -- bge0 phys 1500 up -- bge1 phys 1500 unknown -- ce1 phys 1500 down -- ce3 phys 1500 down -- -------------------------------------------------------------------------------------- regards Hideaki Toyoshima David Edmondson wrote:> Please show us the output of ''dladm show-link'' and ''ifconfig -a''. >
As Bernd says (presuming that he is quoting output that you sent him), setting the ''default-nic'' property to ''rtls0'' is wrong. It should be set to ''bge0''. Though, given the output you''ve shown, I''d expect the scripts to determine this automatically (the reason that ce0 and ce1 should be ignored is left as an exercise for the reader :-)).