-
Notifications
You must be signed in to change notification settings - Fork 48
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
Update gems to support testing Puppet 8 #476
Conversation
35fc48e
to
4f8f1b8
Compare
Looks like there is some idempotency issue around the candlepin keystore password file:
Which is weird, because I'd expect that to pass. Looks like this started to fail last week: https://github.com/theforeman/puppet-katello/actions/runs/6427358289 That's around the time I merged the changes to address the CVE, so now I wonder if I messed that up. |
I can take a look. |
So, I am thinking your change simply uncovered a situation that already existed perhaps? There is a weird aspect I do not understand. On first run of the a manifest that calls
Notice that he keystore and truststore password files are missing. On the second application those files will exist. |
I found it:
Result is that the run is not idempotent. I found this by chance when I used it with the old gems without specifying the Puppet version, which then used Puppet 6. Then the installer refused to install. |
I pushed a change that I thought would work, but locally it doesn't appear to help. Still investigating. |
The installation of foreman-installer-katello wipes out the candlepin credentials, which breaks idempotency. By ensuring the migration in question is in the katello-migrations-applied file we pretend it actually ran.
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.
Ugly, but it gets the job done.
No description provided.