Monday, 2019-12-30

*** trungnv has joined #openstack-dns05:47
trungnvI hit a msg "TCP Timeout from" mdns.service received msg from bind9 DNS. thus I cannt create zone success.05:48
trungnvI am using train version.05:48
trungnvHow I can check this issue?05:48
eanderssontrungnv is this a new installation?05:49
trungnvyes eandersson05:49
eanderssonI don't think I have seen a TCP timeout, but most likely either a iptables rule blocking, or maybe something missing on the bind side05:50
eanderssonWhat guide did you follow to set Designate up?05:50
trungnveandersson: https://docs.openstack.org/designate/stein/install/install-ubuntu.html05:51
eanderssontrungnv did you configure RabbitMQ?05:53
trungnvwhen I try telnet to 5354 then got an msg : "Connection closed by foreign host"05:53
eanderssonhttps://docs.openstack.org/designate/train/install/install-ubuntu.html05:53
eanderssonThe Stein guide is missing the RabbitMQ configuration05:53
eanderssonAlso use dig to test05:55
trungnveandersson: sure. I can get zone list05:55
eanderssondig @localhost -p 5354 your-domain.com05:55
eanderssonActually you might need to use the server ip, depending on how mdns is configured.05:58
eanderssone.g. > dig @192.168.88.241 -p 5354 internal.eandersson.net. AXFR05:59
eanderssonMaybe make sure you don't have any zombie mdns processes as well using ps aux | grep mdns06:02
eanderssonI was running into this myself on master https://bugs.launchpad.net/designate/+bug/185747606:02
openstackLaunchpad bug 1857476 in Designate "Process not terminating properly after restart" [Undecided,In progress] - Assigned to Erik Olof Gunnar Andersson (eandersson)06:02
trungnvI got " Transfer failed" with dig command06:05
eanderssonInterest - any other error message in designate-mdns?06:05
trungnvAnd I also have a mdns service on system06:05
eanderssonCould you maybe paste some logs into http://paste.openstack.org/06:05
trungnvhttp://paste.ubuntu.com/p/7CFqrFgpg3/06:07
eanderssonAh so tcp timeouts are fine06:10
eanderssonIt's just telnet causing that06:10
eandersson> dig @localhost -p 5354 trungnv-example-3.com. AXFR06:11
eanderssonWhat about this?06:11
eanderssonAlso, any logs from bind / named?06:13
trungnveandersson: Bind9 and designate in difference location06:16
trungnv Connection to 127.0.0.1#5354(127.0.0.1) for trungnv-example-3.com. failed: connection refused.06:16
trungnvthis is log on mdns06:16
eanderssonlog from bind to mdns?06:16
eanderssondoes your pools.yaml reflect that?06:17
trungnvreceived control channel command 'addzone trungnv-example-7.com  { type slave; masters { 192.168.10.20 port 5354;}; file "slave.trungnv-example-7.com.329e75a4-9994-44d7-832b-97e94a0afc11"; };'06:17
trungnvbind9 still received notify from mdns06:17
eanderssonCan you paste your pools.yaml ?06:18
eanderssonAlso, is 192.168.10.20 the ip of designate-mdns ?06:18
trungnvhttp://paste.ubuntu.com/p/fmtSDVs77c/06:19
trungnvyes06:19
eanderssonRun this designate-manage pool update --delete06:20
eanderssonand then restart all of designate06:20
eanderssonOh maybe one issue is that you are using a non standard pool_id06:24
eanderssonThis requires you to use a tsigkey06:24
eanderssonIf you remove pool_id: 2a6c66f0-cbfd-4424-97ee-ffd8b3abebfe06:24
eanderssonand then re-run designate-manage pool update --delete06:24
eanderssonIt will probably work06:24
eanderssonhttps://github.com/openstack/designate/blob/master/designate/mdns/handler.py#L19206:25
eanderssonUnless you have default_pool_id set to 2a6c66f0-cbfd-4424-97ee-ffd8b3abebfe in your configuration (designate.conf) of course.06:26
trungnvdefault_pool_id = 87c9cefb-aa6d-4079-8ffe-d3b0e8dced5806:26
trungnvin my config06:26
eanderssonYea - try to change that to  2a6c66f0-cbfd-4424-97ee-ffd8b3abebfe06:26
eanderssonIf you want to use multiple pools (e.g. gold and silver) with different pools you'll need to setup tsigkeys06:27
eanderssonhttps://docs.openstack.org/designate/2.1.0/rest/v2/tsigkeys.html06:27
trungnveandersson: I want to run designate with multi-tenants, thus this change should be well?06:27
trungnvcool06:28
trungnvthanks06:28
trungnvIf this is correct, should we have a update for docs06:28
eanderssonYep06:28
eanderssonI don't think many people are using multiple pools06:28
trungnvI want to us desigante for public cloud, thus multiple pools must have. is right?06:29
trungnveach customer with have a pool06:29
eanderssonI wouldn't say a must have, but recommended at least. Like if you want internal and external DNS06:29
eanderssonI don't think they need their own pool.06:30
eanderssonbut I guess it's the easiest way06:30
trungnvyes. How many pools is maximum in designate?06:31
eanderssonI don't think there is a limit, at least no hard limit.06:31
eanderssonmugsie might have some insight since they ran designate in HPE06:32
eanderssonI only run designate in a private cloud myself06:32
trungnvshould we provide them under public cloud for customer?06:32
eanderssonYou mean pools?06:32
trungnvyep06:32
eanderssonor Designate in general?06:32
eanderssonI would probably just have one pool06:32
eanderssonand then maybe limit admins to only create domains06:33
eanderssonor maybe just allow users to create their own domains06:33
trungnvmany customers don't use same pool in their situation06:33
eanderssonI see06:33
eanderssonMight be worth sending an email to the OpenStack mailing list06:34
eanderssonI think mnaser is using Designate to provide DNS06:34
eanderssonin their public cloud06:34
trungnvopenstack zone create --email dnsmaster@example.com trungnv-example-3.com. --attributes pool_id:87c9cefb-aa6d-4079-8ffe-d3b0e8dced5806:34
trungnvis this mean attributes don't work correct at the moment?06:35
trungnvShould we use Tsigkey instead of attributes. is right?06:35
trungnvin this command, I want to specific zone for pool_id via attributes --> but still get issue TCP timeout.06:36
eanderssonThe above should be fine, but you'll need to create a tsigkey for the pool06:41
trungnvyep. I will try righ now06:42
trungnvthank you06:42
*** trungnv has quit IRC07:27
*** goldyfruit has quit IRC13:37
*** goldyfruit has joined #openstack-dns13:50
*** frippe75 has joined #openstack-dns21:00
frippe75Trying to get designate working on Rocky release. Have mDNS working by doing zonetransfers to my BIND instance. But not figuring out how to create a zone either as slave or master against godaddy. Tried without tsigkeys but not sure how this is done. Any documentation on this topic?21:02
frippe75Not fully understanding the concept primary/secondary... Configured two set of masters... pointing against godaddy's zone transfer servers via the --masters option to "openstack zone create"21:05
frippe75Or would I create a separate entry in the pools.yaml?? No wouldn't be multitenant ...21:07
*** frippe75 has quit IRC21:31

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