[Openstack] AttributeError: keystone_ec1_url

KoDer koder.mail at gmail.com
Sat Sep 24 08:44:32 UTC 2011


Hi, all.

I install Diablo using nova.sh script and next documentation pages

http://wiki.openstack.org/NovaInstall/DevInstallScript
http://wiki.openstack.org/RunningNova#NovaStartInstance

Seems like everything went ok and all works, but when i try to start
new instance from nova test console

 euca-run-instances ami-g06qbntt -k mykey -t m1.tiny

or get info about running instances

euca-describe-instances

I get next error.

Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
BotoServerError: 500 Internal Server Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 336,
in handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/lib/pymodules/python2.7/paste/urlmap.py", line 203, in __call__
    return app(environ, start_response)
  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "/home/koder/openstack/nova/nova/api/ec2/__init__.py", line 58,
in __call__
    rv = req.get_response(self.application)
  File "/usr/lib/pymodules/python2.7/webob/request.py", line 1053, in
get_response
    application, catch_exc_info=False)
  File "/usr/lib/pymodules/python2.7/webob/request.py", line 1022, in
call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "/home/koder/openstack/nova/keystone/middleware/ec2_token.py",
line 71, in __call__
    o = urlparse(FLAGS.keystone_ec1_url)
  File "/home/koder/openstack/nova/nova/flags.py", line 144, in __getattr__
    val = gflags.FlagValues.__getattr__(self, name)
  File "/usr/lib/pymodules/python2.7/gflags.py", line 810, in __getattr__
    raise AttributeError(name)
AttributeError: keystone_ec1_url

Should i made more steps to configure keystone?

uname -a => Linux koder-laptop 2.6.38-11-generic #48-Ubuntu SMP Fri
Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
python --version => Python 2.7.1+

Thanks
-- 
K.Danilov aka koder
ICQ:214286120
Skype:koder.ua
Tel:+38-050-4030512




More information about the Openstack mailing list