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 #31327 - 6.9 sat and capsule scenarios #421

Merged
merged 3 commits into from Dec 1, 2020

Conversation

upadhyeammit
Copy link
Contributor

No description provided.

@theforeman-bot
Copy link
Member

Issues: #31327

@upadhyeammit
Copy link
Contributor Author

@ianballou the content migrate, prepare and abort should be available for only Satellite 6.9 version ? or it should be available from Satellite 6.9 and newer versions ?

@upadhyeammit
Copy link
Contributor Author

@ehelms foreman-rake upgrade:run task is needed for 6.9 and all the newer versions ?

@upadhyeammit
Copy link
Contributor Author

@jameerpathan111 request to test

@ianballou
Copy link
Contributor

@ianballou the content migrate, prepare and abort should be available for only Satellite 6.9 version ? or it should be available from Satellite 6.9 and newer versions ?

@upadhyeammit content prepare, content prepare-abort, and content migration-stats will only be needed on 6.9.

@ehelms
Copy link
Member

ehelms commented Nov 18, 2020

@ehelms foreman-rake upgrade:run task is needed for 6.9 and all the newer versions ?

Correct.

@vsedmik
Copy link

vsedmik commented Nov 24, 2020

Tested the happy-path upgrade on the Capsule for 6.8->6.9 and 6.9.z scenarios:

  1. had 6.8 capsule registered to a satellite
  2. enabled 6.9 repos from dogfood
  3. f-m upgrade list-versions, upgrade check, upgrade run
  4. upgrade check, upgrade run for 6.9.z scenario

During the 6.8->6.9 upgrade I bumped into a dependency issue in the yum update step, which does not relate to this PR and was already reported here https://bugzilla.redhat.com/show_bug.cgi?id=1898826
The workaround was to yum remove foreman-proxy-content package and yum install satellite-capsule (removed as well as a dependency) in 6.9.0 version. After that the upgrade succeeded.

Capsule 6.9.z upgrade went smoothly without any issue.

I also tried the same scenarios for Satellite. The 6.8->6.9 succeeded without any issue, but subsequent 6.9.z upgrade failed early in the EPEL check (due to ansible-runner repo enabled?) and then in ping call.

Check whether all services are running using the ping call:           [FAIL]
Couldn't connect to the server: undefined method `to_sym' for nil:NilClass

Need to investigate more...

@jameerpathan111
Copy link
Contributor

I also tried Satellite 6.8 -> 6.9 and it completed successfully.
Faced same issue mentioned by @vsedmik for 6.9 -> 6.9.z
filed https://bugzilla.redhat.com/show_bug.cgi?id=1901031 for the first one.
And for second issue there is https://bugzilla.redhat.com/show_bug.cgi?id=1897360
Will be trying few other scenarios.

Copy link
Contributor

@jameerpathan111 jameerpathan111 left a comment

Choose a reason for hiding this comment

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

We can merge PR as it is for now, and will do further testing on downstream builds.

@upadhyeammit upadhyeammit merged commit ec10ba6 into theforeman:master Dec 1, 2020
@upadhyeammit upadhyeammit deleted the 6.9-scenarios branch December 3, 2021 12:05
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.

None yet

6 participants