Merge lp:~julian-edwards/maas/missing-import-bug-1065055 into lp:~maas-maintainers/maas/packaging

Proposed by Julian Edwards on 2012-10-11
Status: Rejected
Rejected by: Julian Edwards on 2012-10-11
Proposed branch: lp:~julian-edwards/maas/missing-import-bug-1065055
Merge into: lp:~maas-maintainers/maas/packaging
Diff against target: 52 lines (+11/-6)
4 files modified
debian/changelog (+4/-1)
debian/control (+4/-2)
debian/maas-common.install (+3/-0)
debian/maas-region-controller.install (+0/-3)
To merge this branch: bzr merge lp:~julian-edwards/maas/missing-import-bug-1065055
Reviewer Review Type Date Requested Status
Julian Edwards (community) Disapprove on 2012-10-11
Andres Rodriguez Needs Fixing on 2012-10-11
Review via email: mp+129080@code.launchpad.net

Commit Message

* debian/maas-cluster-controller.install: Install import_settings (LP: #1065055)

Description of the Change

The cluster controller was not installing a necessary python module that contains the import_settings function required by the celery config.

To post a comment you must log in.
Andres Rodriguez (andreserl) wrote :

Hi Julian,

So doing this will result in having both maas-region-controller and maas-cluster-controller shipping 'maas' in /usr/share/maas. This will cause a conflict on installation.

Since this is now required for both, the region and cluster, this should no longer be installer with maas-region-controller (as it currently is) and should be installed in a common package. I'm guessing that the best place to so so is in maas-common.

Futhermore, once this is installed on maas-common, and no longer installed in maas-region-controller, maas-common will require Replaces/Conflicts for maas-region controller (<= 0.1+bzr1243+dfsg-0ubuntu3 ).

Hope this helps.

Cheers.

review: Needs Fixing
132. By Julian Edwards on 2012-10-11

move install of maas/ files to maas-common

Julian Edwards (julian-edwards) wrote :

Darn! Ok moved to the maas-common package and conflicts/replaces added. How does it look now?

Julian Edwards (julian-edwards) wrote :

I am self-rejecting. The upstream needs to change here as the maas module is not on the pythonpath.

review: Disapprove

Unmerged revisions

132. By Julian Edwards on 2012-10-11

move install of maas/ files to maas-common

131. By Julian Edwards on 2012-10-11

update changelog

130. By Julian Edwards on 2012-10-11

In cluster-controller, install python module that contains import_settings

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-10-10 16:08:56 +0000
3+++ debian/changelog 2012-10-11 04:19:20 +0000
4@@ -4,7 +4,10 @@
5 * debian/maas-region-controller.postinst: Enable proxy_http module.
6 * debian/maas-cluster-controller.postinst: Create /var/lib/maas. (LP: #1065062)
7
8- -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 10 Oct 2012 11:17:21 -0400
9+ [ Julian Edwards ]
10+ * debian/maas-cluster-controller.install: Install import_settings (LP: #1065055)
11+
12+ -- Julian Edwards <julian.edwards@canonical.com> Thu, 11 Oct 2012 12:10:16 +1000
13
14 maas (0.1+bzr1243+dfsg-0ubuntu3) quantal; urgency=low
15
16
17=== modified file 'debian/control'
18--- debian/control 2012-10-09 17:28:25 +0000
19+++ debian/control 2012-10-11 04:19:20 +0000
20@@ -34,8 +34,10 @@
21 Package: maas-common
22 Architecture: all
23 Depends: ${python:Depends}
24-Conflicts: maas ( <= 0.1+bzr1048+dfsg-0ubuntu1 )
25-Replaces: maas ( <= 0.1+bzr1048+dfsg-0ubuntu1 )
26+Conflicts: maas ( <= 0.1+bzr1048+dfsg-0ubuntu1 ),
27+ maas-region-controller ( <= 0.1+bzr1243+dfsg-0ubuntu3 )
28+Replaces: maas ( <= 0.1+bzr1048+dfsg-0ubuntu1 ),
29+ maas-region-controller ( <= 0.1+bzr1243+dfsg-0ubuntu3 )
30 Description: Ubuntu MAAS Server
31 Ubuntu MAAS Server is the successor to Orchestra. It offers a
32 nice UI to provision your Ubuntu servers. Each physical server
33
34=== modified file 'debian/maas-common.install'
35--- debian/maas-common.install 2012-09-29 17:21:10 +0000
36+++ debian/maas-common.install 2012-10-11 04:19:20 +0000
37@@ -1,2 +1,5 @@
38 # Install Celery Config
39 debian/tmp/usr/share/maas/celeryconfig_common.py
40+
41+# Install settings files and settings importer
42+debian/tmp/usr/lib/python*/dist-packages/maas usr/share/maas
43
44=== modified file 'debian/maas-region-controller.install'
45--- debian/maas-region-controller.install 2012-10-05 04:26:58 +0000
46+++ debian/maas-region-controller.install 2012-10-11 04:19:20 +0000
47@@ -1,6 +1,3 @@
48-# Install project
49-debian/tmp/usr/lib/python*/dist-packages/maas usr/share/maas
50-
51 # Install static files
52 debian/tmp/usr/share/maas/web/static
53

Subscribers

People subscribed via source and target branches