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

Fixes #32590 - always remove puppet and ostree repos #9372

Merged
merged 1 commit into from
May 26, 2021

Conversation

jlsherrill
Copy link
Member

the previous detection of puppet repos did not account
for the situation where the user had a content view puppet
environment, but no longer had any puppet repos. This now
will run the cleanup code regardless

@theforeman-bot
Copy link

Issues: #32590

@jlsherrill
Copy link
Member Author

jlsherrill commented May 19, 2021

To test this, you would need to:

  1. install 3.18
  2. create a puppet repo
  3. upload a puppet module
  4. publish the puppet module in a cv
  5. delete the puppet repo
  6. yum upgrade to 4.0
  7. snapshot your vm
  8. run foreman-installer
  9. observe that an upgrade task fails 'correct_puppet_environments'
  10. revert snapshot in step 7)
  11. apply the patch
  12. re-run step 8

@jlsherrill
Copy link
Member Author

[test katello]

the previous detection of puppet repos did not account
for the situation where the user had a content view puppet
environment, but no longer had any puppet repos. This now
will run the cleanup code regardless
Copy link
Member

@jjeffers jjeffers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test these changes per the scenario @jlsherrill described - the puppet repositories were removed and the installer completed without error.

@jlsherrill jlsherrill merged commit 49b6861 into Katello:master May 26, 2021
@jlsherrill jlsherrill deleted the 32590 branch May 26, 2021 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants