BackupGGCode / roster-dns-management

DNS Management system.
0 stars 2 forks source link

Deleting a server will not remove it from dns_tree(exporter) #344

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a dns_server
2. Run treeexport + configsync
3. Delete dns_server
4. Run treeexport + configysync
5. Server will not have been removed from dns_tree file

What is the expected output? What do you see instead?
  Removed dns_server should not be in dns_tree after most recent export.
  Removed dns_server is still in dns_tree after export

What is the cause?
  When dnsconfigsync fails in pushing files to the dns_server, it does not delete the root_config_dir.

What should we consider?
  Every config manager tool needs to check that the root_config_dir is removed before and after running to ensure consistency and prevent future errors like this.

Original issue reported on code.google.com by Cooke...@gmail.com on 29 Nov 2012 at 2:17

GoogleCodeExporter commented 9 years ago

Original comment by sharrell...@gmail.com on 3 Dec 2012 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by sharrell...@gmail.com on 10 Jun 2013 at 2:47

GoogleCodeExporter commented 9 years ago
This was fixed in r1122, around line 340

Original comment by janey...@gmail.com on 28 Jun 2013 at 9:04