[Bug 1240972] Re: [SRU] maas dhcp.conf template not adding ignore-client-uids unless using raring or later
Mathew Hodson
mathew.hodson at gmail.com
Fri Aug 21 06:23:11 UTC 2015
** Changed in: maas (Ubuntu Saucy)
Importance: Undecided => High
** Changed in: maas (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ubuntu-cloud-archive.
https://bugs.launchpad.net/bugs/1240972
Title:
[SRU] maas dhcp.conf template not adding ignore-client-uids unless
using raring or later
Status in ubuntu-cloud-archive:
Fix Released
Status in MAAS:
Fix Released
Status in maas package in Ubuntu:
Fix Released
Status in maas source package in Saucy:
Fix Released
Bug description:
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}};
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
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
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).
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1240972/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list