Designate image broken, Horizon fails to start with Designate enabled

Bug #1750757 reported by Markus Adam
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Kevin Tibi
Pike
Fix Released
Undecided
Kevin Tibi
Queens
Fix Released
Critical
Kevin Tibi
Rocky
Fix Released
Undecided
Kevin Tibi

Bug Description

I'm installing Kolla Ansible all-in-one with Designate enabled.

/etc/kolla/globals.yml is as follows:

kolla_base_distro: "centos"
kolla_install_type: "binary"
openstack_release: "pike"
enable_designate: "yes"
designate_backend: "bind9"
designate_ns_record: "sample.openstack.org"

However after successful 'kolla-ansible deploy' run Horizon container fails to start.
Kolla images pulled from Docker hub.

Detailed bug information:

# docker logs horizon
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 /etc/httpd/conf.d/horizon.conf
INFO:__main__:Copying /var/lib/kolla/config_files/horizon.conf to /etc/httpd/conf.d/horizon.conf
INFO:__main__:Setting permission for /etc/httpd/conf.d/horizon.conf
INFO:__main__:Deleting /etc/openstack-dashboard/local_settings
INFO:__main__:Copying /var/lib/kolla/config_files/local_settings to /etc/openstack-dashboard/local_settings
INFO:__main__:Setting permission for /etc/openstack-dashboard/local_settings
INFO:__main__:Writing out command to execute
cp: cannot stat '/usr/lib/python2.7/site-packages/designatedashboard/enabled/_*[^__].py': No such file or directory

# docker ps | grep horizon
1af3c91bf220 kolla/centos-binary-horizon:pike "kolla_start" 16 minutes ago Restarting (1) 2 minutes ago horizon

# docker inspect kolla/centos-binary-horizon:pike

            "Labels": {
                "build-date": "20180216",
                "kolla_version": "5.0.2",
                "license": "GPLv2",
                "maintainer": "Kolla Project (https://launchpad.net/kolla)",
                "name": "horizon",
                "vendor": "CentOS"
            }

Revision history for this message
Markus Adam (markus.adam) wrote :

It appears that Designate dashboard is not packaged for Pike by RDO.
There is no appropriate package provided hence the issue with Horizon.
https://github.com/rdo-packages

Workaround is to disable Designate dashboard plugin in Kolla globals.yml

Changed in kolla:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → queens-rc1
Changed in kolla:
milestone: queens-rc1 → queens-rc2
Changed in kolla:
milestone: queens-rc2 → rocky-1
Revision history for this message
Kevin Tibi (ktibi) wrote :

I created a review to add designate dashboard to RDO. in progress for queens and rocky.

I'll try to push to pike.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

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

commit b298c8d8d67e0026ccfaede251c82c904ec2295f
Author: Kevin Tibi <email address hidden>
Date: Fri Mar 23 11:39:56 2018 +0100

    Add designate-ui for horizon centos

    Designate-dashboard has been release for RDO.

    Change-Id: Ie69fad3025b8d295e025b459d87237c52550633a
    Closes-bug: #1750757

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/558500

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/562242

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/queens)

Reviewed: https://review.openstack.org/558500
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=b2215f801732bb8cc0c619f334a70d621c4d946f
Submitter: Zuul
Branch: stable/queens

commit b2215f801732bb8cc0c619f334a70d621c4d946f
Author: Kevin Tibi <email address hidden>
Date: Fri Mar 23 11:39:56 2018 +0100

    Add designate-ui for horizon centos

    Designate-dashboard has been release for RDO.

    Change-Id: Ie69fad3025b8d295e025b459d87237c52550633a
    Closes-bug: #1750757
    (cherry picked from commit b298c8d8d67e0026ccfaede251c82c904ec2295f)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/pike)

Reviewed: https://review.openstack.org/562242
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=5111a81b46da359401231a36d0a451bb3fe371c8
Submitter: Zuul
Branch: stable/pike

commit 5111a81b46da359401231a36d0a451bb3fe371c8
Author: Kevin Tibi <email address hidden>
Date: Wed Apr 18 13:08:43 2018 +0200

    Add designate-ui for horizon centos

    Designate-dashboard has been release for RDO.

    Change-Id: Ie69fad3025b8d295e025b459d87237c52550633a
    Closes-bug: #1750757
    (cherry picked from commit b298c8d8d67e0026ccfaede251c82c904ec2295f)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 7.0.0.0b2

This issue was fixed in the openstack/kolla 7.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 6.1.0

This issue was fixed in the openstack/kolla 6.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.3

This issue was fixed in the openstack/kolla 5.0.3 release.

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.