Merge lp:~andreserl/maas/packaging_to-daemon-upgrades into lp:~maas-maintainers/maas/packaging

Proposed by Andres Rodriguez
Status: Rejected
Rejected by: Blake Rouse
Proposed branch: lp:~andreserl/maas/packaging_to-daemon-upgrades
Merge into: lp:~maas-maintainers/maas/packaging
Prerequisite: lp:~andreserl/maas/packaging_to-daemon
Diff against target: 74 lines (+25/-7)
3 files modified
debian/control (+11/-7)
debian/maas-relay.maintscript (+2/-0)
debian/maas-relay.preinst (+12/-0)
To merge this branch: bzr merge lp:~andreserl/maas/packaging_to-daemon-upgrades
Reviewer Review Type Date Requested Status
MAAS Maintainers Pending
Review via email: mp+301853@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

511. By Andres Rodriguez

Handle upgrades

510. By Andres Rodriguez

* New upstream release, 2.0.0 RC4 bzr :
  - Rename MAAS Rack Controller to MAAS Relay.
* debian/*: update all packaging to replace anything that references
  maas-rack to maas-relay.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2016-08-02 23:58:09 +0000
3+++ debian/control 2016-08-02 23:58:09 +0000
4@@ -205,19 +205,22 @@
5 Suggests: amtterm, ipmitool, libvirt-bin, wsmancli
6 Conflicts: tftpd-hpa
7 Breaks: python-maas-provisioningserver,
8- maas-cluster-controller
9+ maas-cluster-controller,
10+ maas-rack-controller
11 Replaces: python-maas-provisioningserver,
12- maas-cluster-controller
13+ maas-cluster-controller,
14+ maas-rack-controller
15+Provides: maas-rack-controller
16 Description: Rack Controller for MAAS
17 The MAAS Relay (maas-relayd) provides highly available, fast
18 and local broadcast services to the machines provisioned by MAAS. You
19 need a MAAS Relay attached to each fabric (which is a set of
20- trunked switches). You can attach multiple rack controllers to these
21- physical networks for high availability, with secondary rack controllers
22- automatically stepping to provide these services if the primary rack
23- controller fails.
24+ trunked switches). You can attach multiple MAAS relay to these
25+ physical networks for high availability, with secondary MAAS relay
26+ automatically stepping to provide these services if the primary MAAS
27+ Relay fails.
28 .
29- A common configuration is to have a rack controller in each rack, with
30+ A common configuration is to have a MAAS relay in each rack, with
31 a fast primary network interface to the rack switch and secondary
32 network interfaces on one or two other nearby racks for high
33 availability redundancy.
34@@ -288,6 +291,7 @@
35 Package-Type: udeb
36 Section: debian-installer
37 Architecture: all
38+Provides: maas-rack-udeb
39 Depends:
40 ${shlibs:Depends},
41 ${misc:Depends}
42
43=== modified file 'debian/maas-relay.maintscript'
44--- debian/maas-relay.maintscript 2016-03-25 14:09:59 +0000
45+++ debian/maas-relay.maintscript 2016-08-02 23:58:09 +0000
46@@ -7,3 +7,5 @@
47 rm_conffile /etc/maas/maas-cluster-http.conf 1.8.0~alpha1+bzr3522-0ubuntu1
48 rm_conffile /etc/init/maas-clusterd.conf 2.0.0~alpha1+bzr4635-0ubuntu1
49 rm_conffile /lib/systemd/system/maas-clusterd.service 2.0.0~alpha1+bzr4635-0ubuntu1
50+rm_conffile /etc/init/maas-rackd.conf 2.0.0~rc3+bzr5180-0ubuntu1
51+rm_conffile /lib/systemd/system/maas-rackd.service 2.0.0~rc3+bzr5180-0ubuntu1
52
53=== modified file 'debian/maas-relay.preinst'
54--- debian/maas-relay.preinst 2016-08-02 23:58:09 +0000
55+++ debian/maas-relay.preinst 2016-08-02 23:58:09 +0000
56@@ -41,6 +41,18 @@
57 mv /var/log/maas/clusterd.log /var/log/maas/relayd.log
58 fi
59
60+ if [ -f /lib/systemd/system/maas-rackd.service ]; then
61+ systemctl stop maas-rackd >/dev/null 2>&1 || true
62+ fi
63+
64+ if [ -f /etc/maas/rackd.conf ]; then
65+ mv /etc/maas/rackd.conf /etc/maas/relayd.conf
66+ fi
67+
68+ if [ -f /var/log/maas/rackd.log ]; then
69+ mv /var/log/maas/rackd.log /var/log/maas/relayd.log
70+ fi
71+
72 fi
73
74 if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then

Subscribers

People subscribed via source and target branches

to all changes: