2015-01-21 21:40:31 |
James Troup |
bug |
|
|
added bug |
2015-01-21 21:40:31 |
James Troup |
attachment added |
|
Artifical diff of before and after MAAS upgrade https://bugs.launchpad.net/bugs/1413388/+attachment/4303345/+files/before-and-after-fake.diff |
|
2015-01-21 21:40:42 |
James Troup |
bug |
|
|
added subscriber The Canonical Sysadmins |
2015-01-21 21:41:20 |
James Troup |
attachment added |
|
Original named.conf.options prior to MAAS upgrade https://bugs.launchpad.net/maas/+bug/1413388/+attachment/4303347/+files/named.conf.options |
|
2015-01-21 21:42:40 |
James Troup |
attachment added |
|
named.conf.options after the MAAS upgrade https://bugs.launchpad.net/maas/+bug/1413388/+attachment/4303348/+files/maas-named.conf.options |
|
2015-01-21 21:46:25 |
Andres Rodriguez |
maas: importance |
Undecided |
Critical |
|
2015-01-21 21:46:31 |
Andres Rodriguez |
maas: status |
New |
Confirmed |
|
2015-01-21 21:46:40 |
Andres Rodriguez |
tags |
|
dns |
|
2015-02-10 11:51:00 |
Andres Rodriguez |
maas: milestone |
|
next |
|
2015-03-31 17:56:20 |
Andres Rodriguez |
maas: milestone |
next |
1.8.0 |
|
2015-04-02 14:55:50 |
Ricardo Bánffy |
maas: assignee |
|
Ricardo Bánffy (rbanffy) |
|
2015-04-02 14:55:52 |
Ricardo Bánffy |
maas: status |
Confirmed |
In Progress |
|
2015-04-02 15:37:23 |
Ricardo Bánffy |
maas: assignee |
Ricardo Bánffy (rbanffy) |
|
|
2015-04-02 15:37:30 |
Ricardo Bánffy |
maas: status |
In Progress |
Triaged |
|
2015-04-02 15:37:46 |
Ricardo Bánffy |
maas: status |
Triaged |
Confirmed |
|
2015-04-03 20:39:16 |
Mike Pontillo |
maas: assignee |
|
Mike Pontillo (mpontillo) |
|
2015-04-07 11:56:19 |
Ricardo Bánffy |
branch linked |
|
lp:~rbanffy/maas/bug-1413388-edit_named_options |
|
2015-04-07 14:25:51 |
Mike Pontillo |
maas: assignee |
Mike Pontillo (mpontillo) |
|
|
2015-04-13 14:23:01 |
Mike Pontillo |
maas: assignee |
|
Mike Pontillo (mpontillo) |
|
2015-06-12 15:44:50 |
Raphaël Badin |
maas: assignee |
Mike Pontillo (mpontillo) |
|
|
2015-06-12 15:45:01 |
Raphaël Badin |
maas: milestone |
1.8.0 |
1.8.1 |
|
2015-06-12 18:10:25 |
Christian Reis |
nominated for series |
|
maas/1.7 |
|
2015-06-12 18:10:25 |
Christian Reis |
bug task added |
|
maas/1.7 |
|
2015-06-12 18:10:50 |
Christian Reis |
maas/1.7: status |
New |
Confirmed |
|
2015-06-30 18:13:20 |
Andres Rodriguez |
nominated for series |
|
maas/1.8 |
|
2015-06-30 18:13:20 |
Andres Rodriguez |
bug task added |
|
maas/1.8 |
|
2015-06-30 18:13:35 |
Andres Rodriguez |
maas: milestone |
1.8.1 |
1.9.0 |
|
2015-06-30 18:13:41 |
Andres Rodriguez |
maas/1.8: milestone |
|
1.8.1 |
|
2015-06-30 18:14:00 |
Andres Rodriguez |
maas/1.8: assignee |
|
Mike Pontillo (mpontillo) |
|
2015-06-30 18:14:06 |
Andres Rodriguez |
maas/1.7: assignee |
|
Mike Pontillo (mpontillo) |
|
2015-06-30 18:14:19 |
Andres Rodriguez |
maas: assignee |
|
Mike Pontillo (mpontillo) |
|
2015-06-30 18:14:55 |
Andres Rodriguez |
maas/1.7: importance |
Undecided |
Critical |
|
2015-06-30 18:14:57 |
Andres Rodriguez |
maas/1.8: status |
New |
Confirmed |
|
2015-06-30 18:14:59 |
Andres Rodriguez |
maas/1.8: importance |
Undecided |
Critical |
|
2015-06-30 23:06:34 |
Haw Loeung |
bug |
|
|
added subscriber Haw Loeung |
2015-07-01 08:11:58 |
Raphaël Badin |
branch linked |
|
lp:~mpontillo/maas/remove-iscpy-1.7 |
|
2015-07-01 08:12:11 |
Raphaël Badin |
branch linked |
|
lp:~rvb/maas/packaging.utopic-1413388 |
|
2015-07-01 08:12:16 |
Raphaël Badin |
branch linked |
|
lp:~rvb/maas/packaging-1.8-1413388 |
|
2015-07-01 08:12:20 |
Raphaël Badin |
branch linked |
|
lp:~rvb/maas/packaging-1413388 |
|
2015-07-01 17:15:18 |
Mike Pontillo |
branch linked |
|
lp:~mpontillo/maas/remove-iscpy-trunk |
|
2015-07-01 17:15:28 |
Mike Pontillo |
branch linked |
|
lp:~mpontillo/maas/remove-iscpy-1.8 |
|
2015-07-01 19:54:57 |
Mike Pontillo |
maas: status |
Confirmed |
Triaged |
|
2015-07-01 19:54:59 |
Mike Pontillo |
maas/1.7: status |
Confirmed |
Triaged |
|
2015-07-01 19:55:01 |
Mike Pontillo |
maas/1.8: status |
Confirmed |
Triaged |
|
2015-07-02 01:01:54 |
Mike Pontillo |
branch linked |
|
lp:~mpontillo/maas/migrate-dns-settings-trunk |
|
2015-07-07 03:51:08 |
Launchpad Janitor |
branch linked |
|
lp:~andreserl/maas/fix_lp1413388_1.7 |
|
2015-07-07 03:55:02 |
Launchpad Janitor |
branch linked |
|
lp:~andreserl/maas/fix_lp1413388_1.8 |
|
2015-07-07 04:02:00 |
Launchpad Janitor |
branch linked |
|
lp:~andreserl/maas/fix_lp1413388 |
|
2015-07-08 00:05:28 |
Mike Pontillo |
branch linked |
|
lp:~mpontillo/maas/migrate-dns-settings-1.8 |
|
2015-07-08 00:06:24 |
Mike Pontillo |
branch linked |
|
lp:~mpontillo/maas/migrate-dns-settings-1.7 |
|
2015-07-09 02:26:30 |
Mike Pontillo |
branch linked |
|
lp:~mpontillo/maas/dns-template-changes-trunk |
|
2015-07-09 02:26:45 |
Mike Pontillo |
branch linked |
|
lp:~mpontillo/maas/dns-template-changes-1.7 |
|
2015-07-09 02:55:58 |
Mike Pontillo |
branch linked |
|
lp:~mpontillo/maas/dns-template-changes-1.8 |
|
2015-07-09 23:34:16 |
Mike Pontillo |
maas: status |
Triaged |
Fix Committed |
|
2015-07-09 23:34:18 |
Mike Pontillo |
maas/1.7: status |
Triaged |
Fix Committed |
|
2015-07-09 23:34:21 |
Mike Pontillo |
maas/1.8: status |
Triaged |
Fix Committed |
|
2015-07-10 01:38:36 |
Andres Rodriguez |
bug task added |
|
maas (Ubuntu) |
|
2015-07-10 01:40:24 |
Andres Rodriguez |
nominated for series |
|
Ubuntu Trusty |
|
2015-07-10 01:40:24 |
Andres Rodriguez |
bug task added |
|
maas (Ubuntu Trusty) |
|
2015-07-10 01:40:24 |
Andres Rodriguez |
nominated for series |
|
Ubuntu Vivid |
|
2015-07-10 01:40:24 |
Andres Rodriguez |
bug task added |
|
maas (Ubuntu Vivid) |
|
2015-07-10 01:40:24 |
Andres Rodriguez |
nominated for series |
|
Ubuntu Wily |
|
2015-07-10 01:40:24 |
Andres Rodriguez |
bug task added |
|
maas (Ubuntu Wily) |
|
2015-07-10 01:40:24 |
Andres Rodriguez |
nominated for series |
|
Ubuntu Utopic |
|
2015-07-10 01:40:24 |
Andres Rodriguez |
bug task added |
|
maas (Ubuntu Utopic) |
|
2015-07-10 01:42:29 |
Andres Rodriguez |
summary |
upgrade of MAAS removes local config for bind and breaks DNS |
[SRU] upgrade of MAAS removes local config for bind and breaks DNS |
|
2015-07-10 01:53:46 |
Andres Rodriguez |
description |
On an Ubuntu 14.04 host, I recently upgraded MAAS from
1.5.2+bzr2282-0ubuntu0.2 to 1.5.4+bzr2294-0ubuntu1.2. This is a
production environment which uses MAAS to control both DNS and DHCP.
During the upgrade MAAS silently (without prompting) rewrote
/etc/bind/named.conf.options. However, in the process, it dropped
some of our local config and broke DNS resolution for all clients in
this environment. Specifically, it removed and did not re-add a
forwarders entry.
I've attached 3 files: the original named.conf.options, the version
left after the MAAS upgrade and an artifical diff between the two to
show what's actually changed (i.e. ignoring MAAS rearranging things,
messing up whitespace and removing comments). |
On an Ubuntu 14.04 host, I recently upgraded MAAS from
1.5.2+bzr2282-0ubuntu0.2 to 1.5.4+bzr2294-0ubuntu1.2. This is a
production environment which uses MAAS to control both DNS and DHCP.
During the upgrade MAAS silently (without prompting) rewrote
/etc/bind/named.conf.options. However, in the process, it dropped
some of our local config and broke DNS resolution for all clients in
this environment. Specifically, it removed and did not re-add a
forwarders entry.
I've attached 3 files: the original named.conf.options, the version
left after the MAAS upgrade and an artifical diff between the two to
show what's actually changed (i.e. ignoring MAAS rearranging things,
messing up whitespace and removing comments).
[Impact]
In 1.7+, MAAS started managing DNS forwarders as part of its DNS management feature. However, if a user in 1.5 would manually modify their configuration file to add forwaders, after an upgrade to 1.7+, DNS would en up broken. This adds the ability for MAAS to upgrade the DNS configuration correctly and migrate the manually configuration to the MAAS managed configuration.
[Test Case]
Without the fix:
1. Install maas 1.5
2. Configure MAAS to manage DNS/DHCP
3. Manually edit /etc/bind/named.conf.options and add forwaders, allow-cache, allow-recursion and allow-cache-query options.
4. Upgrade to MAAS 1.7 with proposed fix.
5. MAAS will migrate the DNS forwarders config into MAAS' DB.
6. MAAS won't write allow-cache, allow-recursion, allow-cache-query.
[Regression Potential]
Minimal. This has been tested extensively in various environments, both on fresh installs and upgrades. |
|
2015-07-10 02:54:21 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/wily-proposed/maas |
|
2015-07-10 03:09:45 |
Launchpad Janitor |
maas (Ubuntu Wily): status |
New |
Fix Released |
|
2015-07-13 13:17:31 |
Andres Rodriguez |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-07-13 13:17:52 |
Andres Rodriguez |
maas/1.7: milestone |
|
1.7.6 |
|
2015-07-13 13:34:45 |
Adam Conrad |
maas (Ubuntu Trusty): status |
New |
Fix Committed |
|
2015-07-13 13:34:50 |
Adam Conrad |
bug |
|
|
added subscriber SRU Verification |
2015-07-13 13:34:54 |
Adam Conrad |
tags |
dns |
dns verification-needed |
|
2015-07-13 13:36:12 |
Adam Conrad |
maas (Ubuntu Utopic): status |
New |
Fix Committed |
|
2015-07-13 13:37:10 |
Adam Conrad |
maas (Ubuntu Vivid): status |
New |
Fix Committed |
|
2015-07-13 13:40:28 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/maas |
|
2015-07-13 13:49:10 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/vivid-proposed/maas |
|
2015-07-13 13:49:12 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/utopic-proposed/maas |
|
2015-07-13 15:07:14 |
Launchpad Janitor |
branch linked |
|
lp:~andreserl/maas/packaging_lp1413388_1.7 |
|
2015-07-13 15:07:30 |
Launchpad Janitor |
branch linked |
|
lp:~andreserl/maas/packaging_lp1413388_1.8 |
|
2015-07-14 12:57:37 |
Andres Rodriguez |
tags |
dns verification-needed |
dns verification-done |
|
2015-07-28 16:59:07 |
Adam Conrad |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-07-28 16:59:02 |
Launchpad Janitor |
maas (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-07-28 16:59:21 |
Launchpad Janitor |
maas (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-07-31 09:46:00 |
Andres Rodriguez |
bug task deleted |
maas (Ubuntu Utopic) |
|
|
2015-07-31 09:46:10 |
Andres Rodriguez |
maas/1.7: status |
Fix Committed |
Fix Released |
|
2015-08-10 10:07:49 |
Andres Rodriguez |
maas/1.8: status |
Fix Committed |
Fix Released |
|
2015-10-22 16:24:08 |
Andres Rodriguez |
maas: status |
Fix Committed |
Fix Released |
|
2015-10-22 16:24:16 |
Andres Rodriguez |
maas: status |
Fix Released |
Fix Committed |
|
2016-01-05 15:04:40 |
Andres Rodriguez |
maas: status |
Fix Committed |
Fix Released |
|