[Openstack-docs] OpenStack Basic Installation Guide for Ubuntu

Olivier Desport olivier.desport at ac-versailles.fr
Wed Jun 26 09:55:39 UTC 2013


Hello,

I've followed the basic install guide to install the tree nodes on kvm 
virtual machines. I have 3 problems :

1. controller node

nova commands hang

ex : nova image-list)

When I stop the command :

Traceback (most recent call last):
   File "/usr/bin/nova", line 9, in <module>
     load_entry_point('python-novaclient==2.13.0', 'console_scripts', 
'nova')()
   File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 
765, in main
     OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
   File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 
701, in main
     args.func(self.cs, args)
   File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", 
line 722, in do_image_list
     image_list = cs.images.list(limit=limit)
   File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/images.py", 
line 55, in list
     return self._list('/images%s%s' % (detail, query), 'images')
   File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 62, 
in _list
     _resp, body = self.api.client.get(url)
   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 
230, in get
     return self._cs_request(url, 'GET', **kwargs)
   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 
217, in _cs_request
     **kwargs)
   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 
199, in _time_request
     resp, body = self.request(url, method, **kwargs)
   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 
170, in request
     **kwargs)
   File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in 
request
     return session.request(method=method, url=url, **kwargs)
   File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 
279, in request
     resp = self.send(prep, stream=stream, timeout=timeout, 
verify=verify, cert=cert, proxies=proxies)
   File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 
374, in send
     r = adapter.send(request, **kwargs)
   File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 
174, in send
     timeout=timeout
   File "/usr/lib/python2.7/dist-packages/urllib3/poolmanager.py", line 
153, in urlopen
     return self.proxy_pool.urlopen(method, url, **kw)
   File "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", 
line 415, in urlopen
     body=body, headers=headers)
   File "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", 
line 275, in _make_request
     httplib_response = conn.getresponse(buffering=True)
   File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
     response.begin()
   File "/usr/lib/python2.7/httplib.py", line 407, in begin
     version, status, reason = self._read_status()
   File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
     line = self.fp.readline()
   File "/usr/lib/python2.7/socket.py", line 447, in readline
     data = self._sock.recv(self._rbufsize)


2. execute bash script

When i execute scripts like the one which creates an internal network 
for the demo project, I've got this error :

Traceback (most recent call last):
   File "/usr/bin/keystone", line 9, in <module>
     load_entry_point('python-keystoneclient==0.2.3', 'console_scripts', 
'keystone')()
   File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line 
498, in main
     print >> sys.stderr, e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 
244-245: ordinal not in range(128)
Traceback (most recent call last):
   File "/usr/bin/keystone", line 9, in <module>
     load_entry_point('python-keystoneclient==0.2.3', 'console_scripts', 
'keystone')()
   File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line 
498, in main
     print >> sys.stderr, e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 
244-245: ordinal not in range(128)
Traceback (most recent call last):
   File "/usr/bin/keystone", line 9, in <module>
     load_entry_point('python-keystoneclient==0.2.3', 'console_scripts', 
'keystone')()
   File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line 
498, in main
     print >> sys.stderr, e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 
244-245: ordinal not in range(128)
Traceback (most recent call last):
   File "/usr/bin/keystone", line 9, in <module>
     load_entry_point('python-keystoneclient==0.2.3', 'console_scripts', 
'keystone')()
   File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line 
498, in main
     print >> sys.stderr, e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 
244-245: ordinal not in range(128)
Traceback (most recent call last):
   File "/usr/bin/keystone", line 9, in <module>
     load_entry_point('python-keystoneclient==0.2.3', 'console_scripts', 
'keystone')()
   File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line 
498, in main
     print >> sys.stderr, e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 
244-245: ordinal not in range(128)
Traceback (most recent call last):
   File "/usr/bin/keystone", line 9, in <module>
     load_entry_point('python-keystoneclient==0.2.3', 'console_scripts', 
'keystone')()
   File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line 
498, in main
     print >> sys.stderr, e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 
244-245: ordinal not in range(128)
usage: keystone user-role-add --user <user> --role <role> [--tenant 
<tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: 
expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant 
<tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: 
expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant 
<tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: 
expected one argument
Traceback (most recent call last):
   File "/usr/bin/keystone", line 9, in <module>
     load_entry_point('python-keystoneclient==0.2.3', 'console_scripts', 
'keystone')()
   File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line 
498, in main
     print >> sys.stderr, e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 
244-245: ordinal not in range(128)
usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]
                             [--pass <pass>] [--email <email>]
                             [--enabled <true|false>]
keystone user-create: error: argument --tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant 
<tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected 
one argument
usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]
                             [--pass <pass>] [--email <email>]
                             [--enabled <true|false>]
keystone user-create: error: argument --tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant 
<tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected 
one argument
usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]
                             [--pass <pass>] [--email <email>]
                             [--enabled <true|false>]
keystone user-create: error: argument --tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant 
<tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected 
one argument
usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]
                             [--pass <pass>] [--email <email>]
                             [--enabled <true|false>]
keystone user-create: error: argument --tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant 
<tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected 
one argument

3. connecting to the instance

I'm unable to ping the instances from the network controller and to 
connect with SSH on private or public IP.

Thanks for your help
-- 



-- 


	*Olivier DESPORT
*Infrastructures Tice
DSI

Tél : 01 30 83 52 92
Tcp. 01 30 83 48 46
Rectorat de Versailles . 3 boulevard de Lesseps . 78017 Versailles cedex .
  http://www.ac-versailles.fr <cid:part2.09090204.06080308 at ac-versailles.fr>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20130626/519f0693/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acver-gris.jpg
Type: image/jpeg
Size: 2372 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20130626/519f0693/attachment-0001.jpg>


More information about the Openstack-docs mailing list