[Bug 1240972] Re: [SRU] maas dhcp.conf template not adding ignore-client-uids unless using raring or later

Andres Rodriguez andreserl at ubuntu-pe.org
Thu Oct 24 21:02:25 UTC 2013


** Summary changed:

- maas dhcp.conf template not adding ignore-client-uids unless using raring or later
+ [SRU] maas dhcp.conf template not adding ignore-client-uids unless using raring or later

** Description changed:

  1. Description of the problem:
  
  The maas dhcpd.conf.template only adds ignore-client-uids if using
  raring or later. Packages in the cloud-tools archive should work on
  precise and require this option for dhcpd. I have verified that dhcpd
  starts after adding ignore-client-uids
  
  root at maas1000:~# cat /etc/maas/templates/dhcp/dhcpd.conf.template
  ...
  subnet {{subnet}} netmask {{subnet_mask}} {
-        filename "{{bootloader}}";
-        {{if platform_codename >= 'raring'}}
-        ignore-client-uids true;
-        {{endif}}
-        option subnet-mask {{subnet_mask}};
+        filename "{{bootloader}}";
+        {{if platform_codename >= 'raring'}}
+        ignore-client-uids true;
+        {{endif}}
+        option subnet-mask {{subnet_mask}};
  
- 
- 2. Ubuntu release, software version, Release Number and Architecture of the selected components. 
+ 2. Ubuntu release, software version, Release Number and Architecture of
+ the selected components.
  
  root at maas1000:/etc/maas/templates/dhcp# lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 12.04.3 LTS
  Release:	12.04
  Codename:	precise
  
  root at maas1000:~# apt-cache policy maas-cluster-controller
  maas-cluster-controller:
-   Installed: 1.4+bzr1693+dfsg-0ubuntu2~ctools0
-   Candidate: 1.4+bzr1693+dfsg-0ubuntu2~ctools0
-   Version table:
-  *** 1.4+bzr1693+dfsg-0ubuntu2~ctools0 0
-         500 http://10.0.0.1/ubuntu-cloud/ubuntu/ precise-updates/cloud-tools/main amd64 Packages
-         100 /var/lib/dpkg/status
-      1.2+bzr1373+dfsg-0ubuntu1~12.04.2 0
-         500 http://10.0.0.1/ubuntu/ precise-updates/main amd64 Packages
+   Installed: 1.4+bzr1693+dfsg-0ubuntu2~ctools0
+   Candidate: 1.4+bzr1693+dfsg-0ubuntu2~ctools0
+   Version table:
+  *** 1.4+bzr1693+dfsg-0ubuntu2~ctools0 0
+         500 http://10.0.0.1/ubuntu-cloud/ubuntu/ precise-updates/cloud-tools/main amd64 Packages
+         100 /var/lib/dpkg/status
+      1.2+bzr1373+dfsg-0ubuntu1~12.04.2 0
+         500 http://10.0.0.1/ubuntu/ precise-updates/main amd64 Packages
  
  root at maas1000:~# apt-cache policy isc-dhcp-server
  isc-dhcp-server:
-   Installed: 4.2.4-7ubuntu8~ctools0
-   Candidate: 4.2.4-7ubuntu8~ctools0
-   Version table:
-  *** 4.2.4-7ubuntu8~ctools0 0
-         500 http://10.0.0.1/ubuntu-cloud/ubuntu/ precise-updates/cloud-tools/main amd64 Packages
-         100 /var/lib/dpkg/status
-      4.1.ESV-R4-0ubuntu5.9 0
-         500 http://10.0.0.1/ubuntu/ precise-updates/main amd64 Packages
-      4.1.ESV-R4-0ubuntu5.5 0
-         500 http://10.0.0.1/ubuntu/ precise-security/main amd64 Packages
-      4.1.ESV-R4-0ubuntu5 0
-         500 http://10.0.0.1/ubuntu/ precise/main amd64 Packages
+   Installed: 4.2.4-7ubuntu8~ctools0
+   Candidate: 4.2.4-7ubuntu8~ctools0
+   Version table:
+  *** 4.2.4-7ubuntu8~ctools0 0
+         500 http://10.0.0.1/ubuntu-cloud/ubuntu/ precise-updates/cloud-tools/main amd64 Packages
+         100 /var/lib/dpkg/status
+      4.1.ESV-R4-0ubuntu5.9 0
+         500 http://10.0.0.1/ubuntu/ precise-updates/main amd64 Packages
+      4.1.ESV-R4-0ubuntu5.5 0
+         500 http://10.0.0.1/ubuntu/ precise-security/main amd64 Packages
+      4.1.ESV-R4-0ubuntu5 0
+         500 http://10.0.0.1/ubuntu/ precise/main amd64 Packages
  root at maas1000:~#
+ 
+ 
+ [Impact]
+ No having the option enabled by default causes DNS/DHCP to misbehave when managed by MAAS. This option needs to be added when installing from CA/ cloud-pocket tools, however, in order for it to hit the CA needs to be SRu'd.
+ 
+ [Test Case]
+ 1. Install maas
+ 2. check that /etc/maas/templates/dhcp/dhcpd.conf.template has the option enabled.
+ 
+ [Regression Potential]
+ Minimal. This won't affect saucy at all, but it is required for the cloud-archive (which uses the latest from saucy).

** Changed in: maas (Ubuntu)
     Assignee: Andres Rodriguez (andreserl) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1240972

Title:
  [SRU] maas dhcp.conf template not adding ignore-client-uids unless
  using raring or later

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1240972/+subscriptions



More information about the Ubuntu-server-bugs mailing list