Update patch set 5

Patch Set 5: Code-Review-1

(2 comments)

Patch-set: 5
Reviewer: Gerrit User 29244 <29244@4a232e18-c5a9-48ee-94c0-e04e7cca6543>
Label: Code-Review=-1
Attention: {"person_ident":"Gerrit User 29244 \u003c29244@4a232e18-c5a9-48ee-94c0-e04e7cca6543\u003e","operation":"REMOVE","reason":"\u003cGERRIT_ACCOUNT_29244\u003e replied on the change"}
This commit is contained in:
Gerrit User 29244 2022-10-27 08:59:21 +00:00 committed by Gerrit Code Review
parent 5208b56ba8
commit e507d26b64
1 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{
"comments": [
{
"unresolved": true,
"key": {
"uuid": "116785e1_94effd2a",
"filename": "octavia_dashboard/api/rest/lbaasv2.py",
"patchSetId": 5
},
"lineNbr": 263,
"author": {
"id": 29244
},
"writtenOn": "2022-10-27T08:59:21Z",
"side": 1,
"message": "it doesn\u0027t work if we also create a pool, kwargs is redefined at line 258, so loadbalancer_id no longer exists in the dict.",
"range": {
"startLine": 263,
"startChar": 29,
"endLine": 263,
"endChar": 35
},
"revId": "27c3cc481acc7bc0d49962d0a5cd226a13097542",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543"
},
{
"unresolved": true,
"key": {
"uuid": "8541ab27_d6bac9c0",
"filename": "octavia_dashboard/api/rest/lbaasv2.py",
"patchSetId": 5
},
"lineNbr": 266,
"author": {
"id": 29244
},
"writtenOn": "2022-10-27T08:59:21Z",
"side": 1,
"message": "I still think that if we create a Prometheus listener (from the LB form) and a pool, we may have a race condition, 2 threads are going to wait for the LB to switch from PENDING_UPDATE to ACTIVE, and both threads might send 2 requests at the same time (one of them will be processed, the 2nd will be denied with a 409 - Conflict).\n\nI don\u0027t see a smart solution to this pbl (supporting the fully-populated LB API would work, but it\u0027s a huge work in octavia-dashboard)",
"range": {
"startLine": 266,
"startChar": 0,
"endLine": 266,
"endChar": 12
},
"revId": "27c3cc481acc7bc0d49962d0a5cd226a13097542",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543"
}
]
}