Friday, 2021-02-05

*** zzzeek has quit IRC00:01
*** zzzeek has joined #openstack-lbaas00:02
*** ianychoi__ has quit IRC00:37
*** ianychoi__ has joined #openstack-lbaas00:37
*** zzzeek has quit IRC01:33
*** zzzeek has joined #openstack-lbaas01:34
*** zzzeek has quit IRC01:45
*** zzzeek has joined #openstack-lbaas01:48
*** zzzeek has quit IRC01:57
*** zzzeek has joined #openstack-lbaas01:59
*** dasp has quit IRC02:04
*** haleyb has quit IRC02:18
*** dasp has joined #openstack-lbaas02:32
*** rcernin has quit IRC03:24
*** rcernin has joined #openstack-lbaas03:27
*** zzzeek has quit IRC04:08
*** zzzeek has joined #openstack-lbaas04:09
*** vishalmanchanda has joined #openstack-lbaas05:38
*** mchlumsky has quit IRC07:33
openstackgerritGregory Thiemonge proposed openstack/octavia-tempest-plugin master: Fix copy output in two-node jobs  https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/75293607:37
openstackgerritGregory Thiemonge proposed openstack/octavia-tempest-plugin master: Add new scenario test to create LB in specific AZ  https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/69534907:37
*** gcheresh has joined #openstack-lbaas07:38
*** gcheresh has quit IRC07:39
*** gcheresh has joined #openstack-lbaas07:40
*** xgerman has quit IRC07:44
*** rpittau|afk is now known as rpittau07:57
*** rcernin has quit IRC07:57
*** vesper11 has joined #openstack-lbaas07:58
*** rcernin has joined #openstack-lbaas08:14
*** ccamposr__ has joined #openstack-lbaas08:18
*** rcernin has quit IRC08:19
*** ccamposr has quit IRC08:21
*** rcernin has joined #openstack-lbaas08:26
*** vesper11 has quit IRC08:30
*** rcernin has quit IRC08:32
*** rcernin has joined #openstack-lbaas08:44
*** rcernin has quit IRC08:50
*** rcernin has joined #openstack-lbaas09:01
*** rcernin has quit IRC09:06
*** rcernin has joined #openstack-lbaas09:27
*** rcernin has quit IRC09:43
*** yamamoto has quit IRC09:49
*** yamamoto has joined #openstack-lbaas09:49
*** yamamoto has quit IRC09:50
*** yamamoto has joined #openstack-lbaas10:07
*** yamamoto has quit IRC10:11
*** rcernin has joined #openstack-lbaas10:19
*** rcernin has quit IRC10:21
openstackgerritGregory Thiemonge proposed openstack/octavia-tempest-plugin master: Add new scenario test to create LB in specific AZ  https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/69534912:00
*** yamamoto has joined #openstack-lbaas12:19
*** yamamoto has quit IRC12:30
*** yamamoto has joined #openstack-lbaas12:35
*** dulek has quit IRC12:43
*** ccamposr__ has quit IRC12:56
*** ccamposr__ has joined #openstack-lbaas12:56
openstackgerritCarlos Gonçalves proposed openstack/octavia stable/train: WIP: fix amphora image build  https://review.opendev.org/c/openstack/octavia/+/77423912:57
*** devfaz has quit IRC13:15
*** yamamoto has quit IRC13:42
*** tkajinam has quit IRC13:50
*** yamamoto has joined #openstack-lbaas14:37
*** mchlumsky has joined #openstack-lbaas14:43
*** yamamoto has quit IRC14:53
*** rpittau is now known as rpittau|afk15:17
*** gcheresh has quit IRC15:22
*** devfaz has joined #openstack-lbaas15:39
*** ccamposr has joined #openstack-lbaas16:36
*** ccamposr__ has quit IRC16:36
*** xgerman has joined #openstack-lbaas16:47
*** yamamoto has joined #openstack-lbaas16:50
*** dulek has joined #openstack-lbaas16:59
*** yamamoto has quit IRC17:04
*** gcheresh has joined #openstack-lbaas17:32
*** gcheresh has quit IRC17:45
*** gthiemonge has quit IRC18:39
*** gthiemonge has joined #openstack-lbaas18:40
*** yamamoto has joined #openstack-lbaas19:01
*** yamamoto has quit IRC19:06
*** gcheresh has joined #openstack-lbaas19:32
*** gcheresh has quit IRC20:25
*** vishalmanchanda has quit IRC20:58
*** yamamoto has joined #openstack-lbaas21:02
*** yamamoto has quit IRC21:08
*** fnpanic has joined #openstack-lbaas21:24
fnpanicHi21:24
fnpanicwe are using openstack ansible train release with octavia.21:24
johnsomHello, welcome.21:25
fnpanicwe see very often when we create a magnum cluster with LBs that it fails because of db deadlock21:25
fnpanici searched the bugtracker and found some work with a db retry wrapper but we have most of these patches21:25
johnsomYou should not be seeing db deadlock in the Octavia DB21:26
johnsomWe have stress tests that create resources at crazy high rates to test for that.21:27
fnpanicany idea? our galera cluster seems to be fast enough. the race condition only happens when creating two lbs very fast like magnum does21:27
fnpanicfor the etcd and api lb21:27
fnpanicok so it must be something in our enviroment or something with OSA?21:28
johnsomI know we have run ~2000 simultaneous builds without issue, so...  Can you provide the logs for this?21:28
fnpanicsure21:28
johnsomWell, I have seen this with galera mis configured before, where the query locks waiting for a secondary to sync. Or misconfigured load balancing in front of the DB where some requests get sent to the secondary by mistake.21:29
fnpanicoh this is a good point.21:30
fnpanici will look at the lb quickly while i am triggering the race condition to have logs21:31
johnsomOk, you can use paste.openstack.org for sharing logs.21:31
fnpanictriggered it already. heat shows this message21:31
fnpanicResource CREATE failed: OctaviaClientException: resources.etcd_lb.resources.loadbalancer: Project busy. Unable to lock the project. Please try again. (HTTP 503) (Request-ID: req-f037396a-ee81-4966-85c4-0f369e2f076b)21:31
johnsomAh, that is normal. That is quota management. Your automation tool should just retry.21:33
johnsomThere are a number of cases where the API will return messages that the API is busy for a given object.  Such as when a load balancer is created, it will be in a PENDING_CREATE state and will be immutable. The client just needs to retry until the object is mutable again.21:35
johnsomSo, that HEAT template needs to be fixed to handle retry HTTP status codes.21:36
fnpanicare you sure?21:36
fnpanichold a sec i paste the logs21:36
johnsomOk21:36
johnsomIt could be some other issue that bubbles up to the project busy message, you are correct.21:37
*** TMM has quit IRC21:37
*** TMM has joined #openstack-lbaas21:37
fnpanichttp://paste.openstack.org/show/802410/21:38
fnpanicbtw just forgot octavia is really great! :-)21:39
johnsomHa, thanks.21:39
fnpanicit works very well21:39
johnsomLooking21:40
fnpanici will check the lb config21:41
johnsomYeah, this is the quota lock. It's one of the places that requires a hard lock on the project ID to ensure the quota is maintained consistently.21:42
fnpanichaproxy has stick store-request src set for the backend21:42
fnpanicso the heat template needs a wait condition?21:43
johnsomYeah, it should handle 503 and 409 as retriable status codes. To quote the HTTP specification: "The implication is that this is a temporary condition which will be alleviated after some delay."21:44
fnpanicok so it is a "bug" in the magnum template or heat in general?21:48
johnsomYeah, that I don't know. I really haven't worked much with either of them.21:48
fnpanicok :-)21:48
fnpanicthanks for helping!21:51
johnsomSure, any time21:51
fnpanici will take a look and see what can be done21:51
*** yamamoto has joined #openstack-lbaas22:15
*** dasp_ has joined #openstack-lbaas22:18
*** dasp has quit IRC22:20
*** ccamposr has quit IRC22:51
*** ccamposr has joined #openstack-lbaas22:51
*** yamamoto has quit IRC23:12
*** yamamoto has joined #openstack-lbaas23:13

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