Skip to content

Conversation

justinc1
Copy link
Collaborator

We were missing wait on tasktag for SnapshotSchedule create, and wait on object begin delete for SnapshotSchedule and VirtualDisk.

Other changes are just small CI speedup, and fix how CI test check if HyperCore version >= 9.2.

Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
See https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/6334360083/job/17229911477#step:8:62
A guess - we tried to use SnapshotSchedule before it was fully created.

Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
@justinc1 justinc1 self-assigned this Sep 29, 2023
@justinc1
Copy link
Collaborator Author

justinc1 commented Sep 29, 2023

https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/6349507160

  • 14 failed jobs after 1st try
  • 7 failed jobs after 3rd try

Copy link
Collaborator

@shoriminimoe shoriminimoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm mixed about adding the sleeps. Would it instead be better to rely on the user (and the tests) to use ansible features like until in their tasks in the event of request failures?

@justinc1
Copy link
Collaborator Author

justinc1 commented Oct 2, 2023

The until would be used in playbook. But I wanted to hide this extra delay into the module; user should not need to know it takes a few ms for object deletion.

ISOs were removed/recreated while some other VMs were using them
https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/6347832281/job/17243445064#step:8:113

Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
@justinc1 justinc1 merged commit d2998e4 into main Oct 2, 2023
@justinc1 justinc1 deleted the ci-for-9.3 branch October 2, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants