Public bug reported: Hello, I am currently trying to install OpenStack from the sources on GitHub, and I want to start Keystone using uwsgi, but it's not working.
Keystone is running in a Python virtual environment /opt/keystone , which I installed with the user keystone . I installed uwsgi as follows: shell sudo apt-get install uwsgi-plugin-python3 Now, I want to start it as the keystone user like this: shell uwsgi --ini etc/keystone/keystone-uwsgi-public.ini --daemonize /opt/keystone/var/log/keystone/uwsgi.lo However, I get the following error: shell root@controller01-de-fsn1-dc10 ~ # su - keystone keystone@controller01-de-fsn1-dc10:~$ source bin/activate (keystone) keystone@controller01-de-fsn1-dc10:~$ uwsgi --ini /opt/keystone/etc/keystone/keystone-uwsgi-public.ini --daemonize /opt/keystone/var/log/keystone/uwsgi.log [uWSGI] getting INI configuration from etc/keystone/keystone-uwsgi-public.ini (keystone) keystone@controller01-de-fsn1-dc10:~$ tail -f var/log/keystone/uwsgi.log !!!!!!!!!!! END OF WARNING !!!!!!!!!! spawned uWSGI master process (pid: 836) spawned uWSGI worker 1 (pid: 837, cores: 1) *** no app loaded. going in full dynamic mode *** spawned uWSGI worker 2 (pid: 838, cores: 1) *** no app loaded. going in full dynamic mode *** spawned uWSGI worker 3 (pid: 839, cores: 1) *** no app loaded. going in full dynamic mode *** spawned uWSGI worker 4 (pid: 840, cores: 1) *** no app loaded. going in full dynamic mode *** ^C (keystone) keystone@controller01-de-fsn1-dc10:~$ My /opt/keystone/etc/keystone/keystone-uwsgi-public.ini ini [uwsgi] module = keystone.wsgi.api:application # Versions of mod_proxy_uwsgi>=2.0.6 should use a UNIX socket, see # http://uwsgi-docs.readthedocs.org/en/latest/Apache.html#mod-proxy-uwsgi uwsgi-socket = 127.0.0.1:5001 # Override the default size for headers from the 4k default. buffer-size = 65535 # This is running standalone master = true enable-threads = true # Tune this to your environment. processes = 4 # uwsgi recommends this to prevent thundering herd on accept. thunder-lock = true # plugins = python # This ensures that file descriptors aren't shared between keystone processes. lazy-apps = true Can anyone help me? ** Affects: keystone Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Identity (keystone). https://bugs.launchpad.net/bugs/2092660 Title: UWSGI Cano't start Status in OpenStack Identity (keystone): New Bug description: Hello, I am currently trying to install OpenStack from the sources on GitHub, and I want to start Keystone using uwsgi, but it's not working. Keystone is running in a Python virtual environment /opt/keystone , which I installed with the user keystone . I installed uwsgi as follows: shell sudo apt-get install uwsgi-plugin-python3 Now, I want to start it as the keystone user like this: shell uwsgi --ini etc/keystone/keystone-uwsgi-public.ini --daemonize /opt/keystone/var/log/keystone/uwsgi.lo However, I get the following error: shell root@controller01-de-fsn1-dc10 ~ # su - keystone keystone@controller01-de-fsn1-dc10:~$ source bin/activate (keystone) keystone@controller01-de-fsn1-dc10:~$ uwsgi --ini /opt/keystone/etc/keystone/keystone-uwsgi-public.ini --daemonize /opt/keystone/var/log/keystone/uwsgi.log [uWSGI] getting INI configuration from etc/keystone/keystone-uwsgi-public.ini (keystone) keystone@controller01-de-fsn1-dc10:~$ tail -f var/log/keystone/uwsgi.log !!!!!!!!!!! END OF WARNING !!!!!!!!!! spawned uWSGI master process (pid: 836) spawned uWSGI worker 1 (pid: 837, cores: 1) *** no app loaded. going in full dynamic mode *** spawned uWSGI worker 2 (pid: 838, cores: 1) *** no app loaded. going in full dynamic mode *** spawned uWSGI worker 3 (pid: 839, cores: 1) *** no app loaded. going in full dynamic mode *** spawned uWSGI worker 4 (pid: 840, cores: 1) *** no app loaded. going in full dynamic mode *** ^C (keystone) keystone@controller01-de-fsn1-dc10:~$ My /opt/keystone/etc/keystone/keystone-uwsgi-public.ini ini [uwsgi] module = keystone.wsgi.api:application # Versions of mod_proxy_uwsgi>=2.0.6 should use a UNIX socket, see # http://uwsgi-docs.readthedocs.org/en/latest/Apache.html#mod-proxy-uwsgi uwsgi-socket = 127.0.0.1:5001 # Override the default size for headers from the 4k default. buffer-size = 65535 # This is running standalone master = true enable-threads = true # Tune this to your environment. processes = 4 # uwsgi recommends this to prevent thundering herd on accept. thunder-lock = true # plugins = python # This ensures that file descriptors aren't shared between keystone processes. lazy-apps = true Can anyone help me? To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/2092660/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp