Ask Your Question

Yrez's profile - activity

2017-05-15 13:09:30 -0500 commented answer Horizon cannot connect to Keystone

I've tried :

stack@alexis-OpenStack:~$ stack=stack systemct1 restart devstack@keystone La commande « systemct1 » est introuvable, vouliez-vous dire : La commande « systemctl » du paquet « systemd » (main) systemct1 : commande introuvable

2017-05-15 13:00:43 -0500 received badge  Famous Question (source)
2017-05-11 04:14:23 -0500 commented answer Horizon cannot connect to Keystone

I do not understand what you mean :

mkdir /var/run/uwsgi 
chown stack /var/run/uwsgi 
stack=youruser systemctl restart devstack@keystone
2017-05-10 06:45:44 -0500 commented answer Horizon cannot connect to Keystone

Answer above.

2017-05-10 06:44:27 -0500 commented answer Horizon cannot connect to Keystone

That only happened when i reboot my server (which is a VM on my laptop) but I cannot let this VM ON all the time. So, how could i deploy openstack ?

2017-05-10 02:39:50 -0500 received badge  Editor (source)
2017-05-10 02:36:12 -0500 answered a question Horizon cannot connect to Keystone

Hello, I tried :

Thanks for your answer.

I tried :

~$ sudo systemctl status devstack@keystone ● devstack@keystone.service - Devstack devstack@keystone.service Loaded: loaded (/etc/systemd/system/devstack@keystone...; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since mer. 2017-05-10 09:18:29 CEST; 9min ago Process: 815 ExecStart=/usr/local/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-public.ini (code=exited, status=1/FAILURE) Main PID: 815 (code=exited, status=1/FAILURE) Status: "initializing uWSGI"

mai 10 09:18:28 alexis-OpenStack devstack@keystone.service[815]: your processes number limit is 15633 mai 10 09:18:28 alexis-OpenStack devstack@keystone.service[815]: your memory page size is 4096 bytes mai 10 09:18:28 alexis-OpenStack devstack@keystone.service[815]: detected max file descriptor number: 1024 mai 10 09:18:28 alexis-OpenStack devstack@keystone.service[815]: lock engine: pthread robust mutexes mai 10 09:18:28 alexis-OpenStack devstack@keystone.service[815]: thunder lock: enabled mai 10 09:18:28 alexis-OpenStack devstack@keystone.service[815]: bind(): No such file or directory [core/socket.c line 230] mai 10 09:18:29 alexis-OpenStack systemd[1]: devstack@keystone.service: Main process exited, code=exited, status=1/FAILURE mai 10 09:18:29 alexis-OpenStack systemd[1]: Failed to start Devstack devstack@keystone.service. mai 10 09:18:29 alexis-OpenStack systemd[1]: devstack@keystone.service: Unit entered failed state. mai 10 09:18:29 alexis-OpenStack systemd[1]: devstack@keystone.service: Failed with result 'exit-code'.

And then, i tried to restart :

~$ sudo systemctl start devstack@keystone Job for devstack@keystone.service failed because the control process exited with error code. See "systemctl status devstack@keystone.service" and "journalctl -xe" for details.

So, I should not reboot openstack server, otherwise it will fail ?

How could I restack? Should I unstack, and then, stack ?

2017-05-10 02:27:44 -0500 received badge  Notable Question (source)
2017-05-09 09:40:42 -0500 received badge  Popular Question (source)
2017-05-06 13:48:33 -0500 asked a question Horizon cannot connect to Keystone

Hello everyone,

Last day, i installed OpenStack thanks to Devstack on Ubuntu 16.04 and Horizon worked, i could log as admin. However, today, when i started horizon, i could not connect, and I have this answer from horizon : "An error occurred authenticating. Please try again later.".

I can read on file /var/log/apache2/horizon_error.log :

2017-05-05 15:40:03.429306 failed to make connection to backend: httpd-UDS:0

2017-05-05 15:40:03.432566 AH02454: uwsgi: attempt to connect to Unix domain socket /var/run/uwsgi/keystone-wsgi-public.socket (uwsgi-uds-keystone-wsgi-public) failed

2017-05-05 15:40:03.432579 AH00959: ap_proxy_connect_backend disabling worker for (uwsgi-uds-keystone-wsgi-public) for 0s

It seems that horizon cannot connect to Keystone.

Could you help me please ?