[KNI-25] Parameterize the number of retries for apply_workloads Created: 24/Jul/20  Updated: 26/Jul/20

Status: In Progress
Project: Kubernetes Native Infrastructure
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Medium
Reporter: Yolanda Robla Mota Assignee: Sheetal Chetan Singala
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

For certain workloads, which involve the deployment of operators via OLM, we need some time for that to be applied properly. Those operators sometimes define custom resources, which cannot be applied until the operator is successfully deployed.
That is the case of PerformanceProfile, which is failing on https://jenkins.akraino.org/job/kni-blueprint-pae-verify-deploy-baremetal/29/console . This can be solved just by iterating, but for our apply workloads, we just retry 2 times.
We need to be able to parameterize the number of retries of knictl apply_workloads (it's fine to default to 2). If we add this parameter, then we can increase the number of retries from our ci script.


Generated at Sat Feb 10 06:02:46 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.