Thursday, 2014-11-27

openstackgerritRon Rickard proposed openstack/designate: Pool Manager  https://review.openstack.org/13165600:13
Kialllol.. I was just starting devstack with the previous patchset -_-00:14
rjrjrall the bugs I am aware of have been fixed (retry_interval in notify_zone_changed; added delay, records are deleted properly; NS/SOA records have proper action,status,serial)00:15
rjrjri'll monitor Gerrit and this chat periodically this weekend.00:17
KiallK.. Started devstack back up with the latest version of the patchset00:18
rjrjrmugsie, isn't ireland small enough that you can walk the length of the country in a day? 8^) (kidding)00:23
Kiallboom - devstack exercices make it splode ;)00:23
Kiallhttp://paste.openstack.org/show/139158/00:23
Kialllooks like it was a simple fix ..00:28
rjrjri'll fix it, but it's strange it works for me.00:28
rjrjrgive me one sec.00:28
Kiallhttp://paste.openstack.org/show/139162/00:29
Kiall^ diff to fix it00:29
Kiallmimics what you did in the update_record_status method00:29
*** rmoe has quit IRC00:31
openstackgerritRon Rickard proposed openstack/designate: Pool Manager  https://review.openstack.org/13165600:32
rjrjri've been running this code on devstack myself.  regardless, fix is in.00:32
Kiallrjrjr: I just ran the exercises/designate.sh script and spotted it :)00:32
rjrjrwhat is that?00:33
KiallIt just creates/deletes some domains and records etc00:33
Kialli.e. quick sanity test for correct behaviour00:33
rjrjrhmmm.... i'll have to try that.00:34
KiallIt seems to be picking up a few issues, others could be issues in the script, not 100% sure yet00:35
rjrjri was unaware of the script.  i've been running ./stack.sh and testing manually.00:35
KiallOh .. Heh :)00:35
Kiallhttps://github.com/openstack/designate/blob/master/contrib/devstack/exercises/designate.sh00:36
KiallIt just makes a bunch of API calls via the client, does DNS lookups to be sure the action happend eyc00:36
Kialletc00:36
rjrjri'm starting up devstack now and will run the script.00:37
KiallHumm.. Trying to trace where the 127.0.0.1:53 is coming from in this..00:40
Kiall2014-11-27 00:33:25.617 WARNING designate.mdns.notify [req-6d4f0d20-3080-44ce-bd95-d1854b5bac7b 9452ab847bda4498bc2ba9320dd3e543 38fc10befe4042399ea1fe9e89d95d3a] Got Timeout while trying to send 'SOA' for 'test-1.com.' to '127.0.0.1:53'. Timeout='30' seconds. Retry='3'00:40
Kiall(My devstack will have that on 192.168.x.xx:535400:41
rjrjrexercises/designate.sh completed with "SUCCESS"00:41
KiallYea, I've got weirdness that needs an extra setting configure, those seem to be my remaining fails :)00:42
rjrjri'll post my localrc.  just a second.00:42
rjrjrhttp://paste.openstack.org/show/139173/00:43
rjrjri believe your issue might be the HOST_IP setting missing in localrc00:43
rjrjrunfortunately, bind is not listening on 127.0.0.1:53 with the current configuration.00:44
KiallIn theory it should work without that.. (or if it doesn't, it's a bug in our devstack stuff :))00:45
rjrjrit has never worked for me.00:45
rjrjr8^(00:45
rjrjri'll add it to my list of things to look at/fix.00:45
*** rmoe has joined #openstack-dns00:46
rjrjri always use the BIND backend driver.  it might work with the other backend drivers.00:46
Kiallwith this: http://paste.openstack.org/show/139174/00:46
KiallI'm using the bind9 pool driver :)00:46
KiallWhat options are deciding the destinations to send NOTIFY etc's to>00:47
Kiallto?*00:47
KiallI'm thinking that's defaulting to 127.0.0.1:53 or something, somehwere00:47
rjrjrport/host in server specific configurtion section.00:47
rjrjrkiall, run a 'netstat -an'.  is your host listening on port 127.0.0.1:53?00:48
rjrjrthe devstack doesn't setup BIND to listen on that port.00:48
rjrjrsorry, host/port.00:48
rjrjrtrying again: devstack doesn't setup BIND to listen on that host/port.00:48
rjrjrhence why i always set HOST_IP in my localrc.00:49
KiallIt's not, hence trying to figure out where the 127.0.0.1 is coming from :)00:49
Kiallhttp://paste.openstack.org/show/139175/00:49
Kiall(In the gate, we're unable to have BIND etc on *:53)00:49
rjrjrgotcha. no 127.0.0.1 in designate.conf at all?00:50
KiallNope, But I think I see it00:50
Kiallbackend/base.py now has:00:50
Kiall        server_opts.append(cfg.StrOpt('host', default='127.0.0.1',00:50
Kiall                                      help='Server Host'))00:50
Kiall        server_opts.append(cfg.IntOpt('port', default=53, help='Server Port'))00:50
rjrjrcorrect, but your designate.conf will override that.00:51
Kialldevstack didn't do that for me it seems00:51
Kiallor.. Humm00:51
Kiall[backend:bind9_pool:f26e0b32-736f-4f0a-831b-039a415c481e]00:51
Kiallport = 5300:51
Kiallhost = 192.168.27.10000:51
* Kiall is confused.. ;)00:53
rjrjrgrep 127.0.0.1 from *pool-manager.log.  do you have any logs for that IP in pool manager?00:57
KiallYep - Think I have it (again):00:58
Kiall[service:pool_manager]00:58
Kiallpool_id = 794ccc2c-d751-44fe-b57f-8894c9f5c84200:58
Kiallvs00:58
Kiall[backend:bind9_pool:f26e0b32-736f-4f0a-831b-039a415c481e]00:59
Kiallport = 5300:59
Kiallhost = 192.168.27.10000:59
Kiallthe UUID's don't line up.. and I can't find anything in the DB with f26e0b32-736f-4f0a-831b-039a415c481e00:59
rjrjrpool_id is not the same a server_id.00:59
rjrjrthe f26e... is a server ID.00:59
KiallAh, But, doesn't exist in the database?00:59
rjrjrno, servers are only in the config file per our mid-cycle meeting in Seattle.01:00
rjrjrkiall 'grep 127.0.0.1 *pool-manager.log' and pasteit.01:00
KiallIt's about 50k lines matching 127.0.0.1 ;)01:01
rjrjrouch.01:01
rjrjri'm just looking for the startup configuration information.01:01
rjrjrthe part where it prints what it found in the config file.01:01
rjrjrlike so: http://paste.openstack.org/show/139185/01:03
Kiallhttp://paste.openstack.org/show/idvexynqqxUK7Z369BG7/01:07
rjrjrbackend:bind9_pool:6a5032b6-2d96-43ee-b25b-7d784e2bf3b2.host = 127.0.0.101:08
rjrjrfrom your paste.01:09
KiallYea, I see that .. but..01:09
Kiallvagrant@vagrant:~/devstack$ grep -r '6a5032b6-2d96-43ee-b25b-7d784e2bf3b2' /etc/designate/01:09
Kiallvagrant@vagrant:~/devstack$01:09
Kialllol ..01:09
rjrjrmaybe the designate.conf is somewhere else?01:09
Kiall/opt/stack/designate/etc/designate/designate.conf.sample:[backend:bind9_pool:6a5032b6-2d96-43ee-b25b-7d784e2bf3b2]01:09
Kiall/opt/stack/designate/etc/designate/designate.conf:[backend:bind9_pool:6a5032b6-2d96-43ee-b25b-7d784e2bf3b2]01:09
Kiall-_-01:10
rjrjrwhich one is being used?01:10
KiallIt seems both were loaded :)01:10
rjrjrstrange.01:11
rjrjri don't have a /opt/stack/etc/designate/designate.conf01:11
KiallWell, we do support multiple config files...01:11
*** ekarlso- has quit IRC01:12
Kiall(I've removed it BTW, rerunning)01:12
*** yfujioka has joined #openstack-dns01:12
rjrjrwas it created during the  devstack process?01:12
KiallNah, from testing outside of devstack01:12
rjrjrokay.01:13
*** ekarlso- has joined #openstack-dns01:13
KiallNew error though .. http://paste.openstack.org/show/b1cAKrMjJZ3W9tYop3cU/ could be something dud leftover in my env causing it though01:13
*** EricGonczer_ has joined #openstack-dns01:14
rjrjrnow you are making me feel self conscious.01:15
KiallYea, It looks like there might be a race happening.. it delete's a record, then deletes the zone, then queries DNS for it (and finds it's still present)01:16
*** vinod has joined #openstack-dns01:16
Kiallthe delete record is still in-process, meanwhile the delete zone is actioned in storage and sent to pool mgr..01:16
KiallI think01:17
KiallI'm betting my slow VM is highlighting it ;)01:17
rjrjryou mean fast VM.  mine is pretty slow.01:17
KiallIt's a VM - There ALL slow.. ;)01:17
Kiall(Never tell my employer I said that.. lol)01:18
rjrjri'm still not following.01:18
rjrjrthe deletes only occur in update_status.01:18
KiallOh, then.. Humm01:19
rjrjrgranted, i haven't tried any rapid fire testing, but i'm adding that to my list.01:20
Kialladd the "rally" service to your devstack, then `rally task start /opt/stack/designate/rally-jobs/designate-designate.yaml`01:20
KiallIt'll pound it ;)01:21
Kiall(Also note that - It fails even without pool manager right now due to some SQL lock contention.. But it'll likey find other new stuff aswell)01:21
rjrjri'm concerned.  so, exercises/designate.sh is failing for you.01:22
rjrjri've tried it 3 times and it passed every time.01:22
KiallI'm just rerunning devstack again, without the extra config file.. Will try once it's one01:22
Kiallonce it's done*01:23
rjrjrokay.  let me know.01:23
rjrjrthinking about it, i can see adding more checks in the update_status if the domain is delete before a status comes in to update it.01:23
rjrjrsorry, been up over 40 hours now.01:24
KiallOuch. Go to bed.01:24
Kiall(And - Yea, it's 01:25 here.. Still in the office -_-)01:24
rjrjrwhat i meant was, i can see a situation where a problem occurs where the users deletes a record, then deletes a domain.  the delete domain update_status fires first, then the update_status for the record.01:25
rjrjri can add a check in the code for that.01:25
rjrjronly execute the status update for a domain if the domain exists ('if domain:')01:26
rjrjri'll have to play some more.01:26
rjrjri want to make sure your exercises/designate.sh works before i take off though. 8^)01:27
KiallOr, use the "show_deleted = True" property on the context object to load it anyway.. If it makes sense to update it agaian01:28
KiallI'm not sure I'll be around that long ;)01:28
rjrjrit doesn't.01:28
*** jmcbride1 has quit IRC01:28
rjrjri thought you were restarting devstack?01:28
Kiallexercise is running again01:29
rjrjr<fingers crossed>01:29
Kiall<toes crossed>01:29
rjrjr<eyes crossed>01:30
KiallFailing much earlier now, but now logs as to why01:31
* Kiall is likely causing the issues, too tied!01:32
KiallI'll take another look in the morning and see what's up :)01:32
rjrjrokay.  get some sleep and we'll see where we are at in the morning.  i'll login around 10:00AM MST and check to see if you made progress.01:33
*** ryanpetrello has joined #openstack-dns01:33
rjrjrsorry you are having issues. 8^(01:33
*** EricGonczer_ has quit IRC01:33
rjrjri'll look to fix the BIND9 127.0.0.1/53 issue this weekend.01:33
openstackgerritKiall Mac Innes proposed openstack/designate: TEST: Switch Gate to PoolManager + Bind9  https://review.openstack.org/13749601:34
Kiallrjrjr: Let's see if the gate agrees with your or my tests ;)01:35
rjrjrokay.01:35
rjrjrummmm... HOST_IP?01:36
*** vinod has joined #openstack-dns01:37
vinodI don't think the gate starts the pool manager or changes the backends appropriately for pool manager to kick in01:38
Kiallrjrjr: we can't, every job in the gate is ran on a new VM with a new IP01:38
Kiallvinod: It should, with this change: https://review.openstack.org/13749601:38
rjrjrignore that.  shouldn't be required (i'm not seeing it in any of the designate devstack scripts.)01:38
Kiallvinod: I added another patch on top of rjrjr's to enable pool manager instead of powerdns01:38
vinodAhh. Okay01:39
vinodHow about changing the central's backend to pool_manager_proxy? Is that the default?01:40
KiallI think it'll work anyway.. The gate is filled with confusing series of bash scripts spread between Jenkins jobs, devstack, designate and the devstack-gate repos.. heh .. hard to tell sometimes ;)01:40
Kiallour devstack code has:01:40
Kiallelif is_service_enabled designate-pool-manager; then01:40
Kiall        iniset $DESIGNATE_CONF service:central backend_driver pool_manager_proxy01:40
KiallJob started up.. https://jenkins03.openstack.org/job/gate-designate-devstack-dsvm/196/consoleFull01:41
vinodi just saw that01:41
* Kiall twiddles his thumbs while the job runs...01:48
rjrjr8 minutes and counting...01:49
KiallIt went boom - but likely for a whole other reason01:56
KiallI see it..01:56
openstackgerritKiall Mac Innes proposed openstack/designate: TEST: Switch Gate to PoolManager + Bind9  https://review.openstack.org/13749601:56
Kiallnew run @ https://jenkins07.openstack.org/job/gate-designate-devstack-dsvm/226/consoleFull01:58
KiallWill check the results when I get home ;)01:58
rjrjrokay.  i'll keep watch.  talk to you in the afternoon.01:59
Kiallrjrjr: rally is running against it too in another VM BTW .. Logs for that will end up @ http://logs.openstack.org/96/137496/2/check/gate-rally-dsvm-designate-designate/f94ba0e/02:00
KiallCya :)02:03
*** nosnos has joined #openstack-dns02:11
*** ryanpetrello has quit IRC02:12
openstackgerritMerged openstack/python-designateclient: Refactor KS session creation and support CA certs  https://review.openstack.org/13747902:28
Kiallrjrjr: so the error from the latest run is what I was seeing on my last devstack run02:45
Kiallah, I see some warnings in the logs:02:46
Kiall2014-11-27 02:09:39.528 29316 WARNING designate.mdns.notify [req-026e6ef0-ac89-4f17-889f-fe5ee42fe0b6 fef3a392256e42e5af9e0feb31fa1a3e 0f89081244dc4ed88ea6c5f21a8b830a - - -] Failed to get expected response while trying to send 'NOTIFY' for 'exercise-0cdcf9a4.com.' to '127.0.0.1:53'.02:46
Kiall127.0.0.1 came back to haunt us02:47
Kiallor, maybe it's the :53 ..02:49
openstackgerritKiall Mac Innes proposed openstack/designate: TEST: Switch Gate to PoolManager + Bind9  https://review.openstack.org/13749602:50
KiallI've included a devstack change in there that fixes a hardcoded port 53 to use the right variable.. we'll see if that sorts it02:50
*** GonZoPT has quit IRC02:53
*** vinod has quit IRC03:10
openstackgerritKiall Mac Innes proposed openstack/designate: TEST: Switch Gate to PoolManager + Bind9  https://review.openstack.org/13749603:22
openstackgerritKiall Mac Innes proposed openstack/designate: Update gate_hook to support multiple drivers  https://review.openstack.org/13750503:32
openstackgerritKiall Mac Innes proposed openstack/designate: Update gate_hook to support multiple drivers  https://review.openstack.org/13750503:53
*** nosnos has quit IRC04:00
rjrjrso, not working because it is trying to dig @127.0.0.1 correct?04:25
rjrjrand BIND9 is not listening on 127.0.0.1.04:26
rjrjri can see it is failing to create the domain using rndc on 127.0.0.1:953.  the bind9 driver (sans pool manager) will fail with the same problem.  i'll look at this issue on Friday.04:37
rjrjrjust need to get BIND9 listening on 127.0.0.1.04:38
*** nosnos has joined #openstack-dns04:49
*** jmcbride has joined #openstack-dns05:08
*** jmcbride has quit IRC05:39
*** ryanpetrello has joined #openstack-dns05:45
*** vipul has quit IRC06:02
*** vipul has joined #openstack-dns06:04
*** ryanpetrello has quit IRC06:11
*** k4n0 has joined #openstack-dns06:26
*** nihilifer has joined #openstack-dns06:35
*** ekarlso- has quit IRC06:54
*** ekarlso- has joined #openstack-dns06:54
ekarlso-rjrjr: morning :D06:54
ekarlso-betsy: you around mam ? :)07:35
* ekarlso- hope he used the right title :)07:35
* ekarlso- dislikes migration 039 atm that betsy added to add SOA / NS records for domains :'(07:38
ekarlso-taking like light years to complete on a sample of the HP production db07:38
*** ToMiles has quit IRC08:20
* ekarlso- realized that he forgot to purge old domains :P08:40
*** nosnos has quit IRC08:49
*** jordanP has joined #openstack-dns08:51
*** nosnos has joined #openstack-dns09:39
*** rediskin has joined #openstack-dns11:24
*** jmcbride has joined #openstack-dns11:30
*** jmcbride has quit IRC11:53
*** ryanpetrello has joined #openstack-dns11:54
*** ryanpetrello has quit IRC12:06
*** k4n0 has quit IRC12:26
*** nosnos has quit IRC13:01
*** yfujioka has quit IRC13:10
*** betsy has quit IRC13:22
*** GonZoPT has joined #openstack-dns13:27
*** GonZoPT has quit IRC13:33
Kiallrjrjr: there are env vars for all the IPs to use, we need to make sure those are all used in the right places etc etc13:44
Kiall(and ports)13:45
Kialle.g. we can't assume or force it to be on 127.0.0.1 or port 53/95313:45
Kiallrjrjr: also, https://review.openstack.org/#/c/137505/ and https://review.openstack.org/#/c/137506/13:48
KiallAdding gate jobs to run BIND9+Pool (non-voting to start)13:48
*** rjrjr has quit IRC15:27
*** nihilifer has quit IRC15:52
openstackgerritKiall Mac Innes proposed openstack/designate: TEST: Switch Gate to PoolManager + Bind9  https://review.openstack.org/13749616:34
openstackgerritKiall Mac Innes proposed openstack/designate: TEST: Switch Gate to PoolManager + Bind9  https://review.openstack.org/13749616:37
*** nihilifer has joined #openstack-dns16:50
*** jordanP has quit IRC18:12
*** mugsie has quit IRC18:40
*** mugsie has joined #openstack-dns18:41
*** nihilifer has quit IRC19:09
*** GonZo2K has joined #openstack-dns20:16
*** EricGonczer_ has joined #openstack-dns20:23
*** EricGonczer_ has quit IRC20:23
*** rediskin has left #openstack-dns23:26
*** jmcbride has joined #openstack-dns23:39

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