← Back to team overview

openstack team mailing list archive

Re: Install instance failed on xenserver 6.0.2

 

1.3GB is more than enough. When you get that message, usually space
has already dried up, or there is a problem authenticating with
xenapi.

Check that:

xenapi_connection_url
xenapi_connection_password

are set correctly, and that you can reach dom0 from your devstack instance.

Have a look at your localrc, xenrc, and nova.conf, see if you can find
anything wrong with them.

Hope this help!
Armando

On Thu, Apr 12, 2012 at 5:03 AM, Yi Sun <beyounn@xxxxxxxxx> wrote:
> Hi,
> I used devstack to install openstack on my xenserver 6.0.2. I followed the
> video found in this link http://wiki.openstack.org/XenServer/DevStack. After
> installation, I can access dashboard. But I failed to launch an instance.
> I tried to launch image "tty", after launching, the instance status field
> shows "Error" and there has no new VM  showing up in my xencenter.
> I did a ps ax on my domU VM, I see following nova processes:
> stack@ALLINONE:~/nova/bin$ ps ax | grep nova
>  5246 pts/6    S+     0:02 python /opt/stack/nova/bin/nova-api
>  5325 pts/8    S+     0:03 python /opt/stack/nova/bin/nova-cert
>  5346 pts/9    S+     0:03 python /opt/stack/nova/bin/nova-volume
>  5371 pts/10   S+     0:03 python /opt/stack/nova/bin/nova-network
>  5426 pts/11   S+     0:03 python /opt/stack/nova/bin/nova-scheduler
>  5457 pts/12   S+     0:00 python ./utils/nova-novncproxy --config-file
> /etc/nova/nova.conf --web .
>  5477 pts/13   S+     0:00 python ./bin/nova-xvpvncproxy --config-file
> /etc/nova/nova.conf
>  5497 pts/14   S+     0:03 python ./bin/nova-consoleauth
>  5537 pts/16   S+     0:00 python /opt/stack/nova/bin/nova-objectstore
>
> I'm not seeing nova-compute running. So I tried to start it manually, Then I
> got errors attached in later section.  Can someone help to take a look to
> see if I have missed anything during the installation?
> Also, is there a way to see find more debug information when failed to
> launch a instance?
>
> BTW-- I checked Dom0, I have 1.3G free space, is that enough to run
> nova-compute?
> Thanks
> Yi
>
> 012-04-12 03:42:33 CRITICAL nova [-] Unable to log in to XenAPI (is the Dom0
> disk full?)
> 2012-04-12 03:42:33 TRACE nova Traceback (most recent call last):
> 2012-04-12 03:42:33 TRACE nova   File "./nova-compute", line 47, in <module>
> 2012-04-12 03:42:33 TRACE nova     server =
> service.Service.create(binary='nova-compute')
> 2012-04-12 03:42:33 TRACE nova   File "/opt/stack/nova/nova/service.py",
> line 272, in create
> 2012-04-12 03:42:33 TRACE nova
> periodic_fuzzy_delay=periodic_fuzzy_delay)
> 2012-04-12 03:42:33 TRACE nova   File "/opt/stack/nova/nova/service.py",
> line 167, in __init__
> 2012-04-12 03:42:33 TRACE nova     self.manager =
> manager_class(host=self.host, *args, **kwargs)
> 2012-04-12 03:42:33 TRACE nova   File
> "/opt/stack/nova/nova/compute/manager.py", line 198, in __init__
> 2012-04-12 03:42:33 TRACE nova     utils.import_object(compute_driver),
> 2012-04-12 03:42:33 TRACE nova   File "/opt/stack/nova/nova/utils.py", line
> 90, in import_object
> 2012-04-12 03:42:33 TRACE nova     return cls()
> 2012-04-12 03:42:33 TRACE nova   File
> "/opt/stack/nova/nova/virt/connection.py", line 76, in get_connection
> 2012-04-12 03:42:33 TRACE nova     conn =
> xenapi_conn.get_connection(read_only)
> 2012-04-12 03:42:33 TRACE nova   File
> "/opt/stack/nova/nova/virt/xenapi_conn.py", line 144, in get_connection
> 2012-04-12 03:42:33 TRACE nova     return XenAPIConnection(url, username,
> password)
> 2012-04-12 03:42:33 TRACE nova   File
> "/opt/stack/nova/nova/virt/xenapi_conn.py", line 152, in __init__
> 2012-04-12 03:42:33 TRACE nova     self._session = XenAPISession(url, user,
> pw)
> 2012-04-12 03:42:33 TRACE nova   File
> "/opt/stack/nova/nova/virt/xenapi_conn.py", line 491, in __init__
> 2012-04-12 03:42:33 TRACE nova     url = self._create_first_session(url,
> user, pw, exception)
> 2012-04-12 03:42:33 TRACE nova   File
> "/opt/stack/nova/nova/virt/xenapi_conn.py", line 500, in
> _create_first_session
> 2012-04-12 03:42:33 TRACE nova     session.login_with_password(user, pw)
> 2012-04-12 03:42:33 TRACE nova   File
> "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 182, in <lambda>
> 2012-04-12 03:42:33 TRACE nova     return lambda *params: self._login(name,
> params)
> 2012-04-12 03:42:33 TRACE nova   File
> "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 148, in _login
> 2012-04-12 03:42:33 TRACE nova     result = _parse_result(getattr(self,
> 'session.%s' % method)(*params))
> 2012-04-12 03:42:33 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py",
> line 1224, in __call__
> 2012-04-12 03:42:33 TRACE nova     return self.__send(self.__name, args)
> 2012-04-12 03:42:33 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py",
> line 1575, in __request
> 2012-04-12 03:42:33 TRACE nova     verbose=self.__verbose
> 2012-04-12 03:42:33 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py",
> line 1264, in request
> 2012-04-12 03:42:33 TRACE nova     return self.single_request(host, handler,
> request_body, verbose)
> 2012-04-12 03:42:33 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py",
> line 1292, in single_request
> 2012-04-12 03:42:33 TRACE nova     self.send_content(h, request_body)
> 2012-04-12 03:42:33 TRACE nova   File "/usr/lib/python2.7/xmlrpclib.py",
> line 1439, in send_content
> 2012-04-12 03:42:33 TRACE nova     connection.endheaders(request_body)
> 2012-04-12 03:42:33 TRACE nova   File "/usr/lib/python2.7/httplib.py", line
> 951, in endheaders
> 2012-04-12 03:42:33 TRACE nova     self._send_output(message_body)
> 2012-04-12 03:42:33 TRACE nova   File "/usr/lib/python2.7/httplib.py", line
> 811, in _send_output
> 2012-04-12 03:42:33 TRACE nova     self.send(msg)
> 2012-04-12 03:42:33 TRACE nova   File "/usr/lib/python2.7/httplib.py", line
> 773, in send
> 2012-04-12 03:42:33 TRACE nova     self.connect()
> 2012-04-12 03:42:33 TRACE nova   File "/usr/lib/python2.7/httplib.py", line
> 754, in connect
> 2012-04-12 03:42:33 TRACE nova     self.timeout, self.source_address)
> 2012-04-12 03:42:33 TRACE nova   File
> "/usr/lib/python2.7/dist-packages/eventlet/green/socket.py", line 52, in
> create_connection
> 2012-04-12 03:42:33 TRACE nova     sock.connect(sa)
> 2012-04-12 03:42:33 TRACE nova   File
> "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 168, in connect
> 2012-04-12 03:42:33 TRACE nova     trampoline(fd, write=True)
> 2012-04-12 03:42:33 TRACE nova   File
> "/usr/lib/python2.7/dist-packages/eventlet/hubs/__init__.py", line 121, in
> trampoline
> 2012-04-12 03:42:33 TRACE nova     return hub.switch()
> 2012-04-12 03:42:33 TRACE nova   File
> "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
> 2012-04-12 03:42:33 TRACE nova     return self.greenlet.switch()
> 2012-04-12 03:42:33 TRACE nova Failure: Unable to log in to XenAPI (is the
> Dom0 disk full?)
> 2012-04-12 03:42:33 TRACE nova
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References