Friday, 2017-02-24

openstackgerritOpenStack Proposal Bot proposed openstack/designate master: Updated from global requirements  https://review.openstack.org/43772400:06
*** hoangcx has joined #openstack-dns00:30
*** khushbu has joined #openstack-dns00:41
*** khushbu has quit IRC00:45
*** EricGonc_ has quit IRC00:49
*** EricGonczer_ has joined #openstack-dns00:52
*** cuongnv has joined #openstack-dns00:53
*** khushbu has joined #openstack-dns01:21
*** khushbu has quit IRC01:26
*** gatuus has quit IRC01:29
*** abalutoiu_ has joined #openstack-dns01:32
*** cuongnv_ has joined #openstack-dns02:04
*** cuongnv_ has quit IRC02:06
*** cuongnv has quit IRC02:07
*** cuongnv_ has joined #openstack-dns02:07
*** cuongnv_ is now known as cuongnv02:07
*** ducttape_ has quit IRC02:25
*** ducttape_ has joined #openstack-dns02:31
*** sonuk has joined #openstack-dns02:46
*** ducttape_ has quit IRC02:50
*** khushbu has joined #openstack-dns03:04
*** khushbu has quit IRC03:09
*** abalutoiu_ has quit IRC03:23
*** EricGonczer_ has quit IRC03:26
*** ducttape_ has joined #openstack-dns03:29
*** ducttape_ has quit IRC03:30
*** ducttape_ has joined #openstack-dns03:31
*** richm has quit IRC04:07
*** khushbu has joined #openstack-dns04:17
*** ducttape_ has quit IRC04:23
*** ducttape_ has joined #openstack-dns04:23
*** khushbu has quit IRC06:09
*** khushbu has joined #openstack-dns06:11
*** khushbu has quit IRC06:13
*** khushbu has joined #openstack-dns06:14
*** khushbu has quit IRC06:18
*** khushbu has joined #openstack-dns06:18
*** khushbu has quit IRC06:20
*** khushbu has joined #openstack-dns06:20
*** khushbu has quit IRC06:29
*** khushbu has joined #openstack-dns06:29
*** sonuk_ has joined #openstack-dns07:03
*** sonuk has quit IRC07:06
*** pcaruana has joined #openstack-dns07:17
*** khushbu has quit IRC07:38
*** amoralej|off is now known as amoralej07:42
*** khushbu has joined #openstack-dns07:53
*** khushbu has quit IRC07:55
*** khushbu has joined #openstack-dns08:00
*** sonuk has joined #openstack-dns08:13
*** sonuk_ has quit IRC08:14
*** khushbu has quit IRC08:17
*** sonuk has quit IRC08:25
*** khushbu has joined #openstack-dns08:27
*** khushbu has quit IRC08:33
*** sapcc-bot has quit IRC08:35
*** mkoderer_ has joined #openstack-dns08:35
*** carthaca_ has joined #openstack-dns08:35
*** sapcc-bot3 has joined #openstack-dns08:35
*** tpatzig_ has joined #openstack-dns08:35
*** mkoderer_ has quit IRC08:37
*** carthaca_ has quit IRC08:37
*** tpatzig_ has quit IRC08:37
*** khushbu has joined #openstack-dns08:51
*** sonuk has joined #openstack-dns09:02
*** cuongnv has left #openstack-dns09:34
*** carthaca_ has joined #openstack-dns09:39
*** tpatzig_ has joined #openstack-dns09:39
*** carthaca_ has quit IRC09:41
*** tpatzig_ has quit IRC09:41
*** khushbu has quit IRC09:42
*** tpatzig_ has joined #openstack-dns09:52
*** sapcc-bot has joined #openstack-dns09:52
*** carthaca_ has joined #openstack-dns09:52
*** sapcc-bot3 has quit IRC09:52
*** khushbu has joined #openstack-dns09:52
*** khushbu has quit IRC09:54
*** tpatzig_ has quit IRC09:54
*** carthaca_ has quit IRC09:54
*** khushbu has joined #openstack-dns10:00
*** khushbu has quit IRC10:03
*** khushbu has joined #openstack-dns10:04
*** hoangcx has quit IRC10:18
*** khushbu has quit IRC10:26
*** khushbu has joined #openstack-dns10:27
*** khushbu has quit IRC10:44
*** khushbu has joined #openstack-dns10:45
*** khushbu has quit IRC11:04
*** khushbu has joined #openstack-dns11:10
*** khushbu has quit IRC11:53
*** abalutoiu_ has joined #openstack-dns12:05
*** openstackgerrit has quit IRC12:18
*** abalutoiu_ has quit IRC12:40
*** EricGonczer_ has joined #openstack-dns13:12
*** EricGonc_ has joined #openstack-dns13:13
*** EricGonczer_ has quit IRC13:16
*** Andrew_jedi has joined #openstack-dns13:24
Andrew_jeditimsim: hello :)13:43
Andrew_jeditimsim: To get the nova integration with designate, do i need to manually change this https://github.com/openstack/openstack-ansible-os_designate/blob/a278135f99a9f4c658368f8cf411c38e2d0350f9/templates/designate.conf.j2#L41013:43
*** khushbu has joined #openstack-dns13:49
*** cleong has joined #openstack-dns13:51
*** tdink has quit IRC13:53
*** khushbu has quit IRC13:53
*** abalutoiu_ has joined #openstack-dns13:54
Andrew_jeditimsim:  I was wondering whether for neutron and nova integration, do i have to also run nova and neutron playbooks in OSA ?13:57
*** abalutoiu__ has joined #openstack-dns14:03
*** abalutoiu_ has quit IRC14:05
*** amoralej is now known as amoralej|lunch14:07
*** abalutoiu__ has quit IRC14:11
*** khushbu has joined #openstack-dns14:11
*** abalutoiu__ has joined #openstack-dns14:15
*** khushbu has quit IRC14:16
*** richm has joined #openstack-dns14:21
*** KeithMnemonic has joined #openstack-dns14:26
*** abalutoiu_ has joined #openstack-dns14:26
*** abalutoiu__ has quit IRC14:30
timsimI haven't tried that. It might be difficult if the configuration for that isn't in the neutron playbook.14:35
*** abalutoiu__ has joined #openstack-dns14:39
*** abalutoiu_ has quit IRC14:43
*** abalutoiu__ is now known as abalutoiu14:44
*** amoralej|lunch is now known as amoralej14:48
*** tdink has joined #openstack-dns14:56
*** sonuk has quit IRC15:00
*** KeithMnemonic has quit IRC15:13
*** ducttape_ has quit IRC15:15
*** KeithMnemonic has joined #openstack-dns15:17
Andrew_jeditimsim: I was able to create a domain yesterday but when trying to update a record i get these messages http://paste.openstack.org/show/600386/15:21
Andrew_jeditimsim: I also see no change in /etc/bind/, I am wondering whether i did not configure bind correctly.15:22
timsimHmm. Maybe check and see that the zone actually gets created when you create one. So do a dig @localhost name SOA15:25
Andrew_jediokay.15:26
Andrew_jeditimsim: http://paste.openstack.org/show/600388/15:29
Andrew_jeditimsim: If i create a VM , will nova create a record for it ?15:29
timsimI highly doubt it15:30
Andrew_jeditimsim: Could you please point me in the direction of any docs to achieve this purpose ?15:31
Andrew_jeditimsim: I am sorry if its a noob question, i am just getting started with openstack-dns . To be honest with you, I am wondering how to use designate with my VMs  :/15:33
timsimGive me a little while, afk right now.15:43
*** ducttape_ has joined #openstack-dns15:44
Andrew_jeditimsim: sorry, ofcourse :)15:45
*** _ducttape_ has joined #openstack-dns15:58
*** ducttape_ has quit IRC16:01
*** puck`` has quit IRC16:06
*** puck has joined #openstack-dns16:13
Andrew_jeditimsim: it looks like a permission issue for bind in ubuntu http://paste.openstack.org/show/600390/16:15
timsimOh nice ok I was going to suggest that16:16
timsimYou need to disable apparmor for bind16:16
* timsim sees if the test does that16:16
*** _ducttape_ has quit IRC16:16
*** ducttape_ has joined #openstack-dns16:17
*** ducttape_ has quit IRC16:17
timsimhttps://github.com/openstack/openstack-ansible-os_designate/blob/master/tests/test-install-designate.yml#L36-L42 ah, apparently it does something for centos16:17
timsim$ sudo touch /etc/apparmor.d/disable/usr.sbin.named16:17
timsim$ sudo service apparmor reload16:17
timsimusually does it for me.16:17
*** ducttape_ has joined #openstack-dns16:18
Andrew_jeditimsim: Let me try that in ubuntu16:23
Andrew_jeditimsim: bind is in a container and no apparmor there :/16:28
*** chlong has joined #openstack-dns16:28
timsimHm, maybe chmod 770 /var/cache/bind and/or /etc/bind16:30
*** gatuus has joined #openstack-dns16:30
Andrew_jeditimsim: same error16:37
*** rektide_ has quit IRC16:43
*** corey has joined #openstack-dns16:49
*** corey is now known as Guest622616:50
*** cleong has quit IRC16:50
Andrew_jeditimsim: rndc status http://paste.openstack.org/show/600395/16:58
*** abalutoiu has quit IRC17:04
Andrew_jeditimsim: ok, i am trying something else, i am going to move the dns server (bind) to a physical box. he ip of box is 192.168.50.101. Do you think these are the only changes that i have to make http://paste.openstack.org/show/600396/17:06
Andrew_jedis/he/the17:07
timsimThe master ip should be the ip of the container17:07
Andrew_jediroger that17:09
Andrew_jeditimsim: ok how about now, 172.29.239.49 is the ip of container. http://paste.openstack.org/show/600397/17:10
*** KeithMnemonic has quit IRC17:13
*** openstackgerrit has joined #openstack-dns17:16
*** ChanServ sets mode: +v openstackgerrit17:16
openstackgerritTim Simmons proposed openstack/designate-tempest-plugin master: Bump test timeout  https://review.openstack.org/43801117:16
timsimAs long as there is transport both ways, that should work.17:16
timsimie. Bind can find that container ip, container can find bind17:16
timsimAndrew_jedi: Just to be safe, you might try chmod -R 777 /etc/bind and /var/cache/bind17:24
Andrew_jediroger that17:25
timsimand maybe do a "strace -e trace=open rndc addzone....."17:25
timsimThis is if you're doing local17:25
timsimThat strace might show the files it's trying to open17:25
*** gatuus has quit IRC17:36
Andrew_jeditimsim: i am confused, designate is still trying to contact the local bind server http://paste.openstack.org/show/600402/17:37
*** ducttape_ has quit IRC17:38
timsimHm. Maybe bounce the services 'systemctl restart designate-api' etc17:39
*** ducttape_ has joined #openstack-dns17:39
Andrew_jediohkay!17:39
*** KeithMnemonic has joined #openstack-dns17:42
Andrew_jeditimsim: Is there a way to force delete a zone. I have two zones stuck in delete state :/17:44
timsimPOST /v2/zones/id/tasks/abandon (with admin priv)17:44
Andrew_jedithanks17:45
*** KeithMnemonic has quit IRC17:46
*** KeithMnemonic has joined #openstack-dns17:46
Andrew_jeditimsim: The masters field is empty, http://paste.openstack.org/show/600408/17:47
timsimThat's ok17:51
timsimThat's only for secondary zones17:51
Andrew_jeditimsim: Stderr: u'rndc: neither /etc/bind/rndc.conf nor /etc/bind/rndc.key was found\n'.17:52
Andrew_jeditimsim: looks like designate still trying to connect with localhost17:53
timsimOh. Run the pool update command and bounce the services.17:53
timsimIt might be that osa doesn't pick up changes to that. Which is not ideal17:54
Andrew_jediroger that17:54
Andrew_jeditimsim: this one " designate-manage pool update" ?17:55
timsimYeah add --file and point at the pools.yaml file17:55
Andrew_jediokay17:56
Andrew_jeditimsim: getting this "bash: designate-manage: command not found", do i need to install any utils17:58
openstackgerritMerged openstack/designate master: [docs] Merge Developer Guidelines into Getting Involved page  https://review.openstack.org/43756517:59
timsimYou should be able to find a venv in /openstack on the vm I think18:05
*** KeithMnemonic has quit IRC18:07
*** abalutoiu has joined #openstack-dns18:07
*** gatuus has joined #openstack-dns18:07
Andrew_jeditimsim: this is from database, http://paste.openstack.org/show/600413/18:08
timsimSeems like it's updated18:08
timsimIf rndc conf and key aren't found you may need to generate them. Or otherwise allow rndc from that host in bind18:09
Andrew_jeditimsim: should i add something to "[backend:agent:bind9]" in designate.conf ?18:12
Andrew_jedilike chnaging this #query_destination = 127.0.0.118:12
timsimNope18:13
*** abalutoiu has quit IRC18:14
*** pcaruana has quit IRC18:16
*** chlong has quit IRC18:17
Andrew_jeditimsim: I purged all files related to bind from the designate container and it is clear now that designate api is still trying to contact localhost18:17
timsimDid you restart all the services?18:18
Andrew_jediYes, i did18:18
timsimEven Worker?18:18
Andrew_jediYes, all services18:19
timsimWell that don't make no sense18:19
timsimIf you have debug on you should be able to see the actual rndc commands failing in the worker log18:20
Andrew_jedii am going to stop all services and then start them again one more time18:20
Andrew_jeditimsim: Stderr: u'/openstack/venvs/designate-14.0.7/bin/designate-rootwrap: Executable not found: /usr/sbin/rndc (filter match = rndc)\n'18:20
timsimWat18:21
timsimDid you delete that? I thought that was working earlier18:21
Andrew_jeditimsim: designate is communicating with the remote physical box running bind, but netstat shows that bind is listening on 127.0.0.1:95318:26
timsimYeah you'd have to uninstall bind to stop that18:27
timsimOr stop it anyway18:27
Andrew_jeditimsim: ok, i stopped it18:29
Andrew_jeditimsim: http://paste.openstack.org/show/600415/18:30
*** gatuus has quit IRC18:31
*** gatuus has joined #openstack-dns18:32
timsimYeah that means somehow it can't find the rndc command line tool.18:37
timsimWhich it definitely could earlier because you had rndc failures.18:38
*** abalutoiu has joined #openstack-dns18:39
Andrew_jeditimsim: Do you think i should recreate the designate container ?18:40
timsimProbably so yeah18:42
Andrew_jediok18:46
*** _ducttape_ has joined #openstack-dns18:47
*** abalutoiu has quit IRC18:48
openstackgerritMerged openstack/designate master: Remove old docs content  https://review.openstack.org/43710118:49
*** ducttape_ has quit IRC18:51
*** _ducttape_ has quit IRC18:52
openstackgerritMerged openstack/designate master: Updated from global requirements  https://review.openstack.org/43772418:54
Andrew_jeditimsim: Now this one : Stderr: u'rndc: recv failed: connection reset\n'.19:02
Andrew_jeditimsim: http://paste.openstack.org/show/600418/19:03
*** rektide has joined #openstack-dns19:07
*** EricGonc_ has quit IRC19:19
*** EricGonczer_ has joined #openstack-dns19:21
*** ducttape_ has joined #openstack-dns19:31
*** ducttape_ has quit IRC19:33
*** ducttape_ has joined #openstack-dns19:33
timsimCan you telnet to the bind server?19:36
AnonissimusAndrew_jedi: are you using rndc with the right rndc key?19:45
Andrew_jeditimsim Anonissimus : I have recreated the environment. Going to create a domain again with "designate" client.19:46
Andrew_jediRecreated db, container19:47
Andrew_jediAnonissimus timsim : Stderr: u'/openstack/venvs/designate-14.0.7/bin/designate-rootwrap: Executable not found: /usr/sbin/rndc (filter match = rndc)\n'.19:49
Andrew_jedi:( :( :(19:49
Anonissimusso you are lacking rndc ...19:50
Andrew_jediAnonissimus: "pip install bind9" ?19:50
Anonissimusdo you need ful bind on that container or just rndc?19:50
timsimapt install bind9-utils I think19:51
Anonissimusbecause as timsim suggest bin utils has rndc without bind itself19:51
Anonissimusbut also comes with a bunch of other utils you might not need19:51
Anonissimusdig/delv/...19:51
*** EricGonc_ has joined #openstack-dns19:52
*** tdink has quit IRC19:53
*** EricGonczer_ has quit IRC19:53
*** amoralej is now known as amoralej|off19:56
Andrew_jediAnonissimus: After installing bind9utils, "Stderr: u'rndc: neither /etc/bind/rndc.conf nor /etc/bind/rndc.key was found\n'."19:57
Anonissimusmaking progress19:57
Anonissimusnow you need to set up your rndc.conf and get the rndc.key from your bind machine19:57
Andrew_jediAnonissimus: http://paste.openstack.org/show/600420/19:58
Andrew_jediAnonissimus: I have to set up " rndc.conf" on the designate machine ?19:59
AnonissimusAndrew_jedi: the designate machine does indeed need a working bind + rndc.conf + rndc.key20:00
*** lkoranda has quit IRC20:06
*** Guest6226 has quit IRC20:10
*** gatuus has quit IRC20:10
*** gatuus has joined #openstack-dns20:10
*** lkoranda has joined #openstack-dns20:13
Andrew_jediAnonissimus: This is my pools.yaml file, do you think the "rndc_host" is incorrect there. DNS server is running on "192.168.50.101" and designate containers IP is "172.29.239.49" ?20:14
Andrew_jediAnonissimus: Sorry, http://paste.openstack.org/show/600421/20:15
Anonissimusthat looks correct20:16
Anonissimusbut you will still need an rndc file on your host an the rndc key to match your bind install20:17
*** lkoranda has quit IRC20:20
*** tdink has joined #openstack-dns20:23
*** tdink has quit IRC20:24
*** tdink has joined #openstack-dns20:25
*** KeithMnemonic has joined #openstack-dns20:25
*** lkoranda has joined #openstack-dns20:26
*** chlong has joined #openstack-dns20:27
Andrew_jediAnonissimus: ok, i have bind running on both my designate machine and my dns server and i have copied the rndc.key from my dns server running bind to my designate container. Could you please guide me on the "rndc.conf" part ? I am confused on how to create it. :/20:44
*** rektide has quit IRC20:45
*** rektide has joined #openstack-dns20:45
*** tdink_ has joined #openstack-dns20:49
*** tdink has quit IRC20:49
*** rektide has quit IRC20:51
*** KeithMnemonic has quit IRC20:54
*** KeithMnemonic has joined #openstack-dns20:56
*** gatuus has quit IRC20:56
*** gatuus has joined #openstack-dns20:56
*** rektide has joined #openstack-dns20:58
*** tdink_ has quit IRC21:22
*** catinthe_ has joined #openstack-dns21:25
Anonissimushttps://ftp.isc.org/isc/bind9/cur/9.9/doc/arm/man.rndc.conf.html21:27
AnonissimusAndrew_jedi:21:27
*** catintheroof has quit IRC21:27
*** catintheroof has joined #openstack-dns21:27
*** catinthe_ has quit IRC21:31
*** catintheroof has quit IRC21:33
*** tdink has joined #openstack-dns21:38
Andrew_jediAnonissimus timsim : I have a zone in active state :)21:51
*** tdink has quit IRC22:00
*** tdink has joined #openstack-dns22:09
*** chlong has quit IRC22:15
*** tdink has quit IRC22:28
*** tdink has joined #openstack-dns22:34
*** mwhahaha has quit IRC22:48
*** mwhahaha has joined #openstack-dns22:50
*** khushbu has joined #openstack-dns22:51
*** khushbu has quit IRC22:55
*** mwhahaha has quit IRC22:57
*** tdink has quit IRC22:58
*** mwhahaha has joined #openstack-dns23:13
*** EricGonc_ has quit IRC23:14
*** tdink has joined #openstack-dns23:15
*** tdink has quit IRC23:19
*** tdink has joined #openstack-dns23:19
*** khushbu has joined #openstack-dns23:33
*** khushbu has quit IRC23:38
*** tdink has quit IRC23:54
*** tdink has joined #openstack-dns23:54

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