ImportError: No module named muranodashboard
I have devstack installed on my Ubuntu and I tried to manually install murano using the following link:
http://
Every thing was fine with respect to installation of Murano API service and engine.
Murano Dashboard tox was executed successfully and using the update_setting.sh file I have updated the existing settings.py file in already installed horizon path.
./update_setting.sh --input=
12-02-2014 16:40 LOG:>Creating "/tmp/tmp.
12-02-2014 16:40 LOG:>The following data will be added to the config: #START_
HORIZON_
INSTALLED_APPS += ('muranodashboard', 'floppyforms',)
MIDDLEWARE_CLASSES += ('muranodashboa
#NETWORK_TOPOLOGY = 'routed'
#MURANO_API_URL = 'http://
#if murano-api is set up with ssl, uncomment next strings
#MURANO_
MAX_FILE_SIZE_MB = 5
#END_MURANO_
12-02-2014 16:40 LOG:>Adding Murano data to "/opt/stack/
12-02-2014 16:40 LOG:>Deleting "/tmp/tmp.
12-02-2014 16:40 LOG:>...SUCCESS
Now while trying to run the Django server using the below command, I faced the following error:
tox -e venv -- python manage.py runserver <IP:PORT>
tox -e venv -- python manage.py runserver 172.16.69.217:8000
venv develop-
venv runtests: PYTHONHASHSEED=
venv runtests: commands[0] | python manage.py runserver 172.16.69.217:8000
WARNING:
WARNING:
Validating models...
0 errors found
December 02, 2014 - 11:37:31
Django version 1.6.8, using settings 'muranodashboar
Starting development server at http://
Quit the server with CONTROL-C.
Error: That port is already in use.
ERROR: InvocationError: '/home/
As this port is already being used by Horizon, I tried to stop horizon service using devstack screen and restarted apache server.
Now that the murano dashboard changes are taken into horizon settings.py, and I have tried to restart the horizon service, the service could not come up throwing the below error:
[Tue Dec 02 11:48:08.272599 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] self._wrapped = self._setupfunc()
[Tue Dec 02 11:48:08.272608 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] File "/opt/stack/
[Tue Dec 02 11:48:08.272819 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] return self._urls()[0]
[Tue Dec 02 11:48:08.272832 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] File "/opt/stack/
[Tue Dec 02 11:48:08.272848 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] self._autodisco
[Tue Dec 02 11:48:08.272858 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] File "/opt/stack/
[Tue Dec 02 11:48:08.272870 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] mod = import_module(app)
[Tue Dec 02 11:48:08.272878 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] File "/usr/local/
[Tue Dec 02 11:48:08.272889 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] __import__(name)
[Tue Dec 02 11:48:08.272907 2014] [:error] [pid 5110:tid 140585973397248] [remote 127.0.0.1:63935] ImportError: No module named muranodashboard
Can some one please help on resolving the port already in use issue and horizon import error shown below and installing Murano dashboard successfully.
Thank you.
Bharath
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Murano Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bharath Krishna M
- Solved:
- Last query:
- Last reply: