Bug 1557424 - Automatically retry call failed because he failed to acquire a lock
Summary: Automatically retry call failed because he failed to acquire a lock
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine-sdk-python
Classification: oVirt
Component: RFEs
Version: 4.1.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ondra Machacek
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On: 1557419
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-16 14:46 UTC by Dominik Holler
Modified: 2018-03-20 12:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-20 12:18:23 UTC
oVirt Team: Infra
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Dominik Holler 2018-03-16 14:46:22 UTC
Description of problem:
If a call to REST-API fails because a triggered command does not get a lock,
the SDK should try again.
This would save to handle this case on the application level, e.g. inside an ovirt-system-test.

Version-Release number of selected component (if applicable):


How reproducible:
Try to import an external network from a provider during the provider is locked, e.g. by auto sync.

Steps to Reproduce:
1.
2.
3.

Actual results:
The application call to sdk is failing.

Expected results:
The application call to sdk is failing only if the problem is permanent or occurs multiple time.


Additional info:

Comment 1 Ondra Machacek 2018-03-20 12:18:23 UTC
As import an external network has decided to wait internally, there is no other API call which request this feature, closing for now.


Note You need to log in before you can comment on or make changes to this bug.