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
=== modified file 'debian/control'
--- debian/control 2016-08-02 23:58:09 +0000
+++ debian/control 2016-08-02 23:58:09 +0000
@@ -205,19 +205,22 @@
205Suggests: amtterm, ipmitool, libvirt-bin, wsmancli205Suggests: amtterm, ipmitool, libvirt-bin, wsmancli
206Conflicts: tftpd-hpa206Conflicts: tftpd-hpa
207Breaks: python-maas-provisioningserver,207Breaks: python-maas-provisioningserver,
208 maas-cluster-controller208 maas-cluster-controller,
209 maas-rack-controller
209Replaces: python-maas-provisioningserver,210Replaces: python-maas-provisioningserver,
210 maas-cluster-controller211 maas-cluster-controller,
212 maas-rack-controller
213Provides: maas-rack-controller
211Description: Rack Controller for MAAS214Description: Rack Controller for MAAS
212 The MAAS Relay (maas-relayd) provides highly available, fast215 The MAAS Relay (maas-relayd) provides highly available, fast
213 and local broadcast services to the machines provisioned by MAAS. You216 and local broadcast services to the machines provisioned by MAAS. You
214 need a MAAS Relay attached to each fabric (which is a set of217 need a MAAS Relay attached to each fabric (which is a set of
215 trunked switches). You can attach multiple rack controllers to these218 trunked switches). You can attach multiple MAAS relay to these
216 physical networks for high availability, with secondary rack controllers219 physical networks for high availability, with secondary MAAS relay
217 automatically stepping to provide these services if the primary rack220 automatically stepping to provide these services if the primary MAAS
218 controller fails.221 Relay fails.
219 .222 .
220 A common configuration is to have a rack controller in each rack, with223 A common configuration is to have a MAAS relay in each rack, with
221 a fast primary network interface to the rack switch and secondary224 a fast primary network interface to the rack switch and secondary
222 network interfaces on one or two other nearby racks for high225 network interfaces on one or two other nearby racks for high
223 availability redundancy.226 availability redundancy.
@@ -288,6 +291,7 @@
288Package-Type: udeb291Package-Type: udeb
289Section: debian-installer292Section: debian-installer
290Architecture: all293Architecture: all
294Provides: maas-rack-udeb
291Depends:295Depends:
292 ${shlibs:Depends},296 ${shlibs:Depends},
293 ${misc:Depends}297 ${misc:Depends}
294298
=== modified file 'debian/maas-relay.maintscript'
--- debian/maas-relay.maintscript 2016-03-25 14:09:59 +0000
+++ debian/maas-relay.maintscript 2016-08-02 23:58:09 +0000
@@ -7,3 +7,5 @@
7rm_conffile /etc/maas/maas-cluster-http.conf 1.8.0~alpha1+bzr3522-0ubuntu17rm_conffile /etc/maas/maas-cluster-http.conf 1.8.0~alpha1+bzr3522-0ubuntu1
8rm_conffile /etc/init/maas-clusterd.conf 2.0.0~alpha1+bzr4635-0ubuntu18rm_conffile /etc/init/maas-clusterd.conf 2.0.0~alpha1+bzr4635-0ubuntu1
9rm_conffile /lib/systemd/system/maas-clusterd.service 2.0.0~alpha1+bzr4635-0ubuntu19rm_conffile /lib/systemd/system/maas-clusterd.service 2.0.0~alpha1+bzr4635-0ubuntu1
10rm_conffile /etc/init/maas-rackd.conf 2.0.0~rc3+bzr5180-0ubuntu1
11rm_conffile /lib/systemd/system/maas-rackd.service 2.0.0~rc3+bzr5180-0ubuntu1
1012
=== modified file 'debian/maas-relay.preinst'
--- debian/maas-relay.preinst 2016-08-02 23:58:09 +0000
+++ debian/maas-relay.preinst 2016-08-02 23:58:09 +0000
@@ -41,6 +41,18 @@
41 mv /var/log/maas/clusterd.log /var/log/maas/relayd.log41 mv /var/log/maas/clusterd.log /var/log/maas/relayd.log
42 fi42 fi
4343
44 if [ -f /lib/systemd/system/maas-rackd.service ]; then
45 systemctl stop maas-rackd >/dev/null 2>&1 || true
46 fi
47
48 if [ -f /etc/maas/rackd.conf ]; then
49 mv /etc/maas/rackd.conf /etc/maas/relayd.conf
50 fi
51
52 if [ -f /var/log/maas/rackd.log ]; then
53 mv /var/log/maas/rackd.log /var/log/maas/relayd.log
54 fi
55
44fi56fi
4557
46if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then58if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then

Subscribers

People subscribed via source and target branches

to all changes: