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

apiclient: revert set/apply client error messages #4033

Conversation

sumukhballal
Copy link
Contributor

@sumukhballal sumukhballal commented Jun 5, 2024

Issue number:

Closes #4021

Description of changes:

@bcressey noticed that on system reboot on a Bottlerocket instance, the system failed to reboot due to a settings-committer error. This was because for default transactions (bottlerocket-launch), the changes need to be ignored by settings-committer via a Response Status from the APIServer. But, we had updated the Error response in #3987 to make our Client side messaging match what was present before. This change caused the dependents (in this case settings-committer) to change its behavior.

The fix here is to revert the client side messaging, so that consumers of the APIClient library will continue to work as is. We will have another PR focused on improving the Client side messaging to match what was there previously.

Testing done:

  • Created an AMI
  • Launched an instance.
  • Rebooted an instance.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@sumukhballal sumukhballal marked this pull request as ready for review June 5, 2024 03:16
@sumukhballal sumukhballal merged commit efbbe1a into bottlerocket-os:develop Jun 5, 2024
31 checks passed
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.

settings-committer fails if there are no pending changes
4 participants