[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Failure in creating PV guest VM



I mean: is there any way to monitor the DomU creation process ?


On Tue, Jan 1, 2013 at 9:38 PM, Jihed M'selmi <jihed.mselmi@xxxxxxxxx> wrote:
Hi,

 I tried to install a pv guest ubuntu by netinstall (see below) on a xen host (centos6.3 + XEN4.2)

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
mkdir -p /var/lib/xen/images/ubuntu-netboot cd /var/lib/xen/images/ubuntu-netboot sudo wget http://mirror.anl.gov/pub/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/initrd.gz sudo wget http://mirror.anl.gov/pub/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/vmlinuz

Set up the initial guest configuration: /etc/xen/ubuntu.cfg

------------------------------------------------------------------------------------------------
name = "ubuntu" memory = 512 disk = ['phy:/dev/xen_vms/ubuntu,xvda,w'] vif = [' '] kernel = "/var/lib/xen/images/ubuntu-netboot/vmlinuz" ramdisk = "/var/lib/xen/images/ubuntu-netboot/initrd.gz" extra = "debian-installer/exit/always_halt=true -- console=hvc0"

-----------------------------------------------------------------------------------

[root@mypc ~]# xm create /etc/xen/ubuntu -c
Using config file "/etc/xen/ubuntu".
Started domain ubuntu (id=2)
[root@mypc ~]#
Then, nothing appeared and not installation went in progress.
I checked the xend-debug.log and found this error:
end started at Tue Jan  1 20:47:26 2013.
/usr/lib64/python2.6/site-packages/xen/xend/XendAPI.py:551: DeprecationWarning: object.__new__() takes no parameters
  return object.__new__(cls, *args, **kwds)
Exception in thread UnixHttpServer:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.6/site-packages/xen/web/httpserver.py", line 312, in run
    (sock, addr) = self.accept()
  File "/usr/lib64/python2.6/site-packages/xen/web/httpserver.py", line 331, in accept
    return self.socket.accept()
  File "/usr/lib64/python2.6/socket.py", line 197, in accept
    sock, addr = self._sock.accept()
error: [Errno 22] Invalid argument


Any thoughts about this ? Is there any way to see the monitor the creation process ?

Thx & best Regards

_Jm
--



--
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.