Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Component/s: CEED-Tech
-
Labels:None
Description
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@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
<module>
[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 <mo
dule>
[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@webbandflow.co.uk
http://webbandflow.co.uk
_______________________________________________
Fiware-ceedtech-coaching mailing list
Fiware-ceedtech-coaching@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-ceedtech-coaching
[Created via e-mail received from: =?UTF-8?Q?Gergely_Kov=C3=A1cs?= <gergely.kovacs@webbandflow.co.uk>]
Issue Links
- relates to
-
HELP-3598 FIWARE.Request.Tech.Security.IDM-KeyRock.ProblemwithIdentityManager
- Closed
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Marco Terrinoni [ consoft_coach ] |
Component/s | CEED Tech [ 10356 ] |
Assignee | Marco Terrinoni [ consoft_coach ] | Pascal Bisson [ pascal.bisson ] |
Comment |
[ 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 ] |
Assignee | Pascal Bisson [ pascal.bisson ] | Marco Terrinoni [ consoft_coach ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Summary | [Fiware-ceedtech-coaching] Problem with Identity Manager | FIWARE.Request.Coach.CEED Tech.Problem with Identity Manager |
Summary | FIWARE.Request.Coach.CEED Tech.Problem with Identity Manager | FIWARE.Request.Coach.CEED-Tech.Problem with Identity Manager |
Summary | FIWARE.Request.Coach.CEED-Tech.Problem with Identity Manager | FIWARE.Request.Coach.CEED-Tech.IdM.KeyRockGE.Installation.Issue |