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