Thursday, 2017-08-24

*** masber has joined #openstack-dns00:37
*** trungnv_ has joined #openstack-dns01:19
*** masber has quit IRC01:20
*** trungnv_ has quit IRC01:21
*** trungnv_ has joined #openstack-dns01:40
*** masber has joined #openstack-dns01:51
*** trungnv_ has quit IRC01:53
trungnvabaindur, Is this Bug? Could you tell exactly issues which affected to you?02:05
abaindurtrungnv: thats what im trying to determine. is it a possible race condition?02:06
abaindurit seems to only occur when adding 2nd or 3rd recordset to a zone, and it only happens every now and then02:07
abaindur(we are only adding around 3-4 records per zone in our testing)02:07
abaindurAs mentioned, https://github.com/openstack/designate/blob/master/designate/central/service.py#105002:07
abaindurzone.action and zone.status are set to UPDATE/PENDING there.02:08
trungnvthe worker service will determine action and status of zone.02:08
trungnvplease see following link https://github.com/openstack/designate/blob/master/designate/worker/tasks/zone.py#L46602:08
abaindurbut when increment serial/self.storage.update_zone returns at end of that function, we see the returned zone has action NONE and status ACTIVE02:08
abaindurtrungnv: this is before worker. This is in central, when it is about to send msg to worker. worker error's out because central sends update_zone RPC with action = NONE02:09
abaindursee here, https://github.com/openstack/designate/blob/master/designate/storage/impl_sqlalchemy/__init__.py02:10
abaindurgo to "def update_zone"02:10
abaindurAt beginnning of function, we even see LOG.debug("Updating zone %s", zone)02:10
abaindurthe zone has correct values (since this was sent in from previous function in central i pointed out)02:11
abaindurthen it looks like it does some sqlalchemy DB operations. the updated_zone returned at the end has wrong action and status02:11
abaindurShouldn't the storage.update_zone set it to UPDATE/PENDING, as that's what central calls it with?02:15
trungnvabaindur, Could you confirm zone.action and zone.status at this line https://github.com/openstack/designate/blob/master/designate/central/service.py#L1063?02:21
trungnvAnd, some logs about this "worker error's out  because central sends update_zone RPC with action = NONE".02:26
*** abaindur has quit IRC02:27
openstackgerritOpenStack Proposal Bot proposed openstack/designate master: Updated from global requirements  https://review.openstack.org/49702305:48
openstackgerritOpenStack Proposal Bot proposed openstack/designate-dashboard master: Updated from global requirements  https://review.openstack.org/49702405:48
*** pcaruana has joined #openstack-dns06:21
*** tpatzig_ has joined #openstack-dns06:37
*** tpatzig_ has quit IRC06:39
*** MarkBaker has joined #openstack-dns07:12
*** MarkBaker has quit IRC07:45
*** egonzalez has joined #openstack-dns07:56
*** MarkBaker has joined #openstack-dns08:36
*** MarkBaker has quit IRC08:56
*** MarkBaker has joined #openstack-dns09:03
fricklertimsim: my issue with designate-manage yesterday was caused by https://bugs.launchpad.net/designate/+bug/1673403, are you still working on that one?09:11
openstackLaunchpad bug 1673403 in Designate "transport_url not being used while doing pool update" [High,Confirmed] - Assigned to Tim Simmons (timsim)09:11
*** abalutoiu has joined #openstack-dns10:16
*** abalutoiu has quit IRC10:21
*** egonzalez has quit IRC10:30
*** abalutoiu has joined #openstack-dns10:41
*** egonzalez has joined #openstack-dns10:51
*** egonzalez has quit IRC11:07
openstackgerritOpenStack Proposal Bot proposed openstack/designate-dashboard master: Imported Translations from Zanata  https://review.openstack.org/49720011:09
*** egonzalez has joined #openstack-dns11:18
*** abalutoiu has quit IRC11:38
*** abalutoiu has joined #openstack-dns11:40
*** abalutoiu has quit IRC12:01
*** abalutoiu has joined #openstack-dns12:05
*** MarkBaker has quit IRC12:13
*** abalutoiu has quit IRC12:14
*** MarkBaker has joined #openstack-dns12:14
*** brandor5 has joined #openstack-dns12:24
brandor5Hey guys, I was wondering if anyone has a working HA deployment of designate using tripleo?12:24
*** abalutoiu has joined #openstack-dns12:31
egonzalezbrandor5, with tripleo nope, might be worth asking in tripleo's channel, #tripleo12:37
brandor5egonzalex: ok thanks. I'm working my way through the channels :) appreciate the response12:38
brandor5bleh sorry, egonzalez12:41
*** catintheroof has joined #openstack-dns13:02
*** brandor5 has left #openstack-dns13:08
openstackgerritAnusree A proposed openstack/designate-dashboard master: AngularJS unittest with Jasmine and Karma  https://review.openstack.org/44170013:19
openstackgerritMerged openstack/designate-dashboard master: Imported Translations from Zanata  https://review.openstack.org/49720013:19
openstackgerritAnusree A proposed openstack/designate-dashboard master: AngularJS unittest with Jasmine and Karma  https://review.openstack.org/44170013:26
openstackgerritMerged openstack/designate-dashboard master: Updated from global requirements  https://review.openstack.org/49702413:27
*** abalutoiu has quit IRC13:40
*** nkinder has joined #openstack-dns13:40
*** trungnv_ has joined #openstack-dns14:59
*** abalutoiu has joined #openstack-dns15:06
*** abalutoiu has quit IRC15:14
*** trungnv_ has quit IRC15:25
*** pcaruana has quit IRC15:57
*** ianychoi has joined #openstack-dns16:00
*** egonzalez has quit IRC16:01
*** openstackgerrit has quit IRC16:04
*** abalutoiu has joined #openstack-dns16:06
*** abalutoiu_ has joined #openstack-dns16:08
*** kbyrne has quit IRC16:09
*** kbyrne has joined #openstack-dns16:10
*** abalutoiu has quit IRC16:12
*** MarkBaker has quit IRC17:07
*** MarkBaker has joined #openstack-dns17:07
*** MarkBaker has quit IRC17:20
*** catinthe_ has joined #openstack-dns17:44
*** catintheroof has quit IRC17:45
*** egonzalez has joined #openstack-dns18:31
*** masber has quit IRC19:00
*** abalutoiu_ has quit IRC19:28
*** egonzalez has quit IRC19:41
*** abalutoiu_ has joined #openstack-dns20:26
*** catinthe_ has quit IRC20:53
*** catintheroof has joined #openstack-dns20:54
*** catintheroof has quit IRC20:58
*** abalutoiu_ has quit IRC21:09
*** MarkBaker has joined #openstack-dns21:48
*** catintheroof has joined #openstack-dns21:59
*** MarkBaker has quit IRC22:04
*** abaindur has joined #openstack-dns22:49
abaindurtrungnv: Yes, as I mentioned, the zone that is returned at the bottom of that function has action=NONE, status=ACTIVE22:50
abaindurhttps://github.com/openstack/designate/blob/stable/newton/designate/central/service.py#L106522:50
abaindureven though at the top of that function, before storage.update_zone is called, zone.action and zone.status are explicitly set to UPDATE and PENDING22:51
abaindurso somehow the sqlalchemy storage driver is not updating zone to UPDATE/PENDING22:51
abaindurthe returned zone there is what central passing into worker via update_zone RPC. but worker then errors out because action is NONE22:52
abaindurI suspect some kind of race condition here, as it only happens some of the time22:52
abaindurThe 1st recorset was created fine. After which zone moves from UPDATE/PENDING to NONE/ACTIVE. But it seems to be 2nd or 3rd recordset in a zone which faces this issue22:53
abaindurHere we see this debug: https://github.com/openstack/designate/blob/stable/newton/designate/storage/impl_sqlalchemy/__init__.py#L30922:55
abaindurwhich also indicates the storage's update_zone was called with UPDATE/PENDING. but final updated_zone returned there has NONE/ACTIVE. so issue lies 100% in there22:55
*** catintheroof has quit IRC23:46

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