[Fedora-xen] Problem to using virt-install

Margusja margusja at kodila.ee
Fri Jul 11 09:00:19 UTC 2008


Hello, can somebody give me some hint how to resolve my problem?

[root at bacula ~]# uname -a
Linux bacula 2.6.21.7-3.fc8xen #1 SMP Thu Mar 20 14:57:53 EDT 2008 i686 
i686 i386 GNU/Linux

kernel-xen.i686                          2.6.21.7-3.fc8         
installed      
kernel-xen-devel.i686                    2.6.21.7-3.fc8         
installed      
xen.i386                                 3.1.2-2.fc8            
installed      
xen-devel.i386                           3.1.2-2.fc8            
installed      
xen-libs.i386                            3.1.2-2.fc8            installed
libvirt.i386                             0.4.4-1.fc8            
installed      
libvirt-python.i386                      0.4.4-1.fc8            
installed      
python-virtinst.noarch                   0.300.2-4.fc8          
installed      
virt-manager.i386                        0.5.3-2.fc8            installed

[root at bacula ~]# virt-install -f /var/xen/xen1 -r 512
libvir: Remote error : Connection refused
libvir: warning : Failed to find the network: Is the daemon running ?
libvir: Remote error : Connection refused
What is the name of your virtual machine? xen1
libvir: Xen Daemon error : GET operation failed: xend_get: error from 
xen daemon:
Would you like to enable graphics support? (yes or no) no
What is the install location? 
ftp://ftp.linux.ee/pub/fedora/linux/releases/8/Fedora/i386/os/

Starting install...
libvir: Xen Daemon error : GET operation failed: xend_get: error from 
xen daemon:
Retrieving file .treeinfo 100% |=========================|  430 B    
00:00    
Retrieving file vmlinuz.. 100% |=========================| 2.1 MB    
00:04    
Retrieving file initrd.im 100% |=========================| 6.4 MB    
00:17    
libvir: Xen Daemon error : GET operation failed: xend_get: error from 
xen daemon:
libvir: Xen Daemon error : GET operation failed: xend_get: error from 
xen daemon:
virDomainLookupByID() failed GET operation failed: xend_get: error from 
xen daemon:
Domain installation may not have been successful. 
If it was, you can restart your domain by running 'virsh start xen1'; 
otherwise, please restart your installation.
Fri, 11 Jul 2008 10:30:21 ERROR    virDomainLookupByID() failed GET 
operation failed: xend_get: error from xen daemon
Traceback (most recent call last)
File "/usr/sbin/virt-install", line 502, in <module>
  main()
File "/usr/sbin/virt-install", line 462, in main
  dom = guest.start_install(conscb,progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 813, in 
start_install
  return self._do_install(consolecb, meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 829, in 
_do_install
  self._create_devices(meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 727, in 
_create_devices
  nic.setup(self.conn)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 281, in 
setup
  vm = conn.lookupByID(id)
File "/usr/lib/python2.5/site-packages/libvirt.py", line 920, in lookupByID
  if ret is None:raise libvirtError('virDomainLookupByID() failed', 
conn=self)
libvirtError: virDomainLookupByID() failed GET operation failed: 
xend_get: error from xen daemon

[root at bacula ~]# xm list
Name                                        ID   Mem VCPUs      State   
Time(s)
Domain-0                                     0   489     1     r-----    
738.2

-- 
---
Margusja
+3725148780
skype: margusja
msn: margusja at kodila.ee
homepage: http://margusja.pri.ee




More information about the Fedora-xen mailing list