[Openstack] AttributeError: keystone_ec1_url

Luis Gervaso luis at woorea.es
Mon Sep 26 02:34:44 UTC 2011


Also you have to change

token_id = result['auth']['token']['id']

to

token_id = result['access']['token']['id']

just before the #Authenticated! comment

due to the latest changes in keystone

regards

On Sat, Sep 24, 2011 at 11:53 AM, Vishvananda Ishaya
<vishvananda at gmail.com>wrote:

> looks like there is a typo on that line:
>
> https://github.com/openstack/keystone/blob/master/keystone/middleware/ec2_token.py#L71
>
> should be keystone_ec2_url
>  (note the 2 instead of 1
>
> On Sep 24, 2011, at 1:44 AM, KoDer wrote:
>
> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110926/52882a69/attachment.html>


More information about the Openstack mailing list