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
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Raphaël Badin
1.2
Fix Released
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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