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

Mehdi BADAOUI mehdiuniv at gmail.com
Tue May 26 14:41:51 UTC 2015


Which version of Openstack do you Using?

2015-05-26 16:22 GMT+02:00 Matt Kassawara <mkassawara at gmail.com>:

> A 404 indicates that Apache is probably listening on ports 5000 and 35357.
> Can you check with the 'ss -lntp' command to verify both ports? Also, can
> you check the WSGI configuration (wsgi-keystone.conf) again and the files
> that you copy into the /var/www/cgi-bin/keystone directory?
>
> On Tue, May 26, 2015 at 8:11 AM, BUTTS, Darren (Darren)** CTR ** <
> darren.butts at alcatel-lucent.com> wrote:
>
>>  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
>>
>> 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
>>
>> 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
>>
>> 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
>>
>> openstack service create --name keystone --description "OpenStack
>> Identity" identity
>>
>> ERROR: openstack Service Unavailable (HTTP 503)
>>
>>
>>
>> export OS_URL=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 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 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
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 

*  <http://dz.linkedin.com/pub/mehdi-badaoui/20/944/3ab/>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150526/493eadff/attachment.html>


More information about the Openstack mailing list