-
Notifications
You must be signed in to change notification settings - Fork 96
🐛 InfrastructureProvider waiting for core provider even though CoreProvider is ready #756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-operator ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
a0ad20c
to
a0611f4
Compare
94c7826
to
ea10970
Compare
/help |
/test pull-cluster-api-operator-test-main |
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.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: furkatgofurov7 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
One question about Ordered usage, otherwise lgtm
@@ -34,7 +34,7 @@ import ( | |||
"sigs.k8s.io/yaml" | |||
) | |||
|
|||
var _ = Describe("Install Controlplane, Core, Bootstrap Providers in an air-gapped environment", func() { | |||
var _ = Describe("Install Controlplane, Core, Bootstrap Providers in an air-gapped environment", Ordered, func() { |
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.
var _ = Describe("Install Controlplane, Core, Bootstrap Providers in an air-gapped environment", Ordered, func() { | |
var _ = Describe("Install Controlplane, Core, Bootstrap Providers in an air-gapped environment", func() { |
What is the need for Ordered
in here? These tests should be capable of running in parallel in any order, but if they need a prerequisite steps - please add it to the test case itself.
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.
Seems to tests are not designed to work independently. I fixed this bug and tests are failed without fixing order. I will try till make them independent or combine most of pipelines in the single It in next PR.
@@ -206,7 +206,7 @@ func (r *GenericProviderReconciler) reconcile(ctx context.Context, provider gene | |||
|
|||
if !res.IsZero() || err != nil { | |||
// the steps are sequential, so we must be complete before progressing. | |||
return res, err | |||
return res, ignoreCoreProviderWaitError(err) |
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.
Just to confirm my understanding - are we ignoring the error because the reconciler of other providers is watching core provider for changes? So once the core provider is ready, it will surely retry without requeue caused by regular error propagation?
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.
Yes, exactly.
/lgtm |
LGTM label has been added. Git tree hash: b5c3822f3dc4b0ffd789b953443b449b8854b650
|
/cherrypick release-0.17 |
@dmvolod: new pull request created: #761 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #755