<div dir="ltr"><div><div>Actually I don't know much. Until yesterday keystone was just fine. and as I had some issues with heat I tried to install <code>os-collect-config.( I don't know if this info is relevant). but it didn't work as I had some errors pumping out (<b>Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-7ApEOu/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-1psZ04-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-7ApEOu/lxml )</b><br><br></code></div><code>after that i couldn't connect to the dashboard nor any other service. I had the errors <br><br><b>Traceback (most recent call last):<br> File "/usr/bin/heat", line 7, in <module><br> from heatclient.shell import main<br> File "/usr/lib/python2.7/site-packages/heatclient/shell.py", line 30, in <module><br> from keystoneclient import discover<br> File "/usr/lib/python2.7/site-packages/keystoneclient/discover.py", line 20, in <module><br> from keystoneclient import session as client_session<br> File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 22, in <module><br> from oslo_serialization import jsonutils<br>ImportError: No module named oslo_serialization</b><br><br></code></div><code>so
I reinstalled oslo.serialization and oslo.concurrency. Here I was able
to get my dashboard UI in in the browser (which i couldn't do
earlier) but i can't log in.</code></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-06 11:27 GMT+02:00 Javier Pena <span dir="ltr"><<a href="mailto:javier.pena@redhat.com" target="_blank">javier.pena@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">----- Original Message -----<br>
<br>
> I'm afaraid it is not, here is the output of lsof -i -n -P|grep httpd<br>
<br>
> httpd 1855 root 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)<br>
> httpd 1855 root 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)<br>
> httpd 1855 root 8u IPv6 35709 0t0 TCP *:80 (LISTEN)<br>
<br>
</span>Actually, this is what I meant. Keystone is running as a WSGI process inside Apache, so this is why you see httpd listening on ports 5000 and 35357.<br>
<br>
The next question would be why you are having trouble connecting to the dashboard. Could you provide some more details on that issue?<br>
<br>
Regards,<br>
Javier<br>
<div class="HOEnZb"><div class="h5"><br>
> httpd 3969 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)<br>
> httpd 3969 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)<br>
> httpd 3969 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)<br>
> httpd 3970 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)<br>
> httpd 3970 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)<br>
> httpd 3970 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)<br>
> httpd 3971 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)<br>
> httpd 3971 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)<br>
> httpd 3971 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)<br>
> httpd 3972 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)<br>
> httpd 3972 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)<br>
> httpd 3972 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)<br>
> httpd 3973 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)<br>
> httpd 3973 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)<br>
> httpd 3973 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)<br>
> httpd 3974 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)<br>
> httpd 3974 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)<br>
> httpd 3974 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)<br>
> httpd 3975 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)<br>
> httpd 3975 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)<br>
> httpd 3975 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)<br>
> httpd 3976 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)<br>
> httpd 3976 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)<br>
> httpd 3976 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)<br>
<br>
> 2015-05-06 11:14 GMT+02:00 Javier Pena < <a href="mailto:javier.pena@redhat.com">javier.pena@redhat.com</a> > :<br>
<br>
> > ----- Original Message -----<br>
><br>
<br>
> > > hi,<br>
><br>
<br>
> > > I have some issues with keystone since this morning, I couldn't connect<br>
> > > to<br>
><br>
> > > the dashboard so I checked my keystone service and found out that it was<br>
> > > not<br>
><br>
> > > running. I tried to restart it but no luck.<br>
><br>
<br>
> > > I did some changes in the keystone.conf to make this work but no chance.<br>
> > > The<br>
><br>
> > > changes I did are:<br>
><br>
<br>
> > > cp /usr/share/keystone/keystone-dist-paste.ini /etc/keystone/<br>
><br>
> > > chown keystone:keystone /etc/keystone/*<br>
><br>
<br>
> > > updated keystone.conf with the new config_file value<br>
><br>
<br>
> > > /etc/keystone/keystone.conf sql connection mysql://keystone:PASSWD@<br>
><br>
> > > controller/keystone<br>
><br>
<br>
> > > and I got this logs errors :<br>
><br>
<br>
> > > 2015-05-06 10:17:28.352 24135 ERROR<br>
><br>
> > > keystone.common.environment.eventlet_server [-] Could not bind to<br>
><br>
> > > <a href="http://0.0.0.0:35357" target="_blank">0.0.0.0:35357</a><br>
><br>
> > > 2015-05-06 10:17:28.353 24135 ERROR root [-] Failed to start the admin<br>
> > > server<br>
><br>
> > > 2015-05-06 10:17:29.221 24145 ERROR<br>
><br>
> > > keystone.common.environment.eventlet_server [-] Could not bind to<br>
><br>
> > > <a href="http://0.0.0.0:35357" target="_blank">0.0.0.0:35357</a><br>
><br>
> > > 2015-05-06 10:17:29.221 24145 ERROR root [-] Failed to start the admin<br>
> > > server<br>
><br>
> > > 2015-05-06 10:17:30.059 24151 ERROR<br>
><br>
> > > keystone.common.environment.eventlet_server [-] Could not bind to<br>
><br>
> > > <a href="http://0.0.0.0:35357" target="_blank">0.0.0.0:35357</a><br>
><br>
> > > 2015-05-06 10:17:30.060 24151 ERROR root [-] Failed to start the admin<br>
> > > server<br>
><br>
> > > 2015-05-06 10:17:30.895 24158 ERROR<br>
><br>
> > > keystone.common.environment.eventlet_server [-] Could not bind to<br>
><br>
> > > <a href="http://0.0.0.0:35357" target="_blank">0.0.0.0:35357</a><br>
><br>
> > > 2015-05-06 10:17:30.896 24158 ERROR root [-] Failed to start the admin<br>
> > > server<br>
><br>
> > > 2015-05-06 10:17:31.727 24167 ERROR<br>
><br>
> > > keystone.common.environment.eventlet_server [-] Could not bind to<br>
><br>
> > > <a href="http://0.0.0.0:35357" target="_blank">0.0.0.0:35357</a><br>
><br>
> > > 2015-05-06 10:17:31.728 24167 ERROR root [-] Failed to start the admin<br>
> > > server<br>
><br>
<br>
> > Hi,<br>
><br>
<br>
> > It is possible that keystone is running as a wsgi process under apache.<br>
> > That<br>
> > would explain why it cannot bind to port 35357.<br>
><br>
<br>
> > Can you check if your httpd process is running? If so, please check if it<br>
> > is<br>
> > bound to port 35357 (lsof -i -n -P|grep httpd).<br>
><br>
<br>
> > Regards,<br>
><br>
> > Javier<br>
><br>
<br>
> > > _______________________________________________<br>
><br>
> > > Rdo-list mailing list<br>
><br>
> > > <a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a><br>
><br>
> > > <a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
><br>
<br>
> > > To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a><br>
><br>
<br>
> _______________________________________________<br>
> Rdo-list mailing list<br>
> <a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
> To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a><br>
</div></div></blockquote></div><br></div>