Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we skip it here
ARO-HCP/test/e2e/control_plane_automated_z_stream_upgrade.go
Line 100 in 4a42871
It can happen that even for 4.20+ versions, a new version which just got release is selected just before it's loaded in CS database by the worker. In this case, you'll still get
So I'll skip the test based on that error up for now to avoid making our test fail that run. Chances of it happening are pretty low but can happen. That will go away when we move the creation of the cluster to the backend - being discussed here #4477
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be a followup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manyanda Chitimbo (@machi1990) How will moving the cluster creation call solve the issue of a new version selected before getting loaded in CS?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jakob Gray (@JakobGray) good question.
Because the create cluster controller will be the one to retry the operation and not the test.
CS already loads all the version in an interval of 5 minutes. When a new one is available, cs discovers it in that worker and loads it (See the maxVersion entries in the config ).
The idea is that the controller will do this:
call CS with the 4.Y.Z
What could happen then is:
How does that sound with you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see that for cluster create, but for an automatic z-stream upgrade don't we always run the risk of trying to upgrade before CS has discovered the new image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Z-stream upgrade triggers are also retriable in the same sense. When a new x.y.z has been computed; a call is made. If CS errors out - because an upgrade graph is missing on CS' database, it'll be retried.