Merge lp:~andreserl/maas/further_package_description_updates into lp:~maas-maintainers/maas/packaging

Proposed by Andres Rodriguez
Status: Superseded
Proposed branch: lp:~andreserl/maas/further_package_description_updates
Merge into: lp:~maas-maintainers/maas/packaging
Diff against target: 259 lines (+54/-53)
6 files modified
debian/changelog (+1/-0)
debian/control (+41/-36)
debian/maas-region-api.lintian-overrides (+5/-5)
debian/maas-region-api.maas-regiond.service (+1/-1)
debian/maas-region-api.preinst (+1/-6)
debian/rules (+5/-5)
To merge this branch: bzr merge lp:~andreserl/maas/further_package_description_updates
Reviewer Review Type Date Requested Status
MAAS Maintainers Pending
Review via email: mp+290152@code.launchpad.net

This proposal has been superseded by a proposal from 2016-03-25.

To post a comment you must log in.

Unmerged revisions

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 2016-03-25 17:44:04 +0000
3+++ debian/changelog 2016-03-25 20:16:34 +0000
4@@ -4,6 +4,7 @@
5 * Ensure /etc/maas/templates/power gets removed on upgrade
6 * debian/control: Update homepage and package descriptions.
7 (LP: #1562036, LP: #1562034, LP: #1562062)
8+ * Rename maas-reigon-controller-min to maas-region-api (LP: #1562069)
9
10 -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 23 Mar 2016 12:27:27 -0400
11
12
13=== modified file 'debian/control'
14--- debian/control 2016-03-25 17:44:04 +0000
15+++ debian/control 2016-03-25 20:16:34 +0000
16@@ -23,35 +23,37 @@
17 ${misc:Depends}
18 Description: "Metal as a Service" is a physical cloud and IPAM
19 MAAS runs a software-defined data centre - it turns a collection of physical
20- servers into an on-demand bare metal cloud with full open source IP address
21- management (IPAM).
22+ servers and switches into a bare metal cloud with full open source IP address
23+ management (IPAM) and instant provisioning on demand.
24 .
25 MAAS controls the servers through IPMI or another BMC or converged chassis
26- controller such as Cisco UCS. It provides a full inventory of components,
27- and can install Ubuntu, CentOS or Windows very fast on any server under
28- its control.
29+ controller such as Cisco UCS. It provides a full inventory of components,
30+ and can install Ubuntu, CentOS or Windows very fast on any server under
31+ its control. It can also track and provide DHCP and DNS for other devices
32+ on the network.
33 .
34 MAAS handles VLANs and fabrics that span many trunked switches, as well as
35 the routing-centric infrastructure typically used for large-scale OpenStack
36- or other scale-out deployments. MAAS can track IP addresses and provides
37- APIs for address assignment and release. MAAS can also assign IP addresses
38- for containers on machines, and release them when the machine is repurposed.
39- MAAS provides PXE, DHCP, DNS and other low-level services to ensure the
40- cluster works smoothly.
41+ or other scale-out deployments. MAAS manages IP addresses and provides APIs
42+ for address assignment and release. MAAS can also allocate IP addresses for
43+ containers on machines, and release them when the machine is repurposed. MAAS
44+ provides PXE, DHCP, DNS and other low-level services to ensure the cluster
45+ works smoothly.
46 .
47 MAAS works with any configuration system, and is recommended by the teams
48 behind both Chef and Juju as a physical provisioning system.
49 .
50 MAAS provides:
51+ .
52 * Hardware inventory of servers
53 * Dynamic provisioning based on name or attributes such as disk, RAM, cores,
54- nic's, networking
55+ nics, networking, gpu’s or architecture
56 * DNS and DHCP as needed
57 * PXE boot services
58 .
59 This package is a metapackage which installs all of the separate components
60 of MAAS on a single machine.
61-
62+
63 Package: maas-common
64 Architecture: all
65 Depends: ${misc:Depends}
66@@ -60,7 +62,7 @@
67 Description: MAAS server common files
68 This package contains the common files for any MAAS installation.
69
70-Package: maas-region-controller-min
71+Package: maas-region-api
72 Architecture: all
73 Depends: apache2,
74 bind9utils,
75@@ -82,25 +84,28 @@
76 ubuntu-cloudimage-keyring,
77 ${misc:Depends},
78 ${python3:Depends}
79-Description: MAAS Server minimum region controller
80- This package installs and configures the minimum region controller
81- services provided by MAAS, including the web UI, caching package proxy,
82- networking/traffic control, and remote logging system.
83+Conflicts: maas-region-controller-min
84+Replaces: maas-region-controller-min
85+Provides: maas-region-controller-min
86+Description: Region controller API service for MAAS
87+ The MAAS region controller consists of REST API services and a postgres
88+ database. This package installs only the API services (maas-regiond).
89+ Use it to scale out the API front-end of your MAAS region controller.
90
91 Package: maas-region-controller
92 Architecture: all
93 Depends: dbconfig-pgsql,
94 maas-dns (= ${binary:Version}),
95- maas-region-controller-min (= ${binary:Version}),
96+ maas-region-api (= ${binary:Version}),
97 postgresql (>= 9.1),
98 ${misc:Depends},
99 Recommends: openssh-server
100 Description: Region Controller for MAAS
101- The MAAS region controller is the REST API server for all MAAS clients,
102- and the postgres database that maintains machine state for the entire
103- data centre (or “region”). The region controller can be scaled-out and
104- highly available given the appropriate postgres setup and additional
105- API servers.
106+ The MAAS region controller (maas-regiond) is the REST API server for
107+ all MAAS clients, and the postgres database that maintains machine
108+ state for the entire data centre (or “region”). The region controller
109+ an be scaled-out and highly available given the appropriate postgres
110+ setup and additional API servers.
111 .
112 This package installs the postgres database and the API server, so it
113 is appropriate for the initial installation of a new MAAS region. To
114@@ -203,22 +208,22 @@
115 Replaces: python-maas-provisioningserver,
116 maas-cluster-controller
117 Description: Rack Controller for MAAS
118- The MAAS rack controller provides highly available, fast and local
119- broadcast services to the machines provisioned by MAAS. There should
120- be a MAAS rack controller attached to each fabric (which is a set of
121- trunked switches). You can arrange for multiple rack controllers
122- that are attached to these physical networks, and MAAS will then be
123- highly available, with secondary rack controllers automatically
124- stepping to provide these services to a rack if the primary rack
125+ The MAAS rack controller (maas-rackd) provides highly available, fast
126+ and local broadcast services to the machines provisioned by MAAS. You
127+ need a MAAS rack controller attached to each fabric (which is a set of
128+ trunked switches). You can attach multiple rack controllers to these
129+ physical networks for high availability, with secondary rack controllers
130+ automatically stepping to provide these services if the primary rack
131 controller fails.
132 .
133- A common configuration is to have a rack controller in each rack,
134- with secondary network interfaces on one or two other racks for high
135+ A common configuration is to have a rack controller in each rack, with
136+ a fast primary network interface to the rack switch and secondary
137+ network interfaces on one or two other nearby racks for high
138 availability redundancy.
139 .
140- This package also installs all the necessary components to provide
141- iSCSI, DHCP, TFTP and power management.
142-
143+ This package depends on the necessary components to provide iSCSI,
144+ DHCP, TFTP and power management.
145+
146 Package: python3-django-maas
147 Section: python
148 Architecture: all
149@@ -253,7 +258,7 @@
150 Package: maas-dns
151 Architecture: all
152 Depends: bind9 (>= 1:9.10.3.dfsg.P2-5~),
153- maas-region-controller-min (= ${binary:Version}),
154+ maas-region-api (= ${binary:Version}),
155 ${misc:Depends}
156 Conflicts: dnsmasq
157 Description: MAAS DNS server
158
159=== renamed file 'debian/maas-region-controller-min.apport' => 'debian/maas-region-api.apport'
160=== renamed file 'debian/maas-region-controller-min.install' => 'debian/maas-region-api.install'
161=== renamed file 'debian/maas-region-controller-min.links' => 'debian/maas-region-api.links'
162=== renamed file 'debian/maas-region-controller-min.lintian-overrides' => 'debian/maas-region-api.lintian-overrides'
163--- debian/maas-region-controller-min.lintian-overrides 2015-10-07 16:07:03 +0000
164+++ debian/maas-region-api.lintian-overrides 2016-03-25 20:16:34 +0000
165@@ -1,5 +1,5 @@
166-maas-region-controller-min: binary-without-manpage usr/sbin/maas
167-maas-region-controller-min: script-not-executable etc/maas/templates/commissioning-user-data/snippets/maas_ipmi_autodetect.py
168-maas-region-controller-min: script-not-executable etc/maas/templates/commissioning-user-data/snippets/maas_signal.py
169-maas-region-controller-min: script-not-executable etc/maas/templates/commissioning-user-data/user_data.template
170-maas-region-controller-min: script-not-executable etc/maas/templates/commissioning-user-data/snippets/maas_get.py
171+maas-region-api: binary-without-manpage usr/sbin/maas
172+maas-region-api: script-not-executable etc/maas/templates/commissioning-user-data/snippets/maas_ipmi_autodetect.py
173+maas-region-api: script-not-executable etc/maas/templates/commissioning-user-data/snippets/maas_signal.py
174+maas-region-api: script-not-executable etc/maas/templates/commissioning-user-data/user_data.template
175+maas-region-api: script-not-executable etc/maas/templates/commissioning-user-data/snippets/maas_get.py
176
177=== renamed file 'debian/maas-region-controller-min.logrotate' => 'debian/maas-region-api.logrotate'
178=== renamed file 'debian/maas-region-controller-min.maas-regiond-worker@.service' => 'debian/maas-region-api.maas-regiond-worker@.service'
179=== renamed file 'debian/maas-region-controller-min.maas-regiond.service' => 'debian/maas-region-api.maas-regiond.service'
180--- debian/maas-region-controller-min.maas-regiond.service 2015-05-20 21:36:08 +0000
181+++ debian/maas-region-api.maas-regiond.service 2016-03-25 20:16:34 +0000
182@@ -10,7 +10,7 @@
183 ExecStart=/bin/true
184
185 #
186-# The maas-region-controller-min package configures four workers. This
187+# The maas-region-api package configures four workers. This
188 # should work for most people. However:
189 #
190 # * `systemctl start maas-regiond-worker@x` (where 'x' can be anything,
191
192=== renamed file 'debian/maas-region-controller-min.maintscript' => 'debian/maas-region-api.maintscript'
193=== renamed file 'debian/maas-region-controller-min.postinst' => 'debian/maas-region-api.postinst'
194=== renamed file 'debian/maas-region-controller-min.postrm' => 'debian/maas-region-api.postrm'
195=== renamed file 'debian/maas-region-controller-min.preinst' => 'debian/maas-region-api.preinst'
196--- debian/maas-region-controller-min.preinst 2015-01-15 20:35:09 +0000
197+++ debian/maas-region-api.preinst 2016-03-25 20:16:34 +0000
198@@ -4,7 +4,7 @@
199
200 . /usr/share/debconf/confmodule
201
202-if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt 1.7.0~beta4+bzr3127-0ubuntu1; then
203+if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
204
205 if [ -f /etc/init/maas-txlongpoll.conf ]; then
206 invoke-rc.d maas-txlongpoll stop
207@@ -22,11 +22,6 @@
208 rm -rf /var/log/maas/celery-region.log
209 fi
210
211-fi
212-
213-
214-if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt 1.8.0~alpha1+bzr3463-0ubuntu1; then
215-
216 if [ -f /var/log/maas/maas-django.log ]; then
217 rm -rf /var/log/maas/maas-django.log
218 fi
219
220=== renamed file 'debian/maas-region-controller-min.prerm' => 'debian/maas-region-api.prerm'
221=== renamed file 'debian/maas-region-controller-min.templates' => 'debian/maas-region-api.templates'
222=== modified file 'debian/rules'
223--- debian/rules 2016-02-10 15:56:10 +0000
224+++ debian/rules 2016-03-25 20:16:34 +0000
225@@ -13,22 +13,22 @@
226 # internet access
227
228 override_dh_installinit:
229- dh_installinit -p maas-region-controller-min --name=maas-regiond --no-start
230- dh_installinit -p maas-region-controller-min --name=maas-regiond-worker@ --no-start
231+ dh_installinit -p maas-region-api --name=maas-regiond --no-start
232+ dh_installinit -p maas-region-api --name=maas-regiond-worker@ --no-start
233 dh_installinit -p maas-rack-controller --name=maas-rackd
234 dh_installinit -p maas-proxy --name=maas-proxy
235 dh_installinit -p maas-dhcp --name=maas-dhcpd
236 dh_installinit -p maas-dhcp --name=maas-dhcpd6
237
238 override_dh_systemd_enable:
239- dh_systemd_enable -p maas-region-controller-min --name=maas-regiond
240+ dh_systemd_enable -p maas-region-api --name=maas-regiond
241 dh_systemd_enable -p maas-rack-controller --name=maas-rackd
242 dh_systemd_enable -p maas-proxy --name=maas-proxy
243 dh_systemd_enable -p maas-dhcp --name=maas-dhcpd
244 dh_systemd_enable -p maas-dhcp --name=maas-dhcpd6
245
246 override_dh_systemd_start:
247- dh_systemd_start -p maas-region-controller-min --no-start maas-regiond.service
248+ dh_systemd_start -p maas-region-api --no-start maas-regiond.service
249 dh_systemd_start -p maas-rack-controller maas-rackd.service
250 dh_systemd_start -p maas-proxy maas-proxy.service
251 dh_systemd_start -p maas-dhcp maas-dhcpd.service
252@@ -63,7 +63,7 @@
253
254 # install python3 twisted plugins
255 set -ex; for python in $(PYTHON3); do \
256- dh_install twisted/plugins/maasregiond.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-region-controller-min; \
257+ dh_install twisted/plugins/maasregiond.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-region-api; \
258 dh_install twisted/plugins/maasrackd.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-rack-controller; \
259 done
260

Subscribers

People subscribed via source and target branches

to all changes: