Bug 1557424

Summary: Automatically retry call failed because he failed to acquire a lock
Product: [oVirt] ovirt-engine-sdk-python Reporter: Dominik Holler <dholler>
Component: RFEsAssignee: Ondra Machacek <omachace>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1.6CC: bugs, juan.hernandez
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-20 12:18:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1557419    
Bug Blocks:    

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.