[Bug 1801091] Re: [SRU] Align octavia-dashboard with ubuntu openstack dashboard packages
Launchpad Bug Tracker
1801091 at bugs.launchpad.net
Mon Nov 19 20:03:17 UTC 2018
This bug was fixed in the package octavia-dashboard - 2.0.0-2.1ubuntu1
---------------
octavia-dashboard (2.0.0-2.1ubuntu1) disco; urgency=medium
* Merge from Debian unstable. Remaining changes:
- d/control: Add python3-django-horizon to (Build-)Depends. This is
required because Rocky packages default to Python 2.7 (LP: #1800519).
- d/rules, d/python3-octavia-dashboard.postinst, d/watch: Align dashboard
install, post-install, and watch file with other OpenStack dashboard
packages (LP: #1801091).
-- Corey Bryant <corey.bryant at canonical.com> Fri, 16 Nov 2018 13:41:36
-0500
** Changed in: octavia-dashboard (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of OpenStack
Ubuntu packagers, which is subscribed to octavia-dashboard in Ubuntu.
https://bugs.launchpad.net/bugs/1801091
Title:
[SRU] Align octavia-dashboard with ubuntu openstack dashboard packages
Status in octavia-dashboard package in Ubuntu:
Fix Released
Status in octavia-dashboard source package in Cosmic:
Triaged
Bug description:
[Impact]
The octavia-dashboard package was synced late from Debian in Cosmic but does not align with the other Ubuntu OpenStack dashboard packages.
There are 4 things that need to be fixed:
1) python 3 interpreter must be used to collect/compress static assets
2) chown of /var/lib/openstack-dashboard must use horizon:horizon
see similar for sahara-dashboard: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/sahara-dashboard/tree/debian/python3-sahara-dashboard.postinst?h=stable/rocky
3) the dashboard modules only needs to be copied to /usr/lib/python3/dist-packages/openstack_dashboard/enabled since /usr/share/openstack-dashboard/openstack_dashboard is a symlink in ubuntu
see similar for sahara-dashboard: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/sahara-dashboard/tree/debian/rules?h=stable/rocky#n41
see alternatives postinst for horizon: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/horizon/tree/debian/python3-django-horizon.postinst?h=stable/rocky#n6
4) debian/watch file should get release artifact from tarballs.openstack.org
[Test Case]
Deploy openstack, install octavia-dashboard on horizon node, and manually verify that octavia's dashboard works.
[Regression Potential]
The initial version is only in cosmic-proposed and didn't make it all of the way to cosmic proper.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octavia-dashboard/+bug/1801091/+subscriptions
More information about the Openstack-packaging
mailing list