Monday, 2020-10-12

*** zzzeek has quit IRC00:20
*** zzzeek has joined #openstack-lbaas00:23
*** rcernin has quit IRC00:26
*** rcernin has joined #openstack-lbaas00:54
*** ramishra has joined #openstack-lbaas02:36
*** psachin has joined #openstack-lbaas03:51
*** vishalmanchanda has joined #openstack-lbaas04:39
*** psachin has quit IRC04:39
*** rcernin has quit IRC04:47
*** hongbin has quit IRC04:51
*** rcernin has joined #openstack-lbaas05:18
*** dmsimard has quit IRC05:55
*** dmsimard has joined #openstack-lbaas05:59
*** gcheresh has joined #openstack-lbaas06:08
*** rcernin has quit IRC07:26
*** rpittau|afk is now known as rpittau07:35
*** ataraday_ has joined #openstack-lbaas07:58
*** rcernin has joined #openstack-lbaas08:10
*** rcernin has quit IRC08:33
*** openstackgerrit has joined #openstack-lbaas10:00
openstackgerritlkk proposed openstack/octavia-tempest-plugin master: test quotas api  https://review.opendev.org/75744910:00
*** gcheresh has quit IRC10:11
*** ataraday_ has quit IRC10:25
*** gcheresh has joined #openstack-lbaas10:31
*** ataraday_ has joined #openstack-lbaas10:34
*** Adri2000 has joined #openstack-lbaas11:24
Adri2000hello11:24
Adri2000is it possible to create an https load-balancer with octavia if barbican is not deployed?11:25
openstackgerritAnn Taraday proposed openstack/octavia master: Update amphora status on health update  https://review.opendev.org/75754812:13
openstackgerritMerged openstack/octavia stable/stein: Fix python2 AttributeError with strptime  https://review.opendev.org/75538413:03
*** TrevorV has joined #openstack-lbaas13:50
*** ataraday_ has quit IRC13:56
*** hongbin has joined #openstack-lbaas14:14
*** njohnston has quit IRC14:37
*** njohnston has joined #openstack-lbaas14:47
*** gcheresh has quit IRC15:08
johnsomAdri2000 Without Barbican you can only do HTTPS pass through (no offload) or use a Castellan compatible secret store.15:25
johnsomhttps://docs.openstack.org/castellan/latest/15:26
openstackgerritCarlos Goncalves proposed openstack/octavia master: Fix pool delete race on load balancer cascade delete  https://review.opendev.org/75760415:39
openstackgerritCarlos Goncalves proposed openstack/octavia-tempest-plugin master: Fix scenario tests issue with immutable LBs  https://review.opendev.org/75577715:41
openstackgerritCarlos Goncalves proposed openstack/octavia-tempest-plugin master: Fix scenario tests issue with immutable LBs  https://review.opendev.org/75577715:47
*** xgerman has joined #openstack-lbaas15:54
*** rpittau is now known as rpittau|afk16:01
johnsomcgoncalves Nothing like a bug in 5 year old data model code...16:12
cgoncalvesjohnsom, please share if you know what's going on :)16:13
johnsomI'm guessing the pool was being used multiple times, thus the parallel flow causes an issue? I guess that isn't your test case though16:13
cgoncalvescorrect. LB + bunch of pools. no listeners, no members, nothing16:14
johnsomYou have definitely got me a bit curious.16:14
johnsomMy first reaction is, try block it and if it's already delete just move on. But it would be good to understand what is happening.16:15
cgoncalvesthe thing is it is not deleted by list.remove() says there's nothing to remove :S16:16
cgoncalvessee the comments I left in the story16:16
johnsomBut if you iterated that list after the passive fail, it's not there right?16:18
cgoncalvesit is16:20
cgoncalvesI LOG.error'ed the list on the raise block. see story :)16:21
johnsomHmm, so I ran you test scenario and it passed without issue.16:55
cgoncalvesrun a few more times, it's not 100% reproducible16:55
cgoncalvesyou can also see the same issue in CI16:55
cgoncalvesnote both CI and local testing were on no-op drivers16:58
johnsomHmm, that is interesting. I'm running live17:00
johnsomYeah, mulitple runs with the full 50, no failures. So, maybe it's related to no-op going faster.17:07
cgoncalves+117:07
johnsomHmm, not reproducing on noop either17:16
johnsomMaybe my debugging is influencing it.17:16
johnsomI can't seem to reproduce this. I'm running the parallel engine, noop drivers, etc. You can reproduce this locally?17:29
johnsomOk, I bumped it up to 100 pools and I got one.17:34
cgoncalvesI can reproduce locally ~25% of the time17:43
johnsomhttps://stackoverflow.com/questions/6319207/are-lists-thread-safe17:44
johnsomThis implies list actions like remove are not thread safe in python....17:45
cgoncalvesI considered that, but which other thread is concurrently writing to the same list?17:47
johnsomThe other pool deletes since it is an unordered flow17:47
johnsomGood news is it seems unlikely a real world use case could hit this, so it means we can take some time to address it.17:53
cgoncalvesin order to fix the gate we need to use cascade delete in the test suite to run jobs faster, so we hit this bug18:05
johnsomWell, my patch actually worked, so we don't *need* to move to cascade delete18:06
johnsomIt dropped the runtimes down to 1:30-1:4518:06
cgoncalvesI would like to have tests to use cascade delete, in addition to your change. it further runtimes, simplifies code and tests cascade delete that so far we have not been testing18:12
johnsomWe have cascade delete tests18:12
johnsomI'm just concerned about the limits switching to cascade delete would impose on the tests. Tempest is setup to have cleanup hooks for each resource. We would be breaking that model.18:14
johnsomFor example, if the cascade delete fails, are we leaving more resources in the cloud than we would if we relied on the tempest cleanup hooks?18:14
cgoncalveswe wait for the LB to be deleted18:17
cgoncalvesplus, the way tests are set now children objects are deleted also at class teardown anyway18:18
cgoncalvesI think it is likely that cascade delete would delete more children resources even due parallel flows/tasks than deleting resources one-by-one18:22
*** vishalmanchanda has quit IRC21:27
*** rcernin has joined #openstack-lbaas21:47
*** rcernin has quit IRC22:05
*** TrevorV has quit IRC22:29
*** rcernin has joined #openstack-lbaas22:29
*** rcernin has quit IRC22:29
*** rcernin has joined #openstack-lbaas22:30

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!