[Rdo-list] [keystone] fails to start

ICHIBA Sara ichi.sara at gmail.com
Wed May 6 09:37:37 UTC 2015


Actually I don't know much. Until yesterday keystone was just fine. and as
I had some issues with heat I tried to install os-collect-config.( I don't
know if this info is  relevant). but it didn't work as I had some errors
pumping out (*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 )*

after that i couldn't connect to the dashboard nor any other service. I had
the errors










*Traceback (most recent call last):  File "/usr/bin/heat", line 7, in
<module>    from heatclient.shell import main  File
"/usr/lib/python2.7/site-packages/heatclient/shell.py", line 30, in
<module>    from keystoneclient import discover  File
"/usr/lib/python2.7/site-packages/keystoneclient/discover.py", line 20, in
<module>    from keystoneclient import session as client_session  File
"/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 22, in
<module>    from oslo_serialization import jsonutilsImportError: No module
named oslo_serialization*

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.

2015-05-06 11:27 GMT+02:00 Javier Pena <javier.pena at redhat.com>:

> ----- Original Message -----
>
> > I'm afaraid it is not, here is the output of lsof -i -n -P|grep httpd
>
> > httpd 1855 root 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)
> > httpd 1855 root 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)
> > httpd 1855 root 8u IPv6 35709 0t0 TCP *:80 (LISTEN)
>
> 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.
>
> The next question would be why you are having trouble connecting to the
> dashboard. Could you provide some more details on that issue?
>
> Regards,
> Javier
>
> > httpd 3969 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)
> > httpd 3969 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)
> > httpd 3969 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)
> > httpd 3970 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)
> > httpd 3970 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)
> > httpd 3970 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)
> > httpd 3971 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)
> > httpd 3971 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)
> > httpd 3971 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)
> > httpd 3972 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)
> > httpd 3972 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)
> > httpd 3972 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)
> > httpd 3973 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)
> > httpd 3973 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)
> > httpd 3973 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)
> > httpd 3974 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)
> > httpd 3974 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)
> > httpd 3974 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)
> > httpd 3975 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)
> > httpd 3975 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)
> > httpd 3975 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)
> > httpd 3976 apache 4u IPv6 35701 0t0 TCP *:35357 (LISTEN)
> > httpd 3976 apache 6u IPv6 35705 0t0 TCP *:5000 (LISTEN)
> > httpd 3976 apache 8u IPv6 35709 0t0 TCP *:80 (LISTEN)
>
> > 2015-05-06 11:14 GMT+02:00 Javier Pena < javier.pena at redhat.com > :
>
> > > ----- Original Message -----
> >
>
> > > > hi,
> >
>
> > > > I have some issues with keystone since this morning, I couldn't
> connect
> > > > to
> >
> > > > the dashboard so I checked my keystone service and found out that it
> was
> > > > not
> >
> > > > running. I tried to restart it but no luck.
> >
>
> > > > I did some changes in the keystone.conf to make this work but no
> chance.
> > > > The
> >
> > > > changes I did are:
> >
>
> > > > cp /usr/share/keystone/keystone-dist-paste.ini /etc/keystone/
> >
> > > > chown keystone:keystone /etc/keystone/*
> >
>
> > > > updated keystone.conf with the new config_file value
> >
>
> > > > /etc/keystone/keystone.conf sql connection mysql://keystone:PASSWD@
> >
> > > > controller/keystone
> >
>
> > > > and I got this logs errors :
> >
>
> > > > 2015-05-06 10:17:28.352 24135 ERROR
> >
> > > > keystone.common.environment.eventlet_server [-] Could not bind to
> >
> > > > 0.0.0.0:35357
> >
> > > > 2015-05-06 10:17:28.353 24135 ERROR root [-] Failed to start the
> admin
> > > > server
> >
> > > > 2015-05-06 10:17:29.221 24145 ERROR
> >
> > > > keystone.common.environment.eventlet_server [-] Could not bind to
> >
> > > > 0.0.0.0:35357
> >
> > > > 2015-05-06 10:17:29.221 24145 ERROR root [-] Failed to start the
> admin
> > > > server
> >
> > > > 2015-05-06 10:17:30.059 24151 ERROR
> >
> > > > keystone.common.environment.eventlet_server [-] Could not bind to
> >
> > > > 0.0.0.0:35357
> >
> > > > 2015-05-06 10:17:30.060 24151 ERROR root [-] Failed to start the
> admin
> > > > server
> >
> > > > 2015-05-06 10:17:30.895 24158 ERROR
> >
> > > > keystone.common.environment.eventlet_server [-] Could not bind to
> >
> > > > 0.0.0.0:35357
> >
> > > > 2015-05-06 10:17:30.896 24158 ERROR root [-] Failed to start the
> admin
> > > > server
> >
> > > > 2015-05-06 10:17:31.727 24167 ERROR
> >
> > > > keystone.common.environment.eventlet_server [-] Could not bind to
> >
> > > > 0.0.0.0:35357
> >
> > > > 2015-05-06 10:17:31.728 24167 ERROR root [-] Failed to start the
> admin
> > > > server
> >
>
> > > Hi,
> >
>
> > > It is possible that keystone is running as a wsgi process under apache.
> > > That
> > > would explain why it cannot bind to port 35357.
> >
>
> > > Can you check if your httpd process is running? If so, please check if
> it
> > > is
> > > bound to port 35357 (lsof -i -n -P|grep httpd).
> >
>
> > > Regards,
> >
> > > Javier
> >
>
> > > > _______________________________________________
> >
> > > > Rdo-list mailing list
> >
> > > > Rdo-list at redhat.com
> >
> > > > https://www.redhat.com/mailman/listinfo/rdo-list
> >
>
> > > > To unsubscribe: rdo-list-unsubscribe at redhat.com
> >
>
> > _______________________________________________
> > Rdo-list mailing list
> > Rdo-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/rdo-list
>
> > To unsubscribe: rdo-list-unsubscribe at redhat.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150506/b5ebcba8/attachment.html>


More information about the dev mailing list