Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenStack service create fails on CentOS 7 with kilo release

I followed the install manual, setting up keystone and httpd wsgi config files per the manual. The db sync for the keystone database worked, no errors in the logs.

But now when I do the below I get this: [root@anders-38 httpd]# openstack service create --name keystone --description "OpenStack Identity" identity ERROR: openstack 'NoneType' object has no attribute '__getitem__'

I don't see any issues in the Apache or keystone logs. Everything looks fine there.

OpenStack service create fails on CentOS 7 with kilo release

I followed the install manual, setting up keystone and httpd wsgi config files per the manual. The db sync for the keystone database worked, no errors in the logs.

But now when I do the below I get this: this:

 [root@anders-38 httpd]# openstack service create --name keystone --description "OpenStack Identity" identity
ERROR: openstack 'NoneType' object has no attribute '__getitem__'

'__getitem__'

I don't see any issues in the Apache or keystone logs. Everything looks fine there.

OpenStack service create fails on CentOS 7 with kilo release

I followed the install manual, setting up keystone and httpd wsgi config files per the manual. The db sync for the keystone database worked, no errors in the logs.

But now when I do the below I get this:

 [root@anders-38 httpd]# openstack service create --name keystone --description "OpenStack Identity" identity
ERROR: openstack 'NoneType' object has no attribute '__getitem__'

I don't see any issues in the Apache or keystone logs. Everything looks fine there.

I get a lot of puzzling output with the --debug flag. It is like it is going to the internet or trying to go there for something. My machines IP is 10.1.57.38, but I see references to 16.85.x.x. It should not be going there. Any ideas?

Also, I'm using the openstack keystone client that goes thru the httpd webserver. Should I not be doing this?

DEBUG: openstackclient.common.clientmanager Get auth_ref DEBUG: openstackclient.identity.v2_0.service.CreateService take_action(Namespace(columns=[], description='OpenStack Identity', formatter='table', max_width=0, name='keystone', prefix='', type=None, type_or_name='identity', variables=[])) DEBUG: openstackclient.identity.client Instantiating identity client: <class 'openstackclient.identity.client.identityclientv2'=""> DEBUG: keystoneclient.session REQ: curl -g -i -X POST http://localhost:35357/v2.0/OS-KSADM/services -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}b521caa6e1db82e5a01c924a419870cb72b81635" -d '{"OS-KSADM:service": {"type": "identity", "name": "keystone", "description": "OpenStack Identity"}}' INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1): 16.85.88.10 DEBUG: requests.packages.urllib3.connectionpool "POST http://localhost:35357/v2.0/OS-KSADM/services HTTP/1.1" 301 None DEBUG: keystoneclient.session RESP: [301] connection: Close location: http://16.85.161.55 server: BlueCoat-Security-Appliance RESP BODY: <html> <head><title>Redirection</title></head> <body>

Redirect

</body>

INFO: requests.packages.urllib3.connectionpool Resetting dropped connection: 16.85.88.10