Monday, 2017-04-24

*** cuongnv has joined #openstack-dns00:47
*** hieulq has joined #openstack-dns00:47
*** trugnv has joined #openstack-dns00:48
*** hoangcx has joined #openstack-dns00:48
*** KeithMnemonic has joined #openstack-dns01:27
*** shewless has joined #openstack-dns01:41
shewlessHello. My openstack environment (mitaka) just experienced a database outage. Once that recovered my DNS slaves don't appear to have any records from designate01:44
shewlessI created a new record in one of my zones and after I did that all of the records in that zone sstarted working01:44
shewlessbut my other zones (a lot) still don't work01:45
shewlesstried designate sync-all01:45
shewlessbut that doesn't seem to have helped..01:45
shewlessany suggestions/01:45
*** fandi has quit IRC02:06
*** fandi has joined #openstack-dns02:07
*** KeithMnemonic has quit IRC02:19
*** jhfeng has quit IRC02:53
*** fandi has quit IRC05:35
*** david_1 has quit IRC06:36
*** yee379 has quit IRC06:36
*** carthaca_1 has quit IRC06:36
*** sapcc-bot1 has quit IRC06:36
*** yee379 has joined #openstack-dns06:37
*** carthaca_ has joined #openstack-dns06:37
*** sapcc-bot has joined #openstack-dns06:37
*** david_3 has joined #openstack-dns06:37
*** pcaruana has joined #openstack-dns07:24
ftpdshewless: what backed do you have?07:44
*** ircuser-1 has quit IRC08:20
*** openstackgerrit has joined #openstack-dns09:25
openstackgerritHieu LE proposed openstack/designate master: Add SOA to RECORD_TYPES in sqlalchemy.tables and pin eventlet  https://review.openstack.org/45156909:25
*** ChanServ sets mode: +v openstackgerrit09:25
openstackgerritHieu LE proposed openstack/designate master: Add SOA to RECORD_TYPES in sqlalchemy.tables and pin eventlet  https://review.openstack.org/45156909:31
ftpdshewless: 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 (you09:44
ftpdneed to set some options in designate.conf to have it working automagically).09:44
ftpdshewless: 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
ftpdshewless: Feel free to ask me more, I've spent last two weeks finding the best solution for this ;-)09:45
openstackgerritHieu LE proposed openstack/designate master: Add SOA to RECORD_TYPES in sqlalchemy.tables and remove eventlet upperconstraint  https://review.openstack.org/45156910:08
*** cuongnv has quit IRC10:10
*** egonzalez has joined #openstack-dns10:11
*** hoangcx has quit IRC10:23
*** trugnv has quit IRC10:26
shewlessftpd: hi! using bind10:36
shewlessftpd: do you have any example of these 'dirty hacks' ?10:36
ftpdshewless: From my tests the quickest option would be something like this: http://paste.openstack.org/show/607650/10:40
ftpdIt 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
ftpdAnd later extract it there, change ownership to bind/named user and restart bind.10:41
ftpdit will tell you, that slave-zonefiles are wrong and initiate transfer of proper files from master - designate-mdns.10:42
ftpdAlso, 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
ftpdBut 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
ftpdIt's _very_ dirty hack, lets say it clear and loud.10:44
shewlessftpd: thanks. so basically you corrupt the zone file which forces it to update?10:46
ftpdYes. But in my case all environment (including bind backend) is reinstalled after the outage.10:47
ftpdIf your binds are still there, you should have proper .nzf file with all zones there.10:47
ftpdAnd zonefile(s) too.10:48
ftpdAs I see in my repo, other approach was to create A record in each zone.10:48
ftpdAnd it forced update of the whole zone on backends.10:49
ftpdBut it takes some time to change from PENDING to ACTIVE, I believe some options in designate.conf are for that.10:49
ftpdie. 'how long zone should be in PENDING to be considered as misconfugured and try to recover'.10:50
shewlessftpd: yeah I tried that on e few zones.. but I have hundreds so not a great option10:50
ftpdI also have a script for this, but still it's not a good idea.10:53
ftpdcorrupt zonefiles are just faster10:54
ftpdOh, one more thing: corrupt zone files will be renamed for something random, so you'll have to clean up afterwards.10:58
sonuk11:13
*** zhurong has joined #openstack-dns11:17
*** haplo37_ has quit IRC12:23
*** haplo37_ has joined #openstack-dns12:34
*** catintheroof has joined #openstack-dns12:37
*** zhurong has quit IRC12:39
*** stanzgy has quit IRC13:03
*** cleong has joined #openstack-dns13:15
*** jhfeng has joined #openstack-dns13:52
*** mlavalle has joined #openstack-dns14:21
*** richm has joined #openstack-dns15:00
*** jhfeng has quit IRC15:06
*** KeithMnemonic has joined #openstack-dns15:30
*** jhfeng has joined #openstack-dns15:40
*** zhurong has joined #openstack-dns15:41
*** trungnv has joined #openstack-dns15:46
*** zhurong has quit IRC15:57
*** trungnv has quit IRC16:01
*** zhurong has joined #openstack-dns16:03
*** zhurong has quit IRC16:07
*** jhfeng has quit IRC16:32
*** jhfeng has joined #openstack-dns16:40
*** egonzalez has quit IRC16:51
openstackgerritHieu LE proposed openstack/designate master: Add SOA to RECORD_TYPES in sqlalchemy.tables and remove eventlet constraint  https://review.openstack.org/45156917:16
*** thiagolib_ has joined #openstack-dns17:21
*** eandersson has joined #openstack-dns17:54
*** chlong has joined #openstack-dns17:59
*** catintheroof has quit IRC18:01
*** ircuser-1 has joined #openstack-dns18:27
*** catintheroof has joined #openstack-dns18:38
*** jhfeng has quit IRC18:59
*** jhfeng has joined #openstack-dns19:01
*** keith_ has quit IRC19:11
*** thiagolib_ has quit IRC19:31
*** pcaruana has quit IRC20:01
*** cleong has quit IRC20:45
*** jhfeng has quit IRC21:00
*** jhfeng has joined #openstack-dns21:05
*** catintheroof has quit IRC21:15
*** abalutoiu has quit IRC21:26
*** EricGonczer_ has joined #openstack-dns21:54
*** abalutoiu has joined #openstack-dns21:56
*** EricGonczer_ has quit IRC22:08
*** EricGonczer_ has joined #openstack-dns22:17
*** nkinder has quit IRC22:18
*** mlavalle has quit IRC22:26
*** jhfeng has quit IRC22:33
*** nkinder has joined #openstack-dns22:34
*** stanzgy has joined #openstack-dns23:04
*** nkinder has quit IRC23:04
*** nkinder has joined #openstack-dns23:17
*** EricGonczer_ has quit IRC23:53

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!