Kolla fails to build horizon container in periodic master job

Bug #1784233 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Unassigned
tripleo
Fix Released
Critical
Gabriele Cerami

Bug Description

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/legacy-periodic-tripleo-centos-7-master-containers-build/153d98a/logs/kolla/logs/000_FAILED_horizon.log

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/legacy-periodic-tripleo-centos-7-master-containers-build/9d7e330/logs/kolla/logs/horizon.log

INFO:kolla.common.utils.horizon:Step 5/7 : RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf && sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf && ln -s /usr/share/openstack-dashboard/openstack_dashboard /usr/lib/python2.7/site-packages/openstack_dashboard && ln -s /usr/share/openstack-dashboard/static /usr/lib/python2.7/site-packages/static && chown -R horizon: /etc/openstack-dashboard /usr/share/openstack-dashboard && chown -R apache: /usr/share/openstack-dashboard/static && sed -i "s|WEBROOT = '/dashboard/'|WEBROOT = '/'|" /etc/openstack-dashboard/local_settings && cp /usr/share/openstack-dashboard/manage.py /usr/bin/manage.py && cp /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_18*.py* /usr/lib/python2.7/site-packages/sahara_dashboard/enabled/ && rm -f /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/?[^_]*.py* && rm -f /usr/lib/python2.7/site-packages/openstack_dashboard/local/enabled/?[^_]*.py* && for locale in /usr/lib/python2.7/site-packages/*/locale; do (cd ${locale%/*} && /usr/bin/python /usr/bin/manage.py compilemessages) done
INFO:kolla.common.utils.horizon: ---> Running in d383f484bd82
INFO:kolla.common.utils.horizon:
INFO:kolla.common.utils.horizon:cp: '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1810_data_processing_panel_group.py' and '/usr/lib/python2.7/site-packages/sahara_dashboard/enabled/_1810_data_processing_panel_group.py' are the same file
INFO:kolla.common.utils.horizon:cp: '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1810_data_processing_panel_group.pyc' and '/usr/lib/python2.7/site-packages/sahara_dashboard/enabled/_1810_data_processing_panel_group.pyc' are the same file
INFO:kolla.common.utils.horizon:cp: '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1820_data_processing_clusters_panel.py' and '/usr/lib/python2.7/site-packages/sahara_dashboard/enabled/_1820_data_processing_clusters_panel.py' are the same file
INFO:kolla.common.utils.horizon:cp: '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1820_data_processing_clusters_panel.pyc' and '/usr/lib/python2.7/site-packages/sahara_dashboard/enabled/_1820_data_processing_clusters_panel.pyc' are the same file
INFO:kolla.common.utils.horizon:cp: '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1830_data_processing_plugins_panel.py' and '/usr/lib/python2.7/site-packages/sahara_dashboard/enabled/_1830_data_processing_plugins_panel.py' are the same file
INFO:kolla.common.utils.horizon:cp: '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1830_data_processing_plugins_panel.pyc' and '/usr/lib/python2.7/site-packages/sahara_dashboard/enabled/_1830_data_processing_plugins_panel.pyc' are the same file
INFO:kolla.common.utils.horizon:cp: '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1840_data_processing_jobs_panel.py' and '/usr/lib/python2.7/site-packages/sahara_dashboard/enabled/_1840_data_processing_jobs_panel.py' are the same file
INFO:kolla.common.utils.horizon:cp: '/usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_1840_data_processing_jobs_panel.pyc' and '/usr/lib/python2.7/site-packages/sahara_dashboard/enabled/_1840_data_processing_jobs_panel.pyc' are the same file
INFO:kolla.common.utils.horizon:
INFO:kolla.common.utils.horizon:Removing intermediate container d383f484bd82
ERROR:kolla.common.utils.horizon:Error'd with the following message
ERROR:kolla.common.utils.horizon:The command '/bin/sh -c sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf && sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf && ln -s /usr/share/openstack-dashboard/openstack_dashboard /usr/lib/python2.7/site-packages/openstack_dashboard && ln -s /usr/share/openstack-dashboard/static /usr/lib/python2.7/site-packages/static && chown -R horizon: /etc/openstack-dashboard /usr/share/openstack-dashboard && chown -R apache: /usr/share/openstack-dashboard/static && sed -i "s|WEBROOT = '/dashboard/'|WEBROOT = '/'|" /etc/openstack-dashboard/local_settings && cp /usr/share/openstack-dashboard/manage.py /usr/bin/manage.py && cp /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_18*.py* /usr/lib/python2.7/site-packages/sahara_dashboard/enabled/ && rm -f /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/?[^_]*.py* && rm -f /usr/lib/python2.7/site-packages/openstack_dashboard/local/enabled/?[^_]*.py* && for locale in /usr/lib/python2.7/site-packages/*/locale; do (cd ${locale%/*} && /usr/bin/python /usr/bin/manage.py compilemessages) done' returned a non-zero code: 1
ERROR:kolla.common.utils.horizon:Parent image error'd with message "error"
ERROR:kolla.common.utils.horizon:Parent image error'd with message "error"
ERROR:kolla.common.utils.horizon:Parent image error'd with message "error"

Changed in tripleo:
assignee: nobody → Gabriele Cerami (gcerami)
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :
Changed in kolla:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/586904
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=3b9b69ac7b6b1e59ead77a7ebf8fd1273963e286
Submitter: Zuul
Branch: master

commit 3b9b69ac7b6b1e59ead77a7ebf8fd1273963e286
Author: Martin André <email address hidden>
Date: Sun Jul 29 22:39:28 2018 +0200

    Stop manually copying sahara-dashboard config files

    RDO review https://review.rdoproject.org/r/#/c/14081/ changed the
    locaction of the config files for the openstack-sahara-ui and added the
    symlinks to be more consistent with the other horizon plugins packages.
    It's not necessary anymore to treat sahara-ui as a snowflake and the old
    copy in horizon dockerfile must be removed.

    Change-Id: Ib222809ee67d103469e9d467727e0e45eaac77e8
    Closes-Bug: #1784233

Changed in kolla:
status: In Progress → Fix Released
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 7.0.0.0rc1

This issue was fixed in the openstack/kolla 7.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.