*** cuongnv has joined #openstack-dns | 00:47 | |
*** hieulq has joined #openstack-dns | 00:47 | |
*** trugnv has joined #openstack-dns | 00:48 | |
*** hoangcx has joined #openstack-dns | 00:48 | |
*** KeithMnemonic has joined #openstack-dns | 01:27 | |
*** shewless has joined #openstack-dns | 01:41 | |
shewless | Hello. My openstack environment (mitaka) just experienced a database outage. Once that recovered my DNS slaves don't appear to have any records from designate | 01:44 |
---|---|---|
shewless | I created a new record in one of my zones and after I did that all of the records in that zone sstarted working | 01:44 |
shewless | but my other zones (a lot) still don't work | 01:45 |
shewless | tried designate sync-all | 01:45 |
shewless | but that doesn't seem to have helped.. | 01:45 |
shewless | any suggestions/ | 01:45 |
*** fandi has quit IRC | 02:06 | |
*** fandi has joined #openstack-dns | 02:07 | |
*** KeithMnemonic has quit IRC | 02:19 | |
*** jhfeng has quit IRC | 02:53 | |
*** fandi has quit IRC | 05:35 | |
*** david_1 has quit IRC | 06:36 | |
*** yee379 has quit IRC | 06:36 | |
*** carthaca_1 has quit IRC | 06:36 | |
*** sapcc-bot1 has quit IRC | 06:36 | |
*** yee379 has joined #openstack-dns | 06:37 | |
*** carthaca_ has joined #openstack-dns | 06:37 | |
*** sapcc-bot has joined #openstack-dns | 06:37 | |
*** david_3 has joined #openstack-dns | 06:37 | |
*** pcaruana has joined #openstack-dns | 07:24 | |
ftpd | shewless: what backed do you have? | 07:44 |
*** ircuser-1 has quit IRC | 08:20 | |
*** openstackgerrit has joined #openstack-dns | 09:25 | |
openstackgerrit | Hieu LE proposed openstack/designate master: Add SOA to RECORD_TYPES in sqlalchemy.tables and pin eventlet https://review.openstack.org/451569 | 09:25 |
*** ChanServ sets mode: +v openstackgerrit | 09:25 | |
openstackgerrit | Hieu LE proposed openstack/designate master: Add SOA to RECORD_TYPES in sqlalchemy.tables and pin eventlet https://review.openstack.org/451569 | 09:31 |
ftpd | shewless: I've tried different backups to have disaster recovery made properly and from my experience pdns4 would be the best (it should work also with pdns3, but pdns4 is easier to configure). The keyword for you is 'supermaster' - after teaching my backend servers that designate-mdns is their supermaster, after restoring DB they are able to automagically grab zones from it after simple NOTIFY (you | 09:44 |
ftpd | need to set some options in designate.conf to have it working automagically). | 09:44 |
ftpd | shewless: Also, I've tested it with bind, but in that case you need to use some kind of 'dirty hacks' (like simple bash scripts) to get it working. | 09:45 |
ftpd | shewless: Feel free to ask me more, I've spent last two weeks finding the best solution for this ;-) | 09:45 |
openstackgerrit | Hieu LE proposed openstack/designate master: Add SOA to RECORD_TYPES in sqlalchemy.tables and remove eventlet upperconstraint https://review.openstack.org/451569 | 10:08 |
*** cuongnv has quit IRC | 10:10 | |
*** egonzalez has joined #openstack-dns | 10:11 | |
*** hoangcx has quit IRC | 10:23 | |
*** trugnv has quit IRC | 10:26 | |
shewless | ftpd: hi! using bind | 10:36 |
shewless | ftpd: do you have any example of these 'dirty hacks' ? | 10:36 |
ftpd | shewless: From my tests the quickest option would be something like this: http://paste.openstack.org/show/607650/ | 10:40 |
ftpd | It creates proper .nzf file and _empty_ slave-zonefiles. After running the script you need to manually copy tar file to your backend(s), for the proper firectory - /var/named via default on rhel7, don't remember other releases. | 10:41 |
ftpd | And later extract it there, change ownership to bind/named user and restart bind. | 10:41 |
ftpd | it will tell you, that slave-zonefiles are wrong and initiate transfer of proper files from master - designate-mdns. | 10:42 |
ftpd | Also, I don't know, why file with slaves is 3bf305731dd26307.nzf - I've reinstalled my backends during testing several times and it always was named that. | 10:43 |
ftpd | But I'm not sure why and how, so better create one zone manually and see, what's the filename for you (and maybe try to search in bind documentation, how it's generated). | 10:43 |
ftpd | It's _very_ dirty hack, lets say it clear and loud. | 10:44 |
shewless | ftpd: thanks. so basically you corrupt the zone file which forces it to update? | 10:46 |
ftpd | Yes. But in my case all environment (including bind backend) is reinstalled after the outage. | 10:47 |
ftpd | If your binds are still there, you should have proper .nzf file with all zones there. | 10:47 |
ftpd | And zonefile(s) too. | 10:48 |
ftpd | As I see in my repo, other approach was to create A record in each zone. | 10:48 |
ftpd | And it forced update of the whole zone on backends. | 10:49 |
ftpd | But it takes some time to change from PENDING to ACTIVE, I believe some options in designate.conf are for that. | 10:49 |
ftpd | ie. 'how long zone should be in PENDING to be considered as misconfugured and try to recover'. | 10:50 |
shewless | ftpd: yeah I tried that on e few zones.. but I have hundreds so not a great option | 10:50 |
ftpd | I also have a script for this, but still it's not a good idea. | 10:53 |
ftpd | corrupt zonefiles are just faster | 10:54 |
ftpd | Oh, one more thing: corrupt zone files will be renamed for something random, so you'll have to clean up afterwards. | 10:58 |
sonuk | 11:13 | |
*** zhurong has joined #openstack-dns | 11:17 | |
*** haplo37_ has quit IRC | 12:23 | |
*** haplo37_ has joined #openstack-dns | 12:34 | |
*** catintheroof has joined #openstack-dns | 12:37 | |
*** zhurong has quit IRC | 12:39 | |
*** stanzgy has quit IRC | 13:03 | |
*** cleong has joined #openstack-dns | 13:15 | |
*** jhfeng has joined #openstack-dns | 13:52 | |
*** mlavalle has joined #openstack-dns | 14:21 | |
*** richm has joined #openstack-dns | 15:00 | |
*** jhfeng has quit IRC | 15:06 | |
*** KeithMnemonic has joined #openstack-dns | 15:30 | |
*** jhfeng has joined #openstack-dns | 15:40 | |
*** zhurong has joined #openstack-dns | 15:41 | |
*** trungnv has joined #openstack-dns | 15:46 | |
*** zhurong has quit IRC | 15:57 | |
*** trungnv has quit IRC | 16:01 | |
*** zhurong has joined #openstack-dns | 16:03 | |
*** zhurong has quit IRC | 16:07 | |
*** jhfeng has quit IRC | 16:32 | |
*** jhfeng has joined #openstack-dns | 16:40 | |
*** egonzalez has quit IRC | 16:51 | |
openstackgerrit | Hieu LE proposed openstack/designate master: Add SOA to RECORD_TYPES in sqlalchemy.tables and remove eventlet constraint https://review.openstack.org/451569 | 17:16 |
*** thiagolib_ has joined #openstack-dns | 17:21 | |
*** eandersson has joined #openstack-dns | 17:54 | |
*** chlong has joined #openstack-dns | 17:59 | |
*** catintheroof has quit IRC | 18:01 | |
*** ircuser-1 has joined #openstack-dns | 18:27 | |
*** catintheroof has joined #openstack-dns | 18:38 | |
*** jhfeng has quit IRC | 18:59 | |
*** jhfeng has joined #openstack-dns | 19:01 | |
*** keith_ has quit IRC | 19:11 | |
*** thiagolib_ has quit IRC | 19:31 | |
*** pcaruana has quit IRC | 20:01 | |
*** cleong has quit IRC | 20:45 | |
*** jhfeng has quit IRC | 21:00 | |
*** jhfeng has joined #openstack-dns | 21:05 | |
*** catintheroof has quit IRC | 21:15 | |
*** abalutoiu has quit IRC | 21:26 | |
*** EricGonczer_ has joined #openstack-dns | 21:54 | |
*** abalutoiu has joined #openstack-dns | 21:56 | |
*** EricGonczer_ has quit IRC | 22:08 | |
*** EricGonczer_ has joined #openstack-dns | 22:17 | |
*** nkinder has quit IRC | 22:18 | |
*** mlavalle has quit IRC | 22:26 | |
*** jhfeng has quit IRC | 22:33 | |
*** nkinder has joined #openstack-dns | 22:34 | |
*** stanzgy has joined #openstack-dns | 23:04 | |
*** nkinder has quit IRC | 23:04 | |
*** nkinder has joined #openstack-dns | 23:17 | |
*** EricGonczer_ has quit IRC | 23:53 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!