kolla sahara dashboard

asked 2017-01-28 13:38:34 -0500

Alexey Elokhov gravatar image

updated 2017-01-28 13:49:27 -0500

Hello! I tried to launch latest kolla developers build 4.0.0.0b2 with sahara dashboard enabled, but I got this error from horizon container (it is in restarting state all the time):

INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Copying service configuration files
INFO:__main__:Deleting file /etc/apache2/conf-enabled/000-default.conf
INFO:__main__:Coping file from /var/lib/kolla/config_files/horizon.conf to /etc/apache2/conf-enabled/000-default.conf
INFO:__main__:Setting file /etc/apache2/conf-enabled/000-default.conf owner to horizon:horizon
INFO:__main__:Setting file /etc/apache2/conf-enabled/000-default.conf permission to 0644
INFO:__main__:Deleting file /etc/openstack-dashboard/local_settings
INFO:__main__:Coping file from /var/lib/kolla/config_files/local_settings to /etc/openstack-dashboard/local_settings
INFO:__main__:Setting file /etc/openstack-dashboard/local_settings owner to horizon:horizon
INFO:__main__:Setting file /etc/openstack-dashboard/local_settings permission to 0644
INFO:__main__:Writing out command to execute
cp: cannot stat '/usr/lib/python2.7/site-packages/sahara_dashboard/enabled/_*[^__].py': No such file or directory

I used ubuntu binary images and all-in-one deployment. Can anyone help? Thanks in advance!

edit retag flag offensive close merge delete

Comments

Hi, opened a bug report for it: https://bugs.launchpad.net/kolla/+bug...

Also submitted a patch: https://review.openstack.org/#/c/4265...

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-01-28 19:21:10 -0500 )edit

As a workaround cherry-pick the patch or manually install inside the container:

docker exec -u 0 horizon apt-get install -y python-sahara-dashboard

Regards

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-01-28 19:23:13 -0500 )edit

Thank you! I tried to add lines from your patch (btw, you have excessive comma on the end of added lines) and re-run kolla deploy, but got just the same error. Also I tried to disable sahara_ui in global.yml and install python-sahara-dashboard in horizon container from your workaround,

Alexey Elokhov gravatar imageAlexey Elokhov ( 2017-01-29 01:37:45 -0500 )edit

but got this error: http://pastebin.com/5QjGbhX5 I will appreciate any help! Thanks!

Alexey Elokhov gravatar imageAlexey Elokhov ( 2017-01-29 01:39:20 -0500 )edit

The last comma is to avoid unnecessary merge conflicts, that line won't need to be edited if added new packages in the list

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-01-29 05:18:09 -0500 )edit