Magnum doesn't include templates on Xenial

Bug #1660223 reported by Connor Catlett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
High
Unassigned

Bug Description

On Ubuntu Xenial (16.04) the magnum packages don't install anything in the driver directories (/usr/lib/python2.7/dist-packages/magnum/drivers/*/templates/). The correct files are at https://github.com/openstack/magnum/tree/stable/newton/magnum/drivers.

This effectively makes magnum unusable, as no bays can be launched. As a temporary workaround it is possible to insert the files manually, but this obviously isn't ideal.

Changed in cloud-archive:
status: New → Triaged
importance: Undecided → Medium
importance: Medium → High
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Thank you for taking the time to report this bug. It looks like the upstream magnum source doesn't have a MANIFEST file so we don't get these files picked up in the package. I think we'll need to install these files manually in d/rules.

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

It looks like this was resolved in the packaging around the time of this bug by including a patch in the package to build the MANIFEST.in:

$ cat debian/patches/install-missing-files.patch
Description: Installing missing Alembic migration files
 As always, PBR misses the Alembic stuff.
Author: Thomas Goirand <email address hidden>
Forwarded: no
Last-Update: 2016-10-13

--- /dev/null 2016-10-06 13:03:00.121460858 +0200
+++ b/MANIFEST.in 2016-10-12 23:59:46.572018514 +0200
@@ -0,0 +2 @@
+recursive-include magnum/db *
+recursive-include magnum/drivers *

Changed in cloud-archive:
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.