Merge lp:~andreserl/maas/missing_dep into lp:~maas-committers/maas/trunk
- missing_dep
- Merge into trunk
Status: | Superseded |
---|---|
Proposed branch: | lp:~andreserl/maas/missing_dep |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
4824 lines (+4394/-0) 85 files modified
debian/changelog (+1964/-0) debian/compat (+1/-0) debian/control (+294/-0) debian/copyright (+45/-0) debian/extras/20-maas.conf (+32/-0) debian/extras/99-maas-region-sudoers (+7/-0) debian/extras/99-maas-sudoers (+14/-0) debian/extras/isc-dhcp-server.override (+1/-0) debian/extras/maas (+13/-0) debian/extras/maas-probe-dhcp (+7/-0) debian/extras/maas-proxy-common.sh (+23/-0) debian/extras/maas-rack (+76/-0) debian/extras/maas-region (+67/-0) debian/extras/maas_remote_syslog_compress (+2/-0) debian/extras/squid3.override (+1/-0) debian/maas-cli.install (+1/-0) debian/maas-cli.links (+1/-0) debian/maas-cli.lintian-overrides (+1/-0) debian/maas-common.dirs (+2/-0) debian/maas-common.install (+1/-0) debian/maas-common.logrotate (+9/-0) debian/maas-common.maintscript (+2/-0) debian/maas-common.postinst (+38/-0) debian/maas-common.postrm (+21/-0) debian/maas-common.templates (+53/-0) debian/maas-dhcp.apparmor (+10/-0) debian/maas-dhcp.dirs (+2/-0) debian/maas-dhcp.install (+1/-0) debian/maas-dhcp.maas-dhcpd.service (+28/-0) debian/maas-dhcp.maas-dhcpd6.service (+28/-0) debian/maas-dhcp.maintscript (+2/-0) debian/maas-dhcp.postinst (+35/-0) debian/maas-dhcp.postrm (+16/-0) debian/maas-dhcp.preinst (+16/-0) debian/maas-dns.dirs (+1/-0) debian/maas-dns.postinst (+61/-0) debian/maas-dns.postrm (+25/-0) debian/maas-proxy.dirs (+2/-0) debian/maas-proxy.install (+1/-0) debian/maas-proxy.logrotate (+24/-0) debian/maas-proxy.maas-proxy.service (+16/-0) debian/maas-proxy.postinst (+28/-0) debian/maas-proxy.postrm (+12/-0) debian/maas-rack-controller.config (+36/-0) debian/maas-rack-controller.dirs (+4/-0) debian/maas-rack-controller.install (+14/-0) debian/maas-rack-controller.links (+1/-0) debian/maas-rack-controller.lintian-overrides (+1/-0) debian/maas-rack-controller.logrotate (+15/-0) debian/maas-rack-controller.maas-rackd.service (+27/-0) debian/maas-rack-controller.maintscript (+9/-0) debian/maas-rack-controller.postinst (+168/-0) debian/maas-rack-controller.postrm (+50/-0) debian/maas-rack-controller.preinst (+56/-0) debian/maas-rack-controller.templates (+14/-0) debian/maas-rack-udeb.postinst (+77/-0) debian/maas-rack-udeb.templates (+34/-0) debian/maas-region-api.apport (+72/-0) debian/maas-region-api.install (+27/-0) debian/maas-region-api.links (+8/-0) debian/maas-region-api.lintian-overrides (+5/-0) debian/maas-region-api.logrotate (+15/-0) debian/maas-region-api.maas-regiond-worker@.service (+27/-0) debian/maas-region-api.maas-regiond.service (+24/-0) debian/maas-region-api.maintscript (+7/-0) debian/maas-region-api.postinst (+80/-0) debian/maas-region-api.postrm (+49/-0) debian/maas-region-api.preinst (+34/-0) debian/maas-region-api.prerm (+9/-0) debian/maas-region-controller.config (+47/-0) debian/maas-region-controller.postinst (+165/-0) debian/maas-region-controller.postrm (+22/-0) debian/maas-region-controller.prerm (+13/-0) debian/maas-region-controller.templates (+24/-0) debian/maas-region-udeb.postinst (+82/-0) debian/maas-region-udeb.templates (+29/-0) debian/maintscript (+2/-0) debian/po/POTFILES.in (+2/-0) debian/po/templates.pot (+68/-0) debian/python3-django-maas.install (+2/-0) debian/python3-maas-client.install (+2/-0) debian/python3-maas-provisioningserver.install (+1/-0) debian/rules (+84/-0) debian/source/format (+1/-0) debian/watch (+3/-0) |
To merge this branch: | bzr merge lp:~andreserl/maas/missing_dep |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
MAAS Maintainers | Pending | ||
Review via email: mp+292062@code.launchpad.net |
This proposal has been superseded by a proposal from 2016-04-16.
Commit message
Description of the change
Unmerged revisions
- 485. By Andres Rodriguez
-
fix missing dep
- 484. By Andres Rodriguez
-
[r=andreserl]
[bug=][ author= andreserl] Open beta3
Release beta2 - 483. By LaMont Jones
-
[r=andreserl]
[bug=][ author= lamont] Common debconf templates need to be delivered by all packages that use them. - 482. By Blake Rouse
-
[r=andreserl][bug=1569568][author=
blake-rouse] Allow reloading of apparmor profile to fail on postrm. - 481. By LaMont Jones
-
[r=andreserl][bug=1568847][author=lamont] Only try to create the squid cache if we have a config file.
- 480. By Andres Rodriguez
-
[r=andreserl]
[bug=][ author= andreserl] debian/control: Change arch to all for udeb's - 479. By Andres Rodriguez
-
[r=andreserl]
[bug=][ author= andreserl] Fix changelog - 478. By Andres Rodriguez
-
[r=andreserl,
lamont] [bug=1553261,1561954] [author= andreserl] Add maas-region-udeb and maas-rack-udeb to be used as part of the Ubuntu Server Installer (LP: #1561954) - 477. By Andres Rodriguez
-
[r=lamont]
[bug=][ author= andreserl] Release 2.0.0~beta1+ bzr4873- 0ubuntu1
Open 2.0.0~beta2+bzr4873- 0ubuntu1 - 476. By LaMont Jones
-
[r=lamont][bug=1565139][author=lamont] maas-proxy's service file needs to know how to do reloads, too.
Preview Diff
1 | === added directory 'debian' | |||
2 | === added file 'debian/changelog' | |||
3 | --- debian/changelog 1970-01-01 00:00:00 +0000 | |||
4 | +++ debian/changelog 2016-04-16 02:29:52 +0000 | |||
5 | @@ -0,0 +1,1964 @@ | |||
6 | 1 | maas (2.0.0~beta2+bzr4920-0ubuntu3) UNRELEASED; urgency=medium | ||
7 | 2 | |||
8 | 3 | * UNRELEASED | ||
9 | 4 | |||
10 | 5 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 15 Apr 2016 22:27:56 -0400 | ||
11 | 6 | |||
12 | 7 | maas (2.0.0~beta2+bzr4920-0ubuntu2) xenial; urgency=medium | ||
13 | 8 | |||
14 | 9 | * debian/control: Add missing dep on python3-httplib2 | ||
15 | 10 | |||
16 | 11 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 15 Apr 2016 22:23:55 -0400 | ||
17 | 12 | |||
18 | 13 | maas (2.0.0~beta2+bzr4920-0ubuntu1) xenial; urgency=medium | ||
19 | 14 | |||
20 | 15 | * New upstream release, 2.0.0 beta 2 bzr4920 (Standing FFe LP: #1553261) | ||
21 | 16 | * Only create the squid cache if we have a configuration file. | ||
22 | 17 | LP: #1568847 | ||
23 | 18 | * Re-add shared debconf templates. | ||
24 | 19 | |||
25 | 20 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 07 Apr 2016 18:22:00 -0400 | ||
26 | 21 | |||
27 | 22 | maas (2.0.0~beta1+bzr4873-0ubuntu2) xenial; urgency=medium | ||
28 | 23 | |||
29 | 24 | * Add maas-region-udeb and maas-rack-udeb to be used as part of the | ||
30 | 25 | Ubuntu Server Installer (LP: #1561954) | ||
31 | 26 | - ensure maas-rack-controller and maas-region-controller can be fully | ||
32 | 27 | preseeded. | ||
33 | 28 | |||
34 | 29 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 05 Apr 2016 17:02:32 -0400 | ||
35 | 30 | |||
36 | 31 | maas (2.0.0~beta1+bzr4873-0ubuntu1) xenial; urgency=medium | ||
37 | 32 | |||
38 | 33 | * New upstream release, 2.0.0 beta 1 bzr4873 (Standing FFe LP: #1553261) | ||
39 | 34 | - DHCP Snippets WebUI. | ||
40 | 35 | - Ensure proxy configuration ACL's subnets MAAS knows about. | ||
41 | 36 | - DNS High Availability. | ||
42 | 37 | * debian/control: Move 'maascli' package install to | ||
43 | 38 | python3-maas-client (LP: #1563859) | ||
44 | 39 | * Improve way on how upgrades ensures correct permissions | ||
45 | 40 | and ownership (LP: #1563799 , LP: #1563779) | ||
46 | 41 | * Improve the way how removals clean the system (LP: #1563337) | ||
47 | 42 | * Reflect new names and website for systemd units (LP: #1563807) | ||
48 | 43 | * maas-proxy now uses a custom-built config, instead of a boilerplate. | ||
49 | 44 | LP: #1379567 | ||
50 | 45 | |||
51 | 46 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 28 Mar 2016 16:47:58 -0400 | ||
52 | 47 | |||
53 | 48 | maas (2.0.0~alpha4+bzr4843-0ubuntu1) xenial; urgency=medium | ||
54 | 49 | |||
55 | 50 | * New upstream release, 2.0.0 alpha 4 bzr4843 (Standing FFe LP: #1553261) | ||
56 | 51 | - DHCP Snippets backend and API. | ||
57 | 52 | - Rack controller WebUI Served VLANs & Service Tracking | ||
58 | 53 | - Rsyslog during enlistment/commissioning. | ||
59 | 54 | * Ensure /etc/maas/templates/power gets removed on upgrade | ||
60 | 55 | * debian/control: Update homepage and package descriptions. | ||
61 | 56 | (LP: #1562036, LP: #1562034, LP: #1562062) | ||
62 | 57 | * Rename maas-reigon-controller-min to maas-region-api (LP: #1562069) | ||
63 | 58 | |||
64 | 59 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 23 Mar 2016 12:27:27 -0400 | ||
65 | 60 | |||
66 | 61 | maas (2.0.0~alpha3+bzr4810-0ubuntu1) xenial; urgency=medium | ||
67 | 62 | |||
68 | 63 | * New upstream release, 2.0.0 bzr 4810 (Standing FFe LP: #1553261) | ||
69 | 64 | - New Networks WebUI | ||
70 | 65 | + Add Fabrics and Spaces details page. | ||
71 | 66 | + Actions to Add/Remove Fabrics, VLANs, Spaces, Subnets. | ||
72 | 67 | - Storage WebUI | ||
73 | 68 | + Mount options | ||
74 | 69 | + Swap Partitions | ||
75 | 70 | - WebUI to change a Machine's domain. | ||
76 | 71 | - Rack Controller details page now shows 'Server VLANs' | ||
77 | 72 | - Add maas-rack support-dump command. | ||
78 | 73 | - Fixes: | ||
79 | 74 | + python3-maas-client API 2.0 no loger use op but MAASClient.post | ||
80 | 75 | requires it (LP: #1555393) | ||
81 | 76 | + Fail to commission when Fabric on Machine Interface doesn't match | ||
82 | 77 | Rack Controller Fabric. (LP: #1554566) | ||
83 | 78 | + TFTP back-end crashes (LP: #1553848) | ||
84 | 79 | + Can't deploy a node, no interfaces on rack controller (LP: #1554999) | ||
85 | 80 | * Update dhcpd permissions to conform with most recent paranoia described | ||
86 | 81 | on LP: 1543794, so capability dac_override is not granted. | ||
87 | 82 | * Update versioned depend on isc-dhcp-server | ||
88 | 83 | |||
89 | 84 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 14 Mar 2016 18:34:53 -0400 | ||
90 | 85 | |||
91 | 86 | maas (2.0.0~alpha2+bzr4776-0ubuntu1) xenial; urgency=medium | ||
92 | 87 | |||
93 | 88 | * New usptream release, 2.0.0 bzr 4776 (LP: #1553261). | ||
94 | 89 | * maas-dns Depends: bind9 >= 1:9.10.3.dfsg.P2-5 for better system time. | ||
95 | 90 | LP: #1553176. | ||
96 | 91 | * debian/extras/maas-{region,rack}: Replace maas-region-admin | ||
97 | 92 | and maas-provision, respectively (LP: #1553791) | ||
98 | 93 | * debian/maas-region-controller.postrm: Correctly handle removal by | ||
99 | 94 | dbconfig-common. (LP: #1553648) | ||
100 | 95 | * debian/extras/99-maas-region-sudoers: Allow running systemctl for | ||
101 | 96 | bind9 and maas-proxy to support service tracking. (LP: #1555308) | ||
102 | 97 | |||
103 | 98 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 01 Feb 2016 18:18:52 +0100 | ||
104 | 99 | |||
105 | 100 | maas (2.0.0~alpha1+bzr4736-0ubuntu1) xenial; urgency=medium | ||
106 | 101 | |||
107 | 102 | * New usptream release, 2.0.0 bzr 4736 (LP: #1553261): | ||
108 | 103 | - Deprecate Cluster Controllers in favor of Rack Controllers. | ||
109 | 104 | - Deprecate API 1.0 in favor if API 2.0. | ||
110 | 105 | - DHCP & Rack Controller High Availability. | ||
111 | 106 | - Networking - IP Ranges. | ||
112 | 107 | - Networking - DNS. | ||
113 | 108 | - BMC Model. | ||
114 | 109 | * Rename maas-cluster* to maas-rack* and handle the upgrade path. | ||
115 | 110 | * Fix installation of init scripts and daemon systemd units. | ||
116 | 111 | * Allow 'dhcpd' to access /usr/sbin/maas-provision via | ||
117 | 112 | sudoers file (LP: #1552775) | ||
118 | 113 | * debian/extras/maas: Replace shell wrapper with python. (LP: #1553605) | ||
119 | 114 | * debian/control: Depends on iproute2 instead. (LP: #1553647) | ||
120 | 115 | |||
121 | 116 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 01 Feb 2016 18:18:52 +0100 | ||
122 | 117 | |||
123 | 118 | maas (1.10.0+bzr4572-0ubuntu2) xenial; urgency=medium | ||
124 | 119 | |||
125 | 120 | * debian/maas-region-controller.config: Ensure we truly preseed db | ||
126 | 121 | setting so we always use localhost and it never asks the user. | ||
127 | 122 | * debian/control: Suggests on python3-pyvmomi | ||
128 | 123 | |||
129 | 124 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 01 Feb 2016 17:04:27 +0100 | ||
130 | 125 | |||
131 | 126 | maas (1.10.0+bzr4572-0ubuntu1) xenial; urgency=medium | ||
132 | 127 | |||
133 | 128 | * New upstram release, 1.10.0 bzr 4572: | ||
134 | 129 | - Support python3, drop support for python2. | ||
135 | 130 | - Support django 1.8+. | ||
136 | 131 | * debian/control: | ||
137 | 132 | - Remove all Upstart related services. | ||
138 | 133 | - Remove python-django16 dependency. | ||
139 | 134 | - Add python-petname dependency. | ||
140 | 135 | - Change dependency python-django-piston to python-django-piston3. | ||
141 | 136 | - Depends on dbconfig-pgsql instead of dbconfig-common. | ||
142 | 137 | * debian/maas-region-controller.config: | ||
143 | 138 | - Preseed dbconfig common to not ask for PG server to use. | ||
144 | 139 | * debian/maas-region-controller-min.maas-regiond-worker@.service: Don't | ||
145 | 140 | depend on postgresql.service anymore, as it would prevent regiond | ||
146 | 141 | to run on machines with a remote PostgreSQL. | ||
147 | 142 | * debian/rules: Refactor installation of init scripts so that they are | ||
148 | 143 | correctly handled, and maas-regiond is not started on install. | ||
149 | 144 | |||
150 | 145 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 13 Nov 2015 13:13:42 +0000 | ||
151 | 146 | |||
152 | 147 | maas (1.9.0~rc1+bzr4496-0ubuntu1) wily; urgency=medium | ||
153 | 148 | |||
154 | 149 | * New upstream release, 1.9.0 rc1, bzr4496 | ||
155 | 150 | - MAAS uses wrong IP for DNS record (creates against the | ||
156 | 151 | bond). (LP: #LP: #1515498) | ||
157 | 152 | - Local archive ignored for deployment. Works for commissioning | ||
158 | 153 | and enlistment. (LP: #1515671) | ||
159 | 154 | - Fix handling of multiple StaticIPAddress rows with empty IP | ||
160 | 155 | addresses. (LP: #1513485) | ||
161 | 156 | - Lease parser failure - doesn't update IP on the PXE | ||
162 | 157 | NIC. (LP: #1513485) | ||
163 | 158 | - Cannot claim sticky IP address for device with | ||
164 | 159 | parent. (LP: #1514486) | ||
165 | 160 | - Cluster downloads boot-images from managed network (pxe) instead | ||
166 | 161 | of network used to connect to Region. (LP: #1514883) | ||
167 | 162 | - Updating/modifying/assigning vlans, spaces, fabrics, subnets | ||
168 | 163 | doesn't allow specifying names and lock to ID's. (LP: #1510917) | ||
169 | 164 | - MAAS should prevent deploying nodes with PXE interface | ||
170 | 165 | 'unconfigured'. (LP: #1513095) | ||
171 | 166 | - MTU should be a set on the VLAN, and able to override on the | ||
172 | 167 | interface. (LP: #1508056) | ||
173 | 168 | - Internal Server Error when creating/editing cluster interface | ||
174 | 169 | when the Cluster is disconnected. (LP: #1439476) | ||
175 | 170 | - Non-interactive way to change password. (LP: #1510224) | ||
176 | 171 | - When a bond is created all IP address associated with the bond | ||
177 | 172 | members should be removed. (LP: #1513111) | ||
178 | 173 | - MAAS does not provide a dump of the config it passes to curtin for | ||
179 | 174 | networking and storage. (LP: #1487135) | ||
180 | 175 | - MAAS should not offer EXT3, rather VFAT, EXT2, EXT4. (LP: #1512959) | ||
181 | 176 | - Network constraints for juju. (LP: #1505031) | ||
182 | 177 | - Creating a partition or a Volume Group on the whole disk leaves | ||
183 | 178 | free space. (LP: #1509535) | ||
184 | 179 | - Should not allow partitions to be created on bcache | ||
185 | 180 | device. (LP: #1511493) | ||
186 | 181 | - Storage section should only be editable when Ready or | ||
187 | 182 | Allocated. (LP: #1503475) | ||
188 | 183 | - maasserver.api.tests.test_fannetworks.TestFanNetworksAPI.test_read | ||
189 | 184 | fails randomly. (LP: #1512832) | ||
190 | 185 | - creating a logical volume on a partition that is too small almost | ||
191 | 186 | works, resulting in strange error messages. (LP: #1508754) | ||
192 | 187 | - [UI] Keep selected nodes selected after action. (LP: #1503925) | ||
193 | 188 | - [UI] Refresh UI cache after an upgrade to avoid seeing | ||
194 | 189 | garbage. (LP: #1515380) | ||
195 | 190 | - [UI] Boot disk is not lighted nor can be changed. (LP: #1510106) | ||
196 | 191 | - [UI] Can't remove / delete a partition with a filesystem under | ||
197 | 192 | 'Available disks and partitions'. (LP: #1510118) | ||
198 | 193 | - [UI] Creating a partition should allow to select filesystem and | ||
199 | 194 | mountpoint. (LP: #1510153) | ||
200 | 195 | - [UI] When selecting a device, ensure padding between buttons is | ||
201 | 196 | 20px. (LP: #1510468) | ||
202 | 197 | - [UI] Misaligned mount point column on used disks table. (LP: #1510455) | ||
203 | 198 | - [UI] Align the individual storage actions with the name field, | ||
204 | 199 | rather than the tickbox. (LP: #1510469) | ||
205 | 200 | - [UI] can't add physical interface. (LP: #1503479) | ||
206 | 201 | - [UI] Containers (lxc, kvm) data missing on node details. (LP: #1503474) | ||
207 | 202 | - [UI] Unable to unmount a filesystem in the UI. (LP: #1513271) | ||
208 | 203 | - [UI] Animation missing on show members and select node. (LP: #1503536) | ||
209 | 204 | - [UI] Add tooltips to icons. (LP: #1510482) | ||
210 | 205 | - [UI] Add tooltips to inactive buttons. (LP: #1510486) | ||
211 | 206 | |||
212 | 207 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 05 Nov 2015 08:29:06 -0500 | ||
213 | 208 | |||
214 | 209 | maas (1.9.0~beta2+bzr4456-0ubuntu1) wily; urgency=medium | ||
215 | 210 | |||
216 | 211 | * New upstream release, 1.9.0 beta2, bzr4456: | ||
217 | 212 | - New capabilities for subnets, vlan, spaces and | ||
218 | 213 | fabrics. (LP: #LP: #1511257) | ||
219 | 214 | - Upgrade left a PXE NIC"s on nodes without a subnet associated | ||
220 | 215 | causing deploy issues. (LP: #LP: #1509077) | ||
221 | 216 | - DNS record doesn't get created against the PXE | ||
222 | 217 | interface (LP: #1512109) | ||
223 | 218 | - bcache cache_mode setting not configured on | ||
224 | 219 | servers (LP: #1510334) | ||
225 | 220 | - Administrators unable to delete users using the API (LP: #1510210) | ||
226 | 221 | - Can create a VolumeGroup (vg0) without having created | ||
227 | 222 | a partition on the boot disk (LP: #1509536) | ||
228 | 223 | - set-boot-disk yields in a machine not being able to | ||
229 | 224 | deploy (LP: #1501400) | ||
230 | 225 | - Deploying Other OS' (CentOS, Windows) should not configure | ||
231 | 226 | custom storage (LP: #1504956) | ||
232 | 227 | - Add RAID 10 support (LP: #1509164) | ||
233 | 228 | - MAAS should download grub from grub-efi-amd64-signed package | ||
234 | 229 | instead of the archive path (LP: #1511437) | ||
235 | 230 | - Fails to deploy with UEFI (LP: #1510120) | ||
236 | 231 | - previous owner of node can use oauth creds to retrieve current | ||
237 | 232 | owner's user-data (LP: #1507586) | ||
238 | 233 | - IP range validation for too small ranges (LP: #1507630) | ||
239 | 234 | - test__calls_update_host_maps_for_next_ip_managed_subnet | ||
240 | 235 | can fail randomly (LP: #1507630) | ||
241 | 236 | - No way to disable maas-proxy (LP: #1511071) | ||
242 | 237 | - [UI] HWE naming needs to be clearer (LP: #1505034)) | ||
243 | 238 | - [UI] Angular $digest loop issue on node details page (LP: #1509476) | ||
244 | 239 | - [UI] New nodes interfaces doesn't show which interface is the | ||
245 | 240 | PXE interface (LP: #1509473) | ||
246 | 241 | - [UI] When partitioning, there should be 20px padding between | ||
247 | 242 | the sizing fields (LP: #1510471) | ||
248 | 243 | - [UI] On the available table, add model and serial to the | ||
249 | 244 | name column (LP: #1510467) | ||
250 | 245 | - [UI] On the available table, change “available space” to | ||
251 | 246 | “size” for consistency (LP: #1510466) | ||
252 | 247 | - [UI] when formatting/mounting, the button says “Format & Mount” | ||
253 | 248 | this should just be “Mount” (LP: #1510472) | ||
254 | 249 | - [UI] Tickbox on create bond networking (LP: #1503533) | ||
255 | 250 | - [UI] On the file system table, change name to “File system” | ||
256 | 251 | (lower case S) (LP: #1510447) | ||
257 | 252 | - [UI] When creating bcache and raid, remove the empty column | ||
258 | 253 | between the config fields. (LP: #1510474) | ||
259 | 254 | - [UI] On the available table, make sure all buttons are | ||
260 | 255 | lowercase (LP: #1510488) | ||
261 | 256 | - [UI] Subnets filter doesn't show network, it shows name | ||
262 | 257 | instead (LP: #1511174) | ||
263 | 258 | - [UI] can't edit / add storage tags (LP: #1509417) | ||
264 | 259 | - [UI] Hover state for networking doesn't work (LP: #1510891) | ||
265 | 260 | - [UI] change "edit tag" link to icon storage (LP: #1510458) | ||
266 | 261 | - [UI] Can no longer see the IP address PXE interface gets | ||
267 | 262 | on commissioning (LP: #1510629) | ||
268 | 263 | * debian/control: Bump Dep on python-curtin to > 0.1.0~bzr275. | ||
269 | 264 | |||
270 | 265 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 28 Oct 2015 21:20:39 -0400 | ||
271 | 266 | |||
272 | 267 | maas (1.9.0~beta1+bzr4417-0ubuntu1) wily; urgency=medium | ||
273 | 268 | |||
274 | 269 | * New upstream release, 1.9.0 beta1, bzr4415: | ||
275 | 270 | - Various UI fixes and improvements | ||
276 | 271 | - Add ability to create LVM. | ||
277 | 272 | - Add ability to create RAID. | ||
278 | 273 | |||
279 | 274 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 22 Oct 2015 14:05:50 -0400 | ||
280 | 275 | |||
281 | 276 | maas (1.9.0~alpha5+bzr4398-0ubuntu1) wily; urgency=medium | ||
282 | 277 | |||
283 | 278 | * New upstream release, 1.9.0 Alpha 5, bzr4398: | ||
284 | 279 | - Various UI fixes and improvements. | ||
285 | 280 | - Add ability to create partitions in the UI. | ||
286 | 281 | - Add ability to create Bcache (create cache sets and backing devices). | ||
287 | 282 | - Check and warns users about missing power driver tools (LP: #1381000). | ||
288 | 283 | - Add fabric class_type. | ||
289 | 284 | |||
290 | 285 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 15 Oct 2015 21:22:44 -0700 | ||
291 | 286 | |||
292 | 287 | maas (1.9.0~alpha4+bzr4371-0ubuntu1) wily; urgency=medium | ||
293 | 288 | |||
294 | 289 | * New upstream release, 1.9.0 Alpha 4, bzr4371: | ||
295 | 290 | - Various UI fixes and improvements. | ||
296 | 291 | - Various concurrency issues fixed. | ||
297 | 292 | - Do not create MBR bigger than 2 TiB, otherwise MAAS will fail to | ||
298 | 293 | deploy on disks larger than 2 TiB. | ||
299 | 294 | - Fix broken migration due to missing import (LP: #1504340) | ||
300 | 295 | |||
301 | 296 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 07 Oct 2015 13:02:53 -0700 | ||
302 | 297 | |||
303 | 298 | maas (1.9.0~alpha3+bzr4355-0ubuntu1) wily; urgency=medium | ||
304 | 299 | |||
305 | 300 | * New upstream release, 1.9.0 Alpha 3, bzr4355 | ||
306 | 301 | - Node network configuration (VLAN, aliases, bond's). | ||
307 | 302 | - Subnets page. | ||
308 | 303 | - Mount, Unmount filesystems. Formatting, unformatting. | ||
309 | 304 | - Create partitions. | ||
310 | 305 | - Checks for missing power drivers tool and warns the users. | ||
311 | 306 | * debian/control: Recommends on apache2. | ||
312 | 307 | |||
313 | 308 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 29 Sep 2015 12:53:36 -0400 | ||
314 | 309 | |||
315 | 310 | maas (1.9.0~alpha2+bzr4322-0ubuntu1) wily; urgency=medium | ||
316 | 311 | |||
317 | 312 | * New upstream release, 1.9.0 Alpha 2, bzr4322: | ||
318 | 313 | - Native support for Network Configuration (IP assignment, VLANs, bonds) | ||
319 | 314 | - First class support for CentOS | ||
320 | 315 | - Status updates from curtin/cloud-init | ||
321 | 316 | - Support for fabrics, spaces, subnets and fans. | ||
322 | 317 | - Support for commissioning actions. | ||
323 | 318 | |||
324 | 319 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 01 Sep 2015 19:04:39 -0400 | ||
325 | 320 | |||
326 | 321 | maas (1.9.0~alpha1+bzr4221-0ubuntu1) wily; urgency=medium | ||
327 | 322 | |||
328 | 323 | * New upstream release, 1.9.0 Alpha 1, bzr4218: | ||
329 | 324 | - Native storage support (Flat, LVM, bcache, RAID). | ||
330 | 325 | - New config files (regiond.conf, clusterd.conf) | ||
331 | 326 | - New Python Power Drivers. | ||
332 | 327 | - Better support for HWE Kernels. | ||
333 | 328 | |||
334 | 329 | [ Scott Moser ] | ||
335 | 330 | * maas-proxy: sync apt specific squid config with squid-deb-proxy | ||
336 | 331 | (LP: #1474417) | ||
337 | 332 | |||
338 | 333 | [ Raphaël Badin ] | ||
339 | 334 | * Enable proxy_wstunnel module. | ||
340 | 335 | * Drop dependency on python-iscpy: the code has been integrated into | ||
341 | 336 | MAAS. (LP: #1413388). | ||
342 | 337 | |||
343 | 338 | [ Gavin Panella ] | ||
344 | 339 | * Use new local configuration support for the cluster. | ||
345 | 340 | |||
346 | 341 | [ Andres Rodriguez ] | ||
347 | 342 | * Refactor maas-dns upgrade code so it doesn't break local DNS config | ||
348 | 343 | and it gets migrated (LP: #1413388) | ||
349 | 344 | - debian/maas-region-controller.postinst: Ensure DNS config | ||
350 | 345 | migration is always run. | ||
351 | 346 | * debian/control: Make maas-dns a Dependy of maas-region-controller. | ||
352 | 347 | * Update the location of dhcpd.conf and dhcpd6.conf to be /var/lib/maas/ | ||
353 | 348 | and handle upgrades. (LP: #1482857) | ||
354 | 349 | * Move /etc/maas/maas-proxy.conf to /usr/share/maas/maas-proxy.conf as | ||
355 | 350 | this is not a config we want users to modify. (LP: #1482859) | ||
356 | 351 | * Move /etc/maas/maas-http.conf to /usr/share/maas/maas-http.conf as | ||
357 | 352 | this is not a config we want users to modify. (LP: #1482858) | ||
358 | 353 | * debian/control: | ||
359 | 354 | - Add missing dependency on python-curtin. | ||
360 | 355 | - Drop python-lockfile as it is no longer used. | ||
361 | 356 | - Depend on python-curtin >= 0.1.0~bzr247. | ||
362 | 357 | |||
363 | 358 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 12 Jun 2015 14:16:47 -0400 | ||
364 | 359 | |||
365 | 360 | maas (1.8.0+bzr4001-0ubuntu1) trusty; urgency=medium | ||
366 | 361 | |||
367 | 362 | * New upstream release, 1.8.0. | ||
368 | 363 | |||
369 | 364 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 09 Jun 2015 20:57:42 -0400 | ||
370 | 365 | |||
371 | 366 | maas (1.8.0~rc3+bzr4000-0ubuntu1) trusty; urgency=medium | ||
372 | 367 | |||
373 | 368 | * New upstream release, 1.8.0 RC3 bzr4000. | ||
374 | 369 | |||
375 | 370 | [ Raphaël Badin ] | ||
376 | 371 | * Remove unused dependencies: python-amqp and python-txamqp. | ||
377 | 372 | |||
378 | 373 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 04 Jun 2015 16:32:02 -0400 | ||
379 | 374 | |||
380 | 375 | maas (1.8.0~rc2+bzr3989-0ubuntu1) trusty; urgency=medium | ||
381 | 376 | |||
382 | 377 | * New upstream release, 1.8.0 RC2 bzr3983. | ||
383 | 378 | |||
384 | 379 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 02 Jun 2015 09:27:54 -0400 | ||
385 | 380 | |||
386 | 381 | maas (1.8.0~rc1+bzr3972-0ubuntu1) trusty; urgency=medium | ||
387 | 382 | |||
388 | 383 | * New upstream release, 1.8.0 RC1 bzr3972. | ||
389 | 384 | * debian/copyright: Add copyright headers for ng-tags-input.js. | ||
390 | 385 | * debian/control: Bump Standards-Version | ||
391 | 386 | |||
392 | 387 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 27 May 2015 20:16:40 -0400 | ||
393 | 388 | |||
394 | 389 | maas (1.8.0~beta8+bzr3951-0ubuntu1) trusty; urgency=medium | ||
395 | 390 | |||
396 | 391 | * New upstream release, 1.8.0 beta 8 bzr3951. | ||
397 | 392 | |||
398 | 393 | [ Raphaël Badin ] | ||
399 | 394 | * debian/extras/99-maas-sudoers: Allow maas to check the status of | ||
400 | 395 | maas-dhcpd and maas-dhcp6 and start these services (LP: #1457708). | ||
401 | 396 | |||
402 | 397 | [ Andres Rodriguez ] | ||
403 | 398 | * debian/rules: Ensure maas-regiond-worker is not started in packaging. | ||
404 | 399 | |||
405 | 400 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 21 May 2015 19:18:22 -0400 | ||
406 | 401 | |||
407 | 402 | maas (1.8.0~beta7+bzr3926-0ubuntu1) trusty; urgency=medium | ||
408 | 403 | |||
409 | 404 | * New upstream release, 1.8.0 beta 7 bzr3926. | ||
410 | 405 | |||
411 | 406 | [ Andres Rodriguez ] | ||
412 | 407 | * debian/{maas-cluster-controller,maas-common, | ||
413 | 408 | maas-region-controller-min}.postinst: Cleaned up to correctly create | ||
414 | 409 | log dir permissions (LP: #1457191) | ||
415 | 410 | |||
416 | 411 | [ Gavin Panella ] | ||
417 | 412 | * Create maas-regiond workers for systemd. | ||
418 | 413 | |||
419 | 414 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 20 May 2015 17:03:13 -0400 | ||
420 | 415 | |||
421 | 416 | maas (1.8.0~beta6+bzr3891-0ubuntu1) trusty; urgency=medium | ||
422 | 417 | |||
423 | 418 | * New upstream release, 1.8.0 beta 6 bzr3904: | ||
424 | 419 | |||
425 | 420 | [ Gavin Panella ] | ||
426 | 421 | * Drop the use of daemontools in favor of having upstart track | ||
427 | 422 | thread processes: | ||
428 | 423 | - d/maas-region-controller-min.maas-regiond.upstart: Drop use of | ||
429 | 424 | daemontools; use maas-regiond-worker | ||
430 | 425 | - d/maas-region-controller-min.maas-regiond-worker.upstart: Add. | ||
431 | 426 | - d/control: Drop depends on daemontools. | ||
432 | 427 | |||
433 | 428 | [ Andres Rodriguez ] | ||
434 | 429 | * debian/maas-common.{postinst,logrotate}: Create maas.log if non-existent | ||
435 | 430 | and add log rotation, provided maas.log exists both in the Region | ||
436 | 431 | and in the Cluster (LP: #1381603) | ||
437 | 432 | |||
438 | 433 | -- Andres Rodriguez <andreserl@ubuntu.com> Sat, 09 May 2015 15:03:17 +0100 | ||
439 | 434 | |||
440 | 435 | maas (1.8.0~beta5+bzr3867-0ubuntu1) trusty; urgency=medium | ||
441 | 436 | |||
442 | 437 | * New upstream release, 1.8.0 Beta 5 bzr3867. | ||
443 | 438 | |||
444 | 439 | [ Andres Rodriguez ] | ||
445 | 440 | * d/p/02-pserv.yaml: Fix config file (LP: #1449862) | ||
446 | 441 | |||
447 | 442 | [ Mike Pontillo ] | ||
448 | 443 | * Run DNS reconfiguration if either 'forwarders' or 'dnssec-validation' | ||
449 | 444 | keywords exist in named.conf.options (LP: #1384334) | ||
450 | 445 | |||
451 | 446 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 24 Apr 2015 18:55:47 -0400 | ||
452 | 447 | |||
453 | 448 | maas (1.8.0~beta4+bzr3844-0ubuntu1) trusty; urgency=medium | ||
454 | 449 | |||
455 | 450 | * New upstream release. 1.8.0 Beta 4 bzr2344 | ||
456 | 451 | * debian/maas-dhcpd.maas-dhcpd.service: Remove whitespace in unit that | ||
457 | 452 | was making systemd crash (LP: #1446699) | ||
458 | 453 | * debian/maas-proxy.maas-proxy.service: Fix proxy to correctly run | ||
459 | 454 | pre-start script. | ||
460 | 455 | * debian/maas-dns.postinst: Ensure permissions are fixed also on upgrade. | ||
461 | 456 | |||
462 | 457 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 21 Apr 2015 13:00:49 -0400 | ||
463 | 458 | |||
464 | 459 | maas (1.8.0~beta3+bzr3825-0ubuntu1) trusty; urgency=medium | ||
465 | 460 | |||
466 | 461 | * New upstream release. 1.8.0 Beta3 bzr3825 (LP: #1432666): | ||
467 | 462 | - Fixx issues with concurrent DB access and the isolation level | ||
468 | 463 | that made MAAS unusable in highload environments. | ||
469 | 464 | |||
470 | 465 | [ Gavin Panella ] | ||
471 | 466 | * Run one maas-regiond per CPU core. | ||
472 | 467 | |||
473 | 468 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 16 Apr 2015 21:26:21 +0200 | ||
474 | 469 | |||
475 | 470 | maas (1.8.0~beta2+bzr3814-0ubuntu1) trusty; urgency=medium | ||
476 | 471 | |||
477 | 472 | * New upstream release. 1.8.0 Beta2 bzr3814. | ||
478 | 473 | |||
479 | 474 | [ Andres Rodriguez ] | ||
480 | 475 | * Restart apache2 after the region is restarted on a install. (LP: #1438782) | ||
481 | 476 | |||
482 | 477 | [ Mike Pontillo ] | ||
483 | 478 | * Stop maas-clusterd in prerm so that database purge succeeds (LP: #1044559) | ||
484 | 479 | |||
485 | 480 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 06 Apr 2015 11:00:00 -0400 | ||
486 | 481 | |||
487 | 482 | maas (1.8.0~beta1+bzr3777-0ubuntu1) trusty; urgency=medium | ||
488 | 483 | |||
489 | 484 | * New upstream release. 1.8.0 Beta1 bzr 3777. | ||
490 | 485 | |||
491 | 486 | [ Mike Pontillo ] | ||
492 | 487 | * debian/extras/maas-region-admin: Fix Path setting. | ||
493 | 488 | * debian/control: Properly depend on python-apt | ||
494 | 489 | |||
495 | 490 | [ Andres Rodriguez ] | ||
496 | 491 | * debian/maas-dhcp.maas-dhcpd[6].service: Fix units to correctly run | ||
497 | 492 | in vivid. | ||
498 | 493 | * debian/maas-proxy.maas-proxy.service: Fix unit to use correct daemon. | ||
499 | 494 | |||
500 | 495 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 30 Mar 2015 19:17:47 -0400 | ||
501 | 496 | |||
502 | 497 | maas (1.8.0~alpha9+bzr3750-0ubuntu1) trusty; urgency=medium | ||
503 | 498 | |||
504 | 499 | * New upstream release. MAAS 1.9.0 Alpha 9 bzr3692: | ||
505 | 500 | - fix bulk actions for isolation level changes. | ||
506 | 501 | - fix commissioning related isolation level / transaction issues. | ||
507 | 502 | |||
508 | 503 | [ Andres Rodriguez ] | ||
509 | 504 | * Make sure MAAS works with python-django16 in vivid. | ||
510 | 505 | |||
511 | 506 | [Gavin Panella] | ||
512 | 507 | * debian/extras/99-maas-sudoers | ||
513 | 508 | debian/maas-cluster-controller.install | ||
514 | 509 | - Do not install maas-import-pxe-files; it is no longer used, and is | ||
515 | 510 | not present in upstream. | ||
516 | 511 | |||
517 | 512 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 20 Mar 2015 20:27:02 -0400 | ||
518 | 513 | |||
519 | 514 | maas (1.8.0~alpha8+bzr3692-0ubuntu1) trusty; urgency=medium | ||
520 | 515 | |||
521 | 516 | * New upstream release, 1.8.0~alpha8 bzr 3692: | ||
522 | 517 | - Fix bulk actions to not fail due to transaction errors. | ||
523 | 518 | |||
524 | 519 | [ Steve Langasek ] | ||
525 | 520 | * Depend on pxelinux for pxelinux.0, not on syslinux-dev. (LP: #1433697) | ||
526 | 521 | |||
527 | 522 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 17 Mar 2015 18:46:41 -0400 | ||
528 | 523 | |||
529 | 524 | maas (1.8.0~alpha7+bzr3664-0ubuntu1) trusty; urgency=medium | ||
530 | 525 | |||
531 | 526 | * New upstream release, 1.8.0~alpha7 bzr3664 | ||
532 | 527 | |||
533 | 528 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 10 Mar 2015 16:36:40 -0400 | ||
534 | 529 | |||
535 | 530 | maas (1.8.0~alpha6+bzr3625-0ubuntu1) trusty; urgency=medium | ||
536 | 531 | |||
537 | 532 | * New upstream release, 1.8.0~alpha6 bzr3625: | ||
538 | 533 | - Add ability to select OS when we Deploy via a bulk action. | ||
539 | 534 | |||
540 | 535 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 06 Mar 2015 18:10:46 -0500 | ||
541 | 536 | |||
542 | 537 | maas (1.8.0~alpha5+bzr3609-0ubuntu1) trusty; urgency=medium | ||
543 | 538 | |||
544 | 539 | * New upstream release, 1.8.0~alpha5 bzr3601: | ||
545 | 540 | - Add new 'Devices' page in the WebUI. | ||
546 | 541 | - Add support for VMWare's vSphere. | ||
547 | 542 | * debian/control: | ||
548 | 543 | - Add Depends on python-pyvmomi; Drop Depends on python-pyscss. | ||
549 | 544 | |||
550 | 545 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 05 Mar 2015 11:31:14 -0500 | ||
551 | 546 | |||
552 | 547 | maas (1.8.0~alpha4+bzr3581-0ubuntu1) trusty; urgency=medium | ||
553 | 548 | |||
554 | 549 | * New upstream release, 1.8.0~alpha4 bzr3581: | ||
555 | 550 | - Adds new 'Add Hardware' button on the WebUI. | ||
556 | 551 | - Adds new 'Add Chassis' button on the WebUI. | ||
557 | 552 | |||
558 | 553 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 27 Feb 2015 19:50:00 -0500 | ||
559 | 554 | |||
560 | 555 | maas (1.8.0~alpha3+bzr3568-0ubuntu1) trusty; urgency=medium | ||
561 | 556 | |||
562 | 557 | * New upstream release, 1.8.0~alpha3 bzr3568 | ||
563 | 558 | - Adds support for Microsoft OCP Chassis. | ||
564 | 559 | * debian/control: | ||
565 | 560 | - Add python-bson as a depends. | ||
566 | 561 | - Remove python-pyscss as a build dependency. | ||
567 | 562 | |||
568 | 563 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 24 Feb 2015 15:47:07 -0500 | ||
569 | 564 | |||
570 | 565 | maas (1.8.0~alpha2+bzr3545-0ubuntu1) trusty; urgency=medium | ||
571 | 566 | |||
572 | 567 | * New upstream release, 1.8.0~alpha2 bzr3545 | ||
573 | 568 | * debian/control: | ||
574 | 569 | - Depends on libjs-angularjs (LP: #1423457) | ||
575 | 570 | - Depends on ubuntu-cloudimage-keyring for region (LP: #1424287) | ||
576 | 571 | |||
577 | 572 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 18 Feb 2015 16:31:02 -0500 | ||
578 | 573 | |||
579 | 574 | maas (1.8.0~alpha1+bzr3523-0ubuntu1) trusty; urgency=medium | ||
580 | 575 | |||
581 | 576 | * New upstream release, 1.8.0~alpha1 bzr3523 | ||
582 | 577 | |||
583 | 578 | [ Blake Rouse ] | ||
584 | 579 | * debian/control: added python-pyscss as a build dependency. | ||
585 | 580 | * debian/rules: build scss files to maas-styles.css and remove scss files | ||
586 | 581 | from the static files directory. | ||
587 | 582 | |||
588 | 583 | [ Jeroen Vermeulen ] | ||
589 | 584 | * debian/maas-cluster-controller.postinst: configure MAAS_URL through new | ||
590 | 585 | "maas-provision configure-maas-url" sub-command instead of with "sed". | ||
591 | 586 | |||
592 | 587 | [ Andres Rodriguez ] | ||
593 | 588 | * Set 'maas' homedir to '/var/lib/maas' (LP: #1399016): | ||
594 | 589 | - debian/maas-common.postinst: Do not try to update 'maas' | ||
595 | 590 | home user dir on upgrade. | ||
596 | 591 | * debian/control: Tighten Dependency versioning of some packages. | ||
597 | 592 | * debian/maas-region-controller-min.preinst: Handle upgrades to remove | ||
598 | 593 | legacy files. | ||
599 | 594 | * debian/maas-region-controller{-min}.postinst: Simplify postinsts. | ||
600 | 595 | * Drop depends on python-celery, python-oops, python-oops-twisted, | ||
601 | 596 | python-oops-datedir-repo, python-oosp-wsgi | ||
602 | 597 | * Drop maas-cluster-http.conf; Drop depends on apache2 for | ||
603 | 598 | maas-cluster-controller. | ||
604 | 599 | |||
605 | 600 | [ Gavin Panella ] | ||
606 | 601 | * debian/maas-region-controller-min.maas-regiond.upstart | ||
607 | 602 | - Upstart script for the new maas-regiond. | ||
608 | 603 | - Use setuid/setgid to drop root privs before running script. | ||
609 | 604 | - Don't write a pid file. | ||
610 | 605 | * debian/maas-cluster-controller.maas-clusterd.upstart | ||
611 | 606 | - Start maas-clusterd; it's no longer called maas-pserv. | ||
612 | 607 | * debian/maas-region-controller-min.install | ||
613 | 608 | - Don't install wsgi.py; it's no longer used. | ||
614 | 609 | * debian/rules | ||
615 | 610 | - Install maas-regiond plugin. | ||
616 | 611 | * debian/maas-region-controller-min.apport | ||
617 | 612 | debian/maas-region-controller-min.logrotate | ||
618 | 613 | debian/maas-region-controller-min.postinst | ||
619 | 614 | debian/maas-region-controller.postinst | ||
620 | 615 | - Change maas-django.log to regiond.log. | ||
621 | 616 | * debian/maas-region-controller.postinst | ||
622 | 617 | - Restart maas-regiond after installation. | ||
623 | 618 | - a2enmod rewrite module (LP: #1236544) | ||
624 | 619 | * debian/maas-region-controller.postinst | ||
625 | 620 | - Restart maas-regiond after installation. | ||
626 | 621 | * debian/control | ||
627 | 622 | debian/maas-region-controller-min.postinst | ||
628 | 623 | debian/maas-region-controller.postinst | ||
629 | 624 | - mod_wsgi is no longer used. | ||
630 | 625 | * debian/maas-region-controller-min.logrotate | ||
631 | 626 | - No longer used; maas-regiond uses rotatelogs. | ||
632 | 627 | - a2enmod rewrite module (LP: #1236544) | ||
633 | 628 | * debian/patches/01-fix-database-settings.patch | ||
634 | 629 | - Move STATIC_ROOT setting upstream. | ||
635 | 630 | - Simplify database configuration hunk. | ||
636 | 631 | * debian/maas-cluster-controller.logrotate | ||
637 | 632 | debian/maas-region-controller.logrotate | ||
638 | 633 | - Use copytruncate; even though it's sub-optimal, this is currently | ||
639 | 634 | the best way to integrate logrotate with twistd. | ||
640 | 635 | - Limit the size of the logs to 50MB, but don't rotate unless | ||
641 | 636 | they're more than 10MB. | ||
642 | 637 | - Drop privileges and run as maas/maas. | ||
643 | 638 | * debian/maas-region-controller-min.maas-regiond.upstart | ||
644 | 639 | debian/maas-cluster-controller.maas-clusterd.upstart | ||
645 | 640 | - Redirect stdout and stderr from twistd directly to the daemon's | ||
646 | 641 | respective log file. | ||
647 | 642 | * debian/maas-region-controller-min.apport | ||
648 | 643 | - pserv.log has been renamed to clusterd.log. | ||
649 | 644 | |||
650 | 645 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 14 Nov 2014 09:04:29 -0500 | ||
651 | 646 | |||
652 | 647 | maas (1.7.0+bzr3299-0ubuntu1) utopic; urgency=medium | ||
653 | 648 | |||
654 | 649 | * New upstream release, 1.7.0. | ||
655 | 650 | |||
656 | 651 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 14 Nov 2014 08:38:39 -0500 | ||
657 | 652 | |||
658 | 653 | maas (1.7.0~rc3+bzr3299-0ubuntu1) utopic; urgency=medium | ||
659 | 654 | |||
660 | 655 | * New upstream release, RC3 bzr 3299 | ||
661 | 656 | - Fix dashboard tooltip messages which had stopped being displayed | ||
662 | 657 | (LP: #1390434) | ||
663 | 658 | |||
664 | 659 | -- Julian Edwards <julian.edwards@canonical.com> Tue, 11 Nov 2014 12:23:07 +1000 | ||
665 | 660 | |||
666 | 661 | maas (1.7.0~rc2+bzr3297-0ubuntu1) utopic; urgency=medium | ||
667 | 662 | |||
668 | 663 | * New upstream release, RC2 bzr 3297 | ||
669 | 664 | - Allow marking a node in the DISK_ERASING state as broken (LP: #1388919) | ||
670 | 665 | - Prevent concurrent allocations of static IP addresses from returning | ||
671 | 666 | the same clashing address. (LP: #1387262) | ||
672 | 667 | |||
673 | 668 | [ Andres Rodriguez ] | ||
674 | 669 | * debian/maas-cluster-controller.postinst: Make sure that cluster sets | ||
675 | 670 | the correct permissions for proxy log dir if running on the same | ||
676 | 671 | system. (LP: #1377964) | ||
677 | 672 | |||
678 | 673 | -- Julian Edwards <julian.edwards@canonical.com> Fri, 07 Nov 2014 09:30:52 +1000 | ||
679 | 674 | |||
680 | 675 | maas (1.7.0~rc1+bzr3295-0ubuntu1) trusty; urgency=medium | ||
681 | 676 | |||
682 | 677 | * New Upstream Release, RC1 bzr 3295 | ||
683 | 678 | - If using MSCM (Moonshot Chassis Manager) on a M300, do not overwrite | ||
684 | 679 | power parameters (LP: #1382075) | ||
685 | 680 | - Do not write DNS hostmaps if its PXE Mac is not on a managed cluster | ||
686 | 681 | interface. (LP: #1382108) | ||
687 | 682 | - Show os field in boot source selections API. (LP: #1384383) | ||
688 | 683 | - Add documentation for new Import Images features (LP: #1384010) | ||
689 | 684 | - Allow releasing if Failed to Disk Wipe or Release (LP: #1384821) | ||
690 | 685 | - Handle missing subarch when creating a node via RPC for | ||
691 | 686 | probe-and-enlist methods (LP: #1384778) | ||
692 | 687 | - Update default waiting policy for power actions to increase time of | ||
693 | 688 | wait to handle different type of BMC's (LP: #1384758) | ||
694 | 689 | - Use HTTP_PROXY to download images if configured (LP: #1384464) | ||
695 | 690 | - Return 503 response for PowerActionAlreadyInProgress and add a | ||
696 | 691 | 'Retry-after' Header. (LP: #1384001) | ||
697 | 692 | - Stop ImportResourcesService from crashing when an import fails | ||
698 | 693 | (LP: #1386722) | ||
699 | 694 | - Convert TFTP request paths that contain backslashes to forward | ||
700 | 695 | slashes. (LP: #1387191) | ||
701 | 696 | - Do not try to delete synced boot images if not new ones are present | ||
702 | 697 | to handle a weird race. (LP: #1387133) | ||
703 | 698 | - Fix storage unit shown on the node edit page (LP: #1387431) | ||
704 | 699 | - Use CompressedAmpList in UpdateLeases to now parse | ||
705 | 700 | ~3500 leases (LP: #1387515, LP: #1387515) | ||
706 | 701 | - Updated XPath expression for discovering storage capacity from new | ||
707 | 702 | lshw changes. (LP: #1387380) | ||
708 | 703 | - Add sub status field on API. | ||
709 | 704 | - Generate DNS mappings for the Dynamic IP range. Hostname generation | ||
710 | 705 | is limited to /16. (LP: #1382190) | ||
711 | 706 | - Use configured HTTP Proxy to download boot images (LP: #1384464) | ||
712 | 707 | * debian/extras/maas-proxy-common.sh: Ensure that permissions are correct | ||
713 | 708 | before starting maas-proxy. (LP: #1382266) | ||
714 | 709 | |||
715 | 710 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 27 Oct 2014 21:53:43 -0400 | ||
716 | 711 | |||
717 | 712 | maas (1.7.0~beta8+bzr3272-0ubuntu1) utopic; urgency=medium | ||
718 | 713 | |||
719 | 714 | * New Upstream Release, Beta 8 bzr 3272. | ||
720 | 715 | - Maintain backward compatibility with status codes to not break | ||
721 | 716 | client MAAS API users. (LP: #1383609) | ||
722 | 717 | - Allow users to disable DHCP NIC scanning during commissioning otherwise | ||
723 | 718 | this can lead machines not being able to commission (LP: #1383384) | ||
724 | 719 | - Ensure that MAAS can correctly download, and install HWE Kernels, and | ||
725 | 720 | not crash in the process. (LP: #1357532, LP: #1382281) | ||
726 | 721 | - Add a lock to ensure we don't give the same 2 systems to two different | ||
727 | 722 | users when acquiring a machine. (LP: #1382575) | ||
728 | 723 | |||
729 | 724 | [ Michael McCracken ] | ||
730 | 725 | * debian/maas-dns.postrm: ensure named.conf is cleaned of maas | ||
731 | 726 | includes (LP: #1346538) | ||
732 | 727 | |||
733 | 728 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 22 Oct 2014 12:55:08 -0400 | ||
734 | 729 | |||
735 | 730 | maas (1.7.0~beta7+bzr3266-0ubuntu1) utopic; urgency=medium | ||
736 | 731 | |||
737 | 732 | * New Upstream Snapshot, Beta 7 bzr3266 | ||
738 | 733 | |||
739 | 734 | [ Jeroen Vermeulen ] | ||
740 | 735 | * debian/extras/99-maas-sudoers | ||
741 | 736 | debian/maas-dhcp.postinst | ||
742 | 737 | debian/rules | ||
743 | 738 | - Add second DHCP server instance for IPv6. | ||
744 | 739 | * debian/maas-region-controller-min.install | ||
745 | 740 | debian/maas-region-controller-min.lintian-overrides | ||
746 | 741 | - Install deployment user-data: maas_configure_interfaces.py script. | ||
747 | 742 | * debian/maas-cluster-controller.links | ||
748 | 743 | debian/maas-cluster-controller.install | ||
749 | 744 | debian/maas-cluster-controller.postinst | ||
750 | 745 | - Reflect Celery removal changes made in trunk r3067. | ||
751 | 746 | - Don't install celeryconfig_cluster.py any longer. | ||
752 | 747 | - Don't install maas_local_celeryconfig_cluster.py any longer. | ||
753 | 748 | - Don't symlink maas_local_celeryconfig_cluster.py from /etc to /usr. | ||
754 | 749 | - Don't insert UUID into maas_local_celeryconfig_cluster.py. | ||
755 | 750 | |||
756 | 751 | [ Andres Rodriguez ] | ||
757 | 752 | * debian/maas-region-controller-min.postrm: Cleanup lefover files. | ||
758 | 753 | * debian/maas-dhcp.postrm: Clean leftover configs. | ||
759 | 754 | * Provide new maas-proxy package that replaces the usage of | ||
760 | 755 | squid-deb-proxy: | ||
761 | 756 | - debian/control: New maas-proxy package that replaces the usage | ||
762 | 757 | of squid-deb-proxy; Drop depends on squid-deb-proxy. | ||
763 | 758 | - Add upstrart job. | ||
764 | 759 | - Ensure squid3 is stopped as maas-proxy uses a caching proxy. | ||
765 | 760 | * Remove Celery references to cluster controller: | ||
766 | 761 | - Rename upstart job from maas-pserv to maas-cluster; rename | ||
767 | 762 | maas-cluster-celery to maas-cluster-register. Ensure services | ||
768 | 763 | are stopped on upgrade. | ||
769 | 764 | - debian/maintscript: Cleanup config files. | ||
770 | 765 | - Remove all references to the MAAS celery daemon and config | ||
771 | 766 | files as we don't use it like that anymore | ||
772 | 767 | * Move some entries in debian/maintscript to | ||
773 | 768 | debian/maas-cluster-controller.maintscript | ||
774 | 769 | * Remove usage of txlongpoll and rabbitmq-server. Handle upgrades | ||
775 | 770 | to ensure these are removed correctly. | ||
776 | 771 | |||
777 | 772 | [ Jason Hobbs ] | ||
778 | 773 | * debian/maas-region-controller-min.install: Install | ||
779 | 774 | maas-generate-winrm-cert script. | ||
780 | 775 | |||
781 | 776 | [ Raphaël Badin ] | ||
782 | 777 | * debian/extras/maas-region-admin: Bypass django-admin as it prints | ||
783 | 778 | spurious messages to stdout (LP: #1365130). | ||
784 | 779 | |||
785 | 780 | [Louis Bouchard] | ||
786 | 781 | * debian/maas-cluster-controller.postinst: | ||
787 | 782 | - Exclude /var/log/maas/rsyslog when changing ownership | ||
788 | 783 | (LP: #1346703) | ||
789 | 784 | |||
790 | 785 | [Gavin Panella] | ||
791 | 786 | * debian/maas-cluster-controller.maas-clusterd.upstart: | ||
792 | 787 | - Don't start-up the cluster controller unless a shared-secret has | ||
793 | 788 | been installed. | ||
794 | 789 | * debian/maas-cluster-controller.maas-cluster-register.upstart: Drop. | ||
795 | 790 | |||
796 | 791 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 21 Aug 2014 19:36:30 -0400 | ||
797 | 792 | |||
798 | 793 | maas (1.7.0~beta1+bzr2781-0ubuntu1) utopic; urgency=medium | ||
799 | 794 | |||
800 | 795 | * New upstream release, 1.7.0 Beta 1 | ||
801 | 796 | |||
802 | 797 | [Diogo Matsubara] | ||
803 | 798 | * debian/control: | ||
804 | 799 | - maas-cluster-controller depends on syslinux-dev | | ||
805 | 800 | syslinux-common (LP: #1328659) | ||
806 | 801 | - python-maas-provisioningserver depends on | ||
807 | 802 | python-paramiko (LP: #1334401) | ||
808 | 803 | |||
809 | 804 | [Jeroen Vermeulen] | ||
810 | 805 | * debian/extras/99-maas-sudoers: | ||
811 | 806 | - Let maas user import, including sudo tgt-admin and sudo uec2roottar. | ||
812 | 807 | * debian/maas-cluster-controller.install: | ||
813 | 808 | - Stop installing obsolete file bootresources.yaml. | ||
814 | 809 | |||
815 | 810 | [ Raphaël Badin ] | ||
816 | 811 | * debian/control: | ||
817 | 812 | - maas-cluster-controller depends on python-pexpect | ||
818 | 813 | * debian/extras/99-maas-sudoers: | ||
819 | 814 | - Add rule 'maas-dhcp-server stop' job. | ||
820 | 815 | |||
821 | 816 | [ Greg Lutostanski ] | ||
822 | 817 | * debian/control: | ||
823 | 818 | - maas-cluster-controller depends on grub-common | ||
824 | 819 | - maas-provisioningserver not maas-cluster-controller depends on | ||
825 | 820 | python-pexpect (LP: #1352273) | ||
826 | 821 | - maas-provisioningserver not maas-cluster-controller depends on | ||
827 | 822 | python-seamicroclient (LP: #1332532) | ||
828 | 823 | |||
829 | 824 | [ Gavin Panella ] | ||
830 | 825 | * debian/maas-cluster-controller.postinst | ||
831 | 826 | - Allow maas-pserv to bind to all IPv6 addresses too. | ||
832 | 827 | |||
833 | 828 | [ Julian Edwards ] | ||
834 | 829 | * debian/maas-region-controller-min.apport | ||
835 | 830 | debian/maas-region-controller-min.logrotate | ||
836 | 831 | debian/maas-region-controller-min.postinst | ||
837 | 832 | debian/maas-region-controller.postinst | ||
838 | 833 | - Change the log file name maas.log to maas-django.log | ||
839 | 834 | * debian/maas-cluster-controller.postinst | ||
840 | 835 | debian/maas-common.install | ||
841 | 836 | debian/maas-region-controller-min.postinst | ||
842 | 837 | debian/maas-region-controller.postinst | ||
843 | 838 | - Install /var/log/maas/maas.log as a syslog file. | ||
844 | 839 | - Ensure logging is set up for upgrades | ||
845 | 840 | |||
846 | 841 | [ Graham Binns ] | ||
847 | 842 | * debian/maas-region-controller.postinst: | ||
848 | 843 | - Add symlinks for squid3, squid-deb-proxy and apache log directories to | ||
849 | 844 | /var/log/maas. | ||
850 | 845 | |||
851 | 846 | [ Andres Rodriguez ] | ||
852 | 847 | * debian/maas-region-controller.postinst: Force symlink creation | ||
853 | 848 | for external logs. | ||
854 | 849 | * debian/maas-region-controller.postinst: Do not change celery's | ||
855 | 850 | rabbitmq password on upgrade that to not lock remote | ||
856 | 851 | Cluster Controllers if upgrading from 1.5+. (LP: #1300507) | ||
857 | 852 | |||
858 | 853 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 21 Aug 2014 14:05:40 -0400 | ||
859 | 854 | |||
860 | 855 | maas (1.5+bzr2252-0ubuntu1) trusty; urgency=medium | ||
861 | 856 | |||
862 | 857 | * New upstream release | ||
863 | 858 | - Add support to install Third Party Drivers. In order for this to be | ||
864 | 859 | used the user will have to go to the Settings page to enable the | ||
865 | 860 | installation of these drivers. (LP: #1305839) | ||
866 | 861 | - Use release images instead of daily. (LP: #1306701) | ||
867 | 862 | - Quote interface name in dhcpd.template, otherwise DHCP server fails | ||
868 | 863 | to start. (LP: #1306335) | ||
869 | 864 | - Fix IntegrityError, when multiple processes are trying to register | ||
870 | 865 | the same component. (LP: #1307415) | ||
871 | 866 | - Add missing armhf commissioning template (LP: #1307780) | ||
872 | 867 | * debian/maas-region-controller-min.install: Install drivers.yaml. | ||
873 | 868 | * debian/maas-region-controller.postinst: No longer show the | ||
874 | 869 | installation note by default. (LP: #1284652) | ||
875 | 870 | |||
876 | 871 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 09 Apr 2014 19:02:00 -0400 | ||
877 | 872 | |||
878 | 873 | maas (1.5+bzr2236-0ubuntu1) trusty; urgency=medium | ||
879 | 874 | |||
880 | 875 | * New upstream bugfix release. | ||
881 | 876 | - Fix simplestreams path to use the new data source path. (LP: #1305118) | ||
882 | 877 | - Fix commissioning_distro_series validation failure. (LP: #1304408) | ||
883 | 878 | - Fix DB migration 0072_remove_ipmi_autodetec. (LP: #1302156) | ||
884 | 879 | - Update documentation. | ||
885 | 880 | * debian/maas-region-controller-min.maas-region-celery.upstart, | ||
886 | 881 | debian/maas-region-controller-min.maas-txlongpoll.upstart: Fix ISO | ||
887 | 882 | install by making sure rabbitmq user is really created if it does not | ||
888 | 883 | exist (LP: #1298559) | ||
889 | 884 | |||
890 | 885 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 09 Apr 2014 18:36:55 -0400 | ||
891 | 886 | |||
892 | 887 | maas (1.5+bzr2230-0ubuntu1) trusty; urgency=medium | ||
893 | 888 | |||
894 | 889 | * New upstream bugfix release: | ||
895 | 890 | - Fix Cluster Controller to handle deprecated config items gracefull. | ||
896 | 891 | Otherwise it fails on upgrades. (LP: #1302772) | ||
897 | 892 | - Fix documentation generation and referencing. (LP: #1302956) | ||
898 | 893 | - Ensure we PXE boot when we turn on SM15K systems. (LP: #1303915) | ||
899 | 894 | |||
900 | 895 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 07 Apr 2014 10:26:51 -0400 | ||
901 | 896 | |||
902 | 897 | maas (1.5+bzr2227-0ubuntu1) trusty; urgency=medium | ||
903 | 898 | |||
904 | 899 | * New upstream bugfix release: | ||
905 | 900 | - Fix catching exceptions raised by | ||
906 | 901 | twisted.conch.ssh.keys.Key.fromString (LP: #1298788) | ||
907 | 902 | - Fix validationg in default NodeGroupInterface.broadcast_ip making it | ||
908 | 903 | optional. (LP: #1299374) | ||
909 | 904 | - Drop install-pxe-bootloader as it conflicts with newer import script. | ||
910 | 905 | - Remove references to old import script. | ||
911 | 906 | - Fix changes that cause overwriting of existing entries. | ||
912 | 907 | - Fix inappropriate ValidationError when defining networks with nested | ||
913 | 908 | (but non-identical) address ranges. (LP: #1299114) | ||
914 | 909 | - Fix issue where if a node does not provide an architecture type on dhcp | ||
915 | 910 | request, or no other boot method is available for that architecture, | ||
916 | 911 | the node still uses pxelinux.0 to boot. (LP: #1300285) | ||
917 | 912 | - Take an advisory lock to prevent concurrent creation of the | ||
918 | 913 | eventloops table. (LP: #1300363) | ||
919 | 914 | - Remove the cloud_images_archive setting, as it conflicts with new | ||
920 | 915 | import script. (LP: #1300587) | ||
921 | 916 | - Add a 'logout confirmation' page. Using this, the logout action is | ||
922 | 917 | protected against CSRF attacks because it uses a POST request, in | ||
923 | 918 | conjunction with Django's CSRF protection feature. (LP: #1298790) | ||
924 | 919 | - Fix cluster listings when dealing with large number of clusters by | ||
925 | 920 | paginating it. (LP: #1301242) | ||
926 | 921 | - Change list_boot_images() so that it can cope with a missing boot | ||
927 | 922 | images directory: this happens if the reporting task runs before the | ||
928 | 923 | images have been imported. (LP: #213984) | ||
929 | 924 | - Fix internal server error on fast path installer. (LP: #1293676) | ||
930 | 925 | - Fix uploading files using maas-cli. (LP: #1187826) | ||
931 | 926 | - Fix SM15k Invalid Power Control and Fix enlisting machines with | ||
932 | 927 | 2.0 api. (LP: #1302818, LP: #1302819) | ||
933 | 928 | |||
934 | 929 | [ Andres Rodriguez ] | ||
935 | 930 | * debian/maas-cluster-controller.install: Install UEFI templates | ||
936 | 931 | * debian/maas-cluster-controller.dirs: Create 'boot-resources' dir. | ||
937 | 932 | |||
938 | 933 | [ Jason Hobbs ] | ||
939 | 934 | * debian/extras/99-maas: Allow access to keyserver.ubuntu.com via | ||
940 | 935 | squid-deb-proxy. | ||
941 | 936 | |||
942 | 937 | [Jeroen Vermeulen] | ||
943 | 938 | * debian/maas-cluster-controller.postinst: | ||
944 | 939 | - Make the tgt config link point to the new boot-resources dir. | ||
945 | 940 | * debian/maas-region-controller-min.dirs: | ||
946 | 941 | - Don't create /var/lib/maas/tftp. | ||
947 | 942 | |||
948 | 943 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 03 Apr 2014 13:45:02 -0400 | ||
949 | 944 | |||
950 | 945 | maas (1.5+bzr2204-0ubuntu1) trusty; urgency=low | ||
951 | 946 | |||
952 | 947 | * New upstream release (LP: #1281881) | ||
953 | 948 | |||
954 | 949 | [ Andres Rodriguez ] | ||
955 | 950 | * debian/maas-region-controller-min.templates: Set installation note to false | ||
956 | 951 | by default. | ||
957 | 952 | * Check rabbitmqctl is present before running commands: | ||
958 | 953 | - debian/maas-region-controller-min.maas-region-celery.upstart. | ||
959 | 954 | - debian/maas-region-controller-min.maas-txlongpoll.upstart. | ||
960 | 955 | * make sure maas_longpoll rabbitmq user is created/with correct password on | ||
961 | 956 | a package reconfigure. | ||
962 | 957 | * debian/maas-dns.postinst: Fix upgrade setup of named.conf.options. | ||
963 | 958 | * debian/maas-cluster-controller.install: Install UEFI templates (LP: #1299143) | ||
964 | 959 | |||
965 | 960 | [ Julian Edwards ] | ||
966 | 961 | * debian/extas/maas: Echo warning to stderr so json stdout is not polluted | ||
967 | 962 | * debian/maas-cluster-controller.postinst: Run upgrade-cluster on each | ||
968 | 963 | upgrade | ||
969 | 964 | * debian/maas-dns.postinst: Call edit_named_options to add a line in | ||
970 | 965 | /etc/bind/named.conf.options that includes the | ||
971 | 966 | /etc/named/maas/named.conf.options.inside.maas file. | ||
972 | 967 | * debian/control: | ||
973 | 968 | - maas-dns depends on python-iscpy | ||
974 | 969 | - maas-cluster-controller depends on python-seamicroclient | ||
975 | 970 | * debian/maas-cluster-controller.install: Install bootresources.yaml | ||
976 | 971 | |||
977 | 972 | [ Dustin Kirkland ] | ||
978 | 973 | * debian/control: LP: #1297097 | ||
979 | 974 | - clean up package descriptions, modernize, and more clearly/simply | ||
980 | 975 | explain what each package does | ||
981 | 976 | - drop "Ubuntu" in front of MAAS, clean up command line/API description | ||
982 | 977 | |||
983 | 978 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 28 Mar 2014 10:43:53 -0400 | ||
984 | 979 | |||
985 | 980 | maas (1.5+bzr1977-0ubuntu1) trusty; urgency=low | ||
986 | 981 | |||
987 | 982 | * New upstream bugfix release. | ||
988 | 983 | - setup.py: Install missing shell snippet | ||
989 | 984 | |||
990 | 985 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 19 Feb 2014 16:31:45 -0500 | ||
991 | 986 | |||
992 | 987 | maas (1.5+bzr1976-0ubuntu1) trusty; urgency=low | ||
993 | 988 | |||
994 | 989 | * New upstream release. | ||
995 | 990 | * debian/maas-cluster-controller.postinst: Make sure upgrades handle | ||
996 | 991 | authbind upgrades too. | ||
997 | 992 | |||
998 | 993 | -- Andres Rodriguez <andreserl@ubuntu.com> Sun, 16 Feb 2014 22:56:36 -0500 | ||
999 | 994 | |||
1000 | 995 | maas (1.5+bzr1951-0ubuntu1) trusty; urgency=low | ||
1001 | 996 | |||
1002 | 997 | * New upstream release | ||
1003 | 998 | * debian/maas-cluster-controller.postinst: Also authbind port 69. | ||
1004 | 999 | * debian/maas-cluster-controller.maas-pserv.upstart: Export MAAS_URL. | ||
1005 | 1000 | |||
1006 | 1001 | -- Andres Rodriguez <andreserl@ubuntu.com> Sat, 15 Feb 2014 16:16:38 -0500 | ||
1007 | 1002 | |||
1008 | 1003 | maas (1.5+bzr1948-0ubuntu2) trusty; urgency=low | ||
1009 | 1004 | |||
1010 | 1005 | * debian/maas-cluster-controller.postinst: Make sure generator on | ||
1011 | 1006 | pserv.yaml is updated on upgrade or reconfigure. (LP: #1273197) | ||
1012 | 1007 | * debian/maas-cluster-controller.maas-pserv.upstart: Make sure maas-pserv | ||
1013 | 1008 | is started with authbind. | ||
1014 | 1009 | |||
1015 | 1010 | -- Andres Rodriguez <andreserl@ubuntu.com> Sat, 15 Feb 2014 13:55:20 -0500 | ||
1016 | 1011 | |||
1017 | 1012 | maas (1.5+bzr1948-0ubuntu1) trusty; urgency=low | ||
1018 | 1013 | |||
1019 | 1014 | * New upstream release. | ||
1020 | 1015 | |||
1021 | 1016 | [ Graham Binns ] | ||
1022 | 1017 | * debian/control: Depends on python-jsonschema. | ||
1023 | 1018 | |||
1024 | 1019 | [ Andres Rodriguez ] | ||
1025 | 1020 | * debian/maas-region-controller-min.posinst: Make txlongpoll.yaml only | ||
1026 | 1021 | readable by the app and not world readeable. | ||
1027 | 1022 | * debian/patches/02-pserv-config.patch: Refreshed. | ||
1028 | 1023 | |||
1029 | 1024 | [ Julian Edwards ] | ||
1030 | 1025 | * debian/extras/maas-cli renamed to debian/extras/maas, and introduce | ||
1031 | 1026 | a deprecation warning in favour of using maas over maas-cli. | ||
1032 | 1027 | * debian/extras/maas renamed to debian/extras/maas-region-admin | ||
1033 | 1028 | * debian/maas-cli.install: install debian/extras/maas | ||
1034 | 1029 | * debian/maas-dns.postinst: Invoke maas-region-admin instead of maas | ||
1035 | 1030 | * debian/maas-region-controller-min.install: install maas-region-admin | ||
1036 | 1031 | instead of maas | ||
1037 | 1032 | * debian/maas-region-controller.postinst: Invoke maas-region-admin instead | ||
1038 | 1033 | of maas | ||
1039 | 1034 | * debian/maas-cli.links: Link from maas to maas-cli for backward compat. | ||
1040 | 1035 | |||
1041 | 1036 | [ Seth Arnold ] | ||
1042 | 1037 | * debian/maas-region-controller-min.postinst: Make sure txlongpoll.yaml | ||
1043 | 1038 | gets correct permissions on upgrade (LP: #1254034) | ||
1044 | 1039 | |||
1045 | 1040 | -- Andres Rodriguez <andreserl@ubuntu.com> Sat, 15 Feb 2014 12:08:23 -0500 | ||
1046 | 1041 | |||
1047 | 1042 | maas (1.5+bzr1909-0ubuntu1) trusty; urgency=low | ||
1048 | 1043 | |||
1049 | 1044 | * New upstream release. | ||
1050 | 1045 | |||
1051 | 1046 | [ Dustin Kirkland ] | ||
1052 | 1047 | * debian/maas-region-controller-min.postinst: Fix typo in sed. Remove | ||
1053 | 1048 | double quotes. (LP: #1274448) | ||
1054 | 1049 | |||
1055 | 1050 | [ Andres Rodriguez ] | ||
1056 | 1051 | * debian/control: Add depends on python-crochet. | ||
1057 | 1052 | * Get rid of dfsg on the versioning as we no longer strip any code from | ||
1058 | 1053 | the orig tarball. | ||
1059 | 1054 | - debian/rules: Do not strip any files out of the tarball. | ||
1060 | 1055 | * debian/patches/*: Refreshed. | ||
1061 | 1056 | |||
1062 | 1057 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 31 Jan 2014 09:38:51 -0500 | ||
1063 | 1058 | |||
1064 | 1059 | maas (1.4+bzr1853+dfsg-0ubuntu1) trusty; urgency=low | ||
1065 | 1060 | |||
1066 | 1061 | * New upstream release | ||
1067 | 1062 | |||
1068 | 1063 | -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 28 Jan 2014 08:41:41 +0000 | ||
1069 | 1064 | |||
1070 | 1065 | maas (1.4+bzr1849+dfsg-0ubuntu1) trusty; urgency=low | ||
1071 | 1066 | |||
1072 | 1067 | * New upstream release. | ||
1073 | 1068 | |||
1074 | 1069 | [ Gavin Panella ] | ||
1075 | 1070 | * debian/control: Remove all dependencies on Avahi and DBUS. | ||
1076 | 1071 | |||
1077 | 1072 | -- Julian Edwards <julian.edwards@canonical.com> Tue, 28 Jan 2014 17:12:22 +1000 | ||
1078 | 1073 | |||
1079 | 1074 | maas (1.4+bzr1820+dfsg-0ubuntu1) trusty; urgency=low | ||
1080 | 1075 | |||
1081 | 1076 | * New upstream Release. | ||
1082 | 1077 | |||
1083 | 1078 | [ Jeroen Vermeulen ] | ||
1084 | 1079 | * Move maas-probe-dhcp from maas-dhcp to python-maas-provisioningserver. | ||
1085 | 1080 | |||
1086 | 1081 | [ Andres Rodriguez ] | ||
1087 | 1082 | * debian/maas-region-controller.postinst: Make sure maas-txlongpoll and | ||
1088 | 1083 | maas-region-celery get restarted. | ||
1089 | 1084 | * debian/control: | ||
1090 | 1085 | - python-maas-provisioningserver Breaks/Replaces for maas-dhcp due to | ||
1091 | 1086 | moving files around packages. | ||
1092 | 1087 | - Suggests ipmitool, libvirt-bin, amtterm. | ||
1093 | 1088 | |||
1094 | 1089 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 15 Jan 2014 00:24:58 -0500 | ||
1095 | 1090 | |||
1096 | 1091 | maas (1.4+bzr1817+dfsg-0ubuntu1) trusty; urgency=low | ||
1097 | 1092 | |||
1098 | 1093 | * New upstream release | ||
1099 | 1094 | |||
1100 | 1095 | [ Andres Rodriguez ] | ||
1101 | 1096 | * debian/maas-dns.postinst: Drop write_dns_config as this is run by | ||
1102 | 1097 | celery jobs. | ||
1103 | 1098 | * debian/maas-region-controller.templates: Rename template to | ||
1104 | 1099 | maas-region-controller-min.templates | ||
1105 | 1100 | * debian/control: Depends on python-amqp; Conflicts on python-librabbitmq. | ||
1106 | 1101 | |||
1107 | 1102 | [ Julian Edwards ] | ||
1108 | 1103 | * New maas-probe-dhcp script to detect DHCP servers | ||
1109 | 1104 | - debian/extras/maas-probe-dhcp: New script | ||
1110 | 1105 | - debian/maas-dhcp.install: Install new maas-probe-dhcp script | ||
1111 | 1106 | - maas-dhcp.lintian-overrides: New maas-probe-dhcp script has no manpage | ||
1112 | 1107 | |||
1113 | 1108 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 15 Jan 2014 00:23:44 -0500 | ||
1114 | 1109 | |||
1115 | 1110 | maas (1.4+bzr1789+dfsg-0ubuntu1) trusty; urgency=low | ||
1116 | 1111 | |||
1117 | 1112 | * New upstream release | ||
1118 | 1113 | |||
1119 | 1114 | [ Jeroen Vermeulen ] | ||
1120 | 1115 | * Keep legacy import_ephemerals config for now. | ||
1121 | 1116 | |||
1122 | 1117 | [ Andres Rodriguez ] | ||
1123 | 1118 | * debian/maas-region-controller.postinst: Allo default-maas-url debconf | ||
1124 | 1119 | option to be preseeded. | ||
1125 | 1120 | * Make use of authbind to allow maas-cluster-celery bind port as non-root. | ||
1126 | 1121 | - debian/control: Depends on authbind for maas-cluster-controller. | ||
1127 | 1122 | - debian/maas-cluster-controller.{postinst,postrm}: Handle creation | ||
1128 | 1123 | and removal of required authbind file. | ||
1129 | 1124 | * Split maas-region-controller into maas-region-controller-min. | ||
1130 | 1125 | - debian/maas-region-controller-min.{postinst,postrm,prerm}: Handle | ||
1131 | 1126 | basic configuration for rsyslogd, squid-deb-proxy, and maas-url. | ||
1132 | 1127 | - debian/control: Depends on maas-region-controller-min, postgresql | ||
1133 | 1128 | and rabbitmq-server for maas-region-controller. | ||
1134 | 1129 | |||
1135 | 1130 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 10 Oct 2013 17:07:51 -0400 | ||
1136 | 1131 | |||
1137 | 1132 | maas (1.4+bzr1693+dfsg-0ubuntu1) saucy; urgency=low | ||
1138 | 1133 | |||
1139 | 1134 | * New Upstream Release (LP: #1218526) | ||
1140 | 1135 | - This new upstream release contains fixes and improvements of the | ||
1141 | 1136 | features approved by the FFe above. | ||
1142 | 1137 | - Fixes commissioning failure on Saucy with 'Failed Test' (LP: #1237364) | ||
1143 | 1138 | - Fixes access of static images over http (LP: #1236544) | ||
1144 | 1139 | * d/maas-cluster-controller.postinst: a2enmod version module (LP: #1236544) | ||
1145 | 1140 | * d/control: Bump depends on python-django to 1.4. (LP: #1236572) | ||
1146 | 1141 | * d/maas-dhcp.postinst: Fail gracefully if apparmor_parser fails, allowing | ||
1147 | 1142 | to install maas-dhcp during an ISO install. (LP: #1236786) | ||
1148 | 1143 | |||
1149 | 1144 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 04 Oct 2013 12:33:05 -0400 | ||
1150 | 1145 | |||
1151 | 1146 | maas (1.4+bzr1656+dfsg-0ubuntu2) saucy; urgency=low | ||
1152 | 1147 | |||
1153 | 1148 | * debian/control: Recommends on maas-dns instead of Depends for region | ||
1154 | 1149 | because maas-dns needs the region installed first. | ||
1155 | 1150 | |||
1156 | 1151 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 03 Oct 2013 10:36:20 -0400 | ||
1157 | 1152 | |||
1158 | 1153 | maas (1.4+bzr1656+dfsg-0ubuntu1) saucy; urgency=low | ||
1159 | 1154 | |||
1160 | 1155 | [ Andres Rodriguez ] | ||
1161 | 1156 | * New upstream bugfix release. | ||
1162 | 1157 | - Respect filters for ephemerals_script.py. | ||
1163 | 1158 | * debian/control: Depends on ubuntu-cloudimage-keyring instead of | ||
1164 | 1159 | ubuntu-cloud-keyring; depends on python-distro-info. | ||
1165 | 1160 | * debian/control: Remove suggests on maas-dhcp and maas-dns as they are | ||
1166 | 1161 | now dependencies. | ||
1167 | 1162 | |||
1168 | 1163 | [ Scott Moser ] | ||
1169 | 1164 | * debian/control: Bump depends on isc-dhcp-server to 4.2.4 | ||
1170 | 1165 | * debian/maas-dhcp.maas-dhcp-server.upstart: Change ownership of leases | ||
1171 | 1166 | file to root:root, and run the daemon as dhcpd:dhcpd. | ||
1172 | 1167 | |||
1173 | 1168 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 01 Oct 2013 15:26:34 -0400 | ||
1174 | 1169 | |||
1175 | 1170 | maas (1.4+bzr1655+dfsg-0ubuntu1) saucy; urgency=low | ||
1176 | 1171 | |||
1177 | 1172 | * New Upstream release. (LP: #1218526) | ||
1178 | 1173 | * debian/control: | ||
1179 | 1174 | - Depends on python-djorm-ext-pgarray, python-curtin, | ||
1180 | 1175 | python-simplestreams, ubuntu-cloud-keyring. | ||
1181 | 1176 | - Depends on maas-dns, maas-dhcp to get them seeded and | ||
1182 | 1177 | into main (LP: #1227353) | ||
1183 | 1178 | |||
1184 | 1179 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 28 Aug 2013 11:17:44 -0400 | ||
1185 | 1180 | |||
1186 | 1181 | maas (1.4+bzr1551+dfsg-0ubuntu1) saucy; urgency=low | ||
1187 | 1182 | |||
1188 | 1183 | * New upstream release | ||
1189 | 1184 | |||
1190 | 1185 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 15 Aug 2013 16:20:41 -0400 | ||
1191 | 1186 | |||
1192 | 1187 | maas (1.4+bzr1548+dfsg-0ubuntu1) saucy; urgency=low | ||
1193 | 1188 | |||
1194 | 1189 | * New upstream release | ||
1195 | 1190 | |||
1196 | 1191 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 18 Jul 2013 10:15:10 -0400 | ||
1197 | 1192 | |||
1198 | 1193 | maas (1.4+bzr1539+dfsg-0ubuntu1) saucy; urgency=low | ||
1199 | 1194 | |||
1200 | 1195 | * New upstream release | ||
1201 | 1196 | * Symlink apache2 config into /etc/apache2/conf-enabled/ instead of | ||
1202 | 1197 | /etc/apache2/conf.d as apache2.4 no longer supports the latter. | ||
1203 | 1198 | - debian/maas-cluster-controller.{postinst,postrm} | ||
1204 | 1199 | - debian/maas-region-controller.{postinst,postrm} | ||
1205 | 1200 | * debian/control: Bump Standards-Version to 3.9.4. | ||
1206 | 1201 | * debian/maas-cluster-controller.lintian-overrides: Remove unneeded | ||
1207 | 1202 | override and add a new one. | ||
1208 | 1203 | * debian/maas-region-controller.lintian-overrides: Add extra overrides. | ||
1209 | 1204 | |||
1210 | 1205 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 03 Jul 2013 17:11:02 -0400 | ||
1211 | 1206 | |||
1212 | 1207 | maas (1.4+bzr1538+dfsg-0ubuntu1) saucy; urgency=low | ||
1213 | 1208 | |||
1214 | 1209 | * New upstream release | ||
1215 | 1210 | * debian/patches/04-setup-dont-user-list-snippets.patch: Drop. Merged | ||
1216 | 1211 | Upstream. | ||
1217 | 1212 | |||
1218 | 1213 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 13 Jun 2013 20:06:35 -0400 | ||
1219 | 1214 | |||
1220 | 1215 | maas (1.4+bzr1527+dfsg-0ubuntu1) saucy; urgency=low | ||
1221 | 1216 | |||
1222 | 1217 | * debian/patches/04-setup-dont-user-list-snippets.patch: Drop importing | ||
1223 | 1218 | maasserver modules to list snippets in favor to using glob. Otherwise | ||
1224 | 1219 | we would have to add various non necessary Build-Dependencies. | ||
1225 | 1220 | |||
1226 | 1221 | [ Jeroen Vermeulen ] | ||
1227 | 1222 | * Install templates into /etc/maas/templates/. | ||
1228 | 1223 | |||
1229 | 1224 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 03 Jun 2013 17:59:31 -0400 | ||
1230 | 1225 | |||
1231 | 1226 | maas (1.4+bzr1505+dfsg-0ubuntu1) saucy; urgency=low | ||
1232 | 1227 | |||
1233 | 1228 | * New upstream release | ||
1234 | 1229 | |||
1235 | 1230 | [ Steve Langasek ] | ||
1236 | 1231 | * Add missing dependency on iproute to maas-region-controller, for use of | ||
1237 | 1232 | /sbin/ip in postinst. | ||
1238 | 1233 | |||
1239 | 1234 | [ Julian Edwards ] | ||
1240 | 1235 | * debian/maas-dhcp.maas-dhcp-server.upstart: | ||
1241 | 1236 | - Detect 12.04 as the host OS and install with correct permissions. This | ||
1242 | 1237 | allows the same packaging to be used in the 12.04 backport. | ||
1243 | 1238 | |||
1244 | 1239 | [ Andres Rodriguez ] | ||
1245 | 1240 | * Update packaging to support FPI: | ||
1246 | 1241 | - debian/control: Depends on apache2 for maas-cluster-controller. | ||
1247 | 1242 | - debian/maas-cluster-controller.install: Install http config file. | ||
1248 | 1243 | - debian/maas-cluster-controller.{postinst,postrm}: Handle symlink creation | ||
1249 | 1244 | and deletion. | ||
1250 | 1245 | * debian/maas-region-controller.install: Install preseeds in | ||
1251 | 1246 | etc/maas/preseeds. (LP: #1073463) | ||
1252 | 1247 | |||
1253 | 1248 | [ Jeroen Vermeulen ] | ||
1254 | 1249 | * In the source tree, /etc/maas/pserv.yaml has moved from etc/ to etc/maas/. | ||
1255 | 1250 | * Install templates into /etc/maas/templates/. | ||
1256 | 1251 | |||
1257 | 1252 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 03 Jun 2013 16:53:14 -0400 | ||
1258 | 1253 | |||
1259 | 1254 | maas (1.3+bzr1455+dfsg-0ubuntu1) raring; urgency=low | ||
1260 | 1255 | |||
1261 | 1256 | * New upstream bugfix release. | ||
1262 | 1257 | - Fixes and returns the 'resource_url' with the 'canonical' url for | ||
1263 | 1258 | a file that is fetched using the API (LP: #1154142) | ||
1264 | 1259 | |||
1265 | 1260 | [ Andres Rodriguez ] | ||
1266 | 1261 | * debian/control: | ||
1267 | 1262 | - Change Conflicts/Replaces for Breaks/Replaces. | ||
1268 | 1263 | - Conflicts on tftpd-hpa and dnsmasq. | ||
1269 | 1264 | - Do not pre-depends, but Depends on ${misc:Depends} for 'maas'. | ||
1270 | 1265 | |||
1271 | 1266 | [ Steve Langasek ] | ||
1272 | 1267 | * postinst scripts are never called with 'reconfigure' as the script | ||
1273 | 1268 | argument. Remove references to this (mythical) invocation. | ||
1274 | 1269 | * always call 'set -e' from maintainer scripts instead of passing 'sh -e' | ||
1275 | 1270 | as the interpreter, so that scripts will behave correctly when run via | ||
1276 | 1271 | 'sh -x'. | ||
1277 | 1272 | * invoke-rc.d is never allowed to not exist - simplify scripts (and make | ||
1278 | 1273 | them better policy-compliant) by invoking unconditionally. (The only | ||
1279 | 1274 | possible exception is in the postrm, where it's *theoretically* possible | ||
1280 | 1275 | for invoke-rc.d to be missing if the user has completely stripped | ||
1281 | 1276 | down their system; that's a fairly unreasonable corner case, but we | ||
1282 | 1277 | might as well be correct if it ever happens.) | ||
1283 | 1278 | * db_get+db_set is a no-op; don't call db_set to push back a value we just | ||
1284 | 1279 | got from db_get. | ||
1285 | 1280 | * Omit superfluous calls to 'exit 0' at the end of each script. | ||
1286 | 1281 | * Remove maas-cluster-controller prerm script, which called debconf for no | ||
1287 | 1282 | reason. | ||
1288 | 1283 | * Don't invoke debconf in the postrm script either, debhelper already does | ||
1289 | 1284 | this for us. | ||
1290 | 1285 | * Other miscellaneous maintainer script fixes | ||
1291 | 1286 | * debian/maas-common.postinst: call adduser and addgroup unconditionally; | ||
1292 | 1287 | the tools are already designed to DTRT, we don't need to check for the | ||
1293 | 1288 | user/group existence before calling them nor should we worry about | ||
1294 | 1289 | calling them only once on first install. | ||
1295 | 1290 | * debian/maas-common.postrm: delete the maas group, not just the user, | ||
1296 | 1291 | as the comment in the code implies we should do. | ||
1297 | 1292 | |||
1298 | 1293 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 19 Mar 2013 15:38:22 -0400 | ||
1299 | 1294 | |||
1300 | 1295 | maas (1.3+bzr1452+dfsg-0ubuntu1) raring; urgency=low | ||
1301 | 1296 | |||
1302 | 1297 | * New upstream release. | ||
1303 | 1298 | - MAAS file storage mechanism is shifting from a single shared | ||
1304 | 1299 | namespace to a per-user namespace. Operators of the majority | ||
1305 | 1300 | of MAAS systems will not notice any change. However, operators | ||
1306 | 1301 | of the most complex installations may find that a new | ||
1307 | 1302 | "shared-environment" user is created, and that some resources | ||
1308 | 1303 | are reassigned to it, such as API credentials and SSH public | ||
1309 | 1304 | keys. This provides a transitional environment that mimics the | ||
1310 | 1305 | behaviour of a shared namespace. | ||
1311 | 1306 | |||
1312 | 1307 | [ Raphaël Badin ] | ||
1313 | 1308 | * debian/control: maas-region-controller depends on bind9utils. | ||
1314 | 1309 | (LP: #1103195) | ||
1315 | 1310 | * debian/maas-dns.postinst: Call write_dns_config. | ||
1316 | 1311 | (LP: #1085865). | ||
1317 | 1312 | * debian/maas-cluster-controller.postinst: Fix the name of the config | ||
1318 | 1313 | file (/etc/maas/pserv.yaml and not /etc/maas/pserv.conf) | ||
1319 | 1314 | (LP: #1083542). | ||
1320 | 1315 | * debian/extras/99-maas-sudoers: Add 'SETENV:' to sudo rule | ||
1321 | 1316 | to allow preserving the environment when running | ||
1322 | 1317 | /usr/sbin/maas-import-pxe-files via sudo. | ||
1323 | 1318 | * debian/maas-dns.postinst: fix permissions and group ownership of | ||
1324 | 1319 | file /etc/bind/maas/named.conf.rndc.maas. (LP: #1066935) | ||
1325 | 1320 | * debian/control: Remove the dependency of maas-cluster-controller | ||
1326 | 1321 | on rabbitmq-server. (LP: #1072744) | ||
1327 | 1322 | * debian/extras/99-maas-sudoers: Add sudo rule for script | ||
1328 | 1323 | /usr/sbin/maas-import-pxe-files. | ||
1329 | 1324 | * debian/maas-cluster-controller.install: Removed commissioning-user-data | ||
1330 | 1325 | script. | ||
1331 | 1326 | |||
1332 | 1327 | [ Julian Edwards ] | ||
1333 | 1328 | * debian/maas-region-controller.install: Remove installation of maas-gc; it | ||
1334 | 1329 | is no longer required as upstream no longer stores files in the filesystem. | ||
1335 | 1330 | (LP: #1069734) | ||
1336 | 1331 | * debian/maas-cluster-controller.postinst: Ensure that /etc/maas/pserv.yaml | ||
1337 | 1332 | is updated when reconfiguring. (LP: #1081212) | ||
1338 | 1333 | |||
1339 | 1334 | [ Jeroen Vermeulen ] | ||
1340 | 1335 | * debian/maas-cluster-controller.install: Install import scripts. | ||
1341 | 1336 | * debian/maas-cluster-controller.postinst: Configure tgt (the iSCSI server) | ||
1342 | 1337 | so the import script can install files to it. | ||
1343 | 1338 | * debian/maas-cluster-controller.postrm: Clean up tgt config. | ||
1344 | 1339 | * debian/maas-region-controller.install: Move import scripts out to the | ||
1345 | 1340 | cluster controller, and drop the maas-import-isos compatibility script. | ||
1346 | 1341 | * debian/maas-region-controller.postinst: Remove tgt config. | ||
1347 | 1342 | * debian/maas-region-controller.postrm: Remove tgt config cleanup. | ||
1348 | 1343 | * Bump code revision to include latest user_data.template fixes. | ||
1349 | 1344 | |||
1350 | 1345 | [ Gavin Panella ] | ||
1351 | 1346 | * debian/extras/99-maas: squashfs image download is no longer needed. | ||
1352 | 1347 | * debian/maas-cluster-controller.install: maas-import-squashfs and its | ||
1353 | 1348 | configuration file are no longer part of upstream. | ||
1354 | 1349 | * debian/maas-cluster-controller.install: The maas-import-pxe-files cron | ||
1355 | 1350 | task is no longer used. | ||
1356 | 1351 | * debian/maas-cluster-controller.postinst: Remove leading comment | ||
1357 | 1352 | markers from the 'generator' line in pserv.yaml. | ||
1358 | 1353 | |||
1359 | 1354 | [ Andres Rodriguez ] | ||
1360 | 1355 | * debian/control: | ||
1361 | 1356 | - maas-cluster-controller Conflicts with tftpd-hpa (LP: #1076028) | ||
1362 | 1357 | - maas-dns: Conflicts with dnsmasq | ||
1363 | 1358 | - maas-cluster-controller Conflicts/Replaces maas-region-controller as | ||
1364 | 1359 | import scripts are no longer shipped in the region. | ||
1365 | 1360 | - debian/control: Depends on distro-info for maas-cluster-controller | ||
1366 | 1361 | instead of maas-region-controller (LP: #1103194) | ||
1367 | 1362 | * debian/maas-cluster-controller.config: If URL has been detected, | ||
1368 | 1363 | add /MAAS if it doesn't contain it. This helps upgrades from versions | ||
1369 | 1364 | where DEFAULT_MAAS_URL didn't use /MAAS. | ||
1370 | 1365 | |||
1371 | 1366 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 04 Mar 2013 11:49:44 -0500 | ||
1372 | 1367 | |||
1373 | 1368 | maas (0.1+bzr1269+dfsg-0ubuntu1) quantal-proposed; urgency=low | ||
1374 | 1369 | |||
1375 | 1370 | * New upstream bugfix release | ||
1376 | 1371 | - Fixes commissioning failing to set memory attribute. (LP: #1064638) | ||
1377 | 1372 | - Fixes node listing by adding pagination (LP: #1064672) | ||
1378 | 1373 | - Changes default bind rndc key which breaks initscripts (LP: #1066938) | ||
1379 | 1374 | - Fixes invalid DNS config once node is enlisted (LP: #1066958) | ||
1380 | 1375 | - Reference documentation link to correct URL (LP: #1067261) | ||
1381 | 1376 | |||
1382 | 1377 | [ Andres Rodriguez ] | ||
1383 | 1378 | * debian/rules: Change upstream branch. | ||
1384 | 1379 | |||
1385 | 1380 | [ Gavin Panella ] | ||
1386 | 1381 | * debian/maas-dns.postinst: Remove MAAS-related include lines from named's | ||
1387 | 1382 | config before adding a new one (LP: #1066929) | ||
1388 | 1383 | |||
1389 | 1384 | [ Raphael Badin ] | ||
1390 | 1385 | * debian/extras/maas-region-celeryd: Remove whitespace that affects DNS | ||
1391 | 1386 | rabbitmq queue. (LP: #1067929) | ||
1392 | 1387 | |||
1393 | 1388 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 16 Oct 2012 10:31:37 -0400 | ||
1394 | 1389 | |||
1395 | 1390 | maas (0.1+bzr1264+dfsg-0ubuntu2) quantal; urgency=low | ||
1396 | 1391 | |||
1397 | 1392 | * Fix MAAS not working after CD/preseed install (LP: #1065763) | ||
1398 | 1393 | - debian/extras/maas-region-celeryd: Add wrapper to run celery from | ||
1399 | 1394 | the upstart job. | ||
1400 | 1395 | - debian/extras/maas-region-controller.maas-region-celery.upstart: Create | ||
1401 | 1396 | rabbitmq user if it does not exists. | ||
1402 | 1397 | * debian/control: Remove unneeded deps on python-txtftp for some binary pkgs. | ||
1403 | 1398 | * debian/maas-region-controller.postinst: Minor fix referencing variable. | ||
1404 | 1399 | |||
1405 | 1400 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 11 Oct 2012 17:38:08 -0400 | ||
1406 | 1401 | |||
1407 | 1402 | maas (0.1+bzr1264+dfsg-0ubuntu1) quantal; urgency=low | ||
1408 | 1403 | |||
1409 | 1404 | * New upstream release. | ||
1410 | 1405 | |||
1411 | 1406 | [ Raphaël Badin ] | ||
1412 | 1407 | * debian/maas-region-controller.postinst: Enable proxy_http module. | ||
1413 | 1408 | * debian/maas-cluster-controller.postinst: Create /var/lib/maas. (LP: #1065062) | ||
1414 | 1409 | |||
1415 | 1410 | [ Andres Rodriguez ] | ||
1416 | 1411 | * Install maas-provision with python-maas-provisioningserver (LP: #1065171): | ||
1417 | 1412 | - debian/python-maas-provisioningserver.install: Install | ||
1418 | 1413 | - debian/control: Add Conflicts/Replaces with maas-cluster-controller | ||
1419 | 1414 | to handle upgrades. | ||
1420 | 1415 | * debian/patches/04-fix-ipmi-enlistment.patch: Drop. Merged Upstream. | ||
1421 | 1416 | * debian/control: Depends on maas-region-controller for maas-dns. | ||
1422 | 1417 | * debian/maas-region-controller.postinst: Set the correct host for | ||
1423 | 1418 | BROKER_URL (LP: #1065080) | ||
1424 | 1419 | * Handle creation of user/group in maas-common. | ||
1425 | 1420 | * debian/maas-region-controller.config: Always source dbconfig scripts. | ||
1426 | 1421 | |||
1427 | 1422 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 10 Oct 2012 11:17:21 -0400 | ||
1428 | 1423 | |||
1429 | 1424 | maas (0.1+bzr1243+dfsg-0ubuntu3) quantal; urgency=low | ||
1430 | 1425 | |||
1431 | 1426 | * 04-fix-ipmi-enlistment.patch: retry maas-enlist without power parameters | ||
1432 | 1427 | on failure. This allows enlistment to continue working with Precise | ||
1433 | 1428 | ephemeral images before the Precise SRU for maas-enlist lands. | ||
1434 | 1429 | (LP: #1064922). | ||
1435 | 1430 | |||
1436 | 1431 | -- Robie Basak <robie.basak@canonical.com> Wed, 10 Oct 2012 13:29:16 +0000 | ||
1437 | 1432 | |||
1438 | 1433 | maas (0.1+bzr1243+dfsg-0ubuntu2) quantal; urgency=low | ||
1439 | 1434 | |||
1440 | 1435 | * debian/patches/99-ipmi-user-too-long.patch: Fix username too long for | ||
1441 | 1436 | IPMI user created on enlistment (LP: #1064832) | ||
1442 | 1437 | |||
1443 | 1438 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 10 Oct 2012 01:00:29 -0400 | ||
1444 | 1439 | |||
1445 | 1440 | maas (0.1+bzr1243+dfsg-0ubuntu1) quantal; urgency=low | ||
1446 | 1441 | |||
1447 | 1442 | * New upstream release. (LP: #1064596) | ||
1448 | 1443 | * debian/patches/99-temporary-fix-constraints.patch: Dropped. | ||
1449 | 1444 | * debian/control: | ||
1450 | 1445 | - ${python:Depends} for maas-common. | ||
1451 | 1446 | - Add missing Depends for python-maas-provisioningserver (LP: #1064542) | ||
1452 | 1447 | * debian/maas-cluster-controller.postinst: Create /var/log/maas if it | ||
1453 | 1448 | doesn't exist (LP: #1064539) | ||
1454 | 1449 | |||
1455 | 1450 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 08 Oct 2012 17:02:56 -0400 | ||
1456 | 1451 | |||
1457 | 1452 | maas (0.1+bzr1223+dfsg-0ubuntu1) quantal; urgency=low | ||
1458 | 1453 | |||
1459 | 1454 | * New upstream release. (LP: #1062518) | ||
1460 | 1455 | |||
1461 | 1456 | [ Julian Edwards ] | ||
1462 | 1457 | * Split packaging of 'maas' into maas-{region,cluster}-controller | ||
1463 | 1458 | - debian/control: Update accordingly. | ||
1464 | 1459 | - debian/*.install: Move files accordingly | ||
1465 | 1460 | - debian/*.{postinst,postrm,preinst}: Move files accordingly. | ||
1466 | 1461 | * Ensure isc-dhcp-server is disabled when installing maas-dhcp. | ||
1467 | 1462 | * Ensure maas-dns creates the maas user before trying to chown files. | ||
1468 | 1463 | * Make maas-cluster-controller autoconfigure itself when upgrading from the | ||
1469 | 1464 | old maas package. (LP: #1059416) | ||
1470 | 1465 | * Add missing prerm file for maas-cluster-controller so that .pyc files | ||
1471 | 1466 | are cleaned up. (LP: #1059973) | ||
1472 | 1467 | |||
1473 | 1468 | [ Raphaël Badin ] | ||
1474 | 1469 | * Install maas_local_celeryconfig.py in /etc/maas and symlink to | ||
1475 | 1470 | /usr/share/maas. | ||
1476 | 1471 | * debian/maas.postinst: Create rabbitmq celery user/vhost. | ||
1477 | 1472 | * debian/maas.postinst: Update BROKER_URL in maas_local_celeryconfig.py. | ||
1478 | 1473 | * Use maas_local_celeryconfig_cluster.py as the local celery | ||
1479 | 1474 | configuration file for the cluster worker. | ||
1480 | 1475 | * debian/maas-region-controller.maas-region-celery.upstart: Add region | ||
1481 | 1476 | worker upstart script. | ||
1482 | 1477 | * Rename cluster worker upstart script into | ||
1483 | 1478 | maas-cluster-controller.maas-clluster-celery.upstart. | ||
1484 | 1479 | * maas-cluster-controller.maas-celery.upstart: use "celeryconfig_cluster" | ||
1485 | 1480 | as the Celery config module. | ||
1486 | 1481 | * debian/maas-common.install: Install celeryconfig_common.py. | ||
1487 | 1482 | * debian/maas-cluster-controller.install: Install celeryconfig_cluster.py. | ||
1488 | 1483 | * debian/maas-region-controller.install: Install celeryconfig.py. | ||
1489 | 1484 | * Split celery config into cluster and region configs. | ||
1490 | 1485 | * Add region celeryd upstart config. | ||
1491 | 1486 | * Define CELERY_CONFIG_MODULE in | ||
1492 | 1487 | maas-cluster-controller.maas-cluster-celery.upstart | ||
1493 | 1488 | |||
1494 | 1489 | [ Jeroen Vermeulen ] | ||
1495 | 1490 | * Make maas_local_celery_config.py non-world readable. | ||
1496 | 1491 | * Make maas_local_celeryconfig_cluster.py non-world readable. | ||
1497 | 1492 | * Set root:maas ownership of local cluster config only *after* | ||
1498 | 1493 | the maas user/group have been created | ||
1499 | 1494 | |||
1500 | 1495 | [ Andres Rodriguez ] | ||
1501 | 1496 | * debian/maas.postinst: | ||
1502 | 1497 | - Always restart apache2. | ||
1503 | 1498 | - Handle upgrades for new upstream release. | ||
1504 | 1499 | - Handle upgrades for celery rabbitmq worker. | ||
1505 | 1500 | * Add binary package to install client tool. | ||
1506 | 1501 | - debian/extras/maas-cli: Add binary. | ||
1507 | 1502 | - debian/maas-cli.install: Add. Install maascli and apiclient. | ||
1508 | 1503 | - debian/control: Add binary package. | ||
1509 | 1504 | * debian/control: | ||
1510 | 1505 | - Depends on freeipmi-tools instead of ipmitool. | ||
1511 | 1506 | - Conflicts/Replaces on maas for python-maas-client. | ||
1512 | 1507 | - Depends on python-netifaces, python-lxml. | ||
1513 | 1508 | * Add python-maas-client binary package: | ||
1514 | 1509 | - debian/python-maas-client.install: Add. Install 'apiclient' python module. | ||
1515 | 1510 | - debian/control: Add package. python-django-maas and maas-cli now | ||
1516 | 1511 | Depend on it. | ||
1517 | 1512 | * debian/rules: Install maas-dhcp-server upstart job. | ||
1518 | 1513 | * debian/maas.postrm: Remove celery worker rabbitmq user and host. | ||
1519 | 1514 | * debian/extras/99-maas-sudoers: Add for maas-dhcp-server upstart job | ||
1520 | 1515 | instead of isc-dhcp-server (LP: #1055951) | ||
1521 | 1516 | * debian/maas-region-controller.postinst: Cleanup upgrade rules. | ||
1522 | 1517 | * debian/maas-cluster-controller.postinst: Fix 'local' usage. | ||
1523 | 1518 | * debian/maas-common.install: Install celeryconfig in appropriate location. | ||
1524 | 1519 | * debian/maas-cluster-controller.postrm: Add and delete maas user. | ||
1525 | 1520 | * debian/maas-dhcp.postinst: Stop isc-dhcp-server not isc_dhcp_server. | ||
1526 | 1521 | * debian/maas-region-controller.postinst: | ||
1527 | 1522 | - Always update passwords on upgrade. No longer check versioning. (LP: #1060094). | ||
1528 | 1523 | - Add MAAS server to allowed mirror in squid-deb-proxy | ||
1529 | 1524 | - Source dbconfig conf file for maas-region-controller on upgrade because | ||
1530 | 1525 | it writes a new config file and no longer preservers the previous password. | ||
1531 | 1526 | * debian/maas-cluster-controller.maas-cluster-celery.upstart: Remove set{uid/gid}. | ||
1532 | 1527 | * debian/maas-region-controller.install: Install maas-import-squashfs | ||
1533 | 1528 | * Handle removal of non existant files (LP: #1059556): | ||
1534 | 1529 | - debian/maintscript: Added to handle removal of conffiles. | ||
1535 | 1530 | - debian/control: Add Pre-depends and bump debhelper version. | ||
1536 | 1531 | * update po files for the templates. | ||
1537 | 1532 | * debian/extras/99-maas: Install in usr/share/maas/conf and symlink to the | ||
1538 | 1533 | appropriate etc dir. | ||
1539 | 1534 | * debian/maas-cluster-controller.config: Source debconf at the beginning of the | ||
1540 | 1535 | script. (LP: #1063857) | ||
1541 | 1536 | * debian/patches/99-temporary-fix-constraints.patch: Fix constraints maaping | ||
1542 | 1537 | when deploying with juju. Temporary until it gets merged upstream | ||
1543 | 1538 | |||
1544 | 1539 | [ Robie Basak ] | ||
1545 | 1540 | * Add maas-cluster-controller dependency on uuid-runtime, needed for uuidgen | ||
1546 | 1541 | by postinst. | ||
1547 | 1542 | |||
1548 | 1543 | [ Scott Moser ] | ||
1549 | 1544 | * debian/maas-dhcp.{install,apparmor,postrm} install apparmor profile into | ||
1550 | 1545 | /etc/apparmor.d/dhcpd.d (LP: #1049177), and update apparmor profile for | ||
1551 | 1546 | /usr/sbin/dhcpd on install/remove | ||
1552 | 1547 | * get the ip address for the dhcp server in config | ||
1553 | 1548 | |||
1554 | 1549 | [ Diogo Matsubara ] | ||
1555 | 1550 | * Add initial tests to be run by autotests: | ||
1556 | 1551 | - debian/control: XS-Testsuite: autopkgtest | ||
1557 | 1552 | - debian/tests/control: Add | ||
1558 | 1553 | - debian/tests/maas-package-test: Add | ||
1559 | 1554 | - tests/maas-integration.py: Add | ||
1560 | 1555 | |||
1561 | 1556 | -- Andres Rodriguez <andreserl@ubuntu.com> Mon, 08 Oct 2012 13:10:23 -0400 | ||
1562 | 1557 | |||
1563 | 1558 | maas (0.1+bzr971+dfsg-0ubuntu2) quantal; urgency=low | ||
1564 | 1559 | |||
1565 | 1560 | * debian/extras/99-maas-sudoers: Add missing rule for | ||
1566 | 1561 | maas-provision. (LP: #1046397) | ||
1567 | 1562 | |||
1568 | 1563 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 05 Sep 2012 12:36:58 -0400 | ||
1569 | 1564 | |||
1570 | 1565 | maas (0.1+bzr971+dfsg-0ubuntu1) quantal; urgency=low | ||
1571 | 1566 | |||
1572 | 1567 | * New upstream release (LP: #1044367) | ||
1573 | 1568 | |||
1574 | 1569 | [ Julian Edwards ] | ||
1575 | 1570 | * Fix 02-pserv-config.patch to handle new default tftp directory | ||
1576 | 1571 | |||
1577 | 1572 | [ Andres Rodriguez ] | ||
1578 | 1573 | * debian/maas.postinst: | ||
1579 | 1574 | - include '/MAAS' for DEFAULT_MAAS_URL.(LP: #1033956) | ||
1580 | 1575 | - Update bzr version to safely upgrade. | ||
1581 | 1576 | * Add maas-dns package that configures DNS in MAAS (LP: #1030860) | ||
1582 | 1577 | * Remove cobbler related bits | ||
1583 | 1578 | - debian/maas.postinst: Drop cobbler configuration | ||
1584 | 1579 | - debian/maas.install: Drop installation of snippets/preseeds. | ||
1585 | 1580 | - debian/control: | ||
1586 | 1581 | + Drop Depends on maas-provision. (LP: #975473) | ||
1587 | 1582 | + Depends on bind9utils. | ||
1588 | 1583 | + Depends on python-lockfile (LP: #1037400) | ||
1589 | 1584 | Add necessary Conflicts/Replaces. Add conflicts to tftpd-hpa and dnsmasq. | ||
1590 | 1585 | Depends on isc-dhcp-server for maas-dhcp, and syslinux-common. | ||
1591 | 1586 | - debian/extras/maas-provision: Add missing "$@" (LP: #1040462) | ||
1592 | 1587 | - debian/patches: | ||
1593 | 1588 | + 02-pserv-config.patch: Updated. Do not patch cobbler related bits. | ||
1594 | 1589 | patch tftp config to default. | ||
1595 | 1590 | * maas-dhcp: Re-add to handle initial configuration of MAAS DHCP server. | ||
1596 | 1591 | * Allow restart of 'isc-dhcp-server' by adding a sudoers file: | ||
1597 | 1592 | - debian/extras/99-maas-sudoers: Added. | ||
1598 | 1593 | - debian/maas.install: Install 99-maas-sudoers | ||
1599 | 1594 | * Minor improvements on dbconfig-common handling: | ||
1600 | 1595 | - debian/maas.config: Only call dbc_go when scripts present. | ||
1601 | 1596 | - debian/maas.postrm: Only call dbc_go when config file exists. | ||
1602 | 1597 | * debian/maas.maas-celery.upstart: Enable Beat and set scheduler db file. | ||
1603 | 1598 | * debian/maas-dns.postinst: Set correct permissions. (LP: #1042868) | ||
1604 | 1599 | * debian/maas-dhcp.config: | ||
1605 | 1600 | - Ask whether we want to enable DHCP (LP: #1044229) | ||
1606 | 1601 | - Add debconf question for network interfaces | ||
1607 | 1602 | * debian/maas.prerm: Stop services before removing database (LP: #1044559) | ||
1608 | 1603 | |||
1609 | 1604 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 02 Aug 2012 09:01:43 -0400 | ||
1610 | 1605 | |||
1611 | 1606 | maas (0.1+bzr777+dfsg-0ubuntu1) quantal-proposed; urgency=low | ||
1612 | 1607 | |||
1613 | 1608 | * New upstream release | ||
1614 | 1609 | * Only run 'maas' command as root. (LP: #974046) | ||
1615 | 1610 | - debian/extras/maas: Check id. | ||
1616 | 1611 | - debian/maas.install: Install in 'sbin'. | ||
1617 | 1612 | * debian/maas.postinst: | ||
1618 | 1613 | - restart apache2 after everything gets processed. | ||
1619 | 1614 | - Update version to handle upgrades. | ||
1620 | 1615 | * debian/extras/maas-provision: Add wrapper to access 'maasprovisiong' | ||
1621 | 1616 | command line. | ||
1622 | 1617 | * debian/patches/99_temporary_fix_path.patch: Dropped. No longer needed. | ||
1623 | 1618 | |||
1624 | 1619 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 17 Jul 2012 08:28:36 -0400 | ||
1625 | 1620 | |||
1626 | 1621 | maas (0.1+bzr745+dfsg-0ubuntu2) quantal; urgency=low | ||
1627 | 1622 | |||
1628 | 1623 | * debian/control: Build-Dep on python-django instead of | ||
1629 | 1624 | python-django-configglue | ||
1630 | 1625 | |||
1631 | 1626 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 17 Jul 2012 08:24:25 -0400 | ||
1632 | 1627 | |||
1633 | 1628 | maas (0.1+bzr745+dfsg-0ubuntu1) quantal; urgency=low | ||
1634 | 1629 | |||
1635 | 1630 | * New Upstream Release | ||
1636 | 1631 | * debian/patches: | ||
1637 | 1632 | - 99_power_fixes.patch: Dropped. Merged Upstream. | ||
1638 | 1633 | - 99_enums_js.patch: Dropped. No longer needed. | ||
1639 | 1634 | * Automatically build enums.js: | ||
1640 | 1635 | - debian/control: Build-Depends on python-django-configglue | ||
1641 | 1636 | - debian/rules: Build and install enums.js. | ||
1642 | 1637 | * debian/maas.postinst: Update version to handle upgrades | ||
1643 | 1638 | |||
1644 | 1639 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 12 Jul 2012 16:34:11 -0400 | ||
1645 | 1640 | |||
1646 | 1641 | maas (0.1+bzr740+dfsg-0ubuntu1) quantal; urgency=low | ||
1647 | 1642 | |||
1648 | 1643 | * New upstream release | ||
1649 | 1644 | * debian/control: Depends on python-txtftp. | ||
1650 | 1645 | * debian/rules: Do not ship python-tx-tftp. | ||
1651 | 1646 | * debian/maas.postinst: Update version to upgrade successfully. | ||
1652 | 1647 | * debian/patches: | ||
1653 | 1648 | - 02-pserv-config.patch: Refreshed. | ||
1654 | 1649 | - 99_enums_js.patch: Updated. | ||
1655 | 1650 | - 99_power_fixes.patch: Added temporarily to enable IPMI | ||
1656 | 1651 | - 99_temporary_fix_path.patch: Added temporarily to not fail when | ||
1657 | 1652 | importing celeryconfig | ||
1658 | 1653 | |||
1659 | 1654 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 03 Jul 2012 17:54:49 -0400 | ||
1660 | 1655 | |||
1661 | 1656 | maas (0.1+bzr709+dfsg-0ubuntu1) quantal; urgency=low | ||
1662 | 1657 | |||
1663 | 1658 | * New Upstream release | ||
1664 | 1659 | * debian/control: | ||
1665 | 1660 | - Depends on python-celery, python-tempita, libjs-yui3-{full,min}, | ||
1666 | 1661 | libjs-raphael | ||
1667 | 1662 | * debian/maas.install: | ||
1668 | 1663 | - Install apiclient, celeryconfig.py, maas-import-pxe-files, preseeds_v2. | ||
1669 | 1664 | - Update to install various files from chroot, rather tha manually copy | ||
1670 | 1665 | them from the source. | ||
1671 | 1666 | * debian/maas.links: symlink celeryconfig.py | ||
1672 | 1667 | * debian/maas.maas-celery.upstart: Add job. | ||
1673 | 1668 | * debian/rules: | ||
1674 | 1669 | - Install celery upstart job. | ||
1675 | 1670 | - Do not install jslibs as packages are now used. | ||
1676 | 1671 | - Drop copying of maas_local_settings_sample.py as source now ships | ||
1677 | 1672 | a maas_local_settings.py | ||
1678 | 1673 | * debian/patches: | ||
1679 | 1674 | - 04-maas-http-fix.patch: Drop. Merged upstream. | ||
1680 | 1675 | - 01-fix-database-settings.patch: Refreshed. | ||
1681 | 1676 | - 99_enums_js.patch: Added until creation of enum.js / build process | ||
1682 | 1677 | is fixed. | ||
1683 | 1678 | * debian/maas.postinst: Update bzr version to correctly handle upgrades. | ||
1684 | 1679 | |||
1685 | 1680 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 03 Jul 2012 17:42:37 -0400 | ||
1686 | 1681 | |||
1687 | 1682 | maas (0.1+bzr482+dfsg-0ubuntu1) precise; urgency=low | ||
1688 | 1683 | |||
1689 | 1684 | * New upstream release (Fixes LP: #981103) | ||
1690 | 1685 | * debian/maas.postinst: | ||
1691 | 1686 | - Make sure rabbitmq and postgresql are started on upgrade (LP: #981282) | ||
1692 | 1687 | - Handle upgrades from any lower than 0.1+bzr462+dfsg-0ubuntu1 to | ||
1693 | 1688 | correctly re-generate passwords, and not have db sync/migrate issues | ||
1694 | 1689 | as config has changed upstream. | ||
1695 | 1690 | - Correctly set Passwords for PSERV, otherwise it won't set new passwords. | ||
1696 | 1691 | * Allow MAAS_DEFAULT_URL reconfiguration. (LP: #980970) | ||
1697 | 1692 | - debian/maas.config: Add reconfigure validation to correctly allow it, | ||
1698 | 1693 | and ask a question. | ||
1699 | 1694 | - debian/maas.postinst: Reconfigure DEFAULT_MAAS_URL as well as cobbler | ||
1700 | 1695 | server and next_server for PXE/Provisioning. | ||
1701 | 1696 | - debian/maas.templates: Add debconf question and update info. | ||
1702 | 1697 | * Do not lose MAAS_DEFAULT_URL settings on upgrade (LP: #984309) | ||
1703 | 1698 | * debian/maas.postinst: | ||
1704 | 1699 | - Set cobbler password in between quotes (LP: #984427) | ||
1705 | 1700 | - Do not change permissions to maas.log (LP: #980915) | ||
1706 | 1701 | * no longer use maas-cloudimg2ephemeral, but rather use premade images | ||
1707 | 1702 | at http://maas.ubuntu.com | ||
1708 | 1703 | |||
1709 | 1704 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 17 Apr 2012 23:44:46 -0700 | ||
1710 | 1705 | |||
1711 | 1706 | maas (0.1+bzr462+dfsg-0ubuntu1) precise; urgency=low | ||
1712 | 1707 | |||
1713 | 1708 | * New upstream release (LP: #980240) | ||
1714 | 1709 | |||
1715 | 1710 | [ Scott Moser ] | ||
1716 | 1711 | * add dependency on distro-info (LP: #949442) | ||
1717 | 1712 | * debian/control: add dependency on tgt for ephemeral iscsi environment | ||
1718 | 1713 | |||
1719 | 1714 | [ Andres Rodriguez ] | ||
1720 | 1715 | * Make package lintian clean: | ||
1721 | 1716 | - maas{-dhcp}.lintian-overrides: Add to make lintian clean. | ||
1722 | 1717 | - debian/control: Add missing dependencies; correct section and desc. | ||
1723 | 1718 | - debian/maas.postinst: Do not use absolute path for rabbitmqctl. | ||
1724 | 1719 | - debian/patches: Add headers to all patches. | ||
1725 | 1720 | * debian/maas-dhcp.postrm: Added to disable dnsmasq in cobbler on removal. | ||
1726 | 1721 | * debian/maas.config: Do not set a password with pwgen as it is not an | ||
1727 | 1722 | essential package; allow dbconfig-common to create a password instead by | ||
1728 | 1723 | creating an empty question. (LP: #977475) | ||
1729 | 1724 | * Run MAAS, pserv, txlongpoll as non-root user. (LP: #975436) | ||
1730 | 1725 | - debian/maas.postinst: Create user/group; set correct permissions for | ||
1731 | 1726 | directories. | ||
1732 | 1727 | - debian/maas.postrm: Remove user/group; restart apache2. | ||
1733 | 1728 | - debian/maas.maas-{pserv,txlongpoll}.upstart: Update to run as non-root | ||
1734 | 1729 | 'maas' user. | ||
1735 | 1730 | * debian/patches/01-fix-database-settings.patch: Remove adding of PSERV_URL. | ||
1736 | 1731 | * debian/maas.postinst: | ||
1737 | 1732 | - Handle config file upgrade from versions lower than 0.1+bzr445+dfsg-0ubuntu1, | ||
1738 | 1733 | by creating new passwords and updating accordingly | ||
1739 | 1734 | - use local variables in functions. | ||
1740 | 1735 | - Handle maas tgt configuration for upgrades from 0.1+bzr459+dfsg-0ubuntu1. | ||
1741 | 1736 | * debian/extras/99-maas: Add squid-deb-proxy file to enable PPAs. (LP: #979383) | ||
1742 | 1737 | * debian/maas.install: Install missing commissioning-user-data script. | ||
1743 | 1738 | |||
1744 | 1739 | [ Dave Walker (Daviey) ] | ||
1745 | 1740 | * debian/patches/02-pserv-config.patch: Refreshed to apply to updated config. | ||
1746 | 1741 | |||
1747 | 1742 | [ Gavin Panella ] | ||
1748 | 1743 | * debian/maas.postinst: Update pserv.yaml and maas_local_settings.py to use | ||
1749 | 1744 | password. | ||
1750 | 1745 | |||
1751 | 1746 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 12 Apr 2012 16:37:53 -0400 | ||
1752 | 1747 | |||
1753 | 1748 | maas (0.1+bzr415+dfsg-0ubuntu2) precise; urgency=low | ||
1754 | 1749 | |||
1755 | 1750 | * debian/maas-dhcp.{config,postinst}: | ||
1756 | 1751 | - Fix not setting new values on fresh install. (LP: #975321) | ||
1757 | 1752 | - Fix unsetting domain, otherwise, even if disabled, it will always be set. | ||
1758 | 1753 | * debian/control: Depends on maas for maas-dhcp. | ||
1759 | 1754 | |||
1760 | 1755 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 06 Apr 2012 15:30:44 -0400 | ||
1761 | 1756 | |||
1762 | 1757 | maas (0.1+bzr415+dfsg-0ubuntu1) precise; urgency=low | ||
1763 | 1758 | |||
1764 | 1759 | * debian/control: Update package descriptions; Suggests maas-dhcp for maas | ||
1765 | 1760 | and add a maas-dhcp binary. | ||
1766 | 1761 | * Add maas-dhcp package to configure a DHCP server. | ||
1767 | 1762 | - debian/maas-dhcp.config: Add to ask debconf questions about range, | ||
1768 | 1763 | gateway, and domain. | ||
1769 | 1764 | - debian/maas-dhcp.postinst: Handle update of config values. | ||
1770 | 1765 | - debian/maas-dhcp.templates: Debconf questions. | ||
1771 | 1766 | * debian/po: Update for templates. | ||
1772 | 1767 | * Add message telling MAAS URL after installation. | ||
1773 | 1768 | - debian/maas.templates: Add message. | ||
1774 | 1769 | - debian/maas.postinst: Display message. | ||
1775 | 1770 | * debian/maas.config: Hide dbconfig-install question. | ||
1776 | 1771 | |||
1777 | 1772 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 04 Apr 2012 14:47:13 -0400 | ||
1778 | 1773 | |||
1779 | 1774 | maas (0.1+bzr400+dfsg-0ubuntu1) precise; urgency=low | ||
1780 | 1775 | |||
1781 | 1776 | * debian/patches/{02-pserv-config,03-txlongpoll-config}.patch: Refreshed. | ||
1782 | 1777 | * debian/maas.install: Install maas-gc cronjob. | ||
1783 | 1778 | * Add apport hook. | ||
1784 | 1779 | - debian/maas.apport: Add hook. | ||
1785 | 1780 | - debian/rules: Install with apport. | ||
1786 | 1781 | * debian/maas.logrotate: Add logrotate for txlongpoll and pserv logs. | ||
1787 | 1782 | * Create 'var/lib/media/maas/storage' on postinst to have right permissions. | ||
1788 | 1783 | - debian/maas.dirs: Drop dir creation. | ||
1789 | 1784 | - debian/maas.postinst: Create dir with correct permissions. | ||
1790 | 1785 | - debian/maas.postrm: Remove dir on purge. | ||
1791 | 1786 | |||
1792 | 1787 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 03 Apr 2012 14:50:34 -0400 | ||
1793 | 1788 | |||
1794 | 1789 | maas (0.1+bzr378+dfsg-0ubuntu1) precise; urgency=low | ||
1795 | 1790 | |||
1796 | 1791 | * maas.dirs: Create var/lib/maas/media/storage for juju storage. | ||
1797 | 1792 | * maas.postinst: | ||
1798 | 1793 | - Give correct permissions to above dir. | ||
1799 | 1794 | - stop apache2 before db upgrade, and restart after. | ||
1800 | 1795 | |||
1801 | 1796 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 29 Mar 2012 19:28:13 -0400 | ||
1802 | 1797 | |||
1803 | 1798 | maas (0.1+bzr363+dfsg-0ubuntu1) precise; urgency=low | ||
1804 | 1799 | |||
1805 | 1800 | [ Dave Walker (Daviey) ] | ||
1806 | 1801 | * debian/control: Add openssh-server as a Recommends, and wrap-and-sort. | ||
1807 | 1802 | |||
1808 | 1803 | [ Andres Rodriguez ] | ||
1809 | 1804 | * debian/maas.postinst: | ||
1810 | 1805 | - Do not start apache with apache2ctl. Use invoke-rc.d instead to not | ||
1811 | 1806 | fail in the installer. | ||
1812 | 1807 | - For start of postgresql before creating the DB, otherwise it will | ||
1813 | 1808 | fail in the installer. | ||
1814 | 1809 | - Add check of invoke-rc.d for syslog. | ||
1815 | 1810 | - Add check of invoke-rc.d for rabbitmq-server; Add check for rabbitmqctl | ||
1816 | 1811 | - Add db_stop, in case invoke-rc.d fails. | ||
1817 | 1812 | * debian/control: Tight python-django-maas dependency. | ||
1818 | 1813 | * debian/postrm: Add check for rabbitmqctl. | ||
1819 | 1814 | * debian/maas.maas-txlongpoll.upstart: Create rabbitmq longpoll user/vhost | ||
1820 | 1815 | and set permissions if they don't exist. Start on rabbitmq-server-running. | ||
1821 | 1816 | |||
1822 | 1817 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 27 Mar 2012 14:49:56 -0400 | ||
1823 | 1818 | |||
1824 | 1819 | maas (0.1+bzr338+dfsg-0ubuntu1) precise; urgency=low | ||
1825 | 1820 | |||
1826 | 1821 | [ Dave Walker (Daviey) ] | ||
1827 | 1822 | * d/patches/03-txlongpoll-config.patch: Resolve typo error from prior patch. | ||
1828 | 1823 | - LP: #961031 | ||
1829 | 1824 | |||
1830 | 1825 | [ Andres Rodriguez ] | ||
1831 | 1826 | * debian/maas.config: Don't allow reconfigure. | ||
1832 | 1827 | * debian/maas.postinst: Don't allow reconfigure. Run sync/migrate db on | ||
1833 | 1828 | all upgrades. | ||
1834 | 1829 | |||
1835 | 1830 | [ Scott Moser ] | ||
1836 | 1831 | * add rsylog config for logging node boots (LP: 960149) | ||
1837 | 1832 | |||
1838 | 1833 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 22 Mar 2012 10:56:58 -0400 | ||
1839 | 1834 | |||
1840 | 1835 | maas (0.1+bzr315+dfsg-0ubuntu1) precise; urgency=low | ||
1841 | 1836 | |||
1842 | 1837 | * New upstream snapshot. | ||
1843 | 1838 | |||
1844 | 1839 | [ Dave Walker ] | ||
1845 | 1840 | * debian/maas.postinst: Do not import ISO's at install time. | ||
1846 | 1841 | * debian/control: | ||
1847 | 1842 | - Drop run-one, it's not a requirement and currently in universe. | ||
1848 | 1843 | - Drop python-setproctitle, no longer required. | ||
1849 | 1844 | |||
1850 | 1845 | [ Andres Rodriguez ] | ||
1851 | 1846 | * debian/control: Depends on python-avahi, python-dbus, and avahi-daemon. | ||
1852 | 1847 | * debian/maas.postinst: | ||
1853 | 1848 | - Only syncdb if dbconfig db creation was selected. | ||
1854 | 1849 | - Set rabbitmq/longpoll settings | ||
1855 | 1850 | * debian/patches/03-txlongpoll-config.patch: Updated broker settings for | ||
1856 | 1851 | rabbitmq. | ||
1857 | 1852 | |||
1858 | 1853 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 20 Mar 2012 20:10:58 -0400 | ||
1859 | 1854 | |||
1860 | 1855 | maas (0.1+bzr300+dfsg-0ubuntu1) precise; urgency=low | ||
1861 | 1856 | |||
1862 | 1857 | * debian/patches: | ||
1863 | 1858 | - 01-fix-database-settings.patch: Update PSERV_URL port. | ||
1864 | 1859 | - 02-pserv-config.patch: Update, and set 'maas' as username. | ||
1865 | 1860 | - 03-longpoll-config.patch: Update. | ||
1866 | 1861 | * debian/maas.install: Install preseeds and snippets. | ||
1867 | 1862 | * debian/maas.postinst: | ||
1868 | 1863 | - Set password for 'maas' cobbler username (in pserv and cobbler). | ||
1869 | 1864 | - Set DEFAULT_MAAS_URL to IP of interface with default gateway. | ||
1870 | 1865 | |||
1871 | 1866 | -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 16 Mar 2012 14:59:16 -0400 | ||
1872 | 1867 | |||
1873 | 1868 | maas (0.1+bzr295+dfsg-0ubuntu2) precise; urgency=low | ||
1874 | 1869 | |||
1875 | 1870 | * debian/patches: | ||
1876 | 1871 | - 01-fix-database-settings.patch: Update to set PSERV_URL. | ||
1877 | 1872 | - 02-pserv-config.patch: Set port to 8001. | ||
1878 | 1873 | * debian/maas.postinst: Run maas-import-isos on install. | ||
1879 | 1874 | * debian/control: Depends on rabbitmq-server. | ||
1880 | 1875 | |||
1881 | 1876 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 15 Mar 2012 18:14:08 -0400 | ||
1882 | 1877 | |||
1883 | 1878 | maas (0.1+bzr295+dfsg-0ubuntu1) precise; urgency=low | ||
1884 | 1879 | |||
1885 | 1880 | * debian/maas.upstart: Specify pidfile and conffile. | ||
1886 | 1881 | * debian/maas.postinst: | ||
1887 | 1882 | - Only run syncdb if dbconfig postinst file exists. | ||
1888 | 1883 | - Fix file permissions. | ||
1889 | 1884 | * debian/maas.{postrm,prerm}: Add dbconfig-common support. | ||
1890 | 1885 | * Add txlongpoll support for packaging: | ||
1891 | 1886 | - debian/control: Depends on python-txlongpoll. | ||
1892 | 1887 | - debian/maas.maas-longpoll.upstart: Added to start txlongpoll. | ||
1893 | 1888 | - debian/maas.install: Install txlongpoll.yaml | ||
1894 | 1889 | * debian/extras/maas: Improvements. | ||
1895 | 1890 | * debian/maas.maas.upstart: Moved from debian/maas.upstart. | ||
1896 | 1891 | * debian/maas.postinst: Touch logfile to set correct permissions (LP: #955400) | ||
1897 | 1892 | * debian/maas.logrotate: Add. | ||
1898 | 1893 | * debian/patches/03-txlongpoll-config.patch: Add default settings. | ||
1899 | 1894 | * debian/maas.config: Only run dbconfig-common on configure/reconfigure. | ||
1900 | 1895 | * Install maas_local_settings.py in /etc/maas and symlink to usr/share/maas | ||
1901 | 1896 | * Update references from MaaS to MAAS. | ||
1902 | 1897 | * Remove podebconf as templates no longer exist. | ||
1903 | 1898 | - debian/po: Remove. | ||
1904 | 1899 | - debian/control: Drop Build-Depends on po-debconf | ||
1905 | 1900 | |||
1906 | 1901 | -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 15 Mar 2012 15:28:14 -0400 | ||
1907 | 1902 | |||
1908 | 1903 | maas (0.1+bzr266+dfsg-0ubuntu1) precise; urgency=low | ||
1909 | 1904 | |||
1910 | 1905 | * Remove support for squid3 and use squid-deb-proxy instead. | ||
1911 | 1906 | * debian/extras/maas: Add to handle syncdb and creation of admin user. | ||
1912 | 1907 | * Add debconf questions to ask for user/pass: | ||
1913 | 1908 | - debian/maas.{template,config}: Add | ||
1914 | 1909 | - debian/maas.postinst: Ask debconf questions. | ||
1915 | 1910 | - debian/po: Add translation templates.i | ||
1916 | 1911 | * debian/maas.postinst: Enable wsgi module; drop squid3 steps. | ||
1917 | 1912 | * debian/maas.postrm: removed. | ||
1918 | 1913 | * debian/patches/01-fix-database-settings.patch: Custom database settings | ||
1919 | 1914 | and static files path. | ||
1920 | 1915 | * debian/{rules,maas.install}: Install maas static files in | ||
1921 | 1916 | 'usr/share/maas/web/static'. | ||
1922 | 1917 | * Integrate cobbler: | ||
1923 | 1918 | - debian/maas.install: Install pserv twisted plugin, and config. | ||
1924 | 1919 | - debian/maas.upstart: Created to start plugin daemon. | ||
1925 | 1920 | - debian/patches/02-pserv-config.patch: Custom pserv config. | ||
1926 | 1921 | * Integrate dbconfig-common: | ||
1927 | 1922 | - debian/maas.config: Added and default user/pass and database. | ||
1928 | 1923 | - debian/maas.{postinst,postrm}: Added handling for dbconfig-common | ||
1929 | 1924 | * debian/control: Depends on python-convoy. | ||
1930 | 1925 | * debian/rules: Update path to removal of dsfg files. | ||
1931 | 1926 | * debian/patches/01-fix-database-settings.patch: Updated. | ||
1932 | 1927 | |||
1933 | 1928 | -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 13 Mar 2012 14:31:50 -0400 | ||
1934 | 1929 | |||
1935 | 1930 | maas (0.1+bzr232+dfsg-0ubuntu1) precise; urgency=low | ||
1936 | 1931 | |||
1937 | 1932 | * New upstream snapshot. | ||
1938 | 1933 | |||
1939 | 1934 | [ Dave Walker ] | ||
1940 | 1935 | * debian/control: | ||
1941 | 1936 | - Changed depends from psycopg2 to python-psycopg2 and dropped versioning. | ||
1942 | 1937 | - LP: #937982 | ||
1943 | 1938 | |||
1944 | 1939 | [ Andres Rodriguez ] | ||
1945 | 1940 | * debian/maas.install: Install maas-import-isos and related files. | ||
1946 | 1941 | * Integrate squid3 as proxy solution: | ||
1947 | 1942 | - debian/extras/squid.conf: Added | ||
1948 | 1943 | - debian/control: Depend on squid3. | ||
1949 | 1944 | - debian/maas.{postinst,postrm}: Handle installation/removal of custom | ||
1950 | 1945 | squid config file. | ||
1951 | 1946 | * Split into different binary packages (maas,python-django-maas). | ||
1952 | 1947 | - debian/maas.postinst: Handle the apache2 configuration. | ||
1953 | 1948 | |||
1954 | 1949 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 07 Mar 2012 12:46:17 -0500 | ||
1955 | 1950 | |||
1956 | 1951 | maas (0.1+bzr171+dfsg-0ubuntu1) precise; urgency=low | ||
1957 | 1952 | |||
1958 | 1953 | * New upstream snapshot, post 0.1 release. | ||
1959 | 1954 | * debian/control: | ||
1960 | 1955 | - Drop depends on rabbitmq-server, no longer required. | ||
1961 | 1956 | * debian/watch: Introduced watch file. | ||
1962 | 1957 | |||
1963 | 1958 | -- Dave Walker (Daviey) <DaveWalker@ubuntu.com> Thu, 23 Feb 2012 13:08:12 +0000 | ||
1964 | 1959 | |||
1965 | 1960 | maas (0.1~bzr146+dfsg-0ubuntu1) precise; urgency=low | ||
1966 | 1961 | |||
1967 | 1962 | * Initial release | ||
1968 | 1963 | |||
1969 | 1964 | -- Julian Edwards <julian.edwards@canonical.com> Thu, 16 Jan 2012 15:29:07 +0000 | ||
1970 | 0 | 1965 | ||
1971 | === added file 'debian/compat' | |||
1972 | --- debian/compat 1970-01-01 00:00:00 +0000 | |||
1973 | +++ debian/compat 2016-04-16 02:29:52 +0000 | |||
1974 | @@ -0,0 +1,1 @@ | |||
1975 | 1 | 7 | ||
1976 | 0 | 2 | ||
1977 | === added file 'debian/control' | |||
1978 | --- debian/control 1970-01-01 00:00:00 +0000 | |||
1979 | +++ debian/control 2016-04-16 02:29:52 +0000 | |||
1980 | @@ -0,0 +1,294 @@ | |||
1981 | 1 | Source: maas | ||
1982 | 2 | Section: net | ||
1983 | 3 | Priority: optional | ||
1984 | 4 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> | ||
1985 | 5 | Build-Depends: debhelper (>= 8.1.0~), | ||
1986 | 6 | dh-apport, | ||
1987 | 7 | dh-python, | ||
1988 | 8 | dh-systemd, | ||
1989 | 9 | po-debconf, | ||
1990 | 10 | python3-all, | ||
1991 | 11 | python3-django, | ||
1992 | 12 | python3-setuptools, | ||
1993 | 13 | python3-twisted | ||
1994 | 14 | Standards-Version: 3.9.7 | ||
1995 | 15 | X-Python3-Version: >= 3.5 | ||
1996 | 16 | Homepage: http://maas.io/ | ||
1997 | 17 | |||
1998 | 18 | Package: maas | ||
1999 | 19 | Architecture: all | ||
2000 | 20 | Depends: maas-rack-controller (= ${binary:Version}), | ||
2001 | 21 | maas-region-controller (= ${binary:Version}), | ||
2002 | 22 | python3-django-maas (= ${binary:Version}), | ||
2003 | 23 | ${misc:Depends} | ||
2004 | 24 | Description: "Metal as a Service" is a physical cloud and IPAM | ||
2005 | 25 | MAAS runs a software-defined data centre - it turns a collection of physical | ||
2006 | 26 | servers and switches into a bare metal cloud with full open source IP address | ||
2007 | 27 | management (IPAM) and instant provisioning on demand. | ||
2008 | 28 | . | ||
2009 | 29 | MAAS controls the servers through IPMI or another BMC or converged chassis | ||
2010 | 30 | controller such as Cisco UCS. It provides a full inventory of components, | ||
2011 | 31 | and can install Ubuntu, CentOS or Windows very fast on any server under | ||
2012 | 32 | its control. It can also track and provide DHCP and DNS for other devices | ||
2013 | 33 | on the network. | ||
2014 | 34 | . | ||
2015 | 35 | MAAS handles VLANs and fabrics that span many trunked switches, as well as | ||
2016 | 36 | the routing-centric infrastructure typically used for large-scale OpenStack | ||
2017 | 37 | or other scale-out deployments. MAAS manages IP addresses and provides APIs | ||
2018 | 38 | for address assignment and release. MAAS can also allocate IP addresses for | ||
2019 | 39 | containers on machines, and release them when the machine is repurposed. MAAS | ||
2020 | 40 | provides PXE, DHCP, DNS and other low-level services to ensure the cluster | ||
2021 | 41 | works smoothly. | ||
2022 | 42 | . | ||
2023 | 43 | MAAS works with any configuration system, and is recommended by the teams | ||
2024 | 44 | behind both Chef and Juju as a physical provisioning system. | ||
2025 | 45 | . | ||
2026 | 46 | MAAS provides: | ||
2027 | 47 | . | ||
2028 | 48 | * Hardware inventory of servers | ||
2029 | 49 | * Dynamic provisioning based on name or attributes such as disk, RAM, cores, | ||
2030 | 50 | nics, networking, gpu’s or architecture | ||
2031 | 51 | * DNS and DHCP as needed | ||
2032 | 52 | * PXE boot services | ||
2033 | 53 | . | ||
2034 | 54 | This package is a metapackage which installs all of the separate components | ||
2035 | 55 | of MAAS on a single machine. | ||
2036 | 56 | |||
2037 | 57 | Package: maas-common | ||
2038 | 58 | Architecture: all | ||
2039 | 59 | Depends: ${misc:Depends} | ||
2040 | 60 | Breaks: maas ( <= 0.1+bzr1048+dfsg-0ubuntu1 ) | ||
2041 | 61 | Replaces: maas ( <= 0.1+bzr1048+dfsg-0ubuntu1 ) | ||
2042 | 62 | Description: MAAS server common files | ||
2043 | 63 | This package contains the common files for any MAAS installation. | ||
2044 | 64 | |||
2045 | 65 | Package: maas-region-api | ||
2046 | 66 | Architecture: all | ||
2047 | 67 | Depends: apache2, | ||
2048 | 68 | bind9utils, | ||
2049 | 69 | iproute2, | ||
2050 | 70 | libjs-angularjs, | ||
2051 | 71 | libjs-yui3-full, | ||
2052 | 72 | libjs-yui3-min, | ||
2053 | 73 | maas-common (= ${binary:Version}), | ||
2054 | 74 | maas-proxy (= ${binary:Version}), | ||
2055 | 75 | python3-bson, | ||
2056 | 76 | python3-django, | ||
2057 | 77 | python3-django-maas (= ${binary:Version}), | ||
2058 | 78 | python3-django-piston3, | ||
2059 | 79 | python3-djorm-ext-pgarray, | ||
2060 | 80 | python3-maas-provisioningserver (= ${binary:Version}), | ||
2061 | 81 | python3-petname, | ||
2062 | 82 | python3-requests, | ||
2063 | 83 | rsyslog, | ||
2064 | 84 | ubuntu-cloudimage-keyring, | ||
2065 | 85 | ${misc:Depends}, | ||
2066 | 86 | ${python3:Depends} | ||
2067 | 87 | Conflicts: maas-region-controller-min | ||
2068 | 88 | Replaces: maas-region-controller-min | ||
2069 | 89 | Provides: maas-region-controller-min | ||
2070 | 90 | Description: Region controller API service for MAAS | ||
2071 | 91 | The MAAS region controller consists of REST API services and a postgres | ||
2072 | 92 | database. This package installs only the API services (maas-regiond). | ||
2073 | 93 | Use it to scale out the API front-end of your MAAS region controller. | ||
2074 | 94 | |||
2075 | 95 | Package: maas-region-controller | ||
2076 | 96 | Architecture: all | ||
2077 | 97 | Depends: dbconfig-pgsql, | ||
2078 | 98 | maas-dns (= ${binary:Version}), | ||
2079 | 99 | maas-region-api (= ${binary:Version}), | ||
2080 | 100 | postgresql (>= 9.1), | ||
2081 | 101 | ${misc:Depends}, | ||
2082 | 102 | Recommends: openssh-server | ||
2083 | 103 | Description: Region Controller for MAAS | ||
2084 | 104 | The MAAS region controller (maas-regiond) is the REST API server for | ||
2085 | 105 | all MAAS clients, and the postgres database that maintains machine | ||
2086 | 106 | state for the entire data centre (or “region”). The region controller | ||
2087 | 107 | an be scaled-out and highly available given the appropriate postgres | ||
2088 | 108 | setup and additional API servers. | ||
2089 | 109 | . | ||
2090 | 110 | This package installs the postgres database and the API server, so it | ||
2091 | 111 | is appropriate for the initial installation of a new MAAS region. To | ||
2092 | 112 | scale out the controller or make it highly available, install | ||
2093 | 113 | maas-region-controller-api on additional servers and ensure the | ||
2094 | 114 | postgres database is HA too. | ||
2095 | 115 | |||
2096 | 116 | Package: python3-maas-provisioningserver | ||
2097 | 117 | Section: python | ||
2098 | 118 | Architecture: all | ||
2099 | 119 | Depends: archdetect-deb, | ||
2100 | 120 | lshw, | ||
2101 | 121 | python3-bson, | ||
2102 | 122 | python3-crochet, | ||
2103 | 123 | python3-curtin (>> 0.1.0~bzr351), | ||
2104 | 124 | python3-distro-info, | ||
2105 | 125 | python3-formencode, | ||
2106 | 126 | python3-jsonschema, | ||
2107 | 127 | python3-lxml, | ||
2108 | 128 | python3-maas-client (= ${binary:Version}), | ||
2109 | 129 | python3-netifaces, | ||
2110 | 130 | python3-oauth, | ||
2111 | 131 | python3-oauthlib, | ||
2112 | 132 | python3-paramiko, | ||
2113 | 133 | python3-pexpect, | ||
2114 | 134 | python3-pyparsing, | ||
2115 | 135 | python3-pyvmomi, | ||
2116 | 136 | python3-seamicroclient, | ||
2117 | 137 | python3-simplejson, | ||
2118 | 138 | python3-simplestreams, | ||
2119 | 139 | python3-tempita, | ||
2120 | 140 | python3-twisted, | ||
2121 | 141 | python3-txtftp, | ||
2122 | 142 | python3-yaml, | ||
2123 | 143 | python3-zope.interface, | ||
2124 | 144 | isc-dhcp-client, | ||
2125 | 145 | iproute2, | ||
2126 | 146 | ${misc:Depends}, | ||
2127 | 147 | ${python3:Depends} | ||
2128 | 148 | Description: MAAS server provisioning libraries (Python 3) | ||
2129 | 149 | This package provides the MAAS provisioning server python libraries. | ||
2130 | 150 | . | ||
2131 | 151 | This package contains Python 3 libraries. | ||
2132 | 152 | |||
2133 | 153 | Package: maas-cli | ||
2134 | 154 | Architecture: all | ||
2135 | 155 | Depends: python3-maas-client (= ${binary:Version}), | ||
2136 | 156 | ${misc:Depends}, | ||
2137 | 157 | ${python3:Depends} | ||
2138 | 158 | Conflicts: maas-region-controller-min (<= 1.5+bzr1909-0ubuntu1) | ||
2139 | 159 | Replaces: maas-region-controller-min (<= 1.5+bzr1909-0ubuntu1) | ||
2140 | 160 | Description: MAAS client and command-line interface | ||
2141 | 161 | This package contains the 'maas' command-line interface, which | ||
2142 | 162 | talks to the MAAS region controller REST API. Use the maas command | ||
2143 | 163 | to login to MAAS and drive the data centre entirely from the | ||
2144 | 164 | command-line. | ||
2145 | 165 | |||
2146 | 166 | Package: python3-maas-client | ||
2147 | 167 | Section: python | ||
2148 | 168 | Architecture: all | ||
2149 | 169 | Depends: python3-httplib2, | ||
2150 | 170 | python3-oauth, | ||
2151 | 171 | ${misc:Depends}, | ||
2152 | 172 | ${python3:Depends} | ||
2153 | 173 | Breaks: python-maas-client, maas-cli ( <= 2.0.0~alpha4+bzr4843-0ubuntu1 ) | ||
2154 | 174 | Replaces: python-maas-client, maas-cli ( <= 2.0.0~alpha4+bzr4843-0ubuntu1 ) | ||
2155 | 175 | Description: MAAS python API client (Python 3) | ||
2156 | 176 | This package contains the MAAS client API Python modules. | ||
2157 | 177 | . | ||
2158 | 178 | This package contains Python 3 modules. | ||
2159 | 179 | |||
2160 | 180 | Package: maas-rack-controller | ||
2161 | 181 | Architecture: all | ||
2162 | 182 | Depends: authbind, | ||
2163 | 183 | bind9utils, | ||
2164 | 184 | distro-info, | ||
2165 | 185 | freeipmi-tools, | ||
2166 | 186 | grub-common, | ||
2167 | 187 | maas-cli (=${binary:Version}), | ||
2168 | 188 | maas-common (=${binary:Version}), | ||
2169 | 189 | maas-dhcp (=${binary:Version}), | ||
2170 | 190 | pxelinux | syslinux-common (<< 3:6.00~pre4+dfsg-5), | ||
2171 | 191 | python3-httplib2, | ||
2172 | 192 | python3-maas-provisioningserver (=${binary:Version}), | ||
2173 | 193 | python3-netaddr, | ||
2174 | 194 | python3-tempita, | ||
2175 | 195 | python3-twisted, | ||
2176 | 196 | python3-zope.interface, | ||
2177 | 197 | rsyslog, | ||
2178 | 198 | syslinux-common, | ||
2179 | 199 | tgt, | ||
2180 | 200 | uuid-runtime, | ||
2181 | 201 | wget, | ||
2182 | 202 | ${misc:Depends}, | ||
2183 | 203 | ${python3:Depends} | ||
2184 | 204 | Suggests: amtterm, ipmitool, libvirt-bin, wsmancli | ||
2185 | 205 | Conflicts: tftpd-hpa | ||
2186 | 206 | Breaks: python-maas-provisioningserver, | ||
2187 | 207 | maas-cluster-controller | ||
2188 | 208 | Replaces: python-maas-provisioningserver, | ||
2189 | 209 | maas-cluster-controller | ||
2190 | 210 | Description: Rack Controller for MAAS | ||
2191 | 211 | The MAAS rack controller (maas-rackd) provides highly available, fast | ||
2192 | 212 | and local broadcast services to the machines provisioned by MAAS. You | ||
2193 | 213 | need a MAAS rack controller attached to each fabric (which is a set of | ||
2194 | 214 | trunked switches). You can attach multiple rack controllers to these | ||
2195 | 215 | physical networks for high availability, with secondary rack controllers | ||
2196 | 216 | automatically stepping to provide these services if the primary rack | ||
2197 | 217 | controller fails. | ||
2198 | 218 | . | ||
2199 | 219 | A common configuration is to have a rack controller in each rack, with | ||
2200 | 220 | a fast primary network interface to the rack switch and secondary | ||
2201 | 221 | network interfaces on one or two other nearby racks for high | ||
2202 | 222 | availability redundancy. | ||
2203 | 223 | . | ||
2204 | 224 | This package depends on the necessary components to provide iSCSI, | ||
2205 | 225 | DHCP, TFTP and power management. | ||
2206 | 226 | |||
2207 | 227 | Package: python3-django-maas | ||
2208 | 228 | Section: python | ||
2209 | 229 | Architecture: all | ||
2210 | 230 | Depends: python3-apt, | ||
2211 | 231 | python3-convoy, | ||
2212 | 232 | python3-crochet, | ||
2213 | 233 | python3-curtin (>> 0.1.0~bzr275), | ||
2214 | 234 | python3-lxml, | ||
2215 | 235 | python3-maas-client (= ${binary:Version}), | ||
2216 | 236 | python3-netaddr, | ||
2217 | 237 | python3-psycopg2, | ||
2218 | 238 | python3-sphinx, | ||
2219 | 239 | python3-tempita, | ||
2220 | 240 | python3-twisted, | ||
2221 | 241 | python3-zope.interface, | ||
2222 | 242 | ${misc:Depends}, | ||
2223 | 243 | ${python3:Depends} | ||
2224 | 244 | Breaks: python-django-maas | ||
2225 | 245 | Replaces: python-django-maas | ||
2226 | 246 | Description: MAAS server Django web framework (Python 3) | ||
2227 | 247 | This package provides the Django web framework for MAAS. | ||
2228 | 248 | . | ||
2229 | 249 | This package contains Python 3 modules. | ||
2230 | 250 | |||
2231 | 251 | Package: maas-dhcp | ||
2232 | 252 | Architecture: all | ||
2233 | 253 | Depends: isc-dhcp-server (>= 4.3.3-5ubuntu10~), ${misc:Depends} | ||
2234 | 254 | Description: MAAS DHCP server | ||
2235 | 255 | This package installs and configures a DHCP server that can be used by | ||
2236 | 256 | MAAS, and enhances the overall MAAS user experience. | ||
2237 | 257 | |||
2238 | 258 | Package: maas-dns | ||
2239 | 259 | Architecture: all | ||
2240 | 260 | Depends: bind9 (>= 1:9.10.3.dfsg.P2-5~), | ||
2241 | 261 | maas-region-api (= ${binary:Version}), | ||
2242 | 262 | ${misc:Depends} | ||
2243 | 263 | Conflicts: dnsmasq | ||
2244 | 264 | Description: MAAS DNS server | ||
2245 | 265 | This package installs and configures a DNS server that can be used by | ||
2246 | 266 | MAAS, and enhances the overall MAAS user experience. | ||
2247 | 267 | |||
2248 | 268 | Package: maas-proxy | ||
2249 | 269 | Architecture: all | ||
2250 | 270 | Depends: squid3, ${misc:Depends} | ||
2251 | 271 | Conflicts: squid-deb-proxy | ||
2252 | 272 | Description: MAAS Caching Proxy | ||
2253 | 273 | This package installs and configures a Caching Proxy server that can be | ||
2254 | 274 | used by MAAS. It enhances the overall MAAS user experience. | ||
2255 | 275 | |||
2256 | 276 | Package: maas-region-udeb | ||
2257 | 277 | Package-Type: udeb | ||
2258 | 278 | Section: debian-installer | ||
2259 | 279 | Architecture: all | ||
2260 | 280 | Depends: | ||
2261 | 281 | ${shlibs:Depends}, | ||
2262 | 282 | ${misc:Depends} | ||
2263 | 283 | XB-Installer-Menu-Item: 2350 | ||
2264 | 284 | Description: Install a MAAS server (installer integration) | ||
2265 | 285 | |||
2266 | 286 | Package: maas-rack-udeb | ||
2267 | 287 | Package-Type: udeb | ||
2268 | 288 | Section: debian-installer | ||
2269 | 289 | Architecture: all | ||
2270 | 290 | Depends: | ||
2271 | 291 | ${shlibs:Depends}, | ||
2272 | 292 | ${misc:Depends} | ||
2273 | 293 | XB-Installer-Menu-Item: 2350 | ||
2274 | 294 | Description: Install a MAAS Rack controller (installer integration) | ||
2275 | 0 | 295 | ||
2276 | === added file 'debian/copyright' | |||
2277 | --- debian/copyright 1970-01-01 00:00:00 +0000 | |||
2278 | +++ debian/copyright 2016-04-16 02:29:52 +0000 | |||
2279 | @@ -0,0 +1,45 @@ | |||
2280 | 1 | Format: http://dep.debian.net/deps/dep5 | ||
2281 | 2 | Upstream-Name: maas | ||
2282 | 3 | Source: https://launchpad.net/maas | ||
2283 | 4 | |||
2284 | 5 | Files: * | ||
2285 | 6 | Copyright: 2012 Canonical Ltd. | ||
2286 | 7 | License: AGPL-3.0+ | ||
2287 | 8 | |||
2288 | 9 | Files: debian/* | ||
2289 | 10 | Copyright: 2012 Canonical Ltd. | ||
2290 | 11 | License: AGPL-3.0+ | ||
2291 | 12 | |||
2292 | 13 | License: AGPL-3.0+ | ||
2293 | 14 | This program is free software: you can redistribute it and/or modify | ||
2294 | 15 | it under the terms of the GNU Affero General Public License as | ||
2295 | 16 | published by the Free Software Foundation, either version 3 of the | ||
2296 | 17 | License, or (at your option) any later version. | ||
2297 | 18 | . | ||
2298 | 19 | This program is distributed in the hope that it will be useful, | ||
2299 | 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2300 | 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
2301 | 22 | GNU Affero General Public License for more details. | ||
2302 | 23 | . | ||
2303 | 24 | You should have received a copy of the GNU Affero General Public License | ||
2304 | 25 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
2305 | 26 | |||
2306 | 27 | Files: src/maasserver/static/js/angular/3rdparty/ng-tags-input.js | ||
2307 | 28 | Copyright: Copyright (c) 2013-2015 Michael Benford. | ||
2308 | 29 | License: MIT | ||
2309 | 30 | Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
2310 | 31 | this software and associated documentation files (the "Software"), to deal in | ||
2311 | 32 | the Software without restriction, including without limitation the rights to | ||
2312 | 33 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
2313 | 34 | the Software, and to permit persons to whom the Software is furnished to do so, | ||
2314 | 35 | subject to the following conditions: | ||
2315 | 36 | . | ||
2316 | 37 | The above copyright notice and this permission notice shall be included in all | ||
2317 | 38 | copies or substantial portions of the Software. | ||
2318 | 39 | . | ||
2319 | 40 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
2320 | 41 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
2321 | 42 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
2322 | 43 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
2323 | 44 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
2324 | 45 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
2325 | 0 | 46 | ||
2326 | === added directory 'debian/extras' | |||
2327 | === added file 'debian/extras/20-maas.conf' | |||
2328 | --- debian/extras/20-maas.conf 1970-01-01 00:00:00 +0000 | |||
2329 | +++ debian/extras/20-maas.conf 2016-04-16 02:29:52 +0000 | |||
2330 | @@ -0,0 +1,32 @@ | |||
2331 | 1 | # Enable the udp server for installation logging | ||
2332 | 2 | $ModLoad imudp | ||
2333 | 3 | $UDPServerRun 514 | ||
2334 | 4 | $ModLoad imtcp # load TCP listener | ||
2335 | 5 | |||
2336 | 6 | # The following section (certificates) was copied from orchestra, but is | ||
2337 | 7 | # not used here. In the future, if we needed secure ssl, then re-enable. | ||
2338 | 8 | # These files were created in the orchestra-logging-server's postinst | ||
2339 | 9 | # | ||
2340 | 10 | ## make gtls driver the default | ||
2341 | 11 | #$DefaultNetstreamDriver gtls | ||
2342 | 12 | # | ||
2343 | 13 | ## certificate files | ||
2344 | 14 | #$DefaultNetstreamDriverCAFile /var/lib/maas/ssl-cert-orchestra-ca.pem | ||
2345 | 15 | #$DefaultNetstreamDriverCertFile /var/lib/maas/.ssl/ssl-cert-orchestra.pem | ||
2346 | 16 | #$DefaultNetstreamDriverKeyFile /var/lib/maas/.ssl/ssl-cert-orchestra-pk.pem | ||
2347 | 17 | # | ||
2348 | 18 | #$InputTCPServerStreamDriverMode 1 # run driver in TLS-only mode | ||
2349 | 19 | #$InputTCPServerStreamDriverAuthMode anon # client is NOT authenticated | ||
2350 | 20 | #$InputTCPServerRun 10514 # start up listener at port 10514 | ||
2351 | 21 | |||
2352 | 22 | # Reduce message repetition | ||
2353 | 23 | $RepeatedMsgReduction on | ||
2354 | 24 | ##$RepeatedMsgContainsOrigionalMsg on | ||
2355 | 25 | |||
2356 | 26 | # Message templating | ||
2357 | 27 | $template MAASboot,"/var/log/maas/rsyslog/%HOSTNAME%/%$YEAR%/%$MONTH%/%$DAY%/messages" | ||
2358 | 28 | |||
2359 | 29 | :fromhost-ip, !isequal, "127.0.0.1" ?MAASboot | ||
2360 | 30 | # Stop messages that came from anywhere else from going into other places | ||
2361 | 31 | # like /var/log/syslog. If you want to see these messages there, then comment below | ||
2362 | 32 | & ~ | ||
2363 | 0 | 33 | ||
2364 | === added file 'debian/extras/99-maas-region-sudoers' | |||
2365 | --- debian/extras/99-maas-region-sudoers 1970-01-01 00:00:00 +0000 | |||
2366 | +++ debian/extras/99-maas-region-sudoers 2016-04-16 02:29:52 +0000 | |||
2367 | @@ -0,0 +1,7 @@ | |||
2368 | 1 | maas ALL= NOPASSWD: /bin/systemctl status bind9 | ||
2369 | 2 | maas ALL= NOPASSWD: /bin/systemctl start bind9 | ||
2370 | 3 | maas ALL= NOPASSWD: /bin/systemctl status maas-proxy | ||
2371 | 4 | maas ALL= NOPASSWD: /bin/systemctl start maas-proxy | ||
2372 | 5 | maas ALL= NOPASSWD: /bin/systemctl reload maas-proxy | ||
2373 | 6 | maas ALL= NOPASSWD: /bin/systemctl restart maas-proxy | ||
2374 | 7 | maas ALL= NOPASSWD: /bin/systemctl stop maas-proxy | ||
2375 | 0 | 8 | ||
2376 | === added file 'debian/extras/99-maas-sudoers' | |||
2377 | --- debian/extras/99-maas-sudoers 1970-01-01 00:00:00 +0000 | |||
2378 | +++ debian/extras/99-maas-sudoers 2016-04-16 02:29:52 +0000 | |||
2379 | @@ -0,0 +1,14 @@ | |||
2380 | 1 | maas ALL= NOPASSWD: /bin/systemctl status maas-dhcpd | ||
2381 | 2 | maas ALL= NOPASSWD: /bin/systemctl start maas-dhcpd | ||
2382 | 3 | maas ALL= NOPASSWD: /bin/systemctl restart maas-dhcpd | ||
2383 | 4 | maas ALL= NOPASSWD: /bin/systemctl stop maas-dhcpd | ||
2384 | 5 | maas ALL= NOPASSWD: /bin/systemctl status maas-dhcpd6 | ||
2385 | 6 | maas ALL= NOPASSWD: /bin/systemctl start maas-dhcpd6 | ||
2386 | 7 | maas ALL= NOPASSWD: /bin/systemctl restart maas-dhcpd6 | ||
2387 | 8 | maas ALL= NOPASSWD: /bin/systemctl stop maas-dhcpd6 | ||
2388 | 9 | maas ALL= NOPASSWD: /bin/systemctl status tgt | ||
2389 | 10 | maas ALL= NOPASSWD: /bin/systemctl start tgt | ||
2390 | 11 | maas ALL= NOPASSWD: /usr/sbin/maas-rack | ||
2391 | 12 | maas ALL= NOPASSWD: SETENV: /usr/sbin/tgt-admin, /usr/bin/uec2roottar | ||
2392 | 13 | maas ALL= NOPASSWD: /usr/bin/lshw | ||
2393 | 14 | maas ALL= NOPASSWD: /sbin/blockdev | ||
2394 | 0 | 15 | ||
2395 | === added file 'debian/extras/isc-dhcp-server.override' | |||
2396 | --- debian/extras/isc-dhcp-server.override 1970-01-01 00:00:00 +0000 | |||
2397 | +++ debian/extras/isc-dhcp-server.override 2016-04-16 02:29:52 +0000 | |||
2398 | @@ -0,0 +1,1 @@ | |||
2399 | 1 | manual | ||
2400 | 0 | 2 | ||
2401 | === added file 'debian/extras/maas' | |||
2402 | --- debian/extras/maas 1970-01-01 00:00:00 +0000 | |||
2403 | +++ debian/extras/maas 2016-04-16 02:29:52 +0000 | |||
2404 | @@ -0,0 +1,13 @@ | |||
2405 | 1 | #!/usr/bin/env python3 | ||
2406 | 2 | |||
2407 | 3 | import sys | ||
2408 | 4 | import maascli | ||
2409 | 5 | |||
2410 | 6 | if sys.argv[0].split('/')[-1:] == "maas-cli": | ||
2411 | 7 | sys.stderr.write(""" | ||
2412 | 8 | WARNING: The maas-cli command is deprecated and will be removed in a future | ||
2413 | 9 | version. From now on please use 'maas' instead. | ||
2414 | 10 | """) | ||
2415 | 11 | |||
2416 | 12 | sys.exit(maascli.main()) | ||
2417 | 13 | |||
2418 | 0 | 14 | ||
2419 | === added file 'debian/extras/maas-probe-dhcp' | |||
2420 | --- debian/extras/maas-probe-dhcp 1970-01-01 00:00:00 +0000 | |||
2421 | +++ debian/extras/maas-probe-dhcp 2016-04-16 02:29:52 +0000 | |||
2422 | @@ -0,0 +1,7 @@ | |||
2423 | 1 | #!/bin/sh | ||
2424 | 2 | if [ "$(id -u)" != "0" ]; then | ||
2425 | 3 | echo "This utility may only be run as root." 1>&2 | ||
2426 | 4 | exit 1 | ||
2427 | 5 | fi | ||
2428 | 6 | export PYTHONPATH="/usr/share/maas${PYTHONPATH:+:}${PYTHONPATH}" | ||
2429 | 7 | exec /usr/bin/python3 -m provisioningserver.dhcp.probe "$@" | ||
2430 | 0 | 8 | ||
2431 | === added file 'debian/extras/maas-proxy-common.sh' | |||
2432 | --- debian/extras/maas-proxy-common.sh 1970-01-01 00:00:00 +0000 | |||
2433 | +++ debian/extras/maas-proxy-common.sh 2016-04-16 02:29:52 +0000 | |||
2434 | @@ -0,0 +1,23 @@ | |||
2435 | 1 | pre_start() { | ||
2436 | 2 | if [ -x /usr/sbin/squid ]; then | ||
2437 | 3 | SQUID=/usr/sbin/squid | ||
2438 | 4 | elif [ -x /usr/sbin/squid3 ]; then | ||
2439 | 5 | SQUID=/usr/sbin/squid3 | ||
2440 | 6 | else | ||
2441 | 7 | echo "No squid binary found" | ||
2442 | 8 | exit 1 | ||
2443 | 9 | fi | ||
2444 | 10 | |||
2445 | 11 | # ensure all cache dirs are there | ||
2446 | 12 | install -d -o proxy -g proxy -m 750 /var/cache/maas-proxy/ | ||
2447 | 13 | install -d -o proxy -g proxy -m 750 /var/log/maas/proxy/ | ||
2448 | 14 | install -m 750 -o proxy -g proxy -d /var/spool/maas-proxy/ | ||
2449 | 15 | if [ -d /var/log/maas/proxy ]; then | ||
2450 | 16 | chown -R proxy:proxy /var/log/maas/proxy | ||
2451 | 17 | fi | ||
2452 | 18 | if [ -f /var/lib/maas/maas-proxy.conf ]; then | ||
2453 | 19 | if [ ! -d /var/cache/maas-proxy/00 ]; then | ||
2454 | 20 | $SQUID -z -N -f /var/lib/maas/maas-proxy.conf | ||
2455 | 21 | fi | ||
2456 | 22 | fi | ||
2457 | 23 | } | ||
2458 | 0 | 24 | ||
2459 | === added file 'debian/extras/maas-rack' | |||
2460 | --- debian/extras/maas-rack 1970-01-01 00:00:00 +0000 | |||
2461 | +++ debian/extras/maas-rack 2016-04-16 02:29:52 +0000 | |||
2462 | @@ -0,0 +1,76 @@ | |||
2463 | 1 | #!/usr/bin/python3 | ||
2464 | 2 | # Copyright 2016 Canonical Ltd. This software is licensed under the | ||
2465 | 3 | # GNU Affero General Public License version 3 (see the file LICENSE). | ||
2466 | 4 | |||
2467 | 5 | from __future__ import ( | ||
2468 | 6 | absolute_import, | ||
2469 | 7 | print_function, | ||
2470 | 8 | unicode_literals, | ||
2471 | 9 | ) | ||
2472 | 10 | |||
2473 | 11 | str = None | ||
2474 | 12 | |||
2475 | 13 | __metaclass__ = type | ||
2476 | 14 | __all__ = [] | ||
2477 | 15 | |||
2478 | 16 | import grp | ||
2479 | 17 | import os | ||
2480 | 18 | import pwd | ||
2481 | 19 | import sys | ||
2482 | 20 | |||
2483 | 21 | |||
2484 | 22 | def check_users(users): | ||
2485 | 23 | """Check that the runnig user is in users.""" | ||
2486 | 24 | uid = os.getuid() | ||
2487 | 25 | for user in users: | ||
2488 | 26 | user_uid = pwd.getpwnam(user)[2] | ||
2489 | 27 | if uid == user_uid: | ||
2490 | 28 | return user | ||
2491 | 29 | raise SystemExit("This utility may only be run as %s." % ", ".join(users)) | ||
2492 | 30 | |||
2493 | 31 | |||
2494 | 32 | def set_group(): | ||
2495 | 33 | # Ensure that we're running as the `maas` group. | ||
2496 | 34 | try: | ||
2497 | 35 | gr_maas = grp.getgrnam("maas") | ||
2498 | 36 | except KeyError: | ||
2499 | 37 | raise SystemExit("No such group: maas") | ||
2500 | 38 | else: | ||
2501 | 39 | os.setegid(gr_maas.gr_gid) | ||
2502 | 40 | |||
2503 | 41 | |||
2504 | 42 | def set_umask(): | ||
2505 | 43 | # Prevent creation of world-readable (or writable, executable) files. | ||
2506 | 44 | os.umask(0o007) | ||
2507 | 45 | |||
2508 | 46 | |||
2509 | 47 | def run(): | ||
2510 | 48 | # Run the main provisioning script. | ||
2511 | 49 | from provisioningserver.__main__ import main | ||
2512 | 50 | main() | ||
2513 | 51 | |||
2514 | 52 | |||
2515 | 53 | def main(): | ||
2516 | 54 | if 'maas-provision' in sys.argv[0]: | ||
2517 | 55 | sys.stderr.write( | ||
2518 | 56 | "WARNING: The maas-provision command is deprecated and will be " | ||
2519 | 57 | "removed in a future version. From now on please use 'maas-rack' " | ||
2520 | 58 | "instead.\n") | ||
2521 | 59 | |||
2522 | 60 | # Allow dhcpd user to call dhcp-notify. | ||
2523 | 61 | users = ["root"] | ||
2524 | 62 | if len(sys.argv) > 1: | ||
2525 | 63 | if sys.argv[1] == "dhcp-notify": | ||
2526 | 64 | users.append("dhcpd") | ||
2527 | 65 | |||
2528 | 66 | # Only set the group and umask when running as root. | ||
2529 | 67 | if check_users(users) == "root": | ||
2530 | 68 | set_group() | ||
2531 | 69 | set_umask() | ||
2532 | 70 | |||
2533 | 71 | # Run the script. | ||
2534 | 72 | run() | ||
2535 | 73 | |||
2536 | 74 | |||
2537 | 75 | if __name__ == "__main__": | ||
2538 | 76 | main() | ||
2539 | 0 | 77 | ||
2540 | === added file 'debian/extras/maas-region' | |||
2541 | --- debian/extras/maas-region 1970-01-01 00:00:00 +0000 | |||
2542 | +++ debian/extras/maas-region 2016-04-16 02:29:52 +0000 | |||
2543 | @@ -0,0 +1,67 @@ | |||
2544 | 1 | #!/usr/bin/python3 | ||
2545 | 2 | # Copyright 2016 Canonical Ltd. This software is licensed under the | ||
2546 | 3 | # GNU Affero General Public License version 3 (see the file LICENSE). | ||
2547 | 4 | |||
2548 | 5 | from __future__ import ( | ||
2549 | 6 | absolute_import, | ||
2550 | 7 | print_function, | ||
2551 | 8 | unicode_literals, | ||
2552 | 9 | ) | ||
2553 | 10 | |||
2554 | 11 | str = None | ||
2555 | 12 | |||
2556 | 13 | __metaclass__ = type | ||
2557 | 14 | __all__ = [] | ||
2558 | 15 | |||
2559 | 16 | import grp | ||
2560 | 17 | import os | ||
2561 | 18 | import sys | ||
2562 | 19 | |||
2563 | 20 | |||
2564 | 21 | def check_user(): | ||
2565 | 22 | # At present, only root should execute this. | ||
2566 | 23 | if os.getuid() != 0: | ||
2567 | 24 | raise SystemExit("This utility may only be run as root.") | ||
2568 | 25 | |||
2569 | 26 | |||
2570 | 27 | def set_group(): | ||
2571 | 28 | # Ensure that we're running as the `maas` group. | ||
2572 | 29 | try: | ||
2573 | 30 | gr_maas = grp.getgrnam("maas") | ||
2574 | 31 | except KeyError: | ||
2575 | 32 | raise SystemExit("No such group: maas") | ||
2576 | 33 | else: | ||
2577 | 34 | os.setegid(gr_maas.gr_gid) | ||
2578 | 35 | |||
2579 | 36 | |||
2580 | 37 | def set_umask(): | ||
2581 | 38 | # Prevent creation of world-readable (or writable, executable) files. | ||
2582 | 39 | os.umask(0o007) | ||
2583 | 40 | |||
2584 | 41 | |||
2585 | 42 | def run(): | ||
2586 | 43 | # Force the production MAAS Django configuration. | ||
2587 | 44 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "maas.settings") | ||
2588 | 45 | |||
2589 | 46 | # The Django configuration lives outside of sys.path. | ||
2590 | 47 | sys.path.append('/usr/share/maas') | ||
2591 | 48 | |||
2592 | 49 | # Let Django do the rest. | ||
2593 | 50 | from django.core import management | ||
2594 | 51 | management.execute_from_command_line() | ||
2595 | 52 | |||
2596 | 53 | |||
2597 | 54 | def main(): | ||
2598 | 55 | if 'maas-region-admin' in sys.argv[0]: | ||
2599 | 56 | sys.stderr.write( | ||
2600 | 57 | "WARNING: The maas-region-admin command is deprecated and will be " | ||
2601 | 58 | "removed in a future version. From now on please use 'maas-region' " | ||
2602 | 59 | "instead.\n") | ||
2603 | 60 | check_user() | ||
2604 | 61 | set_group() | ||
2605 | 62 | set_umask() | ||
2606 | 63 | run() | ||
2607 | 64 | |||
2608 | 65 | |||
2609 | 66 | if __name__ == "__main__": | ||
2610 | 67 | main() | ||
2611 | 0 | 68 | ||
2612 | === added file 'debian/extras/maas_remote_syslog_compress' | |||
2613 | --- debian/extras/maas_remote_syslog_compress 1970-01-01 00:00:00 +0000 | |||
2614 | +++ debian/extras/maas_remote_syslog_compress 2016-04-16 02:29:52 +0000 | |||
2615 | @@ -0,0 +1,2 @@ | |||
2616 | 1 | # Compress log files not changed in more than 48 hours: | ||
2617 | 2 | 30 4 * * * root find /var/log/maas/rsyslog -type f -mtime +2 -exec bzip2 '{}' \; | ||
2618 | 0 | 3 | ||
2619 | === added file 'debian/extras/squid3.override' | |||
2620 | --- debian/extras/squid3.override 1970-01-01 00:00:00 +0000 | |||
2621 | +++ debian/extras/squid3.override 2016-04-16 02:29:52 +0000 | |||
2622 | @@ -0,0 +1,1 @@ | |||
2623 | 1 | manual | ||
2624 | 0 | 2 | ||
2625 | === added file 'debian/maas-cli.install' | |||
2626 | --- debian/maas-cli.install 1970-01-01 00:00:00 +0000 | |||
2627 | +++ debian/maas-cli.install 2016-04-16 02:29:52 +0000 | |||
2628 | @@ -0,0 +1,1 @@ | |||
2629 | 1 | debian/extras/maas usr/bin | ||
2630 | 0 | 2 | ||
2631 | === added file 'debian/maas-cli.links' | |||
2632 | --- debian/maas-cli.links 1970-01-01 00:00:00 +0000 | |||
2633 | +++ debian/maas-cli.links 2016-04-16 02:29:52 +0000 | |||
2634 | @@ -0,0 +1,1 @@ | |||
2635 | 1 | usr/bin/maas usr/bin/maas-cli | ||
2636 | 0 | 2 | ||
2637 | === added file 'debian/maas-cli.lintian-overrides' | |||
2638 | --- debian/maas-cli.lintian-overrides 1970-01-01 00:00:00 +0000 | |||
2639 | +++ debian/maas-cli.lintian-overrides 2016-04-16 02:29:52 +0000 | |||
2640 | @@ -0,0 +1,1 @@ | |||
2641 | 1 | maas-cli: binary-without-manpage usr/bin/maas-cli | ||
2642 | 0 | 2 | ||
2643 | === added file 'debian/maas-common.dirs' | |||
2644 | --- debian/maas-common.dirs 1970-01-01 00:00:00 +0000 | |||
2645 | +++ debian/maas-common.dirs 2016-04-16 02:29:52 +0000 | |||
2646 | @@ -0,0 +1,2 @@ | |||
2647 | 1 | var/log/maas | ||
2648 | 2 | var/lib/maas | ||
2649 | 0 | 3 | ||
2650 | === added file 'debian/maas-common.install' | |||
2651 | --- debian/maas-common.install 1970-01-01 00:00:00 +0000 | |||
2652 | +++ debian/maas-common.install 2016-04-16 02:29:52 +0000 | |||
2653 | @@ -0,0 +1,1 @@ | |||
2654 | 1 | debian/tmp/usr/share/maas/maas-rsyslog.conf | ||
2655 | 0 | 2 | ||
2656 | === added file 'debian/maas-common.logrotate' | |||
2657 | --- debian/maas-common.logrotate 1970-01-01 00:00:00 +0000 | |||
2658 | +++ debian/maas-common.logrotate 2016-04-16 02:29:52 +0000 | |||
2659 | @@ -0,0 +1,9 @@ | |||
2660 | 1 | /var/log/maas/maas.log | ||
2661 | 2 | { | ||
2662 | 3 | rotate 7 | ||
2663 | 4 | daily | ||
2664 | 5 | missingok | ||
2665 | 6 | notifempty | ||
2666 | 7 | delaycompress | ||
2667 | 8 | compress | ||
2668 | 9 | } | ||
2669 | 0 | 10 | ||
2670 | === added file 'debian/maas-common.maintscript' | |||
2671 | --- debian/maas-common.maintscript 1970-01-01 00:00:00 +0000 | |||
2672 | +++ debian/maas-common.maintscript 2016-04-16 02:29:52 +0000 | |||
2673 | @@ -0,0 +1,2 @@ | |||
2674 | 1 | #TODO: Figure out the right version or whether this is needed. | ||
2675 | 2 | #rm_conffile /usr/share/maas/celeryconfig_common.py 1.7.0~beta3+bzr3043-0ubuntu1 | ||
2676 | 0 | 3 | ||
2677 | === added file 'debian/maas-common.postinst' | |||
2678 | --- debian/maas-common.postinst 1970-01-01 00:00:00 +0000 | |||
2679 | +++ debian/maas-common.postinst 2016-04-16 02:29:52 +0000 | |||
2680 | @@ -0,0 +1,38 @@ | |||
2681 | 1 | #!/bin/sh | ||
2682 | 2 | |||
2683 | 3 | set -e | ||
2684 | 4 | |||
2685 | 5 | configure_logging() { | ||
2686 | 6 | # Logging directory (/var/log/maas) | ||
2687 | 7 | chown maas:maas /var/log/maas/ | ||
2688 | 8 | |||
2689 | 9 | if [ ! -f /var/log/maas/maas.log ]; then | ||
2690 | 10 | touch /var/log/maas/maas.log | ||
2691 | 11 | fi | ||
2692 | 12 | chown syslog:syslog /var/log/maas/maas.log | ||
2693 | 13 | } | ||
2694 | 14 | |||
2695 | 15 | configure_lib_dir() { | ||
2696 | 16 | # Ensure lib dir has correct permissions | ||
2697 | 17 | chown maas:maas /var/lib/maas/ | ||
2698 | 18 | |||
2699 | 19 | if [ -d /var/lib/maas/gnupg ]; then | ||
2700 | 20 | chown -R maas:maas /var/lib/maas/gnupg | ||
2701 | 21 | fi | ||
2702 | 22 | } | ||
2703 | 23 | |||
2704 | 24 | add_user_group(){ | ||
2705 | 25 | local user="maas" | ||
2706 | 26 | local group="maas" | ||
2707 | 27 | local home="/var/lib/maas" | ||
2708 | 28 | addgroup --quiet --system "$group" || true | ||
2709 | 29 | adduser --quiet --system --group --home "$home" "$user" || true | ||
2710 | 30 | } | ||
2711 | 31 | |||
2712 | 32 | ln -sf /usr/share/maas/maas-rsyslog.conf /etc/rsyslog.d/99-maas.conf | ||
2713 | 33 | |||
2714 | 34 | add_user_group | ||
2715 | 35 | configure_logging | ||
2716 | 36 | configure_lib_dir | ||
2717 | 37 | |||
2718 | 38 | #DEBHELPER# | ||
2719 | 0 | 39 | ||
2720 | === added file 'debian/maas-common.postrm' | |||
2721 | --- debian/maas-common.postrm 1970-01-01 00:00:00 +0000 | |||
2722 | +++ debian/maas-common.postrm 2016-04-16 02:29:52 +0000 | |||
2723 | @@ -0,0 +1,21 @@ | |||
2724 | 1 | #!/bin/sh | ||
2725 | 2 | |||
2726 | 3 | set -e | ||
2727 | 4 | |||
2728 | 5 | case "$1" in | ||
2729 | 6 | purge) | ||
2730 | 7 | # Deleting user/group | ||
2731 | 8 | if getent passwd maas >/dev/null; then | ||
2732 | 9 | deluser maas || true | ||
2733 | 10 | delgroup maas || true | ||
2734 | 11 | fi | ||
2735 | 12 | rm -rf /var/log/maas/maas.log | ||
2736 | 13 | rm -rf /var/lib/maas/gnupg | ||
2737 | 14 | rm -rf /var/lib/maas/secret | ||
2738 | 15 | rm -rf /var/lib/maas/maas_id | ||
2739 | 16 | |||
2740 | 17 | esac | ||
2741 | 18 | |||
2742 | 19 | rm -f /etc/rsyslog.d/99-maas.conf | ||
2743 | 20 | |||
2744 | 21 | #DEBHELPER# | ||
2745 | 0 | 22 | ||
2746 | === added file 'debian/maas-common.templates' | |||
2747 | --- debian/maas-common.templates 1970-01-01 00:00:00 +0000 | |||
2748 | +++ debian/maas-common.templates 2016-04-16 02:29:52 +0000 | |||
2749 | @@ -0,0 +1,53 @@ | |||
2750 | 1 | Template: maas/installation-note | ||
2751 | 2 | Type: note | ||
2752 | 3 | Default: false | ||
2753 | 4 | _Description: Ubuntu MAAS Server | ||
2754 | 5 | The Ubuntu MAAS Server has been installed in your system. You | ||
2755 | 6 | can access the MAAS Web interface here: | ||
2756 | 7 | . | ||
2757 | 8 | http://${MAAS_URL}/MAAS | ||
2758 | 9 | . | ||
2759 | 10 | If the automatically detected address above is not in the same | ||
2760 | 11 | network as the MAAS clients, you need to reconfigure it: | ||
2761 | 12 | . | ||
2762 | 13 | sudo dpkg-reconfigure maas-region-controller | ||
2763 | 14 | |||
2764 | 15 | Template: maas/default-maas-url | ||
2765 | 16 | Type: string | ||
2766 | 17 | _Description: Ubuntu MAAS PXE/Provisioning network address: | ||
2767 | 18 | The Ubuntu MAAS Server automatically detects the IP address | ||
2768 | 19 | that is used for PXE and provisioning. However, it needs to be | ||
2769 | 20 | in the same network as the clients. If the automatically | ||
2770 | 21 | detected address is not in the same network as the clients, it | ||
2771 | 22 | must be changed. | ||
2772 | 23 | |||
2773 | 24 | Template: maas/username | ||
2774 | 25 | Type: string | ||
2775 | 26 | _Description: Ubuntu MAAS username | ||
2776 | 27 | The Ubuntu MAAS server requires the administrator to create a | ||
2777 | 28 | username and password combination. | ||
2778 | 29 | . | ||
2779 | 30 | Please provide the username for the MAAS account. | ||
2780 | 31 | |||
2781 | 32 | Template: maas/password | ||
2782 | 33 | Type: password | ||
2783 | 34 | _Description: Ubuntu MAAS password | ||
2784 | 35 | The Ubuntu MAAS server requires the administrator to create a | ||
2785 | 36 | username and password combination. | ||
2786 | 37 | . | ||
2787 | 38 | Please provide the password for the MAAS account. | ||
2788 | 39 | |||
2789 | 40 | Template: maas-rack-controller/maas-url | ||
2790 | 41 | Type: string | ||
2791 | 42 | _Description: Ubuntu MAAS API address: | ||
2792 | 43 | The MAAS cluster controller and nodes need to contact the MAAS region | ||
2793 | 44 | controller API. Set the URL at which they can reach the MAAS API remotely, | ||
2794 | 45 | e.g. "http://192.168.1.1/MAAS". | ||
2795 | 46 | Since nodes must be able to access this URL, localhost or 127.0.0.1 are not | ||
2796 | 47 | useful values here. | ||
2797 | 48 | |||
2798 | 49 | Template: maas-rack-controller/shared-secret | ||
2799 | 50 | Type: password | ||
2800 | 51 | _Description: MAAS Cluster Controller Shared Secret: | ||
2801 | 52 | The MAAS Cluster Controller needs to contact the MAAS server | ||
2802 | 53 | with a share secret. Set the shared secret here. | ||
2803 | 0 | 54 | ||
2804 | === added file 'debian/maas-dhcp.apparmor' | |||
2805 | --- debian/maas-dhcp.apparmor 1970-01-01 00:00:00 +0000 | |||
2806 | +++ debian/maas-dhcp.apparmor 2016-04-16 02:29:52 +0000 | |||
2807 | @@ -0,0 +1,10 @@ | |||
2808 | 1 | /run/maas/dhcp/ r, | ||
2809 | 2 | /run/maas/dhcp/** r, | ||
2810 | 3 | /run/maas/dhcp/*.pid lrw, | ||
2811 | 4 | /run/maas/dhcp/*.trace lrw, | ||
2812 | 5 | /run/maas/dhcp/*.leases* lrw, | ||
2813 | 6 | /var/lib/maas/dhcp/dhcpd*.leases* lrw, | ||
2814 | 7 | /var/lib/maas/dhcpd.conf r, | ||
2815 | 8 | /var/lib/maas/dhcpd6.conf r, | ||
2816 | 9 | /usr/sbin/maas-dhcp-helper Ux, | ||
2817 | 10 | /tmp/maas-dhcpd-* r, | ||
2818 | 0 | 11 | ||
2819 | === added file 'debian/maas-dhcp.dirs' | |||
2820 | --- debian/maas-dhcp.dirs 1970-01-01 00:00:00 +0000 | |||
2821 | +++ debian/maas-dhcp.dirs 2016-04-16 02:29:52 +0000 | |||
2822 | @@ -0,0 +1,2 @@ | |||
2823 | 1 | var/lib/maas | ||
2824 | 2 | var/lib/maas/dhcp | ||
2825 | 0 | 3 | ||
2826 | === added file 'debian/maas-dhcp.install' | |||
2827 | --- debian/maas-dhcp.install 1970-01-01 00:00:00 +0000 | |||
2828 | +++ debian/maas-dhcp.install 2016-04-16 02:29:52 +0000 | |||
2829 | @@ -0,0 +1,1 @@ | |||
2830 | 1 | /debian/tmp/etc/apparmor.d/dhcpd.d/maas | ||
2831 | 0 | 2 | ||
2832 | === added file 'debian/maas-dhcp.maas-dhcpd.service' | |||
2833 | --- debian/maas-dhcp.maas-dhcpd.service 1970-01-01 00:00:00 +0000 | |||
2834 | +++ debian/maas-dhcp.maas-dhcpd.service 2016-04-16 02:29:52 +0000 | |||
2835 | @@ -0,0 +1,28 @@ | |||
2836 | 1 | [Unit] | ||
2837 | 2 | Description=MAAS instance of ISC DHCP server for IPv4 | ||
2838 | 3 | Documentation=man:dhcpd(8) | ||
2839 | 4 | Wants=network-online.target | ||
2840 | 5 | After=network-online.target | ||
2841 | 6 | After=time-sync.target | ||
2842 | 7 | BindsTo=maas-rackd.service | ||
2843 | 8 | ConditionPathExists=/var/lib/maas/dhcpd.conf | ||
2844 | 9 | ConditionPathExists=/var/lib/maas/dhcpd-interfaces | ||
2845 | 10 | |||
2846 | 11 | [Service] | ||
2847 | 12 | # Allow dhcp server to write lease and pid file as 'dhcpd' user | ||
2848 | 13 | ExecStartPre=/bin/mkdir -p /run/maas/dhcp | ||
2849 | 14 | # The leases files need to be root:dhcpd even when dropping privileges | ||
2850 | 15 | ExecStartPre=/bin/mkdir -p /var/lib/maas/dhcp | ||
2851 | 16 | # Start the daemon | ||
2852 | 17 | ExecStart=/bin/sh -ec '\ | ||
2853 | 18 | INTERFACES=$(cat /var/lib/maas/dhcpd-interfaces); \ | ||
2854 | 19 | LEASES_FILE=/var/lib/maas/dhcp/dhcpd.leases; \ | ||
2855 | 20 | [ -e $LEASES_FILE ] || touch $LEASES_FILE; \ | ||
2856 | 21 | /usr/sbin/maas-dhcp-helper clean $LEASES_FILE; \ | ||
2857 | 22 | chown root:dhcpd /var/lib/maas/dhcp $LEASES_FILE; \ | ||
2858 | 23 | chmod 775 /var/lib/maas/dhcp ; chmod 664 $LEASES_FILE; \ | ||
2859 | 24 | exec dhcpd -user dhcpd -group dhcpd -f -q -4 -pf /run/maas/dhcp/dhcpd.pid \ | ||
2860 | 25 | -cf /var/lib/maas/dhcpd.conf -lf $LEASES_FILE $INTERFACES' | ||
2861 | 26 | |||
2862 | 27 | [Install] | ||
2863 | 28 | WantedBy=multi-user.target | ||
2864 | 0 | 29 | ||
2865 | === added file 'debian/maas-dhcp.maas-dhcpd6.service' | |||
2866 | --- debian/maas-dhcp.maas-dhcpd6.service 1970-01-01 00:00:00 +0000 | |||
2867 | +++ debian/maas-dhcp.maas-dhcpd6.service 2016-04-16 02:29:52 +0000 | |||
2868 | @@ -0,0 +1,28 @@ | |||
2869 | 1 | [Unit] | ||
2870 | 2 | Description=MAAS instance of ISC DHCP server for IPv6 | ||
2871 | 3 | Documentation=man:dhcpd(8) | ||
2872 | 4 | Wants=network-online.target | ||
2873 | 5 | After=network-online.target | ||
2874 | 6 | After=time-sync.target | ||
2875 | 7 | BindsTo=maas-rackd.service | ||
2876 | 8 | ConditionPathExists=/var/lib/maas/dhcpd6.conf | ||
2877 | 9 | ConditionPathExists=/var/lib/maas/dhcpd-interfaces | ||
2878 | 10 | |||
2879 | 11 | [Service] | ||
2880 | 12 | # Allow dhcp server to write lease and pid file as 'dhcpd' user | ||
2881 | 13 | ExecStartPre=/bin/mkdir -p /run/maas/dhcp | ||
2882 | 14 | # The leases files need to be root:dhcpd even when dropping privileges | ||
2883 | 15 | ExecStartPre=/bin/mkdir -p /var/lib/maas/dhcp | ||
2884 | 16 | # Start the daemon | ||
2885 | 17 | ExecStart=/bin/sh -ec '\ | ||
2886 | 18 | INTERFACES=$(cat /var/lib/maas/dhcpd6-interfaces); \ | ||
2887 | 19 | LEASES_FILE=/var/lib/maas/dhcp/dhcpd6.leases; \ | ||
2888 | 20 | [ -e $LEASES_FILE ] || touch $LEASES_FILE; \ | ||
2889 | 21 | /usr/sbin/maas-dhcp-helper clean $LEASES_FILE; \ | ||
2890 | 22 | chown root:dhcpd /var/lib/maas/dhcp $LEASES_FILE; \ | ||
2891 | 23 | chmod 775 /var/lib/maas/dhcp ; chmod 664 $LEASES_FILE; \ | ||
2892 | 24 | exec dhcpd -user dhcpd -group dhcpd -f -6 -pf /run/maas/dhcp/dhcpd6.pid \ | ||
2893 | 25 | -cf /var/lib/maas/dhcpd6.conf -lf $LEASES_FILE $INTERFACES' | ||
2894 | 26 | |||
2895 | 27 | [Install] | ||
2896 | 28 | WantedBy=multi-user.target | ||
2897 | 0 | 29 | ||
2898 | === added file 'debian/maas-dhcp.maintscript' | |||
2899 | --- debian/maas-dhcp.maintscript 1970-01-01 00:00:00 +0000 | |||
2900 | +++ debian/maas-dhcp.maintscript 2016-04-16 02:29:52 +0000 | |||
2901 | @@ -0,0 +1,2 @@ | |||
2902 | 1 | rm_conffile /etc/init/maas-dhcp-server.conf 1.7.0~beta6+bzr3231-0ubuntu1 | ||
2903 | 2 | rm_conffile /etc/init/maas-dhcpv6-server.conf 1.7.0~beta6+bzr3231-0ubuntu1 | ||
2904 | 0 | 3 | ||
2905 | === added file 'debian/maas-dhcp.postinst' | |||
2906 | --- debian/maas-dhcp.postinst 1970-01-01 00:00:00 +0000 | |||
2907 | +++ debian/maas-dhcp.postinst 2016-04-16 02:29:52 +0000 | |||
2908 | @@ -0,0 +1,35 @@ | |||
2909 | 1 | #!/bin/sh | ||
2910 | 2 | |||
2911 | 3 | set -e | ||
2912 | 4 | |||
2913 | 5 | if [ "$1" = "configure" ] | ||
2914 | 6 | then | ||
2915 | 7 | # Stop the dhcpd instance that came with the isc-dhcp-server package. | ||
2916 | 8 | # We run our own dhcpd instances. | ||
2917 | 9 | systemctl stop isc-dhcp-server >/dev/null || true | ||
2918 | 10 | systemctl disable isc-dhcp-server >/dev/null || true | ||
2919 | 11 | systemctl stop isc-dhcp-server6 >/dev/null || true | ||
2920 | 12 | systemctl disable isc-dhcp-server6 >/dev/null || true | ||
2921 | 13 | |||
2922 | 14 | dhcpd_prof="/etc/apparmor.d/usr.sbin.dhcpd" | ||
2923 | 15 | if [ -f "${dhcpd_prof}" ] && command -v apparmor_parser >/dev/null 2>&1 | ||
2924 | 16 | then | ||
2925 | 17 | apparmor_parser --replace --write-cache --skip-read-cache "${dhcpd_prof}" || true | ||
2926 | 18 | fi | ||
2927 | 19 | |||
2928 | 20 | # Starting from 1.9, these config files are no longer stored in | ||
2929 | 21 | # /etc/maas, but are stored in /var/lib/maas. Note that these | ||
2930 | 22 | # are created automatically by MAAS. On upgrades, however, these | ||
2931 | 23 | # need to be moved to not break DHCP. | ||
2932 | 24 | if [ -f /etc/maas/dhcpd.conf ]; then | ||
2933 | 25 | mv /etc/maas/dhcpd.conf /var/lib/maas/ | ||
2934 | 26 | fi | ||
2935 | 27 | if [ -f /etc/maas/dhcpd6.conf ]; then | ||
2936 | 28 | mv /etc/maas/dhcpd6.conf /var/lib/maas/ | ||
2937 | 29 | fi | ||
2938 | 30 | |||
2939 | 31 | # Ensure ownership is correct | ||
2940 | 32 | chown root:dhcpd /var/lib/maas/dhcp | ||
2941 | 33 | fi | ||
2942 | 34 | |||
2943 | 35 | #DEBHELPER# | ||
2944 | 0 | 36 | ||
2945 | === added file 'debian/maas-dhcp.postrm' | |||
2946 | --- debian/maas-dhcp.postrm 1970-01-01 00:00:00 +0000 | |||
2947 | +++ debian/maas-dhcp.postrm 2016-04-16 02:29:52 +0000 | |||
2948 | @@ -0,0 +1,16 @@ | |||
2949 | 1 | #!/bin/sh | ||
2950 | 2 | |||
2951 | 3 | set -e | ||
2952 | 4 | |||
2953 | 5 | if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then | ||
2954 | 6 | dhcpd_prof="/etc/apparmor.d/usr.sbin.dhcpd" | ||
2955 | 7 | if [ -f "${dhcpd_prof}" ] && | ||
2956 | 8 | command -v apparmor_parser >/dev/null 2>&1; then | ||
2957 | 9 | apparmor_parser --replace --write-cache --skip-read-cache "${dhcpd_prof}" || true | ||
2958 | 10 | fi | ||
2959 | 11 | if [ "$1" = "purge" ]; then | ||
2960 | 12 | rm -rf /var/lib/maas/dhcp | ||
2961 | 13 | fi | ||
2962 | 14 | fi | ||
2963 | 15 | |||
2964 | 16 | #DEBHELPER# | ||
2965 | 0 | 17 | ||
2966 | === added file 'debian/maas-dhcp.preinst' | |||
2967 | --- debian/maas-dhcp.preinst 1970-01-01 00:00:00 +0000 | |||
2968 | +++ debian/maas-dhcp.preinst 2016-04-16 02:29:52 +0000 | |||
2969 | @@ -0,0 +1,16 @@ | |||
2970 | 1 | #!/bin/sh | ||
2971 | 2 | |||
2972 | 3 | set -e | ||
2973 | 4 | |||
2974 | 5 | . /usr/share/debconf/confmodule | ||
2975 | 6 | |||
2976 | 7 | if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt 1.7.0~beta6+bzr3232-0ubuntu1; then | ||
2977 | 8 | if [ -f /etc/init/maas-dhcp-server.conf ]; then | ||
2978 | 9 | invoke-rc.d maas-dhcp-server stop | ||
2979 | 10 | fi | ||
2980 | 11 | if [ -f /etc/init/maas-dhcpv6-server.conf ]; then | ||
2981 | 12 | invoke-rc.d maas-dhcpv6-server stop | ||
2982 | 13 | fi | ||
2983 | 14 | fi | ||
2984 | 15 | |||
2985 | 16 | #DEBHELPER# | ||
2986 | 0 | 17 | ||
2987 | === added file 'debian/maas-dns.dirs' | |||
2988 | --- debian/maas-dns.dirs 1970-01-01 00:00:00 +0000 | |||
2989 | +++ debian/maas-dns.dirs 2016-04-16 02:29:52 +0000 | |||
2990 | @@ -0,0 +1,1 @@ | |||
2991 | 1 | etc/bind/maas | ||
2992 | 0 | 2 | ||
2993 | === added file 'debian/maas-dns.postinst' | |||
2994 | --- debian/maas-dns.postinst 1970-01-01 00:00:00 +0000 | |||
2995 | +++ debian/maas-dns.postinst 2016-04-16 02:29:52 +0000 | |||
2996 | @@ -0,0 +1,61 @@ | |||
2997 | 1 | #!/bin/sh | ||
2998 | 2 | |||
2999 | 3 | set -e | ||
3000 | 4 | |||
3001 | 5 | edit_named_options() { | ||
3002 | 6 | # Remove any existing MAAS-related include line from | ||
3003 | 7 | # /etc/bind/named.conf.local, then re-add it. | ||
3004 | 8 | sed -i '/^include\s.*maas/d' /etc/bind/named.conf.local | ||
3005 | 9 | maas-region get_named_conf --edit --config_path /etc/bind/named.conf.local | ||
3006 | 10 | |||
3007 | 11 | # Add a line in /etc/bind/named.conf.options that includes the | ||
3008 | 12 | # /etc/named/maas/named.conf.options.inside.maas file. | ||
3009 | 13 | maas-region edit_named_options --config-path /etc/bind/named.conf.options | ||
3010 | 14 | } | ||
3011 | 15 | |||
3012 | 16 | fix_dns_permissions() { | ||
3013 | 17 | if [ -d /etc/bind/maas ]; then | ||
3014 | 18 | chown maas:root /etc/bind/maas | ||
3015 | 19 | chown -R maas:maas /etc/bind/maas/* | ||
3016 | 20 | fi | ||
3017 | 21 | if [ -f /etc/bind/maas/named.conf.maas ]; then | ||
3018 | 22 | chown maas:maas /etc/bind/maas/named.conf.maas | ||
3019 | 23 | chmod 644 /etc/bind/maas/named.conf.maas | ||
3020 | 24 | fi | ||
3021 | 25 | if [ -f /etc/bind/maas/named.conf.options.inside.maas ]; then | ||
3022 | 26 | chown maas:maas /etc/bind/maas/named.conf.options.inside.maas | ||
3023 | 27 | chmod 644 /etc/bind/maas/named.conf.options.inside.maas | ||
3024 | 28 | fi | ||
3025 | 29 | if [ -f /etc/bind/maas/rndc.conf.maas ]; then | ||
3026 | 30 | chown maas:root /etc/bind/maas/rndc.conf.maas | ||
3027 | 31 | chmod 600 /etc/bind/maas/rndc.conf.maas | ||
3028 | 32 | fi | ||
3029 | 33 | if [ -f /etc/bind/maas/named.conf.rndc.maas ]; then | ||
3030 | 34 | chown maas:bind /etc/bind/maas/named.conf.rndc.maas | ||
3031 | 35 | chmod 640 /etc/bind/maas/named.conf.rndc.maas | ||
3032 | 36 | fi | ||
3033 | 37 | } | ||
3034 | 38 | |||
3035 | 39 | # This handles installs and re-configuration | ||
3036 | 40 | if ([ "$1" = "configure" ] && [ -z "$2" ]) || [ -n "$DEBCONF_RECONFIGURE" ]; then | ||
3037 | 41 | # If /etc/bind/maas is empty, set_up_dns. | ||
3038 | 42 | if [ ! "$(ls -A /etc/bind/maas)" ]; then | ||
3039 | 43 | maas-region set_up_dns | ||
3040 | 44 | fi | ||
3041 | 45 | |||
3042 | 46 | # Fix permissions. | ||
3043 | 47 | fix_dns_permissions | ||
3044 | 48 | |||
3045 | 49 | edit_named_options | ||
3046 | 50 | |||
3047 | 51 | elif [ "$1" = "configure" ]; then | ||
3048 | 52 | # Fix permissions | ||
3049 | 53 | fix_dns_permissions | ||
3050 | 54 | |||
3051 | 55 | # ensure that DNS config is included | ||
3052 | 56 | edit_named_options | ||
3053 | 57 | fi | ||
3054 | 58 | |||
3055 | 59 | invoke-rc.d bind9 restart || true | ||
3056 | 60 | |||
3057 | 61 | #DEBHELPER# | ||
3058 | 0 | 62 | ||
3059 | === added file 'debian/maas-dns.postrm' | |||
3060 | --- debian/maas-dns.postrm 1970-01-01 00:00:00 +0000 | |||
3061 | +++ debian/maas-dns.postrm 2016-04-16 02:29:52 +0000 | |||
3062 | @@ -0,0 +1,25 @@ | |||
3063 | 1 | #!/bin/sh | ||
3064 | 2 | |||
3065 | 3 | set -e | ||
3066 | 4 | |||
3067 | 5 | if [ "$1" = "remove" ]; then | ||
3068 | 6 | if [ -f /etc/bind/named.conf.local ]; then | ||
3069 | 7 | sed -i '/^include.*\"\/etc\/bind\/maas\/named.conf.maas\"\;$/d' \ | ||
3070 | 8 | /etc/bind/named.conf.local | ||
3071 | 9 | sed -i '/^include.*\"\/etc\/bind\/maas\/named.conf.options.inside.maas\"\;$/d' \ | ||
3072 | 10 | /etc/bind/named.conf.options | ||
3073 | 11 | fi | ||
3074 | 12 | fi | ||
3075 | 13 | |||
3076 | 14 | if [ "$1" = "purge" ]; then | ||
3077 | 15 | # Remove zone files | ||
3078 | 16 | if [ -d /etc/bind/maas ]; then | ||
3079 | 17 | rm -rf /etc/bind/maas | ||
3080 | 18 | fi | ||
3081 | 19 | fi | ||
3082 | 20 | |||
3083 | 21 | if [ -x /usr/sbin/invoke-rc.d ]; then | ||
3084 | 22 | invoke-rc.d bind9 restart || true | ||
3085 | 23 | fi | ||
3086 | 24 | |||
3087 | 25 | #DEBHELPER# | ||
3088 | 0 | 26 | ||
3089 | === added file 'debian/maas-proxy.dirs' | |||
3090 | --- debian/maas-proxy.dirs 1970-01-01 00:00:00 +0000 | |||
3091 | +++ debian/maas-proxy.dirs 2016-04-16 02:29:52 +0000 | |||
3092 | @@ -0,0 +1,2 @@ | |||
3093 | 1 | var/log/maas/proxy | ||
3094 | 2 | var/lib/maas | ||
3095 | 0 | 3 | ||
3096 | === added file 'debian/maas-proxy.install' | |||
3097 | --- debian/maas-proxy.install 1970-01-01 00:00:00 +0000 | |||
3098 | +++ debian/maas-proxy.install 2016-04-16 02:29:52 +0000 | |||
3099 | @@ -0,0 +1,1 @@ | |||
3100 | 1 | debian/extras/maas-proxy-common.sh usr/share/maas/ | ||
3101 | 0 | 2 | ||
3102 | === added file 'debian/maas-proxy.logrotate' | |||
3103 | --- debian/maas-proxy.logrotate 1970-01-01 00:00:00 +0000 | |||
3104 | +++ debian/maas-proxy.logrotate 2016-04-16 02:29:52 +0000 | |||
3105 | @@ -0,0 +1,24 @@ | |||
3106 | 1 | # | ||
3107 | 2 | # Logrotate fragment for squid-deb-proxy. | ||
3108 | 3 | # | ||
3109 | 4 | /var/log/maas/proxy/*.log { | ||
3110 | 5 | daily | ||
3111 | 6 | compress | ||
3112 | 7 | delaycompress | ||
3113 | 8 | rotate 2 | ||
3114 | 9 | missingok | ||
3115 | 10 | nocreate | ||
3116 | 11 | sharedscripts | ||
3117 | 12 | postrotate | ||
3118 | 13 | if [ -x /usr/sbin/squid ]; then | ||
3119 | 14 | SQUID=/usr/sbin/squid | ||
3120 | 15 | elif [ -x /usr/sbin/squid3 ]; then | ||
3121 | 16 | SQUID=/usr/sbin/squid3 | ||
3122 | 17 | else | ||
3123 | 18 | echo "No squid binary found" | ||
3124 | 19 | exit 1 | ||
3125 | 20 | fi | ||
3126 | 21 | |||
3127 | 22 | test ! -e /var/run/maas-proxy.pid || $SQUID -f /var/lib/maas/maas-proxy.conf -k rotate | ||
3128 | 23 | endscript | ||
3129 | 24 | } | ||
3130 | 0 | 25 | ||
3131 | === added file 'debian/maas-proxy.maas-proxy.service' | |||
3132 | --- debian/maas-proxy.maas-proxy.service 1970-01-01 00:00:00 +0000 | |||
3133 | +++ debian/maas-proxy.maas-proxy.service 2016-04-16 02:29:52 +0000 | |||
3134 | @@ -0,0 +1,16 @@ | |||
3135 | 1 | [Unit] | ||
3136 | 2 | Description=MAAS Proxy | ||
3137 | 3 | Requires=network-online.target | ||
3138 | 4 | After=network-online.target | ||
3139 | 5 | ConditionPathExists=/var/lib/maas/maas-proxy.conf | ||
3140 | 6 | |||
3141 | 7 | [Service] | ||
3142 | 8 | ExecStartPre=/bin/mkdir -p /run/maas/proxy | ||
3143 | 9 | ExecStartPre=/bin/sh -ec '\ | ||
3144 | 10 | . /usr/share/maas/maas-proxy-common.sh; \ | ||
3145 | 11 | pre_start' | ||
3146 | 12 | ExecStart=/usr/sbin/squid3 -N -f /var/lib/maas/maas-proxy.conf | ||
3147 | 13 | ExecReload=/usr/sbin/squid3 -k reconfigure | ||
3148 | 14 | |||
3149 | 15 | [Install] | ||
3150 | 16 | WantedBy=multi-user.target | ||
3151 | 0 | 17 | ||
3152 | === added file 'debian/maas-proxy.postinst' | |||
3153 | --- debian/maas-proxy.postinst 1970-01-01 00:00:00 +0000 | |||
3154 | +++ debian/maas-proxy.postinst 2016-04-16 02:29:52 +0000 | |||
3155 | @@ -0,0 +1,28 @@ | |||
3156 | 1 | #!/bin/sh | ||
3157 | 2 | |||
3158 | 3 | set -e | ||
3159 | 4 | |||
3160 | 5 | if [ "$1" = "configure" ] | ||
3161 | 6 | then | ||
3162 | 7 | # Stop the squid3 instance that came with the squid3 package. | ||
3163 | 8 | # We run our own squid3 instances. | ||
3164 | 9 | # Handle both versions of the name, for safety. | ||
3165 | 10 | for SQUID in squid squid3; do | ||
3166 | 11 | systemctl stop ${SQUID} >/dev/null 2>&1 || true | ||
3167 | 12 | systemctl disable ${SQUID} >/dev/null 2>&1 || true | ||
3168 | 13 | done | ||
3169 | 14 | |||
3170 | 15 | # Ensure log folder is created. | ||
3171 | 16 | mkdir -p /var/log/maas/proxy | ||
3172 | 17 | chown -R proxy:proxy /var/log/maas/proxy | ||
3173 | 18 | |||
3174 | 19 | # maas-proxy.conf is now generated by MAAS itself and if we are | ||
3175 | 20 | # upgrading from an earlier version that used to ship maas-proxy.conf | ||
3176 | 21 | # in /etc/maas, it is safe to remove | ||
3177 | 22 | if [ -f /etc/maas/maas-proxy.conf ]; then | ||
3178 | 23 | rm /etc/maas/maas-proxy.conf | ||
3179 | 24 | fi | ||
3180 | 25 | |||
3181 | 26 | fi | ||
3182 | 27 | |||
3183 | 28 | #DEBHELPER# | ||
3184 | 0 | 29 | ||
3185 | === added file 'debian/maas-proxy.postrm' | |||
3186 | --- debian/maas-proxy.postrm 1970-01-01 00:00:00 +0000 | |||
3187 | +++ debian/maas-proxy.postrm 2016-04-16 02:29:52 +0000 | |||
3188 | @@ -0,0 +1,12 @@ | |||
3189 | 1 | #!/bin/sh | ||
3190 | 2 | |||
3191 | 3 | set -e | ||
3192 | 4 | |||
3193 | 5 | if [ "$1" = "purge" ]; then | ||
3194 | 6 | rm -rf /var/cache/maas-proxy | ||
3195 | 7 | rm -rf /var/log/maas/proxy | ||
3196 | 8 | rm -rf /var/spool/maas-proxy | ||
3197 | 9 | rm -rf /var/lib/maas/maas-proxy.conf | ||
3198 | 10 | fi | ||
3199 | 11 | |||
3200 | 12 | #DEBHELPER# | ||
3201 | 0 | 13 | ||
3202 | === added file 'debian/maas-rack-controller.config' | |||
3203 | --- debian/maas-rack-controller.config 1970-01-01 00:00:00 +0000 | |||
3204 | +++ debian/maas-rack-controller.config 2016-04-16 02:29:52 +0000 | |||
3205 | @@ -0,0 +1,36 @@ | |||
3206 | 1 | #!/bin/sh | ||
3207 | 2 | |||
3208 | 3 | set -e | ||
3209 | 4 | |||
3210 | 5 | . /usr/share/debconf/confmodule | ||
3211 | 6 | db_version 2.0 | ||
3212 | 7 | |||
3213 | 8 | # Only ask for new installations and reconfiguring. | ||
3214 | 9 | # XXX Fix to not ask when installing from the CD. | ||
3215 | 10 | if ([ "$1" = "configure" ] && [ -z "$2" ]); then | ||
3216 | 11 | |||
3217 | 12 | db_get maas-rack-controller/maas-url || true | ||
3218 | 13 | if [ -z "$RET" ]; then | ||
3219 | 14 | # Attempt to pre-populate if installing on the region controller. | ||
3220 | 15 | if [ -f /usr/sbin/maas-region ]; then | ||
3221 | 16 | url=$(maas-region local_config_get --maas-url --plain) | ||
3222 | 17 | # If the URL doesn't end in /MAAS then add it. This helps upgrades from | ||
3223 | 18 | # precise for which the URL didn't contain /MAAS, which is now required | ||
3224 | 19 | if ! echo $url | grep -qs "/MAAS$"; then | ||
3225 | 20 | url="${url}/MAAS" | ||
3226 | 21 | fi | ||
3227 | 22 | db_set maas-rack-controller/maas-url "$url" | ||
3228 | 23 | else | ||
3229 | 24 | # Will only get here if dbconf value not already set, or | ||
3230 | 25 | # /etc/maas/regiond.conf doesn't exist. | ||
3231 | 26 | db_input medium maas-rack-controller/maas-url || true | ||
3232 | 27 | db_go | ||
3233 | 28 | fi | ||
3234 | 29 | fi | ||
3235 | 30 | fi | ||
3236 | 31 | |||
3237 | 32 | if [ "$1" = "reconfigure" ]; then | ||
3238 | 33 | db_input high maas-rack-controller/maas-url || true | ||
3239 | 34 | db_go | ||
3240 | 35 | fi | ||
3241 | 36 | #DEBHELPER# | ||
3242 | 0 | 37 | ||
3243 | === added file 'debian/maas-rack-controller.dirs' | |||
3244 | --- debian/maas-rack-controller.dirs 1970-01-01 00:00:00 +0000 | |||
3245 | +++ debian/maas-rack-controller.dirs 2016-04-16 02:29:52 +0000 | |||
3246 | @@ -0,0 +1,4 @@ | |||
3247 | 1 | etc/maas | ||
3248 | 2 | var/lib/maas | ||
3249 | 3 | var/lib/maas/boot-resources | ||
3250 | 4 | var/log/maas | ||
3251 | 0 | 5 | ||
3252 | === added file 'debian/maas-rack-controller.install' | |||
3253 | --- debian/maas-rack-controller.install 1970-01-01 00:00:00 +0000 | |||
3254 | +++ debian/maas-rack-controller.install 2016-04-16 02:29:52 +0000 | |||
3255 | @@ -0,0 +1,14 @@ | |||
3256 | 1 | # Install templates | ||
3257 | 2 | debian/tmp/etc/maas/templates/pxe | ||
3258 | 3 | debian/tmp/etc/maas/templates/uefi | ||
3259 | 4 | |||
3260 | 5 | # Install uec2roottar | ||
3261 | 6 | debian/tmp/usr/bin/uec2roottar | ||
3262 | 7 | |||
3263 | 8 | # Install maas-dhcp-helper | ||
3264 | 9 | debian/tmp/usr/sbin/maas-dhcp-helper | ||
3265 | 10 | |||
3266 | 11 | # Install all other stuff | ||
3267 | 12 | debian/extras/99-maas-sudoers etc/sudoers.d | ||
3268 | 13 | debian/extras/maas-probe-dhcp usr/sbin | ||
3269 | 14 | debian/extras/maas-rack usr/sbin | ||
3270 | 0 | 15 | ||
3271 | === added file 'debian/maas-rack-controller.links' | |||
3272 | --- debian/maas-rack-controller.links 1970-01-01 00:00:00 +0000 | |||
3273 | +++ debian/maas-rack-controller.links 2016-04-16 02:29:52 +0000 | |||
3274 | @@ -0,0 +1,1 @@ | |||
3275 | 1 | usr/sbin/maas-rack usr/sbin/maas-provision | ||
3276 | 0 | 2 | ||
3277 | === added file 'debian/maas-rack-controller.lintian-overrides' | |||
3278 | --- debian/maas-rack-controller.lintian-overrides 1970-01-01 00:00:00 +0000 | |||
3279 | +++ debian/maas-rack-controller.lintian-overrides 2016-04-16 02:29:52 +0000 | |||
3280 | @@ -0,0 +1,1 @@ | |||
3281 | 1 | maas-rack-controller: binary-without-manpage usr/bin/uec2roottar usr/sbin/maas-dhcp-helper | ||
3282 | 0 | 2 | ||
3283 | === added file 'debian/maas-rack-controller.logrotate' | |||
3284 | --- debian/maas-rack-controller.logrotate 1970-01-01 00:00:00 +0000 | |||
3285 | +++ debian/maas-rack-controller.logrotate 2016-04-16 02:29:52 +0000 | |||
3286 | @@ -0,0 +1,15 @@ | |||
3287 | 1 | /var/log/maas/rackd.log { | ||
3288 | 2 | rotate 5 | ||
3289 | 3 | weekly | ||
3290 | 4 | compress | ||
3291 | 5 | missingok | ||
3292 | 6 | # copytruncate may lose log messages at the moment of rotation, but | ||
3293 | 7 | # there is no better way to integrate twistd and logrotate. | ||
3294 | 8 | copytruncate | ||
3295 | 9 | # The logs are all owned by the `maas` user, so drop privs. | ||
3296 | 10 | su maas maas | ||
3297 | 11 | # Don't rotate unless the log is at least 10MB. | ||
3298 | 12 | minsize 10M | ||
3299 | 13 | # Force rotation if the log grows beyond 50MB. | ||
3300 | 14 | maxsize 50M | ||
3301 | 15 | } | ||
3302 | 0 | 16 | ||
3303 | === added file 'debian/maas-rack-controller.maas-rackd.service' | |||
3304 | --- debian/maas-rack-controller.maas-rackd.service 1970-01-01 00:00:00 +0000 | |||
3305 | +++ debian/maas-rack-controller.maas-rackd.service 2016-04-16 02:29:52 +0000 | |||
3306 | @@ -0,0 +1,27 @@ | |||
3307 | 1 | [Unit] | ||
3308 | 2 | Description=MAAS Rack Controller | ||
3309 | 3 | Documentation=https://maas.io/ | ||
3310 | 4 | Requires=network-online.target | ||
3311 | 5 | After=network-online.target | ||
3312 | 6 | |||
3313 | 7 | [Service] | ||
3314 | 8 | User=maas | ||
3315 | 9 | Group=maas | ||
3316 | 10 | Restart=always | ||
3317 | 11 | RestartSec=10s | ||
3318 | 12 | Environment="LOGFILE=/var/log/maas/rackd.log" | ||
3319 | 13 | # Prevent maas-dhcpd and maas-dhcpd6 from starting until maas-rackd | ||
3320 | 14 | # has regenerated the configurations and told the services to start. | ||
3321 | 15 | ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd.sock | ||
3322 | 16 | ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd.conf | ||
3323 | 17 | ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd6.conf | ||
3324 | 18 | # Logs go to the journal; read them with | ||
3325 | 19 | # journalctl -u maas-rackd | ||
3326 | 20 | # Logs also go to $LOGFILE for backward compatibility. The journal | ||
3327 | 21 | # should now be preferred as the $LOGFILE will be removed in MAAS 1.9. | ||
3328 | 22 | ExecStart=/bin/sh -c \ | ||
3329 | 23 | 'exec /usr/bin/authbind --deep /usr/bin/twistd3 --nodaemon --pidfile= \ | ||
3330 | 24 | maas-rackd 2>&1 | tee -a $LOGFILE' | ||
3331 | 25 | |||
3332 | 26 | [Install] | ||
3333 | 27 | WantedBy=multi-user.target | ||
3334 | 0 | 28 | ||
3335 | === added file 'debian/maas-rack-controller.maintscript' | |||
3336 | --- debian/maas-rack-controller.maintscript 1970-01-01 00:00:00 +0000 | |||
3337 | +++ debian/maas-rack-controller.maintscript 2016-04-16 02:29:52 +0000 | |||
3338 | @@ -0,0 +1,9 @@ | |||
3339 | 1 | rm_conffile /etc/maas/bootresources.yaml 1.7.0~beta1+bzr2781-0ubuntu1 | ||
3340 | 2 | rm_conffile /etc/maas/maas_local_celeryconfig_cluster.py 1.7.0~beta3+bzr3043-0ubuntu1 | ||
3341 | 3 | rm_conffile /etc/init/maas-cluster-celery.conf 1.7.0~beta3+bzr3043-0ubuntu1 | ||
3342 | 4 | rm_conffile /etc/init/maas-pserv.conf 1.7.0~beta3+bzr3043-0ubuntu1 | ||
3343 | 5 | rm_conffile /etc/init/maas-cluster.conf 1.7.0~beta6+bzr3231-0ubuntu1 | ||
3344 | 6 | rm_conffile /etc/init/maas-cluster-register.conf 1.7.0~beta6+bzr3231-0ubuntu1 | ||
3345 | 7 | rm_conffile /etc/maas/maas-cluster-http.conf 1.8.0~alpha1+bzr3522-0ubuntu1 | ||
3346 | 8 | rm_conffile /etc/init/maas-clusterd.conf 2.0.0~alpha1+bzr4635-0ubuntu1 | ||
3347 | 9 | rm_conffile /lib/systemd/system/maas-clusterd.service 2.0.0~alpha1+bzr4635-0ubuntu1 | ||
3348 | 0 | 10 | ||
3349 | === added file 'debian/maas-rack-controller.postinst' | |||
3350 | --- debian/maas-rack-controller.postinst 1970-01-01 00:00:00 +0000 | |||
3351 | +++ debian/maas-rack-controller.postinst 2016-04-16 02:29:52 +0000 | |||
3352 | @@ -0,0 +1,168 @@ | |||
3353 | 1 | #!/bin/sh | ||
3354 | 2 | |||
3355 | 3 | set -e | ||
3356 | 4 | |||
3357 | 5 | . /usr/share/debconf/confmodule | ||
3358 | 6 | db_version 2.0 | ||
3359 | 7 | |||
3360 | 8 | RELEASE=`lsb_release -rs` || RELEASE="" | ||
3361 | 9 | |||
3362 | 10 | configure_logging() { | ||
3363 | 11 | # Give appropriate permissions | ||
3364 | 12 | if [ ! -f /var/log/maas/rackd.log ]; then | ||
3365 | 13 | touch /var/log/maas/rackd.log | ||
3366 | 14 | fi | ||
3367 | 15 | chown maas:maas /var/log/maas/rackd.log | ||
3368 | 16 | } | ||
3369 | 17 | |||
3370 | 18 | configure_libdir() { | ||
3371 | 19 | # create var dir | ||
3372 | 20 | if [ ! -d /var/lib/maas/boot-resources ]; then | ||
3373 | 21 | mkdir -p /var/lib/maas/boot-resources | ||
3374 | 22 | fi | ||
3375 | 23 | # Ensure /var/lib/maas/boot-resources has correct ownership | ||
3376 | 24 | chown -R maas:maas /var/lib/maas/boot-resources | ||
3377 | 25 | |||
3378 | 26 | # If /var/lib/maas/secret exists, ensure ownership and | ||
3379 | 27 | # permissions are correct | ||
3380 | 28 | if [ -f /var/lib/maas/secret ]; then | ||
3381 | 29 | chown maas:maas /var/lib/maas/secret | ||
3382 | 30 | chmod 0640 /var/lib/maas/secret | ||
3383 | 31 | fi | ||
3384 | 32 | |||
3385 | 33 | if [ -f /var/lib/maas/maas_id ]; then | ||
3386 | 34 | chown maas:maas /var/lib/maas/maas_id | ||
3387 | 35 | fi | ||
3388 | 36 | |||
3389 | 37 | # Ensure dhcpd related files have the correct permissions | ||
3390 | 38 | if [ -f /var/lib/maas/dhcpd.conf ]; then | ||
3391 | 39 | chown root:maas /var/lib/maas/dhcpd.conf | ||
3392 | 40 | fi | ||
3393 | 41 | if [ -f /var/lib/maas/dhcpd-interfaces ]; then | ||
3394 | 42 | chown root:maas /var/lib/maas/dhcpd-interfaces | ||
3395 | 43 | fi | ||
3396 | 44 | if [ -f /var/lib/maas/dhcpd6.conf ]; then | ||
3397 | 45 | chown maas:maas /var/lib/maas/dhcpd6.conf | ||
3398 | 46 | fi | ||
3399 | 47 | if [ -f /var/lib/maas/dhcpd6-interfaces ]; then | ||
3400 | 48 | chown maas:maas /var/lib/maas/dhcpd6-interfaces | ||
3401 | 49 | fi | ||
3402 | 50 | if [ -S /var/lib/maas/dhcpd.sock ]; then | ||
3403 | 51 | chown maas:maas /var/lib/maas/dhcpd.sock | ||
3404 | 52 | fi | ||
3405 | 53 | } | ||
3406 | 54 | |||
3407 | 55 | configure_maas_tgt() { | ||
3408 | 56 | # Ensure that iSCSI targets get re-defined on reboot. | ||
3409 | 57 | # Creates a softlink in /etc/tgt/conf.d/ that points to the current | ||
3410 | 58 | # boot images' tgt configuration. | ||
3411 | 59 | mkdir -p /etc/tgt/conf.d | ||
3412 | 60 | ln -sf /var/lib/maas/boot-resources/current/maas.tgt /etc/tgt/conf.d/maas.conf | ||
3413 | 61 | } | ||
3414 | 62 | |||
3415 | 63 | extract_cluster_uuid(){ | ||
3416 | 64 | # Extract ClUSTER_UUID setting from config file $1. This will work | ||
3417 | 65 | # on the old the cluster config file (which is shell). | ||
3418 | 66 | awk '{ split($1,array,"\"")} END{print array[2] }' "$1" | ||
3419 | 67 | } | ||
3420 | 68 | |||
3421 | 69 | extract_maas_url(){ | ||
3422 | 70 | # Extract the MAAS_URL setting from the config file $1. | ||
3423 | 71 | grep -Eo "https?://[^ ]+" "$1" | cut -d"\"" -f1 | ||
3424 | 72 | } | ||
3425 | 73 | |||
3426 | 74 | configure_cluster_uuid(){ | ||
3427 | 75 | # This will configure a UUID if one has not previously been set. | ||
3428 | 76 | maas-rack config --init | ||
3429 | 77 | } | ||
3430 | 78 | |||
3431 | 79 | configure_cluster_authbind() { | ||
3432 | 80 | MAAS_UID="`id -u maas`" | ||
3433 | 81 | if [ ! -f "/etc/authbind/byuid/$MAAS_UID" ]; then | ||
3434 | 82 | if [ ! -d "/etc/authbind/byuid" ]; then | ||
3435 | 83 | mkdir -p /etc/authbind/byuid | ||
3436 | 84 | chmod 755 /etc/authbind | ||
3437 | 85 | chmod 755 /etc/authbind/byuid | ||
3438 | 86 | fi | ||
3439 | 87 | fi | ||
3440 | 88 | echo '0.0.0.0/0:68,69' >/etc/authbind/byuid/$MAAS_UID | ||
3441 | 89 | echo '::/0,68-69' >>/etc/authbind/byuid/$MAAS_UID | ||
3442 | 90 | chown maas:maas /etc/authbind/byuid/$MAAS_UID | ||
3443 | 91 | chmod 700 /etc/authbind/byuid/$MAAS_UID | ||
3444 | 92 | } | ||
3445 | 93 | |||
3446 | 94 | configure_maas_url(){ | ||
3447 | 95 | # Get the MAAS URL on configure/reconfigure and write it to the conf files. | ||
3448 | 96 | db_get maas-rack-controller/maas-url || true | ||
3449 | 97 | if [ -n "$RET" ]; then | ||
3450 | 98 | maas-rack config --region-url "$RET" | ||
3451 | 99 | fi | ||
3452 | 100 | } | ||
3453 | 101 | |||
3454 | 102 | configure_shared_secret() { | ||
3455 | 103 | db_get maas-rack-controller/shared-secret || true | ||
3456 | 104 | if [ -n "$RET" ]; then | ||
3457 | 105 | echo "$RET" | maas-rack install-shared-secret | ||
3458 | 106 | chown maas:maas /var/lib/maas/secret | ||
3459 | 107 | chmod 0640 /var/lib/maas/secret | ||
3460 | 108 | fi | ||
3461 | 109 | } | ||
3462 | 110 | |||
3463 | 111 | upgrade_from_cluster_controller() { | ||
3464 | 112 | # If we are upgrading from an older (1.7, 1.8) version, then we need | ||
3465 | 113 | # to obtain the cluster UUID from the old configuration file and set | ||
3466 | 114 | # it with the new configuration tool. | ||
3467 | 115 | if [ -f /etc/maas/maas_cluster.conf ]; then | ||
3468 | 116 | uuid=$(extract_cluster_uuid /etc/maas/maas_cluster.conf) | ||
3469 | 117 | maas-rack config --uuid "$uuid" | ||
3470 | 118 | maas_url=$(extract_maas_url /etc/maas/maas_cluster.conf) | ||
3471 | 119 | maas-rack config --region-url "$maas_url" | ||
3472 | 120 | db_set maas-rack-controller/maas-url "$maas_url" | ||
3473 | 121 | mv /etc/maas/maas_cluster.conf /etc/maas/maas_cluster.conf.maas-old | ||
3474 | 122 | mv /etc/maas/pserv.yaml /etc/maas/pserv.yaml.maas-old | ||
3475 | 123 | fi | ||
3476 | 124 | # If we are upgrading from (1.9, 1.10) version, then we need to obtain | ||
3477 | 125 | # the maas_url and set it to debconf. Otherwise, the config file used | ||
3478 | 126 | # is exactly the same. | ||
3479 | 127 | if [ -f /etc/maas/clusterd.conf.1.10 ]; then | ||
3480 | 128 | mv /etc/maas/clusterd.conf.1.10 /etc/maas/rackd.conf | ||
3481 | 129 | maas_url=$(extract_maas_url /etc/maas/rackd.conf) | ||
3482 | 130 | db_set maas-rack-controller/maas-url "$maas_url" | ||
3483 | 131 | fi | ||
3484 | 132 | } | ||
3485 | 133 | |||
3486 | 134 | # Unconditionally ensure that there is at least an empty configuration | ||
3487 | 135 | # file. This does *not* overwrite any existing configuration. | ||
3488 | 136 | maas-rack config | ||
3489 | 137 | |||
3490 | 138 | if [ "$1" = "configure" ] && [ -z "$2" ]; then | ||
3491 | 139 | configure_logging | ||
3492 | 140 | configure_libdir | ||
3493 | 141 | configure_maas_tgt | ||
3494 | 142 | configure_maas_url | ||
3495 | 143 | configure_cluster_uuid | ||
3496 | 144 | configure_cluster_authbind | ||
3497 | 145 | maas-rack upgrade-cluster | ||
3498 | 146 | upgrade_from_cluster_controller | ||
3499 | 147 | configure_shared_secret | ||
3500 | 148 | |||
3501 | 149 | elif [ -n "$DEBCONF_RECONFIGURE" ]; then | ||
3502 | 150 | configure_maas_url | ||
3503 | 151 | # Only ask for a shared secret when the region is not installed | ||
3504 | 152 | # on the same system. | ||
3505 | 153 | if [ ! -f /usr/sbin/maas-region ]; then | ||
3506 | 154 | db_input high maas-rack-controller/shared-secret | ||
3507 | 155 | db_go | ||
3508 | 156 | fi | ||
3509 | 157 | configure_shared_secret | ||
3510 | 158 | |||
3511 | 159 | elif [ "$1" = "configure" ] && dpkg --compare-versions "$2" gt 0.1+bzr266+dfsg-0ubuntu1; then | ||
3512 | 160 | configure_logging | ||
3513 | 161 | configure_libdir | ||
3514 | 162 | configure_cluster_authbind | ||
3515 | 163 | maas-rack upgrade-cluster | ||
3516 | 164 | fi | ||
3517 | 165 | |||
3518 | 166 | db_stop | ||
3519 | 167 | |||
3520 | 168 | #DEBHELPER# | ||
3521 | 0 | 169 | ||
3522 | === added file 'debian/maas-rack-controller.postrm' | |||
3523 | --- debian/maas-rack-controller.postrm 1970-01-01 00:00:00 +0000 | |||
3524 | +++ debian/maas-rack-controller.postrm 2016-04-16 02:29:52 +0000 | |||
3525 | @@ -0,0 +1,50 @@ | |||
3526 | 1 | #!/bin/sh | ||
3527 | 2 | |||
3528 | 3 | set -e | ||
3529 | 4 | |||
3530 | 5 | #DEBHELPER# | ||
3531 | 6 | |||
3532 | 7 | RELEASE=`lsb_release -rs` || RELEASE="" | ||
3533 | 8 | |||
3534 | 9 | case "$1" in | ||
3535 | 10 | purge) | ||
3536 | 11 | # remove logfile as it wasn't installed by packaging | ||
3537 | 12 | rm -rf /var/log/maas/rackd.log* | ||
3538 | 13 | |||
3539 | 14 | # remove var directories provided it will always have files | ||
3540 | 15 | # not installed or tracked by packaging | ||
3541 | 16 | rm -rf /var/lib/maas/boot-resources | ||
3542 | 17 | |||
3543 | 18 | # remove files that were created by the rack controller | ||
3544 | 19 | rm -rf /var/lib/maas/dhcpd.sock | ||
3545 | 20 | rm -rf /var/lib/maas/dhcpd.conf | ||
3546 | 21 | rm -rf /var/lib/maas/dhcpd-interfaces | ||
3547 | 22 | rm -rf /var/lib/maas/dhcpd6.conf | ||
3548 | 23 | rm -rf /var/lib/maas/dhcpd6-interfaces | ||
3549 | 24 | |||
3550 | 25 | # Delete symlink for iSCSI config. | ||
3551 | 26 | if [ -L /etc/tgt/conf.d/maas.conf ]; then | ||
3552 | 27 | rm -rf /etc/tgt/conf.d/maas.conf | ||
3553 | 28 | fi | ||
3554 | 29 | |||
3555 | 30 | # Remove authbind | ||
3556 | 31 | MAAS_UID="`id -u maas`" | ||
3557 | 32 | if [ -f "/etc/authbind/byuid/$MAAS_UID" ]; then | ||
3558 | 33 | rm -rf /etc/authbind/byuid/$MAAS_UID | ||
3559 | 34 | fi | ||
3560 | 35 | |||
3561 | 36 | # Remove rackd.conf file | ||
3562 | 37 | rm -rf /etc/maas/rackd.conf | ||
3563 | 38 | |||
3564 | 39 | # Deleting old config files if they exist | ||
3565 | 40 | if [ -f /etc/maas/pserv.yaml.maas-old ]; then | ||
3566 | 41 | rm -rf /etc/maas/pserv.yaml.maas-old | ||
3567 | 42 | fi | ||
3568 | 43 | if [ -f /etc/maas/maas_cluster.conf.maas-old ]; then | ||
3569 | 44 | rm -rf /etc/maas/maas_cluster.conf.maas-old | ||
3570 | 45 | fi | ||
3571 | 46 | if [ -f /etc/maas/templates/dhcp.maas-old ]; then | ||
3572 | 47 | rm -rf /etc/maas/templates/dhcp.maas-old | ||
3573 | 48 | fi | ||
3574 | 49 | |||
3575 | 50 | esac | ||
3576 | 0 | 51 | ||
3577 | === added file 'debian/maas-rack-controller.preinst' | |||
3578 | --- debian/maas-rack-controller.preinst 1970-01-01 00:00:00 +0000 | |||
3579 | +++ debian/maas-rack-controller.preinst 2016-04-16 02:29:52 +0000 | |||
3580 | @@ -0,0 +1,56 @@ | |||
3581 | 1 | #!/bin/sh | ||
3582 | 2 | |||
3583 | 3 | set -e | ||
3584 | 4 | |||
3585 | 5 | . /usr/share/debconf/confmodule | ||
3586 | 6 | |||
3587 | 7 | if [ "$1" = "install" ]; then | ||
3588 | 8 | if [ -f /etc/init/maas-pserv.conf ]; then | ||
3589 | 9 | invoke-rc.d maas-pserv stop | ||
3590 | 10 | fi | ||
3591 | 11 | |||
3592 | 12 | if [ -f /etc/init/maas-cluster-celery.conf ]; then | ||
3593 | 13 | invoke-rc.d maas-cluster-celery stop | ||
3594 | 14 | fi | ||
3595 | 15 | |||
3596 | 16 | if [ -f /var/log/maas/celery.log ]; then | ||
3597 | 17 | rm -rf /var/log/maas/celery.log | ||
3598 | 18 | fi | ||
3599 | 19 | |||
3600 | 20 | if [ -f /etc/init/maas-cluster.conf ]; then | ||
3601 | 21 | invoke-rc.d maas-cluster stop | ||
3602 | 22 | fi | ||
3603 | 23 | |||
3604 | 24 | if [ -f /var/log/maas/pserv.log ]; then | ||
3605 | 25 | rm -rf /var/log/maas/pserv.log | ||
3606 | 26 | fi | ||
3607 | 27 | |||
3608 | 28 | if [ -f /etc/apache2/conf-enabled/maas-cluster-http.conf ]; then | ||
3609 | 29 | rm -rf /etc/apache2/conf-enabled/maas-cluster-http.conf | ||
3610 | 30 | fi | ||
3611 | 31 | |||
3612 | 32 | if [ -f /etc/init/maas-clusterd.conf ] || [ -f /lib/systemd/system/maas-clusterd.service ]; then | ||
3613 | 33 | invoke-rc.d maas-clusterd stop | ||
3614 | 34 | fi | ||
3615 | 35 | |||
3616 | 36 | if [ -f /etc/maas/clusterd.conf ]; then | ||
3617 | 37 | mv /etc/maas/clusterd.conf /etc/maas/clusterd.conf.1.10 | ||
3618 | 38 | fi | ||
3619 | 39 | |||
3620 | 40 | if [ -f /var/log/maas/clusterd.log ]; then | ||
3621 | 41 | mv /var/log/maas/clusterd.log /var/log/maas/rackd.log | ||
3622 | 42 | fi | ||
3623 | 43 | |||
3624 | 44 | fi | ||
3625 | 45 | |||
3626 | 46 | if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then | ||
3627 | 47 | if [ -d /etc/maas/templates/power ]; then | ||
3628 | 48 | rm -rf /etc/maas/templates/power | ||
3629 | 49 | fi | ||
3630 | 50 | |||
3631 | 51 | if [ -d /etc/maas/templates/dhcp ]; then | ||
3632 | 52 | mv /etc/maas/templates/dhcp /etc/maas/templates/dhcp.maas-old | ||
3633 | 53 | fi | ||
3634 | 54 | fi | ||
3635 | 55 | |||
3636 | 56 | #DEBHELPER# | ||
3637 | 0 | 57 | ||
3638 | === added file 'debian/maas-rack-controller.templates' | |||
3639 | --- debian/maas-rack-controller.templates 1970-01-01 00:00:00 +0000 | |||
3640 | +++ debian/maas-rack-controller.templates 2016-04-16 02:29:52 +0000 | |||
3641 | @@ -0,0 +1,14 @@ | |||
3642 | 1 | Template: maas-rack-controller/maas-url | ||
3643 | 2 | Type: string | ||
3644 | 3 | _Description: Ubuntu MAAS API address: | ||
3645 | 4 | The MAAS cluster controller and nodes need to contact the MAAS region | ||
3646 | 5 | controller API. Set the URL at which they can reach the MAAS API remotely, | ||
3647 | 6 | e.g. "http://192.168.1.1/MAAS". | ||
3648 | 7 | Since nodes must be able to access this URL, localhost or 127.0.0.1 are not | ||
3649 | 8 | useful values here. | ||
3650 | 9 | |||
3651 | 10 | Template: maas-rack-controller/shared-secret | ||
3652 | 11 | Type: password | ||
3653 | 12 | _Description: MAAS Cluster Controller Shared Secret: | ||
3654 | 13 | The MAAS Cluster Controller needs to contact the MAAS server | ||
3655 | 14 | with a share secret. Set the shared secret here. | ||
3656 | 0 | 15 | ||
3657 | === added file 'debian/maas-rack-udeb.postinst' | |||
3658 | --- debian/maas-rack-udeb.postinst 1970-01-01 00:00:00 +0000 | |||
3659 | +++ debian/maas-rack-udeb.postinst 2016-04-16 02:29:52 +0000 | |||
3660 | @@ -0,0 +1,77 @@ | |||
3661 | 1 | #!/bin/sh -e | ||
3662 | 2 | |||
3663 | 3 | # Source debconf library. | ||
3664 | 4 | . /usr/share/debconf/confmodule | ||
3665 | 5 | db_version 2.0 | ||
3666 | 6 | |||
3667 | 7 | # This conf script is capable of backing up | ||
3668 | 8 | db_capb backup | ||
3669 | 9 | |||
3670 | 10 | logfile=/var/lib/preseed/log | ||
3671 | 11 | set_question () { | ||
3672 | 12 | echo "$1 $2 $3 $4" >>"$logfile" | ||
3673 | 13 | if ! db_fget "$2" seen; then | ||
3674 | 14 | db_register debian-installer/dummy "$2" | ||
3675 | 15 | db_subst "$2" ID "$2" | ||
3676 | 16 | db_fget "$2" seen | ||
3677 | 17 | fi | ||
3678 | 18 | if [ "$RET" = false ]; then | ||
3679 | 19 | db_set "$2" "$4" | ||
3680 | 20 | db_fset "$2" seen true | ||
3681 | 21 | fi | ||
3682 | 22 | } | ||
3683 | 23 | |||
3684 | 24 | STATE=1 | ||
3685 | 25 | while [ "$STATE" != 0 -a "$STATE" != 4 ]; do | ||
3686 | 26 | case "$STATE" in | ||
3687 | 27 | 1) | ||
3688 | 28 | # This is a confirmation that we want to install MAAS. If we don't | ||
3689 | 29 | # then we exit the MAAS installation process | ||
3690 | 30 | db_input high maas-rack-udeb/rack-confirmation || true | ||
3691 | 31 | ;; | ||
3692 | 32 | 2) | ||
3693 | 33 | #Ask for MAAS url | ||
3694 | 34 | db_get maas-rack-udeb/rack-confirmation | ||
3695 | 35 | if [ "$RET" != "true" ]; then | ||
3696 | 36 | break | ||
3697 | 37 | fi | ||
3698 | 38 | db_input critical maas-rack-udeb/maas-url || true | ||
3699 | 39 | ;; | ||
3700 | 40 | |||
3701 | 41 | 3) | ||
3702 | 42 | # Ask for Shared Secret | ||
3703 | 43 | db_input critical maas-rack-udeb/shared-secret || true | ||
3704 | 44 | ;; | ||
3705 | 45 | |||
3706 | 46 | esac | ||
3707 | 47 | |||
3708 | 48 | if db_go; then | ||
3709 | 49 | STATE=$(($STATE + 1)) | ||
3710 | 50 | else | ||
3711 | 51 | STATE=$(($STATE - 1)) | ||
3712 | 52 | fi | ||
3713 | 53 | done | ||
3714 | 54 | db_capb | ||
3715 | 55 | |||
3716 | 56 | db_get maas-rack-udeb/rack-confirmation | ||
3717 | 57 | if [ "$RET" != "true" ]; then | ||
3718 | 58 | # MAAS rack controller won't be installed | ||
3719 | 59 | exit 0 | ||
3720 | 60 | fi | ||
3721 | 61 | |||
3722 | 62 | db_get maas-rack-udeb/maas-url | ||
3723 | 63 | url="$RET" | ||
3724 | 64 | if [ -n "$url" ]; then | ||
3725 | 65 | set_question maas-rack-controller maas-rack-controller/maas-url string "$url" | ||
3726 | 66 | fi | ||
3727 | 67 | |||
3728 | 68 | db_get maas-rack-udeb/shared-secret | ||
3729 | 69 | secret="$RET" | ||
3730 | 70 | if [ -n "$secret" ]; then | ||
3731 | 71 | set_question maas-rack-controller maas-rack-controller/shared-secret password "$secret" | ||
3732 | 72 | fi | ||
3733 | 73 | |||
3734 | 74 | # Tell the package manager that we will be installing MAAS Rack Controller | ||
3735 | 75 | db_set pkgsel/include maas-rack-controller | ||
3736 | 76 | set_question tasksel tasksel/first multiselect "standard, server" | ||
3737 | 77 | exit 0 | ||
3738 | 0 | 78 | ||
3739 | === added file 'debian/maas-rack-udeb.templates' | |||
3740 | --- debian/maas-rack-udeb.templates 1970-01-01 00:00:00 +0000 | |||
3741 | +++ debian/maas-rack-udeb.templates 2016-04-16 02:29:52 +0000 | |||
3742 | @@ -0,0 +1,34 @@ | |||
3743 | 1 | Template: debian-installer/maas-rack-udeb/title | ||
3744 | 2 | Type: text | ||
3745 | 3 | _Description: Install your Metal as a Service (MAAS) Rack Controller | ||
3746 | 4 | |||
3747 | 5 | Template: maas-rack-udeb/rack-confirmation | ||
3748 | 6 | Type: boolean | ||
3749 | 7 | _Description: Would you like to proceed with the installation of your MAAS Rack Controller? | ||
3750 | 8 | The MAAS rack controller (maas-rackd) provides highly available, fast | ||
3751 | 9 | and local broadcast services to the machines provisioned by MAAS. You | ||
3752 | 10 | need a MAAS rack controller attached to each fabric (which is a set of | ||
3753 | 11 | trunked switches). You can attach multiple rack controllers to these | ||
3754 | 12 | physical networks for high availability, with secondary rack controllers | ||
3755 | 13 | automatically stepping to provide these services if the primary rack | ||
3756 | 14 | controller fails. | ||
3757 | 15 | . | ||
3758 | 16 | By choosing to install a MAAS Rack controller, you will have to connect | ||
3759 | 17 | it to a Region controller to service your machines. | ||
3760 | 18 | |||
3761 | 19 | Template: maas-rack-udeb/maas-url | ||
3762 | 20 | Type: string | ||
3763 | 21 | _Description: Ubuntu MAAS Region API address: | ||
3764 | 22 | The MAAS rack controller and nodes need to contact the MAAS region | ||
3765 | 23 | controller API. Set the URL at which they can reach the MAAS API remotely, | ||
3766 | 24 | e.g. "http://192.168.1.1:5240/MAAS". | ||
3767 | 25 | . | ||
3768 | 26 | Since nodes must be able to access this URL, localhost or 127.0.0.1 are not | ||
3769 | 27 | useful values here. | ||
3770 | 28 | |||
3771 | 29 | Template: maas-rack-udeb/shared-secret | ||
3772 | 30 | Type: password | ||
3773 | 31 | _Description: MAAS Rack Controller shared secret: | ||
3774 | 32 | The MAAS Rack Controller needs to contact the MAAS server | ||
3775 | 33 | with a share secret. This shared secret can be found on | ||
3776 | 34 | the MAAS Region Controller server under /var/lib/maas/secret. | ||
3777 | 0 | 35 | ||
3778 | === added file 'debian/maas-region-api.apport' | |||
3779 | --- debian/maas-region-api.apport 1970-01-01 00:00:00 +0000 | |||
3780 | +++ debian/maas-region-api.apport 2016-04-16 02:29:52 +0000 | |||
3781 | @@ -0,0 +1,72 @@ | |||
3782 | 1 | #!/usr/bin/python | ||
3783 | 2 | |||
3784 | 3 | '''apport hook for maas-region-controller | ||
3785 | 4 | |||
3786 | 5 | (c) 2012-2014 Canonical Ltd. | ||
3787 | 6 | Author: Andres Rodriguez <andres.rodriguez@canonical.com> | ||
3788 | 7 | |||
3789 | 8 | This program is free software; you can redistribute it and/or modify it | ||
3790 | 9 | under the terms of the GNU General Public License as published by the | ||
3791 | 10 | Free Software Foundation; either version 2 of the License, or (at your | ||
3792 | 11 | option) any later version. See http://www.gnu.org/copyleft/gpl.html for | ||
3793 | 12 | the full text of the license. | ||
3794 | 13 | ''' | ||
3795 | 14 | |||
3796 | 15 | import os.path | ||
3797 | 16 | import subprocess | ||
3798 | 17 | import tempfile | ||
3799 | 18 | |||
3800 | 19 | from apport.hookutils import ( | ||
3801 | 20 | attach_conffiles, | ||
3802 | 21 | attach_file, | ||
3803 | 22 | attach_file_if_exists, | ||
3804 | 23 | attach_related_packages, | ||
3805 | 24 | ) | ||
3806 | 25 | |||
3807 | 26 | |||
3808 | 27 | def attach_journal_logs(report, key, *units): | ||
3809 | 28 | """Capture logs from systemd's journal.""" | ||
3810 | 29 | if os.path.exists("/bin/journalctl"): | ||
3811 | 30 | cmd = ['/bin/journalctl', '--utc', '--since=-24hours'] | ||
3812 | 31 | cmd.extend("--unit=%s" % unit for unit in units) | ||
3813 | 32 | with tempfile.NamedTemporaryFile() as logfile: | ||
3814 | 33 | subprocess.call(cmd, stdout=logfile, stderr=logfile) | ||
3815 | 34 | attach_file(report, logfile.name, key) | ||
3816 | 35 | |||
3817 | 36 | |||
3818 | 37 | def add_info(report, ui): | ||
3819 | 38 | response = ui.yesno( | ||
3820 | 39 | "The contents of /etc/maas/regiond.conf and /etc/maas/rackd.conf " | ||
3821 | 40 | "may help developers diagnose your bug more quickly. However, it may " | ||
3822 | 41 | "contain sensitive information. Do you want to include it in your bug " | ||
3823 | 42 | "report?") | ||
3824 | 43 | |||
3825 | 44 | if response is None: | ||
3826 | 45 | # The user cancelled. | ||
3827 | 46 | raise StopIteration | ||
3828 | 47 | elif response is True: | ||
3829 | 48 | # The user agreed to include the configuration files. | ||
3830 | 49 | attach_conffiles(report, 'maas') | ||
3831 | 50 | attach_file_if_exists( | ||
3832 | 51 | report, '/etc/maas/regiond.conf', 'MAASRegionConfig') | ||
3833 | 52 | attach_file_if_exists( | ||
3834 | 53 | report, '/etc/maas/rackd.conf', 'MAASClusterConfig') | ||
3835 | 54 | else: | ||
3836 | 55 | # The user declined to include the configuration files. | ||
3837 | 56 | pass | ||
3838 | 57 | |||
3839 | 58 | # Attaching log files (Upstart). | ||
3840 | 59 | attach_file_if_exists( | ||
3841 | 60 | report, '/var/log/maas/regiond.log', 'MAASRegionLog') | ||
3842 | 61 | attach_file_if_exists( | ||
3843 | 62 | report, '/var/log/maas/rackd.log', 'MAASClusterLog') | ||
3844 | 63 | |||
3845 | 64 | # Attaching log files (systemd). These will overwrite the logs above on a | ||
3846 | 65 | # system where systemd is available. | ||
3847 | 66 | attach_journal_logs( | ||
3848 | 67 | report, "MAASRegionLog", "maas-regiond", "maas-regiond-worker@*") | ||
3849 | 68 | attach_journal_logs( | ||
3850 | 69 | report, "MAASClusterLog", "maas-rackd") | ||
3851 | 70 | |||
3852 | 71 | # Attaching related packages info | ||
3853 | 72 | attach_related_packages(report, ['python-django-maas', 'apparmor']) | ||
3854 | 0 | 73 | ||
3855 | === added file 'debian/maas-region-api.install' | |||
3856 | --- debian/maas-region-api.install 1970-01-01 00:00:00 +0000 | |||
3857 | +++ debian/maas-region-api.install 2016-04-16 02:29:52 +0000 | |||
3858 | @@ -0,0 +1,27 @@ | |||
3859 | 1 | # Install project | ||
3860 | 2 | debian/tmp/usr/lib/python*/dist-packages/maas usr/share/maas | ||
3861 | 3 | |||
3862 | 4 | # Install static files | ||
3863 | 5 | debian/tmp/usr/share/maas/web/static | ||
3864 | 6 | |||
3865 | 7 | # Install Apache Config | ||
3866 | 8 | debian/tmp/usr/share/maas/maas-http.conf | ||
3867 | 9 | |||
3868 | 10 | # Install new preseed files | ||
3869 | 11 | debian/tmp/etc/maas/preseeds | ||
3870 | 12 | |||
3871 | 13 | # Install templates | ||
3872 | 14 | debian/tmp/etc/maas/templates/dns | ||
3873 | 15 | debian/tmp/etc/maas/templates/commissioning-user-data | ||
3874 | 16 | |||
3875 | 17 | # Install driver configuration file | ||
3876 | 18 | debian/tmp/etc/maas/drivers.yaml | ||
3877 | 19 | |||
3878 | 20 | # Install winrm certificate generation script | ||
3879 | 21 | debian/tmp/usr/bin/maas-generate-winrm-cert | ||
3880 | 22 | |||
3881 | 23 | # Install all other stuff | ||
3882 | 24 | debian/extras/maas-region usr/sbin | ||
3883 | 25 | debian/extras/20-maas.conf etc/rsyslog.d | ||
3884 | 26 | debian/extras/maas_remote_syslog_compress etc/cron.d | ||
3885 | 27 | debian/extras/99-maas-region-sudoers etc/sudoers.d | ||
3886 | 0 | 28 | ||
3887 | === added file 'debian/maas-region-api.links' | |||
3888 | --- debian/maas-region-api.links 1970-01-01 00:00:00 +0000 | |||
3889 | +++ debian/maas-region-api.links 2016-04-16 02:29:52 +0000 | |||
3890 | @@ -0,0 +1,8 @@ | |||
3891 | 1 | # dh-systemd does not yet appear to fully grok template units, so we | ||
3892 | 2 | # install unit dependencies directly instead. | ||
3893 | 3 | lib/systemd/system/maas-regiond-worker@.service lib/systemd/system/maas-regiond.service.wants/maas-regiond-worker@1.service | ||
3894 | 4 | lib/systemd/system/maas-regiond-worker@.service lib/systemd/system/maas-regiond.service.wants/maas-regiond-worker@2.service | ||
3895 | 5 | lib/systemd/system/maas-regiond-worker@.service lib/systemd/system/maas-regiond.service.wants/maas-regiond-worker@3.service | ||
3896 | 6 | lib/systemd/system/maas-regiond-worker@.service lib/systemd/system/maas-regiond.service.wants/maas-regiond-worker@4.service | ||
3897 | 7 | |||
3898 | 8 | usr/sbin/maas-region usr/sbin/maas-region-admin | ||
3899 | 0 | 9 | ||
3900 | === added file 'debian/maas-region-api.lintian-overrides' | |||
3901 | --- debian/maas-region-api.lintian-overrides 1970-01-01 00:00:00 +0000 | |||
3902 | +++ debian/maas-region-api.lintian-overrides 2016-04-16 02:29:52 +0000 | |||
3903 | @@ -0,0 +1,5 @@ | |||
3904 | 1 | maas-region-api: binary-without-manpage usr/sbin/maas | ||
3905 | 2 | maas-region-api: script-not-executable etc/maas/templates/commissioning-user-data/snippets/maas_ipmi_autodetect.py | ||
3906 | 3 | maas-region-api: script-not-executable etc/maas/templates/commissioning-user-data/snippets/maas_signal.py | ||
3907 | 4 | maas-region-api: script-not-executable etc/maas/templates/commissioning-user-data/user_data.template | ||
3908 | 5 | maas-region-api: script-not-executable etc/maas/templates/commissioning-user-data/snippets/maas_get.py | ||
3909 | 0 | 6 | ||
3910 | === added file 'debian/maas-region-api.logrotate' | |||
3911 | --- debian/maas-region-api.logrotate 1970-01-01 00:00:00 +0000 | |||
3912 | +++ debian/maas-region-api.logrotate 2016-04-16 02:29:52 +0000 | |||
3913 | @@ -0,0 +1,15 @@ | |||
3914 | 1 | /var/log/maas/regiond.log { | ||
3915 | 2 | rotate 5 | ||
3916 | 3 | weekly | ||
3917 | 4 | compress | ||
3918 | 5 | missingok | ||
3919 | 6 | # copytruncate may lose log messages at the moment of rotation, but | ||
3920 | 7 | # there is no better way to integrate twistd and logrotate. | ||
3921 | 8 | copytruncate | ||
3922 | 9 | # The logs are all owned by the `maas` user, so drop privs. | ||
3923 | 10 | su maas maas | ||
3924 | 11 | # Don't rotate unless the log is at least 10MB. | ||
3925 | 12 | minsize 10M | ||
3926 | 13 | # Force rotation if the log grows beyond 50MB. | ||
3927 | 14 | maxsize 50M | ||
3928 | 15 | } | ||
3929 | 0 | 16 | ||
3930 | === added file 'debian/maas-region-api.maas-regiond-worker@.service' | |||
3931 | --- debian/maas-region-api.maas-regiond-worker@.service 1970-01-01 00:00:00 +0000 | |||
3932 | +++ debian/maas-region-api.maas-regiond-worker@.service 2016-04-16 02:29:52 +0000 | |||
3933 | @@ -0,0 +1,27 @@ | |||
3934 | 1 | [Unit] | ||
3935 | 2 | Description=MAAS Region Controller (Worker %i) | ||
3936 | 3 | Documentation=https://maas.io/ | ||
3937 | 4 | Requires=network-online.target | ||
3938 | 5 | After=network-online.target | ||
3939 | 6 | PartOf=maas-regiond.service | ||
3940 | 7 | # This will go away one we support new config files. | ||
3941 | 8 | ConditionPathExists=/etc/maas/regiond.conf | ||
3942 | 9 | |||
3943 | 10 | [Service] | ||
3944 | 11 | User=maas | ||
3945 | 12 | Group=maas | ||
3946 | 13 | Restart=always | ||
3947 | 14 | RestartSec=10s | ||
3948 | 15 | Environment="MAAS_REGIOND_WORKER_ID=%i" | ||
3949 | 16 | Environment="DJANGO_SETTINGS_MODULE=maas.settings" | ||
3950 | 17 | Environment="PYTHONPATH=/usr/share/maas" | ||
3951 | 18 | Environment="LOGFILE=/var/log/maas/regiond.log" | ||
3952 | 19 | # Logs go to the journal; read them with: | ||
3953 | 20 | # journalctl -u maas-regiond-worker@* | ||
3954 | 21 | # Logs also go to $LOGFILE for backward compatibility. The journal | ||
3955 | 22 | # should now be preferred as $LOGFILE will be removed in MAAS 1.9. | ||
3956 | 23 | ExecStart=/bin/sh -c \ | ||
3957 | 24 | 'exec twistd3 --nodaemon --pidfile= maas-regiond 2>&1 | tee -a $LOGFILE' | ||
3958 | 25 | |||
3959 | 26 | [Install] | ||
3960 | 27 | WantedBy=maas-regiond.service | ||
3961 | 0 | 28 | ||
3962 | === added file 'debian/maas-region-api.maas-regiond.service' | |||
3963 | --- debian/maas-region-api.maas-regiond.service 1970-01-01 00:00:00 +0000 | |||
3964 | +++ debian/maas-region-api.maas-regiond.service 2016-04-16 02:29:52 +0000 | |||
3965 | @@ -0,0 +1,24 @@ | |||
3966 | 1 | [Unit] | ||
3967 | 2 | Description=MAAS Region Controller | ||
3968 | 3 | Documentation=https://maas.io/ | ||
3969 | 4 | |||
3970 | 5 | [Service] | ||
3971 | 6 | Type=oneshot | ||
3972 | 7 | RemainAfterExit=yes | ||
3973 | 8 | # systemd.service(5) clearly states that ExecStart can be specified zero | ||
3974 | 9 | # times when Type=oneshot, but it does appears to be needed at present. | ||
3975 | 10 | ExecStart=/bin/true | ||
3976 | 11 | |||
3977 | 12 | # | ||
3978 | 13 | # The maas-region-api package configures four workers. This | ||
3979 | 14 | # should work for most people. However: | ||
3980 | 15 | # | ||
3981 | 16 | # * `systemctl start maas-regiond-worker@x` (where 'x' can be anything, | ||
3982 | 17 | # though integers >= 5 seem logical) will start an additional worker. | ||
3983 | 18 | # | ||
3984 | 19 | # * `systemctl enable maas-regiond-worker@x` will configure that worker | ||
3985 | 20 | # so that it's persistent across reboots. | ||
3986 | 21 | # | ||
3987 | 22 | |||
3988 | 23 | [Install] | ||
3989 | 24 | WantedBy=multi-user.target | ||
3990 | 0 | 25 | ||
3991 | === added file 'debian/maas-region-api.maintscript' | |||
3992 | --- debian/maas-region-api.maintscript 1970-01-01 00:00:00 +0000 | |||
3993 | +++ debian/maas-region-api.maintscript 2016-04-16 02:29:52 +0000 | |||
3994 | @@ -0,0 +1,7 @@ | |||
3995 | 1 | rm_conffile /etc/maas/txlongpoll.yaml 1.7.0~beta4+bzr3124-0ubuntu1 | ||
3996 | 2 | rm_conffile /etc/init/maas-txlongpoll.conf 1.7.0~beta4+bzr3124-0ubuntu1 | ||
3997 | 3 | rm_conffile /etc/init/maas-region-celery.conf 1.7.0~beta4+bzr3124-0ubuntu1 | ||
3998 | 4 | rm_conffile /etc/maas/maas_local_celerconfig.py 1.7.0~beta4+bzr3124-0ubuntu1 | ||
3999 | 5 | rm_conffile /usr/share/maas/maas_local_celerconfig.py 1.7.0~beta4+bzr3124-0ubuntu1 | ||
4000 | 6 | rm_conffile /etc/maas/maas_local_celeryconfig.py 1.7.0~beta4+bzr3124-0ubuntu1 | ||
4001 | 7 | rm_conffile /etc/maas/maas-http.conf 1.9.0~alpha1+bzr4190-0ubuntu1 | ||
4002 | 0 | 8 | ||
4003 | === added file 'debian/maas-region-api.postinst' | |||
4004 | --- debian/maas-region-api.postinst 1970-01-01 00:00:00 +0000 | |||
4005 | +++ debian/maas-region-api.postinst 2016-04-16 02:29:52 +0000 | |||
4006 | @@ -0,0 +1,80 @@ | |||
4007 | 1 | #!/bin/sh | ||
4008 | 2 | |||
4009 | 3 | set -e | ||
4010 | 4 | |||
4011 | 5 | . /usr/share/debconf/confmodule | ||
4012 | 6 | db_version 2.0 | ||
4013 | 7 | |||
4014 | 8 | RELEASE=`lsb_release -rs` || RELEASE="" | ||
4015 | 9 | |||
4016 | 10 | configure_region_http() { | ||
4017 | 11 | # handle apache configs | ||
4018 | 12 | if [ -e /usr/share/maas/maas-http.conf -a \ | ||
4019 | 13 | ! -e /etc/apache2/conf-enabled/maas-http.conf ]; then | ||
4020 | 14 | ln -sf /usr/share/maas/maas-http.conf /etc/apache2/conf-enabled/maas-http.conf | ||
4021 | 15 | fi | ||
4022 | 16 | |||
4023 | 17 | # enable apache modules needed | ||
4024 | 18 | a2enmod proxy_http | ||
4025 | 19 | a2enmod proxy_wstunnel | ||
4026 | 20 | a2enmod expires | ||
4027 | 21 | a2enmod rewrite | ||
4028 | 22 | } | ||
4029 | 23 | |||
4030 | 24 | configure_logging() { | ||
4031 | 25 | # Give appropriate permissions | ||
4032 | 26 | if [ ! -f /var/log/maas/regiond.log ]; then | ||
4033 | 27 | touch /var/log/maas/regiond.log | ||
4034 | 28 | fi | ||
4035 | 29 | chown maas:maas /var/log/maas/regiond.log | ||
4036 | 30 | |||
4037 | 31 | # Create log directory base | ||
4038 | 32 | mkdir -p /var/log/maas/rsyslog | ||
4039 | 33 | chown -R syslog:syslog /var/log/maas/rsyslog | ||
4040 | 34 | # Make sure rsyslog reads our config | ||
4041 | 35 | invoke-rc.d rsyslog restart | ||
4042 | 36 | |||
4043 | 37 | # apache2 log symlinks | ||
4044 | 38 | ln -sf /var/log/apache2 /var/log/maas/ | ||
4045 | 39 | } | ||
4046 | 40 | |||
4047 | 41 | configure_libdir() { | ||
4048 | 42 | # If /var/lib/maas/secret exists, ensure ownership and | ||
4049 | 43 | # permissions are correct | ||
4050 | 44 | if [ -f /var/lib/maas/secret ]; then | ||
4051 | 45 | chown maas:maas /var/lib/maas/secret | ||
4052 | 46 | chmod 0640 /var/lib/maas/secret | ||
4053 | 47 | fi | ||
4054 | 48 | |||
4055 | 49 | if [ -f /var/lib/maas/maas_id ]; then | ||
4056 | 50 | chown maas:maas /var/lib/maas/maas_id | ||
4057 | 51 | fi | ||
4058 | 52 | } | ||
4059 | 53 | |||
4060 | 54 | # Unconditionally ensure that there is at least an empty configuration | ||
4061 | 55 | # file. This does *not* overwrite any existing configuration. | ||
4062 | 56 | maas-region local_config_set | ||
4063 | 57 | |||
4064 | 58 | if [ "$1" = "configure" ] && [ -z "$2" ]; then | ||
4065 | 59 | configure_region_http | ||
4066 | 60 | configure_logging | ||
4067 | 61 | configure_libdir | ||
4068 | 62 | |||
4069 | 63 | elif [ "$1" = "configure" ] && dpkg --compare-versions "$2" gt 0.1+bzr266+dfsg-0ubuntu1; then | ||
4070 | 64 | # Logging changed at r2611, ensure it is set up. | ||
4071 | 65 | configure_logging | ||
4072 | 66 | configure_libdir | ||
4073 | 67 | |||
4074 | 68 | # If upgrading to any later package version, then upgrade db. | ||
4075 | 69 | invoke-rc.d apache2 stop || true | ||
4076 | 70 | |||
4077 | 71 | # make sure maas http config is symlinked | ||
4078 | 72 | configure_region_http | ||
4079 | 73 | |||
4080 | 74 | fi | ||
4081 | 75 | |||
4082 | 76 | invoke-rc.d apache2 restart || true | ||
4083 | 77 | |||
4084 | 78 | db_stop | ||
4085 | 79 | |||
4086 | 80 | #DEBHELPER# | ||
4087 | 0 | 81 | ||
4088 | === added file 'debian/maas-region-api.postrm' | |||
4089 | --- debian/maas-region-api.postrm 1970-01-01 00:00:00 +0000 | |||
4090 | +++ debian/maas-region-api.postrm 2016-04-16 02:29:52 +0000 | |||
4091 | @@ -0,0 +1,49 @@ | |||
4092 | 1 | #!/bin/sh | ||
4093 | 2 | |||
4094 | 3 | set -e | ||
4095 | 4 | |||
4096 | 5 | . /usr/share/debconf/confmodule | ||
4097 | 6 | |||
4098 | 7 | RELEASE=`lsb_release -rs` || RELEASE="" | ||
4099 | 8 | |||
4100 | 9 | case "$1" in | ||
4101 | 10 | purge) | ||
4102 | 11 | # Remove logging files & foldesr | ||
4103 | 12 | rm -rf /var/log/maas/regiond.log* | ||
4104 | 13 | rm -rf /var/log/maas/apache2 | ||
4105 | 14 | rm -rf /var/log/maas/rsyslog | ||
4106 | 15 | |||
4107 | 16 | # Remove libgdir related files | ||
4108 | 17 | rm -rf /var/lib/maas/media | ||
4109 | 18 | |||
4110 | 19 | case $RELEASE in | ||
4111 | 20 | 12.04|12.10|13.04) | ||
4112 | 21 | if [ -h /etc/apache2/conf.d/maas-http.conf ]; then | ||
4113 | 22 | rm -rf /etc/apache2/conf.d/maas-http.conf | ||
4114 | 23 | fi | ||
4115 | 24 | ;; | ||
4116 | 25 | *) | ||
4117 | 26 | if [ -h /etc/apache2/conf-enabled/maas-http.conf ]; then | ||
4118 | 27 | rm -rf /etc/apache2/conf-enabled/maas-http.conf | ||
4119 | 28 | fi | ||
4120 | 29 | ;; | ||
4121 | 30 | esac | ||
4122 | 31 | |||
4123 | 32 | # Restarting apache2 | ||
4124 | 33 | if [ -x /usr/sbin/invoke-rc.d ]; then | ||
4125 | 34 | invoke-rc.d apache2 restart || true | ||
4126 | 35 | fi | ||
4127 | 36 | |||
4128 | 37 | # Delete symlink | ||
4129 | 38 | if [ -L /etc/squid-deb-proxy/mirror-dstdomain.acl.d/99-maas ]; then | ||
4130 | 39 | rm -rf /etc/squid-deb-proxy/mirror-dstdomain.acl.d/99-maas | ||
4131 | 40 | fi | ||
4132 | 41 | |||
4133 | 42 | # Delete any remaining / leftover file | ||
4134 | 43 | rm -rf /usr/share/maas/maas/ | ||
4135 | 44 | rm -rf /etc/maas/regiond.conf | ||
4136 | 45 | esac | ||
4137 | 46 | |||
4138 | 47 | #DEBHELPER# | ||
4139 | 48 | |||
4140 | 49 | db_stop | ||
4141 | 0 | 50 | ||
4142 | === added file 'debian/maas-region-api.preinst' | |||
4143 | --- debian/maas-region-api.preinst 1970-01-01 00:00:00 +0000 | |||
4144 | +++ debian/maas-region-api.preinst 2016-04-16 02:29:52 +0000 | |||
4145 | @@ -0,0 +1,34 @@ | |||
4146 | 1 | #!/bin/sh | ||
4147 | 2 | |||
4148 | 3 | set -e | ||
4149 | 4 | |||
4150 | 5 | . /usr/share/debconf/confmodule | ||
4151 | 6 | |||
4152 | 7 | if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then | ||
4153 | 8 | |||
4154 | 9 | if [ -f /etc/init/maas-txlongpoll.conf ]; then | ||
4155 | 10 | invoke-rc.d maas-txlongpoll stop | ||
4156 | 11 | fi | ||
4157 | 12 | |||
4158 | 13 | if [ -f /var/log/maas/txlongpoll.log ]; then | ||
4159 | 14 | rm -rf /var/log/maas/txlongpoll.log | ||
4160 | 15 | fi | ||
4161 | 16 | |||
4162 | 17 | if [ -f /etc/init/maas-region-celery.conf ]; then | ||
4163 | 18 | invoke-rc.d maas-region-celery stop | ||
4164 | 19 | fi | ||
4165 | 20 | |||
4166 | 21 | if [ -f /var/log/maas/celery-region.log ]; then | ||
4167 | 22 | rm -rf /var/log/maas/celery-region.log | ||
4168 | 23 | fi | ||
4169 | 24 | |||
4170 | 25 | if [ -f /var/log/maas/maas-django.log ]; then | ||
4171 | 26 | rm -rf /var/log/maas/maas-django.log | ||
4172 | 27 | fi | ||
4173 | 28 | |||
4174 | 29 | if [ -d /var/lib/maas/media ]; then | ||
4175 | 30 | rm -rf /var/lib/maas/media | ||
4176 | 31 | fi | ||
4177 | 32 | |||
4178 | 33 | fi | ||
4179 | 34 | #DEBHELPER# | ||
4180 | 0 | 35 | ||
4181 | === added file 'debian/maas-region-api.prerm' | |||
4182 | --- debian/maas-region-api.prerm 1970-01-01 00:00:00 +0000 | |||
4183 | +++ debian/maas-region-api.prerm 2016-04-16 02:29:52 +0000 | |||
4184 | @@ -0,0 +1,9 @@ | |||
4185 | 1 | #!/bin/sh | ||
4186 | 2 | |||
4187 | 3 | set -e | ||
4188 | 4 | |||
4189 | 5 | . /usr/share/debconf/confmodule | ||
4190 | 6 | |||
4191 | 7 | #DEBHELPER# | ||
4192 | 8 | |||
4193 | 9 | invoke-rc.d apache2 stop || true | ||
4194 | 0 | 10 | ||
4195 | === added file 'debian/maas-region-controller.config' | |||
4196 | --- debian/maas-region-controller.config 1970-01-01 00:00:00 +0000 | |||
4197 | +++ debian/maas-region-controller.config 2016-04-16 02:29:52 +0000 | |||
4198 | @@ -0,0 +1,47 @@ | |||
4199 | 1 | #!/bin/sh | ||
4200 | 2 | |||
4201 | 3 | set -e | ||
4202 | 4 | |||
4203 | 5 | . /usr/share/debconf/confmodule | ||
4204 | 6 | db_version 2.0 | ||
4205 | 7 | |||
4206 | 8 | # creates question | ||
4207 | 9 | set_question() { | ||
4208 | 10 | if ! db_fget "$1" seen; then | ||
4209 | 11 | db_register dbconfig-common/dbconfig-install "$1" | ||
4210 | 12 | db_subst "$1" ID "$1" | ||
4211 | 13 | db_fget "$1" seen | ||
4212 | 14 | fi | ||
4213 | 15 | if [ "$RET" = false ]; then | ||
4214 | 16 | db_set "$1" "$2" | ||
4215 | 17 | db_fset "$1" seen true | ||
4216 | 18 | fi | ||
4217 | 19 | } | ||
4218 | 20 | |||
4219 | 21 | # source dbconfig-common shell library, and call the hook function | ||
4220 | 22 | if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then | ||
4221 | 23 | . /usr/share/dbconfig-common/dpkg/config.pgsql | ||
4222 | 24 | fi | ||
4223 | 25 | |||
4224 | 26 | if [ "$1" = "configure" ] && [ -z "$2" ]; then | ||
4225 | 27 | # Hide maas/dbconfig-install question by setting default. | ||
4226 | 28 | set_question maas-region-controller/dbconfig-install true | ||
4227 | 29 | set_question maas-region-controller/pgsql/app-pass "" | ||
4228 | 30 | set_question maas-region-controller/remote/host "localhost" | ||
4229 | 31 | |||
4230 | 32 | dbc_dbname="maasdb" | ||
4231 | 33 | dbc_dbuser="maas" | ||
4232 | 34 | dbc_remove="true" | ||
4233 | 35 | |||
4234 | 36 | dbc_go maas-region-controller $@ | ||
4235 | 37 | |||
4236 | 38 | elif [ -n "$DEBCONF_RECONFIGURE" ]; then | ||
4237 | 39 | db_get maas/default-maas-url || true | ||
4238 | 40 | if [ -z "$RET" ]; then | ||
4239 | 41 | ipaddr=$(maas-region local_config_get --maas-url --plain) | ||
4240 | 42 | db_set maas/default-maas-url "$ipaddr" | ||
4241 | 43 | fi | ||
4242 | 44 | db_input low maas/default-maas-url || true | ||
4243 | 45 | db_go | ||
4244 | 46 | |||
4245 | 47 | fi | ||
4246 | 0 | 48 | ||
4247 | === added file 'debian/maas-region-controller.postinst' | |||
4248 | --- debian/maas-region-controller.postinst 1970-01-01 00:00:00 +0000 | |||
4249 | +++ debian/maas-region-controller.postinst 2016-04-16 02:29:52 +0000 | |||
4250 | @@ -0,0 +1,165 @@ | |||
4251 | 1 | #!/bin/sh | ||
4252 | 2 | |||
4253 | 3 | set -e | ||
4254 | 4 | |||
4255 | 5 | . /usr/share/debconf/confmodule | ||
4256 | 6 | db_version 2.0 | ||
4257 | 7 | |||
4258 | 8 | if [ -f /usr/share/dbconfig-common/dpkg/postinst.pgsql ]; then | ||
4259 | 9 | . /usr/share/dbconfig-common/dpkg/postinst.pgsql | ||
4260 | 10 | fi | ||
4261 | 11 | |||
4262 | 12 | RELEASE=`lsb_release -rs` || RELEASE="" | ||
4263 | 13 | |||
4264 | 14 | maas_sync_migrate_db(){ | ||
4265 | 15 | maas-region dbupgrade | ||
4266 | 16 | } | ||
4267 | 17 | |||
4268 | 18 | restart_postgresql(){ | ||
4269 | 19 | invoke-rc.d --force postgresql restart || true | ||
4270 | 20 | } | ||
4271 | 21 | |||
4272 | 22 | configure_maas_default_url() { | ||
4273 | 23 | local ipaddr="$1" | ||
4274 | 24 | maas-region local_config_set \ | ||
4275 | 25 | --maas-url "http://${ipaddr}/MAAS" | ||
4276 | 26 | } | ||
4277 | 27 | |||
4278 | 28 | get_default_route_ip() { | ||
4279 | 29 | while read Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT | ||
4280 | 30 | do | ||
4281 | 31 | [ "$Mask" = "00000000" ] && break | ||
4282 | 32 | done < /proc/net/route | ||
4283 | 33 | interface="$Iface" | ||
4284 | 34 | ipaddr=$(LC_ALL=C /sbin/ip -4 addr list dev "$interface" scope global) | ||
4285 | 35 | ipaddr=${ipaddr#* inet } | ||
4286 | 36 | ipaddr=${ipaddr%%/*} | ||
4287 | 37 | echo $ipaddr | ||
4288 | 38 | } | ||
4289 | 39 | |||
4290 | 40 | extract_default_maas_url() { | ||
4291 | 41 | # Extract DEFAULT_MAAS_URL IP/host setting from config file $1. | ||
4292 | 42 | grep "^DEFAULT_MAAS_URL" "$1" | cut -d"/" -f3 | ||
4293 | 43 | } | ||
4294 | 44 | |||
4295 | 45 | configure_migrate_maas_dns() { | ||
4296 | 46 | # This only runs on upgrade. We only run this if the | ||
4297 | 47 | # there are forwarders to migrate or no | ||
4298 | 48 | # named.conf.options.inside.maas are present. | ||
4299 | 49 | maas-region edit_named_options \ | ||
4300 | 50 | --migrate-conflicting-options --config-path \ | ||
4301 | 51 | /etc/bind/named.conf.options | ||
4302 | 52 | invoke-rc.d bind9 restart || true | ||
4303 | 53 | } | ||
4304 | 54 | |||
4305 | 55 | if [ "$1" = "configure" ] && [ -z "$2" ]; then | ||
4306 | 56 | ######################################################### | ||
4307 | 57 | ########## Configure DEFAULT_MAAS_URL ################# | ||
4308 | 58 | ######################################################### | ||
4309 | 59 | |||
4310 | 60 | # Obtain IP address of default route and change DEFAULT_MAAS_URL | ||
4311 | 61 | # if default-maas-url has not been preseeded. | ||
4312 | 62 | db_get maas/default-maas-url | ||
4313 | 63 | ipaddr="$RET" | ||
4314 | 64 | if [ -z "$RET" ]; then | ||
4315 | 65 | ipaddr=$(get_default_route_ip) | ||
4316 | 66 | fi | ||
4317 | 67 | # Set the IP address of the interface with default route | ||
4318 | 68 | if [ -n "$ipaddr" ]; then | ||
4319 | 69 | configure_maas_default_url "$ipaddr" | ||
4320 | 70 | db_subst maas/installation-note MAAS_URL "$ipaddr" | ||
4321 | 71 | db_set maas/default-maas-url "$ipaddr" | ||
4322 | 72 | fi | ||
4323 | 73 | |||
4324 | 74 | ######################################################### | ||
4325 | 75 | ################ Configure Database ################### | ||
4326 | 76 | ######################################################### | ||
4327 | 77 | |||
4328 | 78 | # Need to for postgresql start so it doesn't fail on the installer | ||
4329 | 79 | restart_postgresql | ||
4330 | 80 | |||
4331 | 81 | # Create the database | ||
4332 | 82 | dbc_go maas-region-controller $@ | ||
4333 | 83 | maas-region local_config_set \ | ||
4334 | 84 | --database-host "localhost" --database-name "$dbc_dbname" \ | ||
4335 | 85 | --database-user "$dbc_dbuser" --database-pass "$dbc_dbpass" | ||
4336 | 86 | |||
4337 | 87 | # Only syncdb if we have selected to install it with dbconfig-common. | ||
4338 | 88 | db_get maas-region-controller/dbconfig-install | ||
4339 | 89 | if [ "$RET" = "true" ]; then | ||
4340 | 90 | maas_sync_migrate_db | ||
4341 | 91 | configure_migrate_maas_dns | ||
4342 | 92 | fi | ||
4343 | 93 | |||
4344 | 94 | db_get maas/username | ||
4345 | 95 | username="$RET" | ||
4346 | 96 | if [ -n "$username" ]; then | ||
4347 | 97 | db_get maas/password | ||
4348 | 98 | password="$RET" | ||
4349 | 99 | if [ -n "$password" ]; then | ||
4350 | 100 | maas-region createadmin --username "$username" --password "$password" --email "$username@maas" | ||
4351 | 101 | fi | ||
4352 | 102 | fi | ||
4353 | 103 | |||
4354 | 104 | # Display installation note | ||
4355 | 105 | db_input low maas/installation-note || true | ||
4356 | 106 | db_go | ||
4357 | 107 | |||
4358 | 108 | elif [ -n "$DEBCONF_RECONFIGURE" ]; then | ||
4359 | 109 | # Set the IP address of the interface with default route | ||
4360 | 110 | db_get maas/default-maas-url | ||
4361 | 111 | ipaddr="$RET" | ||
4362 | 112 | if [ -n "$ipaddr" ]; then | ||
4363 | 113 | configure_maas_default_url "$ipaddr" | ||
4364 | 114 | fi | ||
4365 | 115 | |||
4366 | 116 | elif [ "$1" = "configure" ] && dpkg --compare-versions "$2" gt 0.1+bzr266+dfsg-0ubuntu1; then | ||
4367 | 117 | # If upgrading to any later package version, then upgrade db. | ||
4368 | 118 | invoke-rc.d apache2 stop || true | ||
4369 | 119 | |||
4370 | 120 | # make sure postgresql is running | ||
4371 | 121 | restart_postgresql | ||
4372 | 122 | |||
4373 | 123 | # If the version we are upgrading from ("$2") is less than | ||
4374 | 124 | # 1.9.0~alpha1+bzr4038-0ubuntu1 then we need migrate to new | ||
4375 | 125 | # config file. | ||
4376 | 126 | if dpkg --compare-versions "$2" lt 1.9.0~alpha1+bzr4038-0ubuntu1 && [ -f /etc/maas/maas_local_settings.py ]; then | ||
4377 | 127 | ipaddr=$(extract_default_maas_url /etc/maas/maas_local_settings.py) | ||
4378 | 128 | if [ -n "$ipaddr" ]; then | ||
4379 | 129 | configure_maas_default_url "$ipaddr" | ||
4380 | 130 | db_set maas/default-maas-url "$ipaddr" | ||
4381 | 131 | fi | ||
4382 | 132 | # handle database upgrade | ||
4383 | 133 | if [ -f /etc/dbconfig-common/maas-region-controller.conf ]; then | ||
4384 | 134 | # source dbconfig-common db config for maas-region-controller | ||
4385 | 135 | # before upgrading database, otherwise a new config is written | ||
4386 | 136 | # but the password is no longer preserved. | ||
4387 | 137 | . /etc/dbconfig-common/maas-region-controller.conf | ||
4388 | 138 | else | ||
4389 | 139 | dbc_go maas-region-controller $@ | ||
4390 | 140 | fi | ||
4391 | 141 | |||
4392 | 142 | # Reconfigure the config file. | ||
4393 | 143 | maas-region local_config_set \ | ||
4394 | 144 | --database-host "localhost" --database-name "$dbc_dbname" \ | ||
4395 | 145 | --database-user "$dbc_dbuser" --database-pass "$dbc_dbpass" | ||
4396 | 146 | |||
4397 | 147 | mv /etc/maas/maas_local_settings.py /etc/maas/maas_local_settings.py.maas-old | ||
4398 | 148 | fi | ||
4399 | 149 | |||
4400 | 150 | maas_sync_migrate_db | ||
4401 | 151 | |||
4402 | 152 | configure_migrate_maas_dns | ||
4403 | 153 | fi | ||
4404 | 154 | |||
4405 | 155 | systemctl enable maas-regiond >/dev/null || true | ||
4406 | 156 | systemctl restart maas-regiond >/dev/null || true | ||
4407 | 157 | invoke-rc.d apache2 restart || true | ||
4408 | 158 | |||
4409 | 159 | if [ -f /lib/systemd/system/maas-rackd.service ]; then | ||
4410 | 160 | systemctl restart maas-rackd >/dev/null || true | ||
4411 | 161 | fi | ||
4412 | 162 | |||
4413 | 163 | db_stop | ||
4414 | 164 | |||
4415 | 165 | #DEBHELPER# | ||
4416 | 0 | 166 | ||
4417 | === added file 'debian/maas-region-controller.postrm' | |||
4418 | --- debian/maas-region-controller.postrm 1970-01-01 00:00:00 +0000 | |||
4419 | +++ debian/maas-region-controller.postrm 2016-04-16 02:29:52 +0000 | |||
4420 | @@ -0,0 +1,22 @@ | |||
4421 | 1 | #!/bin/sh | ||
4422 | 2 | |||
4423 | 3 | set -e | ||
4424 | 4 | |||
4425 | 5 | . /usr/share/debconf/confmodule | ||
4426 | 6 | |||
4427 | 7 | RELEASE=`lsb_release -rs` || RELEASE="" | ||
4428 | 8 | |||
4429 | 9 | if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then | ||
4430 | 10 | . /usr/share/dbconfig-common/dpkg/postrm.pgsql | ||
4431 | 11 | dbc_go maas-region-controller $@ | ||
4432 | 12 | fi | ||
4433 | 13 | |||
4434 | 14 | case "$1" in | ||
4435 | 15 | purge) | ||
4436 | 16 | # Deleting old/new config files | ||
4437 | 17 | rm -rf /etc/maas/maas_local_settings.py.maas-old | ||
4438 | 18 | esac | ||
4439 | 19 | |||
4440 | 20 | #DEBHELPER# | ||
4441 | 21 | |||
4442 | 22 | db_stop | ||
4443 | 0 | 23 | ||
4444 | === added file 'debian/maas-region-controller.prerm' | |||
4445 | --- debian/maas-region-controller.prerm 1970-01-01 00:00:00 +0000 | |||
4446 | +++ debian/maas-region-controller.prerm 2016-04-16 02:29:52 +0000 | |||
4447 | @@ -0,0 +1,13 @@ | |||
4448 | 1 | #!/bin/sh | ||
4449 | 2 | |||
4450 | 3 | set -e | ||
4451 | 4 | |||
4452 | 5 | . /usr/share/debconf/confmodule | ||
4453 | 6 | |||
4454 | 7 | #DEBHELPER# | ||
4455 | 8 | |||
4456 | 9 | invoke-rc.d apache2 stop || true | ||
4457 | 10 | invoke-rc.d maas-regiond stop || true | ||
4458 | 11 | |||
4459 | 12 | . /usr/share/dbconfig-common/dpkg/prerm.pgsql | ||
4460 | 13 | dbc_go maas-region-controller $@ | ||
4461 | 0 | 14 | ||
4462 | === added file 'debian/maas-region-controller.templates' | |||
4463 | --- debian/maas-region-controller.templates 1970-01-01 00:00:00 +0000 | |||
4464 | +++ debian/maas-region-controller.templates 2016-04-16 02:29:52 +0000 | |||
4465 | @@ -0,0 +1,24 @@ | |||
4466 | 1 | Template: maas/default-maas-url | ||
4467 | 2 | Type: string | ||
4468 | 3 | _Description: Ubuntu MAAS PXE/Provisioning network address: | ||
4469 | 4 | The Ubuntu MAAS Server automatically detects the IP address | ||
4470 | 5 | that is used for PXE and provisioning. However, it needs to be | ||
4471 | 6 | in the same network as the clients. If the automatically | ||
4472 | 7 | detected address is not in the same network as the clients, it | ||
4473 | 8 | must be changed. | ||
4474 | 9 | |||
4475 | 10 | Template: maas/username | ||
4476 | 11 | Type: string | ||
4477 | 12 | _Description: Ubuntu MAAS username | ||
4478 | 13 | The Ubuntu MAAS server requires the administrator to create a | ||
4479 | 14 | username and password combination. | ||
4480 | 15 | . | ||
4481 | 16 | Please provide the username for the MAAS account. | ||
4482 | 17 | |||
4483 | 18 | Template: maas/password | ||
4484 | 19 | Type: password | ||
4485 | 20 | _Description: Ubuntu MAAS password | ||
4486 | 21 | The Ubuntu MAAS server requires the administrator to create a | ||
4487 | 22 | username and password combination. | ||
4488 | 23 | . | ||
4489 | 24 | Please provide the password for the MAAS account. | ||
4490 | 0 | 25 | ||
4491 | === added file 'debian/maas-region-udeb.postinst' | |||
4492 | --- debian/maas-region-udeb.postinst 1970-01-01 00:00:00 +0000 | |||
4493 | +++ debian/maas-region-udeb.postinst 2016-04-16 02:29:52 +0000 | |||
4494 | @@ -0,0 +1,82 @@ | |||
4495 | 1 | #!/bin/sh -e | ||
4496 | 2 | |||
4497 | 3 | # Source debconf library. | ||
4498 | 4 | . /usr/share/debconf/confmodule | ||
4499 | 5 | db_version 2.0 | ||
4500 | 6 | |||
4501 | 7 | # This conf script is capable of backing up | ||
4502 | 8 | db_capb backup | ||
4503 | 9 | |||
4504 | 10 | logfile=/var/lib/preseed/log | ||
4505 | 11 | set_question () { | ||
4506 | 12 | echo "$1 $2 $3 $4" >>"$logfile" | ||
4507 | 13 | if ! db_fget "$2" seen; then | ||
4508 | 14 | db_register debian-installer/dummy "$2" | ||
4509 | 15 | db_subst "$2" ID "$2" | ||
4510 | 16 | db_fget "$2" seen | ||
4511 | 17 | fi | ||
4512 | 18 | if [ "$RET" = false ]; then | ||
4513 | 19 | db_set "$2" "$4" | ||
4514 | 20 | db_fset "$2" seen true | ||
4515 | 21 | fi | ||
4516 | 22 | } | ||
4517 | 23 | |||
4518 | 24 | |||
4519 | 25 | STATE=1 | ||
4520 | 26 | while [ "$STATE" != 0 -a "$STATE" != 4 ]; do | ||
4521 | 27 | case "$STATE" in | ||
4522 | 28 | 1) | ||
4523 | 29 | # This is a confirmation that we want to install MAAS. If we don't | ||
4524 | 30 | # then we exit the MAAS installation process | ||
4525 | 31 | db_input high maas-region-udeb/maas-confirmation || true | ||
4526 | 32 | ;; | ||
4527 | 33 | |||
4528 | 34 | 2) | ||
4529 | 35 | # Ask for username | ||
4530 | 36 | db_get maas-region-udeb/maas-confirmation | ||
4531 | 37 | if [ "$RET" != "true" ]; then | ||
4532 | 38 | break | ||
4533 | 39 | fi | ||
4534 | 40 | db_input critical maas-region-udeb/username || true | ||
4535 | 41 | ;; | ||
4536 | 42 | |||
4537 | 43 | 3) | ||
4538 | 44 | # Ask for password | ||
4539 | 45 | db_get maas-region-udeb/username | ||
4540 | 46 | if [ -n "$RET" ]; then | ||
4541 | 47 | db_input critical maas-region-udeb/password || true | ||
4542 | 48 | fi | ||
4543 | 49 | ;; | ||
4544 | 50 | |||
4545 | 51 | esac | ||
4546 | 52 | |||
4547 | 53 | if db_go; then | ||
4548 | 54 | STATE=$(($STATE + 1)) | ||
4549 | 55 | else | ||
4550 | 56 | STATE=$(($STATE - 1)) | ||
4551 | 57 | fi | ||
4552 | 58 | done | ||
4553 | 59 | db_capb | ||
4554 | 60 | |||
4555 | 61 | db_get maas-region-udeb/maas-confirmation | ||
4556 | 62 | if [ "$RET" != "true" ]; then | ||
4557 | 63 | # MAAS won't be installed | ||
4558 | 64 | exit 0 | ||
4559 | 65 | fi | ||
4560 | 66 | # Only preseed username/password combination if both have been | ||
4561 | 67 | # input in the installer. If no $password has been input, do not | ||
4562 | 68 | # preseed | ||
4563 | 69 | db_get maas-region-udeb/username | ||
4564 | 70 | username="$RET" | ||
4565 | 71 | if [ -n "$username" ]; then | ||
4566 | 72 | db_get maas-region-udeb/password | ||
4567 | 73 | password="$RET" | ||
4568 | 74 | if [ -n "$password" ]; then | ||
4569 | 75 | set_question maas-region-controller maas/username string "$username" | ||
4570 | 76 | set_question maas-region-controller maas/password password "$password" | ||
4571 | 77 | fi | ||
4572 | 78 | fi | ||
4573 | 79 | # Tell the package manager that we will be installing MAAS | ||
4574 | 80 | db_set pkgsel/include maas | ||
4575 | 81 | set_question tasksel tasksel/first multiselect "standard, server" | ||
4576 | 82 | exit 0 | ||
4577 | 0 | 83 | ||
4578 | === added file 'debian/maas-region-udeb.templates' | |||
4579 | --- debian/maas-region-udeb.templates 1970-01-01 00:00:00 +0000 | |||
4580 | +++ debian/maas-region-udeb.templates 2016-04-16 02:29:52 +0000 | |||
4581 | @@ -0,0 +1,29 @@ | |||
4582 | 1 | Template: debian-installer/maas-region-udeb/title | ||
4583 | 2 | Type: text | ||
4584 | 3 | _Description: Install your Metal as a Service (MAAS) | ||
4585 | 4 | |||
4586 | 5 | Template: maas-region-udeb/maas-confirmation | ||
4587 | 6 | Type: boolean | ||
4588 | 7 | _Description: Would you like to proceed with the installation of your MAAS? | ||
4589 | 8 | MAAS runs a software-defined data centre - it turns a collection of physical | ||
4590 | 9 | servers and switches into a bare metal cloud with full open source IP address | ||
4591 | 10 | management (IPAM) and instant provisioning on demand. | ||
4592 | 11 | . | ||
4593 | 12 | By choosing to install MAAS, a MAAS Region Controller API server and PostgreSQL | ||
4594 | 13 | database will be installed. | ||
4595 | 14 | |||
4596 | 15 | Template: maas-region-udeb/username | ||
4597 | 16 | Type: string | ||
4598 | 17 | _Description: Username for your MAAS administrator account: | ||
4599 | 18 | MAAS requires an administrative account to be created before you can use MAAS. | ||
4600 | 19 | Please enter the username for the administrator. If no username is provided, | ||
4601 | 20 | you will have to create one before you are able to use MAAS. | ||
4602 | 21 | |||
4603 | 22 | Template: maas-region-udeb/password | ||
4604 | 23 | Type: password | ||
4605 | 24 | _Description: Choose a password for the MAAS administrator account: | ||
4606 | 25 | MAAS requires an administrative account to be created before you can use MAAS. | ||
4607 | 26 | Please enter the password for the administrator's account. | ||
4608 | 27 | . | ||
4609 | 28 | If the password is not entered, your MAAS installation will proceed, but no | ||
4610 | 29 | administrator's account will be created. | ||
4611 | 0 | 30 | ||
4612 | === added file 'debian/maintscript' | |||
4613 | --- debian/maintscript 1970-01-01 00:00:00 +0000 | |||
4614 | +++ debian/maintscript 2016-04-16 02:29:52 +0000 | |||
4615 | @@ -0,0 +1,2 @@ | |||
4616 | 1 | rm_conffile /etc/init/maas-celery.conf 0.1+bzr971+dfsg-0ubuntu2 | ||
4617 | 2 | rm_conffile /etc/dbconfig-common/maas.conf 0.1+bzr971+dfsg-0ubuntu2 | ||
4618 | 0 | 3 | ||
4619 | === added directory 'debian/patches' | |||
4620 | === added file 'debian/patches/series' | |||
4621 | === added directory 'debian/po' | |||
4622 | === added file 'debian/po/POTFILES.in' | |||
4623 | --- debian/po/POTFILES.in 1970-01-01 00:00:00 +0000 | |||
4624 | +++ debian/po/POTFILES.in 2016-04-16 02:29:52 +0000 | |||
4625 | @@ -0,0 +1,2 @@ | |||
4626 | 1 | [type: gettext/rfc822deb] maas-region-controller.templates | ||
4627 | 2 | [type: gettext/rfc822deb] maas-cluster-controller.templates | ||
4628 | 0 | 3 | ||
4629 | === added file 'debian/po/templates.pot' | |||
4630 | --- debian/po/templates.pot 1970-01-01 00:00:00 +0000 | |||
4631 | +++ debian/po/templates.pot 2016-04-16 02:29:52 +0000 | |||
4632 | @@ -0,0 +1,68 @@ | |||
4633 | 1 | # SOME DESCRIPTIVE TITLE. | ||
4634 | 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
4635 | 3 | # This file is distributed under the same license as the PACKAGE package. | ||
4636 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
4637 | 5 | # | ||
4638 | 6 | #, fuzzy | ||
4639 | 7 | msgid "" | ||
4640 | 8 | msgstr "" | ||
4641 | 9 | "Project-Id-Version: maas\n" | ||
4642 | 10 | "Report-Msgid-Bugs-To: maas@packages.debian.org\n" | ||
4643 | 11 | "POT-Creation-Date: 2012-10-04 13:40-0400\n" | ||
4644 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
4645 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
4646 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | ||
4647 | 15 | "Language: \n" | ||
4648 | 16 | "MIME-Version: 1.0\n" | ||
4649 | 17 | "Content-Type: text/plain; charset=CHARSET\n" | ||
4650 | 18 | "Content-Transfer-Encoding: 8bit\n" | ||
4651 | 19 | |||
4652 | 20 | #. Type: note | ||
4653 | 21 | #. Description | ||
4654 | 22 | #: ../maas-region-controller.templates:1001 | ||
4655 | 23 | msgid "Ubuntu MAAS Server" | ||
4656 | 24 | msgstr "" | ||
4657 | 25 | |||
4658 | 26 | #. Type: note | ||
4659 | 27 | #. Description | ||
4660 | 28 | #: ../maas-region-controller.templates:1001 | ||
4661 | 29 | msgid "" | ||
4662 | 30 | "The Ubuntu MAAS Server has been installed in your system. You can access the " | ||
4663 | 31 | "MAAS Web interface here:" | ||
4664 | 32 | msgstr "" | ||
4665 | 33 | |||
4666 | 34 | #. Type: note | ||
4667 | 35 | #. Description | ||
4668 | 36 | #: ../maas-region-controller.templates:1001 | ||
4669 | 37 | msgid " http://${MAAS_URL}/MAAS" | ||
4670 | 38 | msgstr "" | ||
4671 | 39 | |||
4672 | 40 | #. Type: note | ||
4673 | 41 | #. Description | ||
4674 | 42 | #: ../maas-region-controller.templates:1001 | ||
4675 | 43 | msgid "" | ||
4676 | 44 | "If the automatically detected address above is not in the same network as " | ||
4677 | 45 | "the MAAS clients, you need to reconfigure it:" | ||
4678 | 46 | msgstr "" | ||
4679 | 47 | |||
4680 | 48 | #. Type: note | ||
4681 | 49 | #. Description | ||
4682 | 50 | #: ../maas-region-controller.templates:1001 | ||
4683 | 51 | msgid " sudo dpkg-reconfigure maas-region-controller" | ||
4684 | 52 | msgstr "" | ||
4685 | 53 | |||
4686 | 54 | #. Type: string | ||
4687 | 55 | #. Description | ||
4688 | 56 | #: ../maas-region-controller.templates:2001 | ||
4689 | 57 | msgid "Ubuntu MAAS PXE/Provisioning network address:" | ||
4690 | 58 | msgstr "" | ||
4691 | 59 | |||
4692 | 60 | #. Type: string | ||
4693 | 61 | #. Description | ||
4694 | 62 | #: ../maas-region-controller.templates:2001 | ||
4695 | 63 | msgid "" | ||
4696 | 64 | "The Ubuntu MAAS Server automatically detects the IP address that is used for " | ||
4697 | 65 | "PXE and provisioning. However, it needs to be in the same network as the " | ||
4698 | 66 | "clients. If the automatically detected address is not in the same network as " | ||
4699 | 67 | "the clients, it must be changed." | ||
4700 | 68 | msgstr "" | ||
4701 | 0 | 69 | ||
4702 | === added file 'debian/python3-django-maas.install' | |||
4703 | --- debian/python3-django-maas.install 1970-01-01 00:00:00 +0000 | |||
4704 | +++ debian/python3-django-maas.install 2016-04-16 02:29:52 +0000 | |||
4705 | @@ -0,0 +1,2 @@ | |||
4706 | 1 | debian/tmp/usr/lib/python3*/dist-packages/maasserver | ||
4707 | 2 | debian/tmp/usr/lib/python3*/dist-packages/metadataserver | ||
4708 | 0 | 3 | ||
4709 | === added file 'debian/python3-maas-client.install' | |||
4710 | --- debian/python3-maas-client.install 1970-01-01 00:00:00 +0000 | |||
4711 | +++ debian/python3-maas-client.install 2016-04-16 02:29:52 +0000 | |||
4712 | @@ -0,0 +1,2 @@ | |||
4713 | 1 | debian/tmp/usr/lib/python3*/dist-packages/apiclient | ||
4714 | 2 | debian/tmp/usr/lib/python3*/dist-packages/maascli | ||
4715 | 0 | 3 | ||
4716 | === added file 'debian/python3-maas-provisioningserver.install' | |||
4717 | --- debian/python3-maas-provisioningserver.install 1970-01-01 00:00:00 +0000 | |||
4718 | +++ debian/python3-maas-provisioningserver.install 2016-04-16 02:29:52 +0000 | |||
4719 | @@ -0,0 +1,1 @@ | |||
4720 | 1 | debian/tmp/usr/lib/python3*/dist-packages/provisioningserver | ||
4721 | 0 | 2 | ||
4722 | === added file 'debian/rules' | |||
4723 | --- debian/rules 1970-01-01 00:00:00 +0000 | |||
4724 | +++ debian/rules 2016-04-16 02:29:52 +0000 | |||
4725 | @@ -0,0 +1,84 @@ | |||
4726 | 1 | #!/usr/bin/make -f | ||
4727 | 2 | |||
4728 | 3 | BUILDHOME = $(CURDIR)/debian/build | ||
4729 | 4 | PYTHON3 = $(shell py3versions -d) | ||
4730 | 5 | # Python enum modules. | ||
4731 | 6 | py_enums := $(wildcard src/*/enum.py) | ||
4732 | 7 | |||
4733 | 8 | %: | ||
4734 | 9 | dh $@ --with python3,apport,systemd --buildsystem=pybuild | ||
4735 | 10 | |||
4736 | 11 | override_dh_auto_test: | ||
4737 | 12 | # do nothing as we don't want the tests to run because they require | ||
4738 | 13 | # internet access | ||
4739 | 14 | |||
4740 | 15 | override_dh_installinit: | ||
4741 | 16 | dh_installinit -p maas-region-api --name=maas-regiond --no-start | ||
4742 | 17 | dh_installinit -p maas-region-api --name=maas-regiond-worker@ --no-start | ||
4743 | 18 | dh_installinit -p maas-rack-controller --name=maas-rackd | ||
4744 | 19 | dh_installinit -p maas-proxy --name=maas-proxy | ||
4745 | 20 | dh_installinit -p maas-dhcp --name=maas-dhcpd | ||
4746 | 21 | dh_installinit -p maas-dhcp --name=maas-dhcpd6 | ||
4747 | 22 | |||
4748 | 23 | override_dh_systemd_enable: | ||
4749 | 24 | dh_systemd_enable -p maas-region-api --name=maas-regiond | ||
4750 | 25 | dh_systemd_enable -p maas-rack-controller --name=maas-rackd | ||
4751 | 26 | dh_systemd_enable -p maas-proxy --name=maas-proxy | ||
4752 | 27 | dh_systemd_enable -p maas-dhcp --name=maas-dhcpd | ||
4753 | 28 | dh_systemd_enable -p maas-dhcp --name=maas-dhcpd6 | ||
4754 | 29 | |||
4755 | 30 | override_dh_systemd_start: | ||
4756 | 31 | dh_systemd_start -p maas-region-api --no-start maas-regiond.service | ||
4757 | 32 | dh_systemd_start -p maas-rack-controller maas-rackd.service | ||
4758 | 33 | dh_systemd_start -p maas-proxy maas-proxy.service | ||
4759 | 34 | dh_systemd_start -p maas-dhcp maas-dhcpd.service | ||
4760 | 35 | dh_systemd_start -p maas-dhcp maas-dhcpd6.service | ||
4761 | 36 | |||
4762 | 37 | override_dh_auto_build: | ||
4763 | 38 | dh_auto_build | ||
4764 | 39 | |||
4765 | 40 | mkdir -p $(BUILDHOME) | ||
4766 | 41 | HOME=$(BUILDHOME) PYTHONPATH=$(CURDIR)/src/ $(PYTHON3) \ | ||
4767 | 42 | $(CURDIR)/src/maasserver/utils/jsenums.py \ | ||
4768 | 43 | $(py_enums) > $(BUILDHOME)/enums.js | ||
4769 | 44 | |||
4770 | 45 | override_dh_auto_install: | ||
4771 | 46 | dh_auto_install | ||
4772 | 47 | |||
4773 | 48 | # Move static files | ||
4774 | 49 | install -d -m 755 $(CURDIR)/debian/tmp/usr/share/maas/web/static | ||
4775 | 50 | mv $(CURDIR)/debian/tmp/usr/lib/python*/*-packages/maasserver/static \ | ||
4776 | 51 | $(CURDIR)/debian/tmp/usr/share/maas/web/ | ||
4777 | 52 | |||
4778 | 53 | # Remove scss directory from static files | ||
4779 | 54 | rm -rf $(CURDIR)/debian/tmp/usr/share/maas/web/scss | ||
4780 | 55 | |||
4781 | 56 | # Install built enums.js file. | ||
4782 | 57 | cp $(BUILDHOME)/enums.js $(CURDIR)/debian/tmp/usr/share/maas/web/static/js/ | ||
4783 | 58 | |||
4784 | 59 | # install the apparmor profile | ||
4785 | 60 | install -d -m 755 $(CURDIR)/debian/tmp/etc/apparmor.d/dhcpd.d | ||
4786 | 61 | install -m 644 $(CURDIR)/debian/maas-dhcp.apparmor \ | ||
4787 | 62 | $(CURDIR)/debian/tmp/etc/apparmor.d/dhcpd.d/maas | ||
4788 | 63 | |||
4789 | 64 | # install python3 twisted plugins | ||
4790 | 65 | set -ex; for python in $(PYTHON3); do \ | ||
4791 | 66 | dh_install twisted/plugins/maasregiond.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-region-api; \ | ||
4792 | 67 | dh_install twisted/plugins/maasrackd.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-rack-controller; \ | ||
4793 | 68 | done | ||
4794 | 69 | |||
4795 | 70 | dh_install --list-missing | ||
4796 | 71 | |||
4797 | 72 | override_dh_auto_clean: | ||
4798 | 73 | dh_auto_clean | ||
4799 | 74 | rm -rf $(BUILDHOME) | ||
4800 | 75 | rm -rf src/*.egg-info | ||
4801 | 76 | |||
4802 | 77 | DEB_DEBIAN_DIR=$(dir $(firstword $(MAKEFILE_LIST))) | ||
4803 | 78 | REV=$(shell dpkg-parsechangelog -l$(DEB_DEBIAN_DIR)/changelog \ | ||
4804 | 79 | | sed -rne 's,^Version: .*[+~]bzr([0-9]+).*,\1,p') | ||
4805 | 80 | VER=$(shell dpkg-parsechangelog -l$(DEB_DEBIAN_DIR)/changelog \ | ||
4806 | 81 | | sed -rne 's,^Version: ([^-]+).*,\1,p') | ||
4807 | 82 | get-orig-source: | ||
4808 | 83 | bzr export -r $(REV) --root=maas-$(VER).orig \ | ||
4809 | 84 | maas_$(VER).orig.tar.gz lp:maas | ||
4810 | 0 | 85 | ||
4811 | === added directory 'debian/source' | |||
4812 | === added file 'debian/source/format' | |||
4813 | --- debian/source/format 1970-01-01 00:00:00 +0000 | |||
4814 | +++ debian/source/format 2016-04-16 02:29:52 +0000 | |||
4815 | @@ -0,0 +1,1 @@ | |||
4816 | 1 | 3.0 (quilt) | ||
4817 | 0 | 2 | ||
4818 | === added file 'debian/watch' | |||
4819 | --- debian/watch 1970-01-01 00:00:00 +0000 | |||
4820 | +++ debian/watch 2016-04-16 02:29:52 +0000 | |||
4821 | @@ -0,0 +1,3 @@ | |||
4822 | 1 | version=3 | ||
4823 | 2 | opts=dversionmangle=s/\.dfsg// \ | ||
4824 | 3 | http://launchpad.net/maas/+download https://launchpad.net/maas/.*/maas-(.*).tar.* |