Sunday, 2014-08-31

*** shakamunyi has joined #openstack-dns00:24
*** HenryG_afk is now known as HenryG00:57
*** shakamunyi_ has joined #openstack-dns01:03
*** EricGonczer_ has joined #openstack-dns01:29
*** EricGonczer_ has quit IRC01:50
*** balles has quit IRC02:20
*** balles has joined #openstack-dns02:22
*** vinod1 has joined #openstack-dns02:40
*** vinod1 has quit IRC03:11
*** balles has quit IRC03:54
*** balles has joined #openstack-dns03:56
*** EricGonczer_ has joined #openstack-dns04:04
*** EricGonczer_ has quit IRC04:11
*** shakamunyi_ has quit IRC04:47
*** shakamunyi has quit IRC04:47
*** balles has quit IRC07:12
*** balles has joined #openstack-dns07:13
*** balles has quit IRC09:02
*** balles has joined #openstack-dns09:04
*** balles has quit IRC10:30
*** balles has joined #openstack-dns10:31
*** EricGonczer_ has joined #openstack-dns11:44
*** EricGonczer_ has quit IRC11:58
*** EricGonczer_ has joined #openstack-dns12:03
*** EricGonczer_ has quit IRC12:04
*** EricGonczer_ has joined #openstack-dns12:17
*** vinod1 has joined #openstack-dns12:34
*** vinod1 has quit IRC12:59
*** vinod1 has joined #openstack-dns12:59
*** vinod1 has quit IRC13:30
*** vinod1 has joined #openstack-dns13:41
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Move DNS packet serialization into mDNS service  https://review.openstack.org/11804614:09
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Implement mDNS Middleware  https://review.openstack.org/11804714:09
Kiallvinod1: about? Started work on getting the Middleware/TSIG suff in place ^14:09
Kiall(It's layered on top of betsy + your changes - so no conflicts ;)14:10
vinod1Kiall - I will take a look at it shortly.14:10
KiallSure, The actual TSIG bits are coming next.. Only been at it a few mins ;)14:11
vinod1Now that you are here  - I added checking AXFR in the devstack exercises14:11
vinod1but looking at the log http://logs.openstack.org/31/109731/10/check/gate-designate-devstack-dsvm/25dc762/console.html14:12
vinod1designate-mdns is not started14:12
vinod1Relevant lines from the log14:12
vinod1http://logs.openstack.org/31/109731/10/check/gate-designate-devstack-dsvm/25dc762/console.html#_2014-08-30_20_46_13_340 | 2014-08-30 20:46:13.275 | +++ [[ -z designate,designate-api,designate-central,designate-sink ]]14:12
vinod1http://logs.openstack.org/31/109731/10/check/gate-designate-devstack-dsvm/25dc762/console.html#_2014-08-30_20_46_13_385 | 2014-08-30 20:46:13.332 | ++++ ENABLED_SERVICES=c-api,c-bak,c-sch,c-vol,ceilometer-acentral,ceilometer-acompute,ceilometer-alarm-evaluator,ceilometer-alarm-notifier,ceilometer-anotification,ceilometer-api,ceilometer-collector,cinder,dstat,g-api,g-reg,h-api,h-api-cfn,h-api-cw,h-eng,heat,horizon,key,mysql,n-api,n-14:12
vinod1I added designate-mdns to localrc - https://review.openstack.org/#/c/109731/10/contrib/devstack/localrc14:13
vinod1Also in localrc I don't actually see designate-sink enabled - so is there a different place that it needs to be enabled?14:14
KiallSorry, was AFK a minute14:19
Kiallmdns starts up for be locally with devstack+the vagrant VM14:19
KiallI *think* the gate job is configured to start just the core services14:19
KiallYep14:20
Kiallhttps://github.com/openstack-infra/config/blob/master/modules/openstack_project/files/jenkins_job_builder/config/designate.yaml#L1814:20
KiallIf you add this to the gate_hook.sh file, next to the export KEEP_LOCALRC=1, it should start it up:14:21
Kiallexport ENABLED_SERVICES=designate,designate-api,designate-central,designate-sink,designate-mdns14:21
Kiallthen we can remove the hardcode fom the gate job itself14:21
KiallAnd - the localrc file is only used for the vagrant devstack VM, devstack-gate will generate a localrc during the job run14:22
Kiall(The vagrant stuff should probably be pulled out of the contrib/devstack folder, to make ^ more obvious)14:22
openstackgerritVinod Mangalpally proposed a change to openstack/designate: Add support for AXFR requests  https://review.openstack.org/10973114:28
*** vinod1 has quit IRC14:34
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Move DNS packet serialization into mDNS service  https://review.openstack.org/11804614:37
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Implement mDNS Middleware  https://review.openstack.org/11804714:37
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Implement mDNS Middleware  https://review.openstack.org/11804714:42
*** vinod1 has joined #openstack-dns14:47
*** EricGonczer_ has quit IRC15:00
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Implement mDNS Middleware  https://review.openstack.org/11804715:09
KiallAnnoyingly, DNSPython won't let me implement tsig the way I want :'(15:28
ekarlso:P15:43
KiallYea.. It's being a... Pain :/15:50
openstackgerritVinod Mangalpally proposed a change to openstack/designate: Add support for AXFR requests  https://review.openstack.org/10973115:50
KiallIt won't decode a TSIG signed packet without also validating it.. Which kinda forces the location of TSIG code -_- ... And, once validated, it doesn't actually seem to offer any way for us to know what key was used to validate, so, we have no clue what key to use in the response.15:51
*** EricGonczer_ has joined #openstack-dns15:54
KiallIt remembers the algorithm and that it was signed, just not the keyname15:54
Kiall(even though it says it should be :()15:54
*** vinod1 has quit IRC15:59
KiallOMG. And, DNSPython strips out the TSIG fields -_-16:15
KiallSo, I can't even parse them myself to get the key name -_-16:15
*** EricGonczer_ has quit IRC16:18
Kialllol16:23
Kiallhttps://github.com/rthalley/dnspython/commit/2db54ba975ed5be22f92af105bb2bd6b0ccbbef116:23
Kialli.e. it's broke, and they haven't done a release -_-16:24
KiallWell, that's that then.16:24
KiallIt's actually not possible to implement due to the bug, and we can't depend on an unreleased version.16:25
*** vinod1 has joined #openstack-dns16:40
openstackgerritVinod Mangalpally proposed a change to openstack/designate: Add support for AXFR requests  https://review.openstack.org/10973116:43
Kiallvinod1: BTW, I've pushed the tsig stuff to Kilo.. A dnspython bug makes implementing it impossible :(16:44
vinod1ok.  can we try to get it fixed in dnspython?16:45
Kiallhttps://github.com/rthalley/dnspython/commit/2db54ba975ed5be22f92af105bb2bd6b0ccbbef1 is the fix, but we would need them to do a release etc in the next couple of days before the j3 cutoff16:45
KiallAnd, then we would need to get openstack/requirements updated to accept a min of that new version16:46
Kialletc etc16:46
KiallI'm going to email them tomorrow in the hopes of getting it done.. We'll see though!16:46
vinod1agreed - a lot of other dependencies to get done - i am fine with moving it to kilo16:47
*** balles has quit IRC16:50
*** balles has joined #openstack-dns16:52
*** vinod1 has quit IRC17:18
*** balles has quit IRC17:52
*** balles has joined #openstack-dns17:54
harmwKiall: are you around to help in some troubleshooting?18:40
*** vinod1 has joined #openstack-dns19:06
Kiallharmw: kinda, what's up?19:37
harmwI'm having trouble hooking up designate with nova19:39
harmwive got designate listening in on notifications topic, in the nova_fixed handler19:40
harmwbut sink is tripping on almost every message19:40
harmwTypeError: __init__() got an unexpected keyword argument 'instance_lock_checked'19:40
harmwhttps://bugs.launchpad.net/designate/+bug/136069619:41
uvirtbotLaunchpad bug 1360696 in designate "oslo notify dispatcher, unexpected keyword argument" [Undecided,New]19:41
harmwI can add that keyword to init() but that ofcourse isn't the way to go - I'd rather know what I'm doing wrong in my setup :)19:42
KiallLooking now19:44
harmwok, cool19:46
KiallI think I might see what's happening, 1 sec19:46
harmwah nice19:50
KiallHumm... So, we're trying to take a JSON serialized context from nova/neutron, and deserialize it into a Designate Context object. The issue is that they aren't actually the same.19:50
harmwok, sad story :p19:51
KiallThere is a separate code path for deserializing contexts from notifications, but we're just assuming Nova/Neutron's match ours in it19:51
harmwok, does the bugreport contain enough info to brew up a fix for this?19:52
KiallYea - It does.19:53
harmwgreat19:53
KiallThere is likely an easy fix, just looking through oslo.messaging now to see if I need to write the 5 lines of code myself or not ;)19:53
harmwoh lol19:53
harmwnice19:53
harmwbtw, the docs mention notification_topics = monitor but that yields nothing - atleast with the current codebase19:54
harmwswitching to notification_topics = notifications brings me a lot of magic, but is that the way to go?19:54
*** vinod1 has quit IRC19:57
KiallThe value depends on what you have set at the nova/neutron side.. if both sides are set to "abcdef", then "abcdef" is the right value.. That said, everyones defaults bar ours have recently-ish changed to notifications ... we should update our docs20:00
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Received notifications context is not a DesignateContext  https://review.openstack.org/11806020:03
Kiallharmw: untested, but I believe ^ should work.20:03
harmwKiall: thanks a lot, Ill take a look20:03
KiallCould you try it out and let me know?20:04
harmwbut ofcourse :)20:04
* Kiall should have ran the tests before uploading.. Looks like loads are broken now ;)20:05
KiallOh.. nvm20:05
Kialldodgy local env20:05
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Received notifications context is not a DesignateContext  https://review.openstack.org/11806020:07
Kiallharmw: patchset 2 shouldn't, ya know, break everything..20:07
harmwhehe20:08
harmwok, so, what's the easy way of getting the patch without a full git checkout?20:08
KiallIf you have a local clone of designate, you can:20:09
Kiallgit fetch https://review.openstack.org/openstack/designate refs/changes/60/118060/2 && git format-patch -1 --stdout FETCH_HEAD20:09
Kialland .diff will be output..20:09
Kiallyou can apply that to your install to test20:09
harmwI know I can do that, but I don't have the local checkout ;)20:09
harmwhttps://review.openstack.org/#/c/118060/2/designate/rpc.py,unified20:10
harmwfrom there I can download a zip, as it seems20:10
Kiallharmw: http://paste.openstack.org/show/103823/20:10
Kiallor.. http://paste.openstack.org/raw/103823/20:11
Kiallfor less HTML20:11
harmwyea, that'll do fine as well :)20:11
harmwthanks20:11
harmwok, creating new instance now20:14
harmwouch, new error20:14
harmwhttp://paste.openstack.org/show/103824/20:14
KiallOh, Humm.. Okay, even less code is needed. oslo.messaging already did the JSON decode.. heh20:16
harmw:p20:16
KiallIf you reverse the previous patch, then try this: http://paste.openstack.org/show/103826/20:17
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Received notifications context is not a DesignateContext  https://review.openstack.org/11806020:17
* Kiall needs to get designate-sink tested in the gate.20:18
harmwKiall: great, I know get a DomainNotFound exception, so it's finally atleast trying to do somthing :)20:24
harmwthanks!20:24
KiallOkay, it's got past that issue anyway :) excellent!20:24
harmwindeed20:24
harmwah, my config contains some other id :|20:26
*** EricGonczer_ has joined #openstack-dns20:26
openstackgerritKiall Mac Innes proposed a change to openstack/designate: Update default notification-topics for nova/neutron  https://review.openstack.org/11806320:27
KiallAnd, defaults updated from monitor -> notifications ...20:27
harmwah great :)20:27
harmwKiall: it's working now, nice!20:27
KiallExcellent, all that's left to do is get designate-sink tested as part of the gate so it doesn't break again :D20:28
harmwit just created the A and AAAA records for this new instance20:28
harmwhaha yea20:28
harmwanyway, thanks a lot Kiall :)20:32
KiallNo problem20:32
*** EricGonczer_ has quit IRC20:48
*** vinod1 has joined #openstack-dns22:17
*** vinod1 has quit IRC23:32

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