The DNS configuration is not created if maas-dns is installed after the DNS config has been set up.

Bug #1085865 reported by Raphaël Badin on 2012-12-03
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
High
Raphaël Badin
1.2
High
Julian Edwards

Bug Description

Consider the following scenario:
- set up MAAS to manage a DNS server
- install the package maas-dns
Then the DNS configuration is not written because changing the DNS config (in the UI or using the API) in MAAS triggers the actual config to be written only if maas-dns is installed. If one installs the package before setting up the config, then the configuration is written all right.

The fix for this should be twofold:
- add a new django command 'write_dns_config' which will write the DNS configuration
- run that command in the postinst script of the maas-dns package

Related branches

Raphaël Badin (rvb) on 2012-12-03
Changed in maas:
assignee: nobody → Raphaël Badin (rvb)
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers