MaaS only with DHCP managed seems to require DNS too.

Bug #1069584 reported by Thiago Martins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned
maas (Ubuntu)
New
Undecided
Unassigned

Bug Description

Guys,

 After too much trouble with maas-dns, I decided to not use it, so, I reinstalled MaaS without maas-dns package and when I select "Manage DHCP", the following error appear:

/var/log/maas/celery-region.log

[2012-10-21 23:23:50,177: INFO/MainProcess] Got task from broker: provisioningserver.tasks.write_full_dns_config[36d84cbc-014a-49da-8bb5-224812473dca]
[2012-10-21 23:23:50,182: ERROR/MainProcess] Task provisioningserver.tasks.write_full_dns_config[36d84cbc-014a-49da-8bb5-224812473dca] raised exception: DNSConfigDirectoryMissing(u"The directory where the DNS config files should be written does not exist. Make sure the 'maas-dns' package is installed on this region controller.",)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 181, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 198, in write_full_dns_config
    dns_config.write_config(**kwargs)
  File "/usr/lib/python2.7/dist-packages/provisioningserver/dns/config.py", line 178, in write_config
    "The directory where the DNS config files should be "
DNSConfigDirectoryMissing: The directory where the DNS config files should be written does not exist. Make sure the 'maas-dns' package is installed on this region controller.

 But yes, I do not want maas-dns package.

 So, what can I do?!

Tks,
Thiago

Changed in maas:
status: New → Won't Fix
status: Won't Fix → New
status: New → Triaged
status: Triaged → Won't Fix
status: Won't Fix → Triaged
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

I think it might makes sense to make MAAS owns DHCP without DNS, but that's not the case currently.

MAAS either manages DHCP and DNS or you have to manage both yourself.

Changed in maas:
importance: Undecided → Medium
importance: Medium → Low
milestone: none → 12.10-stabilization
Revision history for this message
Raphaël Badin (rvb) wrote :

MAAS supports managing DHCP but not DNS. The problem is that the task 'write_full_dns_config' (connected via signals) is always triggered (when a nodegroup is changed or a node updated). We simply need to skip actually trying to write the configuration if none of the cluster has been configured to manage DNS.

Workaround: simply ignore the error and do not install maas-dns if you don't want to have MAAS manage a DNS server.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.