[Openstack] Openstack Kilo Fresh install on Centos7 Create Keystone Service Error

Emerson Posadas toxickore at gmail.com
Thu Nov 5 15:52:05 UTC 2015


Hello Darren

Probably very far from time but I´ve found that the keystone service
was failing to be created because I didn't have the no_proxy env
variable with my controller included on it.

Just for the record

>*  All
*>>>>* I am currently trying to install the Openstack Kilo release for the first
*>* time on a centos 7 virtual machine. Following the steps in the installation
*>* guide I get to :
*>>>>* Create the service entity and API endpoint
*>>>>* At this point I am always faced with an HTTP error and depending on the
*>* OS_URL I use the error is different :
*>>* export OS_URL=http://controller:35357/v2.0 <http://controller:35357/v2.0>
*>>* openstack service create --name keystone --description "OpenStack
*>* Identity" identity
*>>* ERROR: openstack Not Found (HTTP 404)
*>>>>* export OS_URL=http://controller.npi-openstack.com:35357/v2.0
<http://controller.npi-openstack.com:35357/v2.0>
*>>* openstack service create --name keystone --description "OpenStack
*>* Identity" identity
*>>* ERROR: openstack Not Found (HTTP 404)
*>>>>* export OS_URL=http://127.0.0.1:35357/v2.0 <http://127.0.0.1:35357/v2.0>
*>>* openstack service create --name keystone --description "OpenStack
*>* Identity" identity
*>>* ERROR: openstack Service Unavailable (HTTP 503)
*>>>>* export OS_URL=http://127.0.0.1:5000/v2.0 <http://127.0.0.1:5000/v2.0>
*>>* openstack service create --name keystone --description "OpenStack
*>* Identity" identity
*>>* ERROR: openstack Service Unavailable (HTTP 503)
*>>>>* export OS_URL=http://controller:5000/v2.0 <http://controller:5000/v2.0>
*>>* openstack service create --name keystone --description "OpenStack
*>* Identity" identity
*>>* ERROR: openstack Not Found (HTTP 404)
*>>>>* Specifying the host name generates a different error to the local host, I
*>* can see that the port is listening using `netstat –l`
*>>* tcp        0      0 0.0.0.0:openstack-id    0.0.0.0:*               LISTEN
*>>>>* As his release is using the WSG process I can also see the
sockets active :
*>>* unix  2      [ ACC ]     STREAM     LISTENING     20240
*>* /run/httpd/wsgi.3252.0.1.sock
*>>* unix  2      [ ACC ]     STREAM     LISTENING     20243
*>* /run/httpd/wsgi.3252.0.2.sock
*>>>>* Http errors logs show :
*>>>>* [root at controller
<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
httpd]# more keystone-error.log
*>>* 2015-05-26 12:50:56.567779 mod_wsgi (pid=3260): Attach interpreter ''.
*>>* 2015-05-26 12:50:56.574241 mod_wsgi (pid=3253): Attach interpreter ''.
*>>* 2015-05-26 12:50:56.595580 mod_wsgi (pid=3259): Attach interpreter ''.
*>>* 2015-05-26 12:50:56.603280 mod_wsgi (pid=3257): Attach interpreter ''.
*>>* 2015-05-26 12:50:56.613034 mod_wsgi (pid=3261): Attach interpreter ''.
*>>* 2015-05-26 12:50:56.621634 mod_wsgi (pid=3255): Attach interpreter ''.
*>>* 2015-05-26 12:50:56.649824 mod_wsgi (pid=3256): Attach interpreter ''.
*>>* 2015-05-26 12:50:56.656236 mod_wsgi (pid=3258): Attach interpreter ''.
*>>* 2015-05-26 12:50:56.657031 mod_wsgi (pid=3254): Attach interpreter ''.
*>>* 2015-05-26 12:50:56.662904 mod_wsgi (pid=3262): Attach interpreter ''.
*>>* [root at controller
<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
httpd]# more error_log
*>>* [Tue May 26 12:50:56.391098 2015] [suexec:notice] [pid 3252] AH01232:
*>* suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
*>>* [Tue May 26 12:50:56.430498 2015] [auth_digest:notice] [pid 3252] AH01757:
*>* generating secret for digest authentication ...
*>>* [Tue May 26 12:50:56.432171 2015] [lbmethod_heartbeat:notice] [pid 3252]
*>* AH02282: No slotmem from mod_heartmonitor
*>>* [Tue May 26 12:50:56.479156 2015] [mpm_prefork:notice] [pid 3252] AH00163:
*>* Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming
*>* normal ope
*>>* rations
*>>* [Tue May 26 12:50:56.479244 2015] [core:notice] [pid 3252] AH00094:
*>* Command line: '/usr/sbin/httpd -D FOREGROUND'
*>>>>* This is my first time attempting to install Openstack although I have now
*>* gone through the process numerous times unsuccessfully by killing and
*>* rebuilding the
*>>* Virtual machine so I know that there is nothing transient in the system to
*>* suddenly cause it to work should it do so.
*>>>>* As a side note I have disabled the firewall and also SELINUX to see if
*>* that has any effect but it doesn’t.
*>>>>* Any help would be greatly appreciated.
*>>>>* Darren
*>>>>* _______________________________________________
*>* Mailing list:
*>* http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
*>* Post to     : openstack at lists.openstack.org
<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
*>* Unsubscribe :
*>* http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
*>>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150526/6163a8db/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151105/d8b12cc6/attachment.html>


More information about the Openstack mailing list