Ask Your Question
1

ERROR: openstack 'Namespace' object has no attribute 'os_url' [closed]

asked 2015-05-12 04:24:58 -0500

updated 2015-05-12 09:29:56 -0500

Hello there,

I am looking for some hints, some solutions on this problem. I try to install Keystone, following the http://docs.openstack.org/kilo/install-guide/yum/content/keystone-service.html (http://docs.openstack.org/ tutorial) but when I execute:

openstack service create --type identity --description "OpenStack Identity" keystone

it send me this error message:

ERROR: openstack 'Namespace' object has no attribute 'os_url'

I saw on this site problem around no attribute 'os_auth', check my version of python-openstackclient but didn't found answers.

Can you help me please ?

EDIT: after checking, it seems that this error appears on each openstack command, not only keystone


Config: RedHat 7.1 / OpenStack kilo / python-openstackclient version 1.0.3

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Tael Lumenia
close date 2015-05-15 02:33:37.789917

Comments

After you run export OS_URL=http://controller:35357/v2.0, can you run

 # printenv | grep OS_URL

It sounds like that environment variable isn't getting set. You should also be able to run openstack service create with an --os-url flag and get the same results as setting the env variable.

ghebda gravatar imageghebda ( 2015-05-12 14:50:07 -0500 )edit

Thanks ghebda for your comment, it's really nice.

I had already try to check with those two commands if my OS_URL was set and if I could pass through via the flag --os-url. But the result is still the same: OS_URL is set (http://controller:35357/v2.0) and using the flag give me the same error

Tael Lumenia gravatar imageTael Lumenia ( 2015-05-13 02:07:10 -0500 )edit

Can you run the openstack service create with a --debug flag and add the output to your question? Also, any information that gets printed to /var/log/keystone/keystone.log or keystone-all.log would give a little more information about what exactly is failing.

ghebda gravatar imageghebda ( 2015-05-13 11:03:40 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-05-15 01:51:27 -0500

I don't really what happened but yesterday I deleted my VM and rebuilt a new one and I never felt again on this problem ! Other ones perhaps (...even sure) but not this one. So here is my aswer: rebuilt integrally.

Thanks ghebda for your help.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-05-12 04:02:31 -0500

Seen: 1,683 times

Last updated: May 15 '15