From gergely.kovacs at webbandflow.co.uk Tue Jul 7 21:30:26 2015 From: gergely.kovacs at webbandflow.co.uk (=?UTF-8?Q?Gergely_Kov=C3=A1cs?=) Date: Tue, 7 Jul 2015 21:30:26 +0200 Subject: [Fiware-ceedtech-coaching] Problem with Identity Manager Message-ID: Hi! We tried to install the identity manager enabler, and had some problems: We installed the package using the guide ( https://github.com/ging/fi-ware-idm/wiki/Installation-guide ) , then configured the mysql-apache also ( https://github.com/ging/fi-ware-idm/wiki/Production-set-up-guide ). The service starts: fab localhost horizon.dev_server [localhost] Executing task 'horizon.dev_server' [localhost] local: sudo tools/with_venv.sh python manage.py runserver 127.0.0.1:8000 DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead. DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_serialization instead. DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead. DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_serialization instead. Validating models... 0 errors found July 07, 2015 - 18:57:21 Django version 1.6.11, using settings 'openstack_dashboard.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. #################################################################x In the web browser we got the following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at devops at webbandflow.co.uk to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Regarding to the apache log: Traceback (most recent call last): [Tue Jul 07 20:40:10.628552 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/home/user/idm/horizon/openstack_dashboard/wsgi/django.wsgi", line 14, in [Tue Jul 07 20:40:10.628592 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] application = get_wsgi_application() [Tue Jul 07 20:40:10.628601 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application [Tue Jul 07 20:40:10.628628 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] django.setup() [Tue Jul 07 20:40:10.628637 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 17, in setup [Tue Jul 07 20:40:10.628663 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Jul 07 20:40:10.628671 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in __getattr__ [Tue Jul 07 20:40:10.628720 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] self._setup(name) [Tue Jul 07 20:40:10.628728 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 44, in _setup [Tue Jul 07 20:40:10.628739 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] self._wrapped = Settings(settings_module) [Tue Jul 07 20:40:10.628745 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 92, in __init__ [Tue Jul 07 20:40:10.628755 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue Jul 07 20:40:10.628761 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module [Tue Jul 07 20:40:10.628790 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] __import__(name) [Tue Jul 07 20:40:10.628798 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/home/user/idm/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 25, in [Tue Jul 07 20:40:10.628872 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] import xstatic.main [Tue Jul 07 20:40:10.628888 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] ImportError: No module named xstatic.main [Tue Jul 07 20:40:11.450963 2015] [wsgi:error] [pid 28217] [client 178.48.82.152:56528] mod_wsgi (pid=28217): Target WSGI script '/home/user/idm/horizon/openstack_dashboard/wsgi/django.wsgi' cannot b e loaded as Python module. [Tue Jul 07 20:40:11.450989 2015] [wsgi:error] [pid 28217] [client 178.48.82.152:56528] mod_wsgi (pid=28217): Exception occurred processing WSGI script '/home/user/idm/horizon/openstack_dashboard/wsg i/django.wsgi'. Do you have any suggestion about this issue? -- *Gergely **KOVACS* Head of Development :: Webb & Flow Ltd. +36-30-725-8120 :: gergely.kovacs at webbandflow.co.uk http://webbandflow.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From consoft-fiwarecoach at consoft.it Wed Jul 8 12:20:10 2015 From: consoft-fiwarecoach at consoft.it (consoft-fiwarecoach at consoft.it) Date: Wed, 8 Jul 2015 10:20:10 +0000 Subject: [Fiware-ceedtech-coaching] R: Problem with Identity Manager In-Reply-To: References: Message-ID: <58e3a87477ec470ab81056860f8d58fd@EXCHMBX2.consoft.it> Hello Gergely, Thank you for using the FIWARE ? CEED Tech coaching mailing list. I?m not a Python expert, but it seems it?s not able to retrieve the ?xstatic.main? module. I?m guessing it?s something related to initial settings. I?m sure you did, but just to be sure: did you create correctly the settings file? (cp conf/settings.py.example conf/settings.py) Instead of using the automated installation script from the fi-ware-idm repository, you could also try to install the two components of KeyRock manually by following this guide from FIWARE Wiki. Let me know if this solves this problem or not. If not, I will contact directly the owner of the enabler to get support. Best regards, Marco Marco Terrinoni Consoft Sistemi s.p.a. BU Application Via Pio VII 127 - 10127 - Torino Tel (+39) 011 3161571 Fax (+39) 011 3161583 Da: fiware-ceedtech-coaching-bounces at lists.fi-ware.org [mailto:fiware-ceedtech-coaching-bounces at lists.fi-ware.org] Per conto di Gergely Kov?cs Inviato: marted? 7 luglio 2015 21:30 A: fiware-ceedtech-coaching at lists.fi-ware.org Oggetto: [Fiware-ceedtech-coaching] Problem with Identity Manager Hi! We tried to install the identity manager enabler, and had some problems: We installed the package using the guide ( https://github.com/ging/fi-ware-idm/wiki/Installation-guide ) , then configured the mysql-apache also ( https://github.com/ging/fi-ware-idm/wiki/Production-set-up-guide ). The service starts: fab localhost horizon.dev_server [localhost] Executing task 'horizon.dev_server' [localhost] local: sudo tools/with_venv.sh python manage.py runserver 127.0.0.1:8000 DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead. DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_serialization instead. DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead. DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_serialization instead. Validating models... 0 errors found July 07, 2015 - 18:57:21 Django version 1.6.11, using settings 'openstack_dashboard.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. #################################################################x In the web browser we got the following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at devops at webbandflow.co.uk to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Regarding to the apache log: Traceback (most recent call last): [Tue Jul 07 20:40:10.628552 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/home/user/idm/horizon/openstack_dashboard/wsgi/django.wsgi", line 14, in [Tue Jul 07 20:40:10.628592 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] application = get_wsgi_application() [Tue Jul 07 20:40:10.628601 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application [Tue Jul 07 20:40:10.628628 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] django.setup() [Tue Jul 07 20:40:10.628637 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 17, in setup [Tue Jul 07 20:40:10.628663 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Jul 07 20:40:10.628671 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in __getattr__ [Tue Jul 07 20:40:10.628720 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] self._setup(name) [Tue Jul 07 20:40:10.628728 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 44, in _setup [Tue Jul 07 20:40:10.628739 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] self._wrapped = Settings(settings_module) [Tue Jul 07 20:40:10.628745 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 92, in __init__ [Tue Jul 07 20:40:10.628755 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue Jul 07 20:40:10.628761 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module [Tue Jul 07 20:40:10.628790 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] __import__(name) [Tue Jul 07 20:40:10.628798 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] File "/home/user/idm/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 25, in [Tue Jul 07 20:40:10.628872 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] import xstatic.main [Tue Jul 07 20:40:10.628888 2015] [wsgi:error] [pid 23293] [client 178.48.82.152:56527] ImportError: No module named xstatic.main [Tue Jul 07 20:40:11.450963 2015] [wsgi:error] [pid 28217] [client 178.48.82.152:56528] mod_wsgi (pid=28217): Target WSGI script '/home/user/idm/horizon/openstack_dashboard/wsgi/django.wsgi' cannot b e loaded as Python module. [Tue Jul 07 20:40:11.450989 2015] [wsgi:error] [pid 28217] [client 178.48.82.152:56528] mod_wsgi (pid=28217): Exception occurred processing WSGI script '/home/user/idm/horizon/openstack_dashboard/wsg i/django.wsgi'. Do you have any suggestion about this issue? -- Gergely KOVACS Head of Development :: Webb & Flow Ltd. +36-30-725-8120 :: gergely.kovacs at webbandflow.co.uk http://webbandflow.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: