Enabled files missing from xenial queens cloud archive package

Bug #1759478 reported by Sam Morrison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
manila-ui (Ubuntu)
New
Undecided
Unassigned

Bug Description

python-manila-ui:
  Installed: 2.13.0-0ubuntu1~cloud0
  Candidate: 2.13.0-0ubuntu1~cloud0

missing files:

_80_manila_project_add_share_panel_group.py
_80_manila_admin_add_share_panel_group.py

This means that all the share options on the left hand side menu show up under "Other"

Revision history for this message
Sam Morrison (sorrison) wrote :

I should mention they are included in the package and installed at /usr/lib/python2.7/dist-packages/manila_ui/local/enabled/

however they aren't copied into /usr/share/openstack-dashboard/openstack_dashboard/enabled so they are never enabled

Revision history for this message
Sam Morrison (sorrison) wrote :

I'm not sure how patches are done. I cloned the git repo and it had a .gitreview file but this pointed to the upstream code, not the debian packaging code?

Patch is a simple one:

diff --git a/debian/rules b/debian/rules
index dddea8d..cf688de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,6 +31,8 @@ override_dh_auto_install:
        set -e ; for pyvers in $(PYTHONS); do \
                mkdir -p $(CURDIR)/debian/python-manila-ui/usr/lib/python$$pyvers/dist-packages/openstack_dashboard/enabled ; \
                cp $(CURDIR)/manila_ui/local/enabled/_90* $(CURDIR)/debian/python-manila-ui/usr/lib/python$$pyvers/dist-packages/openstack_dashboard/enabled ; \
+ cp $(CURDIR)/manila_ui/local/enabled/_80* $(CURDIR)/debian/python-manila-ui/usr/lib/python$$pyvers/dist-packages/openstack_dashboard/enabled ; \
        done
        mkdir -p $(CURDIR)/debian/python-manila-ui/usr/share/openstack-dashboard/openstack_dashboard/enabled
        cp $(CURDIR)/manila_ui/local/enabled/_90* $(CURDIR)/debian/python-manila-ui/usr/share/openstack-dashboard/openstack_dashboard/enabled
+ cp $(CURDIR)/manila_ui/local/enabled/_80* $(CURDIR)/debian/python-manila-ui/usr/share/openstack-dashboard/openstack_dashboard/enabled

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.