Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feedhttps://ask.openstack.org/en/questions/Questions and answers OpenStack CommunityenCopyright of the authors unless stated otherwiseThu, 14 Jul 2016 15:25:28 -0500Keystone port 5000 used by Pythonhttps://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/Hi,
I'm following official OpenStack documentation to build my first environment and got stuck in configuring Keystone (last step from http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-install.html)
While trying to restart apache I get error message about port 5000 being used
* Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:5000
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:5000
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
Netstat says the port is used by Python and further investigation shows it's somehow related to Keystone
/usr/bin/python /usr/bin/keystone-all --config-file=/etc/keystone/keystone.conf --log-file=/var/log/keystone/keystone.log
Which way should I take up in this situation? Reconfigure apache to use a different port, or try to deal with Python to use a different one?
**EDIT**
Referring to https://ask.openstack.org/en/question/47137/devstack-fails-to-start-apache2-address-already-in-use-could-not-bind-to-address/ I modified `/etc/apache2/sites-available/wsgi-keystone.conf` from `<VirtualHost *:5000>` to `<VirtualHost *:80>`, but the error persisted. The message right now is
* Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:35357
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:35357
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
Apache error log obviously is empty, so I cannot go there to find anything helpful.Sat, 11 Jul 2015 14:13:25 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/Comment by sunnyarora for <p>Hi,</p>
<p>I'm following official OpenStack documentation to build my first environment and got stuck in configuring Keystone (last step from http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-install.html (http://docs.openstack.org/kilo/instal...))</p>
<p>While trying to restart apache I get error message about port 5000 being used</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:5000
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:5000
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Netstat says the port is used by Python and further investigation shows it's somehow related to Keystone</p>
<pre><code>/usr/bin/python /usr/bin/keystone-all --config-file=/etc/keystone/keystone.conf --log-file=/var/log/keystone/keystone.log
</code></pre>
<p>Which way should I take up in this situation? Reconfigure apache to use a different port, or try to deal with Python to use a different one?</p>
<p><strong>EDIT</strong></p>
<p>Referring to https://ask.openstack.org/en/question/47137/devstack-fails-to-start-apache2-address-already-in-use-could-not-bind-to-address/ (https://ask.openstack.org/en/question...) I modified <code>/etc/apache2/sites-available/wsgi-keystone.conf</code> from <code>&lt;VirtualHost *:5000&gt;</code> to <code>&lt;VirtualHost *:80&gt;</code>, but the error persisted. The message right now is</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:35357
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:35357
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Apache error log obviously is empty, so I cannot go there to find anything helpful.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78491#post-id-78491Could you please [check this solution](https://ask.openstack.org/en/question/47137/devstack-fails-to-start-apache2-address-already-in-use-could-not-bind-to-address/) works for you?Tue, 14 Jul 2015 20:30:57 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78491#post-id-78491Comment by Ram.Meena for <p>Hi,</p>
<p>I'm following official OpenStack documentation to build my first environment and got stuck in configuring Keystone (last step from http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-install.html (http://docs.openstack.org/kilo/instal...))</p>
<p>While trying to restart apache I get error message about port 5000 being used</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:5000
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:5000
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Netstat says the port is used by Python and further investigation shows it's somehow related to Keystone</p>
<pre><code>/usr/bin/python /usr/bin/keystone-all --config-file=/etc/keystone/keystone.conf --log-file=/var/log/keystone/keystone.log
</code></pre>
<p>Which way should I take up in this situation? Reconfigure apache to use a different port, or try to deal with Python to use a different one?</p>
<p><strong>EDIT</strong></p>
<p>Referring to https://ask.openstack.org/en/question/47137/devstack-fails-to-start-apache2-address-already-in-use-could-not-bind-to-address/ (https://ask.openstack.org/en/question...) I modified <code>/etc/apache2/sites-available/wsgi-keystone.conf</code> from <code>&lt;VirtualHost *:5000&gt;</code> to <code>&lt;VirtualHost *:80&gt;</code>, but the error persisted. The message right now is</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:35357
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:35357
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Apache error log obviously is empty, so I cannot go there to find anything helpful.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78529#post-id-78529Could you please try rebooting the server once..:)Wed, 15 Jul 2015 04:16:29 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78529#post-id-78529Comment by mkowalski for <p>Hi,</p>
<p>I'm following official OpenStack documentation to build my first environment and got stuck in configuring Keystone (last step from http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-install.html (http://docs.openstack.org/kilo/instal...))</p>
<p>While trying to restart apache I get error message about port 5000 being used</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:5000
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:5000
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Netstat says the port is used by Python and further investigation shows it's somehow related to Keystone</p>
<pre><code>/usr/bin/python /usr/bin/keystone-all --config-file=/etc/keystone/keystone.conf --log-file=/var/log/keystone/keystone.log
</code></pre>
<p>Which way should I take up in this situation? Reconfigure apache to use a different port, or try to deal with Python to use a different one?</p>
<p><strong>EDIT</strong></p>
<p>Referring to https://ask.openstack.org/en/question/47137/devstack-fails-to-start-apache2-address-already-in-use-could-not-bind-to-address/ (https://ask.openstack.org/en/question...) I modified <code>/etc/apache2/sites-available/wsgi-keystone.conf</code> from <code>&lt;VirtualHost *:5000&gt;</code> to <code>&lt;VirtualHost *:80&gt;</code>, but the error persisted. The message right now is</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:35357
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:35357
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Apache error log obviously is empty, so I cannot go there to find anything helpful.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78572#post-id-78572@Ram.Meena, of course tried it before posting here...
@sunnyarora, problem there refers to Horizon, not Keystone. Anyway I've modified wsgi-keystone.conf to make apache listen on 80 instead of 5000, but it still did not helpWed, 15 Jul 2015 14:32:49 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78572#post-id-78572Answer by hk for <p>Hi,</p>
<p>I'm following official OpenStack documentation to build my first environment and got stuck in configuring Keystone (last step from http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-install.html (http://docs.openstack.org/kilo/instal...))</p>
<p>While trying to restart apache I get error message about port 5000 being used</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:5000
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:5000
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Netstat says the port is used by Python and further investigation shows it's somehow related to Keystone</p>
<pre><code>/usr/bin/python /usr/bin/keystone-all --config-file=/etc/keystone/keystone.conf --log-file=/var/log/keystone/keystone.log
</code></pre>
<p>Which way should I take up in this situation? Reconfigure apache to use a different port, or try to deal with Python to use a different one?</p>
<p><strong>EDIT</strong></p>
<p>Referring to https://ask.openstack.org/en/question/47137/devstack-fails-to-start-apache2-address-already-in-use-could-not-bind-to-address/ (https://ask.openstack.org/en/question...) I modified <code>/etc/apache2/sites-available/wsgi-keystone.conf</code> from <code>&lt;VirtualHost *:5000&gt;</code> to <code>&lt;VirtualHost *:80&gt;</code>, but the error persisted. The message right now is</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:35357
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:35357
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Apache error log obviously is empty, so I cannot go there to find anything helpful.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?answer=93866#post-id-93866In some case of openstack gives this error because port describe in file "/etc/httpd/conf.d/wsgi-keystone.conf"
is same as keystone endpoint URL port. so it conflict and both keystone and httpd service not start simultaneously.
for its if you change port of keystone endpoint then you would require to change in lots of other openstack service config file
so change port 5000 to 5001 and 35357 to 35358 in file "/etc/httpd/conf.d/wsgi-keystone.conf".and reboot. then both service will work simultaneously
in above file if you set to port 80 then it will conflict with "/etc/httpd/conf/httpd.conf". so kindly change as above then it work work.Thu, 23 Jun 2016 14:24:14 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?answer=93866#post-id-93866Comment by Soondong for <p>In some case of openstack gives this error because port describe in file "/etc/httpd/conf.d/wsgi-keystone.conf"
is same as keystone endpoint URL port. so it conflict and both keystone and httpd service not start simultaneously.</p>
<p>for its if you change port of keystone endpoint then you would require to change in lots of other openstack service config file</p>
<p>so change port 5000 to 5001 and 35357 to 35358 in file "/etc/httpd/conf.d/wsgi-keystone.conf".and reboot. then both service will work simultaneously
in above file if you set to port 80 then it will conflict with "/etc/httpd/conf/httpd.conf". so kindly change as above then it work work.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=94494#post-id-94494hi, i have a question. your answer explain both service will work simultaneously. but next step, we use port 5000,35357 for endpoint. then, Do we need apache2??Sun, 10 Jul 2016 08:45:58 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=94494#post-id-94494Comment by hk for <p>In some case of openstack gives this error because port describe in file "/etc/httpd/conf.d/wsgi-keystone.conf"
is same as keystone endpoint URL port. so it conflict and both keystone and httpd service not start simultaneously.</p>
<p>for its if you change port of keystone endpoint then you would require to change in lots of other openstack service config file</p>
<p>so change port 5000 to 5001 and 35357 to 35358 in file "/etc/httpd/conf.d/wsgi-keystone.conf".and reboot. then both service will work simultaneously
in above file if you set to port 80 then it will conflict with "/etc/httpd/conf/httpd.conf". so kindly change as above then it work work.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=94687#post-id-94687hi soondong. if you won't provide extra port as my previous suggestion, still its work but you have to disable keystone service.
read second notes from ref.
ref: http://docs.openstack.org/mitaka/install-guide-rdo/keystone-install.htmlThu, 14 Jul 2016 15:25:28 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=94687#post-id-94687Comment by Maestropandy for <p>In some case of openstack gives this error because port describe in file "/etc/httpd/conf.d/wsgi-keystone.conf"
is same as keystone endpoint URL port. so it conflict and both keystone and httpd service not start simultaneously.</p>
<p>for its if you change port of keystone endpoint then you would require to change in lots of other openstack service config file</p>
<p>so change port 5000 to 5001 and 35357 to 35358 in file "/etc/httpd/conf.d/wsgi-keystone.conf".and reboot. then both service will work simultaneously
in above file if you set to port 80 then it will conflict with "/etc/httpd/conf/httpd.conf". so kindly change as above then it work work.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=93878#post-id-93878hi, i have done work around as yours suggestion, later keystone authentication gets failed, Is it better to change apache2 listening port do you think ? Also tried with removing keystone.conf and remap, no luckFri, 24 Jun 2016 04:09:10 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=93878#post-id-93878Comment by hk for <p>In some case of openstack gives this error because port describe in file "/etc/httpd/conf.d/wsgi-keystone.conf"
is same as keystone endpoint URL port. so it conflict and both keystone and httpd service not start simultaneously.</p>
<p>for its if you change port of keystone endpoint then you would require to change in lots of other openstack service config file</p>
<p>so change port 5000 to 5001 and 35357 to 35358 in file "/etc/httpd/conf.d/wsgi-keystone.conf".and reboot. then both service will work simultaneously
in above file if you set to port 80 then it will conflict with "/etc/httpd/conf/httpd.conf". so kindly change as above then it work work.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=93889#post-id-93889Hi maestropandy, After that change, I had verify keystone as per "http://docs.openstack.org/mitaka/install-guide-rdo/keystone-verify.html", it was working fine. also i had verify other service it were working fine. still if you could paste your log. it would better to understand.Fri, 24 Jun 2016 11:04:25 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=93889#post-id-93889Answer by adendukuri for <p>Hi,</p>
<p>I'm following official OpenStack documentation to build my first environment and got stuck in configuring Keystone (last step from http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-install.html (http://docs.openstack.org/kilo/instal...))</p>
<p>While trying to restart apache I get error message about port 5000 being used</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:5000
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:5000
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Netstat says the port is used by Python and further investigation shows it's somehow related to Keystone</p>
<pre><code>/usr/bin/python /usr/bin/keystone-all --config-file=/etc/keystone/keystone.conf --log-file=/var/log/keystone/keystone.log
</code></pre>
<p>Which way should I take up in this situation? Reconfigure apache to use a different port, or try to deal with Python to use a different one?</p>
<p><strong>EDIT</strong></p>
<p>Referring to https://ask.openstack.org/en/question/47137/devstack-fails-to-start-apache2-address-already-in-use-could-not-bind-to-address/ (https://ask.openstack.org/en/question...) I modified <code>/etc/apache2/sites-available/wsgi-keystone.conf</code> from <code>&lt;VirtualHost *:5000&gt;</code> to <code>&lt;VirtualHost *:80&gt;</code>, but the error persisted. The message right now is</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:35357
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:35357
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Apache error log obviously is empty, so I cannot go there to find anything helpful.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?answer=85585#post-id-85585 OpenStack Kilo release the keystone project deprecates Eventlet in favor of a WSGI server. In Kilo release the Apache HTTP server with mod_wsgi to serve keystone requests on ports 5000 and 35357. By default, the keystone service still listens on ports 5000 and 35357. Therefore, this guide disables the keystone service.
To make this happen Openstack documentation recommends you to disable Keystone service which essentially uses python. echo "manual" > /etc/init/keystone.override
then install keystone components which includes keystone python-openstackclient apache2 libapache2-mod-wsgi memcached python-memcache
If there are process from keystone using python then
1. kill those processes
2. disable keystone
3. restart the apache service.
It should work
Thu, 03 Dec 2015 12:20:03 -0600https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?answer=85585#post-id-85585Comment by RedCricket for <p>OpenStack Kilo release the keystone project deprecates Eventlet in favor of a WSGI server. In Kilo release the Apache HTTP server with mod_wsgi to serve keystone requests on ports 5000 and 35357. By default, the keystone service still listens on ports 5000 and 35357. Therefore, this guide disables the keystone service.</p>
<p>To make this happen Openstack documentation recommends you to disable Keystone service which essentially uses python. echo "manual" &gt; /etc/init/keystone.override
then install keystone components which includes keystone python-openstackclient apache2 libapache2-mod-wsgi memcached python-memcache</p>
<p>If there are process from keystone using python then
1. kill those processes
2. disable keystone
3. restart the apache service.</p>
<p>It should work</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=85691#post-id-85691Would `echo "manual" > /etc/init/keystone.override` work on centos7 or RHEL7 that use systemd instead the good old `/etc/init.d`?Fri, 04 Dec 2015 12:47:05 -0600https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=85691#post-id-85691Answer by soumitrakarmakar for <p>Hi,</p>
<p>I'm following official OpenStack documentation to build my first environment and got stuck in configuring Keystone (last step from http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-install.html (http://docs.openstack.org/kilo/instal...))</p>
<p>While trying to restart apache I get error message about port 5000 being used</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:5000
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:5000
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Netstat says the port is used by Python and further investigation shows it's somehow related to Keystone</p>
<pre><code>/usr/bin/python /usr/bin/keystone-all --config-file=/etc/keystone/keystone.conf --log-file=/var/log/keystone/keystone.log
</code></pre>
<p>Which way should I take up in this situation? Reconfigure apache to use a different port, or try to deal with Python to use a different one?</p>
<p><strong>EDIT</strong></p>
<p>Referring to https://ask.openstack.org/en/question/47137/devstack-fails-to-start-apache2-address-already-in-use-could-not-bind-to-address/ (https://ask.openstack.org/en/question...) I modified <code>/etc/apache2/sites-available/wsgi-keystone.conf</code> from <code>&lt;VirtualHost *:5000&gt;</code> to <code>&lt;VirtualHost *:80&gt;</code>, but the error persisted. The message right now is</p>
<pre><code> * Restarting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:35357
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:35357
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
</code></pre>
<p>Apache error log obviously is empty, so I cannot go there to find anything helpful.</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?answer=78590#post-id-78590 Stop the openstack-keystone service and then restart httpd service, your Openstack infra will work properly except for if you are using cinder as cinder uses api v2 and for that you would require to start the openstack-keystone service again, so the best solution is comment out the Listen 5000
Listen 35357 from /etc/httpd/conf.d/wsgi-keystone.confThu, 16 Jul 2015 02:58:56 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?answer=78590#post-id-78590Comment by mkowalski for <p>Stop the openstack-keystone service and then restart httpd service, your Openstack infra will work properly except for if you are using cinder as cinder uses api v2 and for that you would require to start the openstack-keystone service again, so the best solution is comment out the Listen 5000
Listen 35357 from /etc/httpd/conf.d/wsgi-keystone.conf</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78599#post-id-78599After commenting ports apache starts correctly, but does it mean I don't have Keystone service at all? I cannot run `openstack service create --name keystone --description "OpenStack Identity" identity` as I don't have any service on 35357. If so, how infra will work without identity service?Thu, 16 Jul 2015 04:36:30 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78599#post-id-78599Comment by soumitrakarmakar for <p>Stop the openstack-keystone service and then restart httpd service, your Openstack infra will work properly except for if you are using cinder as cinder uses api v2 and for that you would require to start the openstack-keystone service again, so the best solution is comment out the Listen 5000
Listen 35357 from /etc/httpd/conf.d/wsgi-keystone.conf</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78602#post-id-78602Check the status of your openstack-keystone service if it is disabled enable it. There is actually two way work around for it:
1. If you specify Listen 5000 or Listen 35357 in httpd, then stop openstack-keystone service as httpd will handle it.
2. Start openstack-keystone service & comment out portsThu, 16 Jul 2015 05:54:26 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78602#post-id-78602Comment by mkowalski for <p>Stop the openstack-keystone service and then restart httpd service, your Openstack infra will work properly except for if you are using cinder as cinder uses api v2 and for that you would require to start the openstack-keystone service again, so the best solution is comment out the Listen 5000
Listen 35357 from /etc/httpd/conf.d/wsgi-keystone.conf</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78617#post-id-78617Any of the ways don't work, I'm having an `ERROR: openstack Unable to establish connection to http://controller:35357/v2.0/OS-KSADM/services` message when trying to `openstack service create`, so it's still the same situation as it was beforeThu, 16 Jul 2015 09:51:56 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78617#post-id-78617Comment by soumitrakarmakar for <p>Stop the openstack-keystone service and then restart httpd service, your Openstack infra will work properly except for if you are using cinder as cinder uses api v2 and for that you would require to start the openstack-keystone service again, so the best solution is comment out the Listen 5000
Listen 35357 from /etc/httpd/conf.d/wsgi-keystone.conf</p>
https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78684#post-id-78684Did you export the OS_TOKEN and OS_URL, I suggest you follow the installation guide thoroughly.Fri, 17 Jul 2015 07:20:16 -0500https://ask.openstack.org/en/question/78319/keystone-port-5000-used-by-python/?comment=78684#post-id-78684