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

Temporarily remove SLES from samples #27378

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

rebwill
Copy link
Contributor

@rebwill rebwill commented Jun 5, 2024

Temporarily removing SLES from Enos samples while we troubleshoot some issues with package installs.

@rebwill rebwill requested a review from a team as a code owner June 5, 2024 20:50
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jun 5, 2024
Copy link

github-actions bot commented Jun 5, 2024

CI Results:
All Go tests succeeded! ✅

Copy link

github-actions bot commented Jun 5, 2024

Build Results:
All builds succeeded! ✅

@anwittin anwittin merged commit 490cdd9 into main Jun 5, 2024
94 of 96 checks passed
@anwittin anwittin deleted the rebwill/temporarily_disable_sles branch June 5, 2024 22:53
ryancragun added a commit that referenced this pull request Jun 5, 2024
ryancragun added a commit that referenced this pull request Jun 6, 2024
ryancragun added a commit that referenced this pull request Jun 6, 2024
…ity (#27380)

* [VAULT-27917] fix(enos): handle SLES guestregister.service unreliability

The SLES provided `guestregister.service` systemd unit is unreliable
enough that it will fail ~ 1/9 times when provisioning SLES instances.
When this happens the machine will never successfully exec SUSEConnect
to enroll and we'll get no access to the SLES repositories and
subsequently break our scenarios.

I resolved this by restructuring our `install_packages` module to to
separate repository synchronization, repository addition, and package
installation into different scripts and resources and by adding special
case handling for SLES and the `guestregister.service`.

I also make a distinction between `dnf` and `yum` because while they are
sort of the same thing on RHEL, it is not the case with Amazon2. I also
shimmed out the rest of the support for Apt in case we ever need to add
repos there.

* Revert "Temporarily remove SLES from samples (#27378)"

This reverts commit 490cdd9.

Signed-off-by: Ryan Cragun <[email protected]>
rebwill pushed a commit that referenced this pull request Jun 10, 2024
…ity (#27380)

* [VAULT-27917] fix(enos): handle SLES guestregister.service unreliability

The SLES provided `guestregister.service` systemd unit is unreliable
enough that it will fail ~ 1/9 times when provisioning SLES instances.
When this happens the machine will never successfully exec SUSEConnect
to enroll and we'll get no access to the SLES repositories and
subsequently break our scenarios.

I resolved this by restructuring our `install_packages` module to to
separate repository synchronization, repository addition, and package
installation into different scripts and resources and by adding special
case handling for SLES and the `guestregister.service`.

I also make a distinction between `dnf` and `yum` because while they are
sort of the same thing on RHEL, it is not the case with Amazon2. I also
shimmed out the rest of the support for Apt in case we ever need to add
repos there.

* Revert "Temporarily remove SLES from samples (#27378)"

This reverts commit 490cdd9.

Signed-off-by: Ryan Cragun <[email protected]>
rebwill pushed a commit that referenced this pull request Jun 11, 2024
…ity (#27380)

* [VAULT-27917] fix(enos): handle SLES guestregister.service unreliability

The SLES provided `guestregister.service` systemd unit is unreliable
enough that it will fail ~ 1/9 times when provisioning SLES instances.
When this happens the machine will never successfully exec SUSEConnect
to enroll and we'll get no access to the SLES repositories and
subsequently break our scenarios.

I resolved this by restructuring our `install_packages` module to to
separate repository synchronization, repository addition, and package
installation into different scripts and resources and by adding special
case handling for SLES and the `guestregister.service`.

I also make a distinction between `dnf` and `yum` because while they are
sort of the same thing on RHEL, it is not the case with Amazon2. I also
shimmed out the rest of the support for Apt in case we ever need to add
repos there.

* Revert "Temporarily remove SLES from samples (#27378)"

This reverts commit 490cdd9.

Signed-off-by: Ryan Cragun <[email protected]>
rebwill added a commit that referenced this pull request Jun 11, 2024
…scenarios into release/1.17.x (#27362)

* backport of commit c287395

* Add exclude block (#27369)

* [VAULT-27917] fix(enos): handle SLES guestregister.service unreliability (#27380)

* Revert "Temporarily remove SLES from samples (#27378)"

* Remove Leap 15.4 from testing matrices and AMI data sources; remove vestiges of Ubuntu 18.04 testing (#27416)

---------

Signed-off-by: Ryan Cragun <[email protected]>
Co-authored-by: Rebecca Willett <[email protected]>
Co-authored-by: Ryan Cragun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed pr/no-changelog pr/no-milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants