commit 028596705678b447797121049d542e06e1ad4355
Author: Fernando Royo <email address hidden>
Date: Fri May 19 13:15:02 2023 +0200
Add retry on case of sqlite3.InterfaceError on FT
After a thorough review of the issue, it looks like that the problem
does not originate from the base code of ovn-octavia-provider or
neutron. Other projects are also experiencing this problem,
indicating that it likely stems from a different source or set of
libraries [1].
To minimize the need for extensive rechecks on future patches, this
patch introduces a retry mechanism, utilizing tenacity, to the
affected methods.
Once the root cause of the problem '(sqlite3.InterfaceError) Cursor
needed to be reset because of commit/rollback and can no longer be
fetched from,' is identified and resolved, this patch should be
reverted.
Reviewed: https:/ /review. opendev. org/c/openstack /ovn-octavia- provider/ +/883662 /opendev. org/openstack/ ovn-octavia- provider/ commit/ 028596705678b44 7797121049d542e 06e1ad4355
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 028596705678b44 7797121049d542e 06e1ad4355
Author: Fernando Royo <email address hidden>
Date: Fri May 19 13:15:02 2023 +0200
Add retry on case of sqlite3. InterfaceError on FT
After a thorough review of the issue, it looks like that the problem provider or
does not originate from the base code of ovn-octavia-
neutron. Other projects are also experiencing this problem,
indicating that it likely stems from a different source or set of
libraries [1].
To minimize the need for extensive rechecks on future patches, this
patch introduces a retry mechanism, utilizing tenacity, to the
affected methods.
Once the root cause of the problem '(sqlite3. InterfaceError) Cursor
needed to be reset because of commit/rollback and can no longer be
fetched from,' is identified and resolved, this patch should be
reverted.
[1] https:/ /opensearch. logs.openstack. org/_dashboards /app/discover/ ?security_ tenant= global# /?_g=(filters: !(),refreshInte rval:(pause: !t,value: 0),time: (from:now- 30d,to: now))&_ a=(columns: !(_source) ,filters: !(('$state' :(store: appState) ,meta:( alias:! n,disabled: !f,index: '94869730- aea8-11ec- 9e6a-83741af3fd cd',key: build_status, negate: !f,params: (query: FAILURE) ,type:phrase) ,query: (match_ phrase: (build_ status: FAILURE) ))),index: '94869730- aea8-11ec- 9e6a-83741af3fd cd',interval: auto,query: (language: kuery,query: 'message: %22Cursor% 20needed% 20to%20be% 20reset% 20because% 20of%20commit% 2F%22') ,sort:! ())
Related-Bug: #2020195 6de8278b7360222 40a780130d6
Change-Id: Ia7a9b5230f9cf5