Skip to content
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

Propagate drift correction error to bundle deployment status #2792

Merged

Conversation

weyfonk
Copy link
Contributor

@weyfonk weyfonk commented Aug 29, 2024

This gives more visibility to errors which may happen when correcting drift.
A known example causing such errors is updating a port on a service (see kubernetes/kubernetes#105610).
Refers to #2609.

Comes with new integration tests, paving the way for migrating at least some of our end-to-end drift test suite to integration tests (#2771).

This prints the actual modified status and conditions of a bundle
deployment when one of them differs from the expectation, which helps
troubleshoot mismatches.
When drift correction fails, the Fleet agent now populates the error in
the bundle deployment's status, which will help make those errors
visible and users aware of them.
@weyfonk weyfonk merged commit e211083 into rancher:main Sep 11, 2024
12 checks passed
weyfonk added a commit to weyfonk/fleet that referenced this pull request Sep 11, 2024
…#2792)

* Propagate drift correction error to bundle deployment status

When drift correction fails, the Fleet agent now populates the error in
the bundle deployment's status, which will help make those errors
visible and users aware of them.

* Improve bundle deployment status error reporting

This prints the actual modified status and conditions of a bundle
deployment when one of them differs from the expectation, which helps
troubleshoot mismatches.
weyfonk added a commit to weyfonk/fleet that referenced this pull request Sep 13, 2024
…#2792)

* Propagate drift correction error to bundle deployment status

When drift correction fails, the Fleet agent now populates the error in
the bundle deployment's status, which will help make those errors
visible and users aware of them.

* Improve bundle deployment status error reporting

This prints the actual modified status and conditions of a bundle
deployment when one of them differs from the expectation, which helps
troubleshoot mismatches.
weyfonk added a commit to weyfonk/fleet that referenced this pull request Sep 13, 2024
…#2792)

* Propagate drift correction error to bundle deployment status

When drift correction fails, the Fleet agent now populates the error in
the bundle deployment's status, which will help make those errors
visible and users aware of them.

* Improve bundle deployment status error reporting

This prints the actual modified status and conditions of a bundle
deployment when one of them differs from the expectation, which helps
troubleshoot mismatches.
thardeck pushed a commit that referenced this pull request Sep 16, 2024
…2835)

* Propagate drift correction error to bundle deployment status

When drift correction fails, the Fleet agent now populates the error in
the bundle deployment's status, which will help make those errors
visible and users aware of them.

* Improve bundle deployment status error reporting

This prints the actual modified status and conditions of a bundle
deployment when one of them differs from the expectation, which helps
troubleshoot mismatches.
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