Comment 0 for bug 1240972

Revision history for this message
Matt Rae (mattrae) wrote : maas dhcp.conf template not adding ignore-client-uids unless using raring or later

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@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}};

2. Ubuntu release, software version, Release Number and Architecture of the selected components.

root@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@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

root@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
root@maas1000:~#