[SRU] Align octavia-dashboard with ubuntu openstack dashboard packages

Bug #1801091 reported by Corey Bryant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octavia-dashboard (Ubuntu)
Fix Released
High
Unassigned
Cosmic
Triaged
High
Unassigned

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.

description: updated
Changed in octavia-dashboard (Ubuntu):
status: New → Triaged
Changed in octavia-dashboard (Ubuntu Cosmic):
status: New → Triaged
Changed in octavia-dashboard (Ubuntu):
importance: Undecided → High
Changed in octavia-dashboard (Ubuntu Cosmic):
importance: Undecided → High
Revision history for this message
Corey Bryant (corey.bryant) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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 <email address hidden> Fri, 16 Nov 2018 13:41:36 -0500

Changed in octavia-dashboard (Ubuntu):
status: Triaged → Fix Released
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.