Monday, 2016-03-21

*** ducttape_ has joined #openstack-dns00:28
*** ducttape_ has quit IRC00:35
*** ducttape_ has joined #openstack-dns01:31
*** ducttape_ has quit IRC01:35
*** bpokorny has joined #openstack-dns02:03
*** ducttape_ has joined #openstack-dns02:18
*** ducttape_ has quit IRC02:45
*** ducttape_ has joined #openstack-dns03:02
*** bauruine has quit IRC03:11
*** bauruine has joined #openstack-dns03:21
*** stanzgy has joined #openstack-dns03:25
*** ducttape_ has quit IRC03:25
*** ducttape_ has joined #openstack-dns03:26
*** bauruine has quit IRC03:29
*** ducttape_ has quit IRC03:31
*** bauruine has joined #openstack-dns03:34
*** bauruine has quit IRC03:46
*** bauruine has joined #openstack-dns03:51
*** bauruine has quit IRC04:01
*** bauruine has joined #openstack-dns04:03
*** ducttape_ has joined #openstack-dns04:27
*** ducttape_ has quit IRC04:33
*** bpokorny has quit IRC04:41
*** _tutima has joined #openstack-dns05:09
*** barra204 has quit IRC05:13
*** ducttape_ has joined #openstack-dns05:29
*** ducttape_ has quit IRC05:34
*** Alex_Stef has joined #openstack-dns05:47
*** rudrajit has quit IRC05:53
*** pcaruana has quit IRC06:02
*** openstackgerrit has quit IRC06:17
*** openstackgerrit_ is now known as openstackgerrit06:17
*** openstackgerrit_ has joined #openstack-dns06:18
*** openstackgerrit_ is now known as openstackgerrit06:18
*** openstackgerrit_ has joined #openstack-dns06:19
*** ducttape_ has joined #openstack-dns06:30
*** ducttape_ has quit IRC06:34
*** ducttape_ has joined #openstack-dns07:31
*** ducttape_ has quit IRC07:35
*** ducttape_ has joined #openstack-dns08:31
*** ducttape_ has quit IRC08:36
*** ccneill has joined #openstack-dns08:41
*** ccneill has quit IRC08:46
*** jschwarz has joined #openstack-dns08:49
*** ducttape_ has joined #openstack-dns09:32
*** ducttape_ has quit IRC09:37
*** jordanP has joined #openstack-dns10:23
*** nyechiel_ has joined #openstack-dns11:15
*** nyechiel_ has quit IRC11:28
*** stanzgy has quit IRC11:30
*** ducttape_ has joined #openstack-dns11:34
*** ducttape_ has quit IRC11:38
*** Kiall has quit IRC11:56
*** Kiall has joined #openstack-dns11:59
*** ducttape_ has joined #openstack-dns12:13
*** ducttape_ has quit IRC12:36
*** richm has joined #openstack-dns13:08
*** mlavalle has joined #openstack-dns14:00
*** rsyed_away is now known as rsyed14:03
*** pcaruana has joined #openstack-dns14:05
*** ducttape_ has joined #openstack-dns14:08
*** ducttape_ has quit IRC14:08
*** ducttape_ has joined #openstack-dns14:08
*** boris-42 has joined #openstack-dns14:12
*** jschwarz has quit IRC14:22
openstackgerritGraham Hayes proposed openstack/designate: Do not log pool-manager-caches SQL transactions.  https://review.openstack.org/29531214:30
*** Alex_Stef has quit IRC14:38
*** jschwarz has joined #openstack-dns14:49
*** jschwarz has quit IRC14:56
*** pglass has joined #openstack-dns14:59
openstackgerritGraham Hayes proposed openstack/designate: Do not log pool-manager-caches SQL transactions  https://review.openstack.org/29531215:14
*** darkxploit has joined #openstack-dns15:27
rsyedgeneral question: might it be easier to take care of a bug like this in two separate change requests? https://bugs.launchpad.net/python-designateclient/+bug/155053215:31
openstackLaunchpad bug 1550532 in python-designateclient "V2 zone import/export are not implemented" [Critical,Triaged] - Assigned to Rahman Syed (rahman-syed-w)15:31
rsyed(one for exports, one for imports)15:32
timsimSure, why not15:32
timsimSmaller is always better15:32
rsyedcool. wasn't sure how bug workflow handled it (if one change got merged, would it close the bug or whatever)15:32
timsimYou can do 'partial-bug ####' in the commit msg to signify it's part of multiples that work on a bug15:32
rsyedTIL.  thanks!15:33
KiallYou can use "Partial-Bug: 123"/"Related-Bug: 123" and "Closes-Bug: 123"15:33
openstackbug 123 in Launchpad itself "There's no direct way to see the project info when translating it" [Medium,Fix released] https://launchpad.net/bugs/12315:33
*** penick has quit IRC15:33
Kiallfirst 2 wont close it, but will link things up15:33
* rsyed checks https://wiki.openstack.org/wiki/GitCommitMessages for more info15:34
rsyedor http://docs.openstack.org/infra/manual/developers.html i suppose15:34
*** james_li has joined #openstack-dns15:47
*** bpokorny has joined #openstack-dns15:49
*** ccneill has joined #openstack-dns16:21
*** pcaruana has quit IRC16:25
stupidnicHow exactly are pool targets supposed to work? Is the designate-agent supposed to load the driver and handle that functionality?16:32
stupidnicI am at a bit of a loss on how to integrate this with an existing cluster of Bind servers. I thought it was supposed to be you define the nameservers and those are for lookups, and the targets are for rndc. Is that correct?16:33
*** ccneill has quit IRC16:34
stupidnicDo I have to have a local bind instance running as well? Or should I be able to tell the remote servers "Hey talk to mdns as the master"?16:34
stupidnicAnd what is the purpose of the designate-agent?16:38
pglassstupidnic: the designate-agent is optional16:41
*** ccneill has joined #openstack-dns16:42
stupidnicIt isn't detailed in the architecture documentation16:42
stupidnicso I was curious to know what it supposed to be doing16:42
mugsiestupidnic: designate-agent is not generally used - it is for custom deployments that have identified particular issues16:43
stupidnicOkay.16:43
mugsiein your targets you need to define the existing bind servers16:44
stupidnicmugsie: I have, and set the type to be bind916:44
mugsieand the rndc key for them. that needs to be on disk on the server that is running pool manager16:44
stupidnicYep. That is also done.16:44
mugsieok - is there errors, or is it just not working?16:44
stupidnicno errors. I have deug and verbose turned on16:45
stupidnicWhat happens is... I can see that the zone is created but it has a status of pending16:45
mugsiealso, you need to set the "masters" option. this will tell the bind server to zone transfer from minidns16:45
stupidnicYep have that too16:45
mugsiethat should be set to the IP:PORT of the miniDNS server16:45
stupidnicI managed to cull that information from the docs and the config16:46
mugsiecan you paste a redacted version of the pool-manager + minidsn logs?16:46
mugsiedns*16:46
stupidnicsure.16:46
stupidnicthanks btw16:46
mugsienp16:46
mugsiewe know out pre mitaka config is ... interesting16:46
mugsieour*16:46
mugsiewe have made updates to make it better in mitaka16:47
stupidnicYeah I was looking at the differences already16:47
mugsieit just takes the current format and puts it to yaml, which makes the whole thing easier, as it is basically a tree of information16:48
mugsieand also removes the requirement to generate your own UUIDs16:48
mugsiewhich was ... less than ideal16:49
stupidnicmugsie: here is the designate.conf16:49
stupidnichttp://paste.openstack.org/show/KxEiO03yzBztFFNO7pxL/16:49
stupidnicI doctored up some of the information to make it more generic16:49
stupidnicthe masters actually point to the public IP address, I just put the private ip space in there for the paste16:49
stupidnicI have verified that the AXFR works from remote16:49
mugsieOK, that looks correct16:51
stupidnicSo when I add a zone... pool manager is suposed to call rndc on each target and create the domains, right?16:52
mugsieyes16:52
stupidnicOkay and then the remote server is supposed to do an AXFR from the master16:52
mugsieyes, that is the proper flow. then pool manager will check if the remote zone has the correct serial16:53
mugsieyou should see "Creating zone zone.tld on target <uuid>" in the logs from pool-manager16:53
stupidnichmmm okay....16:53
stupidniclet me check16:53
stupidnicActually I don't see that.16:54
mugsieok, thats weird16:54
stupidnicI see it says "Creating RPC Server on topic..."16:54
mugsieand thats it?16:54
stupidnicbut that is the only reference to Creating that I see in the logs16:54
stupidnic(via grep)16:54
mugsieah16:55
stupidniclet me restart it and take a snap of the log16:55
mugsieah ha - might have found it16:56
mugsie[pool:f2f472d4-076a-4f06-9940-cfc3de023f6c]16:56
mugsietry replacing that with [pool:794ccc2c-d751-44fe-b57f-8894c9f5c842]16:56
mugsieand then restart16:56
stupidnicDo I have to change the pool_id in service:pool_manager as well?16:57
stupidnicthey do match16:57
mugsieyes, change them both16:57
stupidnicIs the code expecting that uuid?16:57
mugsiethere is a weird interaction (due to us not having a scheduler) where the default pool in Kilo + Liberty was set to 794ccc2c-d751-44fe-b57f-8894c9f5c84216:58
stupidnicOkay. Let's hope it is that simple16:58
*** james_li has quit IRC16:59
stupidnicOkay I changed that and restarted all the services just to be sure17:01
mugsieso, try a new zone create, and you should see "creating zone" in the logs17:02
mugsiealso - be careful runing this on a shared bind server. designate *may* overwrite pre-existing zones.17:03
stupidnicmugsie: Yeah I was aware of that on some level.17:03
mugsiethere is a blacklists fetaure you can use to try and prevent it, but you would have to keep it upto date17:03
mugsiehttp://docs.openstack.org/developer/designate/rest/v2/blacklists.html17:04
stupidnicOkay. I can confirm that I did see the Creating, it threw an exception but I think I can work with that.17:04
mugsiecool. if you have any other issues, just jump in here - if I am not here, I pick up messages in the morning17:04
stupidnicmugsie: thanks for the assist.17:05
mugsienp17:05
stupidnicCan I just delete the other domains out of MySQL?17:05
stupidnicthe ones stuck as pending17:05
mugsieyeah, that should be fine.17:05
stupidnicokay17:05
*** rudrajit has joined #openstack-dns17:16
*** rsyed is now known as rsyed_away17:26
*** chlong|wfh has quit IRC17:28
*** jasonsb has quit IRC17:36
*** rudrajit_ has joined #openstack-dns17:39
*** rudrajit has quit IRC17:42
*** chlong|wfh has joined #openstack-dns17:42
*** jordanP has quit IRC17:55
*** bpokorny has quit IRC18:00
*** darkxploit has quit IRC18:02
*** ccneill has quit IRC18:11
*** ducttape_ has quit IRC18:11
*** rsyed_away is now known as rsyed18:12
*** james_li has joined #openstack-dns18:12
*** darkxploit has joined #openstack-dns18:16
*** ccneill has joined #openstack-dns18:17
*** darkxploit has quit IRC18:18
*** bpokorny has joined #openstack-dns18:22
*** ducttape_ has joined #openstack-dns18:23
*** ducttape_ has quit IRC18:33
*** ducttape_ has joined #openstack-dns18:33
*** _ducttape_ has joined #openstack-dns18:55
*** ducttape_ has quit IRC18:58
stupidnicmugsie: do you know if the bind9 backend supports views? We are using views on our bind9 servers and so we need to pass in the view with the rndc call, but looking at the backend script I don't see an option for that19:11
mugsieoh. no, we dont do that currently19:12
stupidnicI can modify the code easily enough, I was just asking19:13
KiallI could be wrong, does bind9 support `rndc addzone` inside a view?19:13
KiallIf it does, we should add that.19:13
stupidnicyes it does19:13
stupidnicMy current liberty install is failing because it is not passing in a view19:13
mugsieyeah https://github.com/openstack/designate/blob/master/designate/backend/impl_bind9.py#L71-L76 would be the place.19:13
Kiallah, well.. if you do add it, please considering submitting the code :)19:14
mugsiea patch for that would be very much appriciated :)19:14
mugsiewhat Kiall said :P19:14
Kiall(but would have to be optional, for folks who don't use views)19:14
stupidnicI can certain do that... I just don't know how you would want to integrate it19:14
stupidnicShould it be an option on the target?19:14
mugsieyeah, much like we do the "clean zonefile" option19:15
mugsieif it is None, dont add it to the comand, if it is set, add it.19:15
stupidnicalright. Let me see if I can come up with something. I haven't done much in the OpenStack space... can I just do a pull request against the github repo?19:16
mugsieno. There is a long winded process for pushing a commit - http://docs.openstack.org/infra/manual/developers.html19:18
mugsieit is a bit of a pain, but only has to be done once19:18
stupidnicugh... that diagram alone makes me want to give up :)19:19
pglassyou really just need a gerrit account and the git-review plugin19:20
rsyed^ i'm new to the process and didn't find it hard at all to get git-review going19:21
stupidnicOkay. You are slowly building up my confidence :)19:23
rsyedlet us know if you have any questions!19:23
stupidnicWill do.19:24
zigoHi there! As Horizon has now support for Django 1.9, I'm processing the upload of all dashboard plugins. Now I have an issue with designate-dashboard: http://paste.openstack.org/show/491349/19:52
zigoWho's working on this dashboard plugin?19:52
mugsiezigo: that would be me19:53
zigomugsie: Do you know what's going on?19:53
zigomugsie: Note that it works in Jessie.19:54
mugsienope. I have little to no knowledge of Django - I can dig into it in a bit though19:54
zigomugsie: That would be the only way to get it into Ubuntu, as much as I understand, as they don't work on it and only import it from Debian.19:56
mugsiezigo: is that on horizon start up, or what command?19:56
zigomugsie: I'm just doing: manage.py test designatedashboard --settings=designatedashboard.tests.settings19:56
zigoOr rather:19:57
zigopython-coverate run ./manage.py test designatedashboard --settings=designatedashboard.tests.settings19:57
zigo*coverage19:57
zigomugsie: From the future PTL of Horizon:20:03
zigo<robcresswell> zigo: at a quick glance I'd say that the trace looks accurate; importing o_d in an __init__.py seems questionable20:03
zigo<robcresswell> Django 1.9 made app handling a lot stricter20:03
mugsie-_- ok.20:03
zigomugsie: Can I hope for a quick fix soon? :)20:04
zigomugsie: The timing is very short, because I couldn't upload Horizon for the whole of the cycle until today, I'm sorry for that ...20:04
mugsiezigo: how do you define short? tommorrow is probably the quickest I could turn it around20:05
mugsieseen as it is 20:00 here20:05
zigomugsie: Tomorrow is fine of course.20:05
zigomugsie: My hope is to have all the dashboards before final release date of Mitaka, and in time to get them in Ubuntu.20:06
mugsiecool. you may have to carry a patch until we get an RC2 out20:06
zigomugsie: Which is perfectly fine. FYI, if you want to try, just get Debian Sid installed, and you can get Horizon RC1 from Experimental.20:07
mugsiecool.20:07
* mugsie goes hunting for a Debian sid vagrant imahe20:07
zigoThen the packaging of designate-dashboard is at git clone https://anonscm.debian.org/git/openstack/designate-dashboard.git20:08
mugsiezigo: not on git.openstack.org ?20:08
mugsieI joke20:08
* mugsie ducks20:08
*** pcaruana has joined #openstack-dns20:21
zigomugsie: This will come ! :)20:27
elarsondoes this need a recheck? does20:35
elarsondangit!!!!20:35
elarsonhttps://review.openstack.org/#/c/293507/20:35
elarsonrough monday today20:35
mugsieelarson: it does, but timsim needs to +A https://review.openstack.org/#/c/294593/ first20:36
mugsieseen as we were not allowed add you to our stable +2 team20:37
elarsonno worries!20:37
mugsieif you can see him - start throwing stuff at him :P20:37
*** cliles has joined #openstack-dns20:37
timsim:P20:38
elarsondone20:38
mugsietimsim: there is one for liberty as well20:39
timsimI got it20:39
openstackgerritGraham Hayes proposed openstack/designate: Docs update  https://review.openstack.org/29551120:58
stupidnicI think this view change might have a bit larger implications than I first thought. It appears that mdns isn't able to update the zones via AXFR21:13
stupidnicIt says it is sending the SOA to the server, and I see the xfer-in come in to bind, but it is failing21:15
mugsiewhat is it failing with?21:15
stupidnicfailed while receiving responses: end of file21:15
stupidnictrasfer of 'domain.com/IN/external' from <controllerip>:5354: failed while receiving responses: end of file21:16
mugsiethat might be something else ...21:17
mugsiehow have you install?21:17
mugsieinstalled?21:17
*** _ducttape_ has quit IRC21:17
stupidnicUbuntu's cloud-archive21:17
mugsiecrap.21:17
mugsiethere is a fix for that21:17
mugsiekilo / liberty?21:17
stupidnicliberty21:17
mugsiehttps://review.openstack.org/#/c/293408/121:18
stupidnicis that the sendall() tcp?21:18
mugsie yeah21:18
mugsieI havent done a stable/liberty release wiht it yet21:18
mugsieso it wont be in packages21:18
stupidnicFair enough... at least it isn't something more in depth21:18
openstackgerritMerged openstack/designate: Do not log pool-manager-caches SQL transactions  https://review.openstack.org/29531221:24
openstackgerritMerged openstack/designate: DevStack: Explicitly install libcap2-bin and don't fail without AA  https://review.openstack.org/29459321:24
openstackgerritMerged openstack/designate: DevStack: Explicitly install libcap2-bin and don't fail without AA  https://review.openstack.org/29459221:24
stupidnicmugsie: So I made that change and it doesn't seem to have corrected the issue. Still have the same behavior21:24
stupidnicI can dump some logs for you so you can see what it is doing21:25
mugsiestupidnic: yeah, please do21:27
stupidnichttp://paste.openstack.org/show/qqbi5ObtKZFvNidyd4ph/21:28
*** ducttape_ has joined #openstack-dns21:33
*** rudrajit has joined #openstack-dns21:34
*** rsyed is now known as rsyed_away21:36
mugsiestupidnic: that really looks like the tcp issue :/21:37
*** rudrajit_ has quit IRC21:38
*** fawadkhaliq has joined #openstack-dns21:41
stupidnicmugsie: Yeah I thought so too... I turned the firewall off on the remote DNS server 100% off21:41
mugsiecan you try an axfr from the bind server?21:42
stupidnicYes using bind21:42
stupidnicerr21:42
stupidnicdig21:42
mugsieand it works?21:42
stupidnicyep21:42
mugsiewth21:43
stupidnicshows the correct serial and everything21:43
stupidnicThat's what made me think it was an issue with views21:43
stupidnicIf you want feel free to test it, you have all the information you need in the logs (the domain, the IP, the port)21:44
mugsiewhat is making me wonder is the lack of "Doing AXFR for %(name)s from %(host)s" in the mdns logs21:46
stupidnicLet me do a grep to make 100% sure21:47
stupidnicnothing recent21:48
stupidniclast one is a DomainNotFound while handling axfr request, but that was when I deleted the domain during some testing an hour or so ago21:48
mugsiecould the bind server be trying to XFR from a different nic?21:50
mugsieTransfer completed: 0 messages, 0 records, 0 bytes, 0.001 secs (0 bytes/sec)21:50
mugsie0 bytes is a bit unexpected21:50
stupidnicmugsie: that is possible there are mutliple nics on this server, but only one is public facing21:51
stupidnicI am going to flush the iptables on the controller just to make sure nothing there is mucking with stuff21:53
mugsiestupidnic: cool. I am going to Foxtrot Oscar out of the office now, but I will look at scrollback when I get back on in the morning.21:55
stupidnicno problem I will keep messing with it21:55
stupidnicI think I see the problem...21:55
stupidnicI typo in the firewall rules... I have tcp on 5354 not udp21:56
* stupidnic facepalms21:56
stupidnicsomedays I shouldn't be allowed near computers21:56
stupidnicYep21:57
stupidnicsigh21:57
Kiallstupidnic: I'd tell you about my day, but... I don't want to have everyone here die by laughter ;)22:01
stupidnicThat makes me feel a little better. I don't think I would be nearly as annoyed if I didn't also burn my weekend on another typo...22:02
stupidnicbtw... pool_target: not pool_targets:22:02
stupidnicso subtle, yet errors and exceptions galore22:02
*** pcaruana has quit IRC22:06
*** pglass has quit IRC22:10
*** bpokorny has quit IRC22:25
*** bpokorny has joined #openstack-dns22:31
*** bpokorny has quit IRC22:37
*** ducttape_ has quit IRC22:43
*** rsyed_away is now known as rsyed22:51
*** mlavalle has quit IRC22:58
*** km has joined #openstack-dns23:02
*** openstackgerrit has quit IRC23:03
*** openstackgerrit_ is now known as openstackgerrit23:03
*** openstackgerrit has quit IRC23:03
*** openstackgerrit_ has joined #openstack-dns23:03
*** james_li has quit IRC23:04
*** boris-42 has quit IRC23:04
*** openstackgerrit_ is now known as openstackgerrit23:04
*** openstackgerrit_ has joined #openstack-dns23:08
*** ducttape_ has joined #openstack-dns23:29
*** kei_yama has joined #openstack-dns23:32
*** fawadkhaliq has quit IRC23:35
*** bpokorny has joined #openstack-dns23:41
*** rsyed is now known as rsyed_away23:44
*** fawadkhaliq has joined #openstack-dns23:45
*** fawadkhaliq has quit IRC23:50
*** fawadkhaliq has joined #openstack-dns23:50

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