At the end of the upgrade I noticed that the pulp and foreman_task services were in a failed state when doing a hammer ping. After speaking with Red Hat about it they recommended the following commands which resolved the issue: # satellite-maintain service restart // This will restart the service # foreman-rake foreman_tasks:cleanup TASK_SEARCH='result = error' STATES='paused,planning,running,pending' VERBOSE=true # foreman-rake foreman_tasks:cleanup TASK_SEARCH='label ~ *' AFTER='30d' VERBOSE=true # satellite-installer
As this is being done on the Satellite server, and this is part of the Satellite series I created on this channel this server is registered directly to Red Hat for the repositories. If you had other servers or the capsule servers, they would be registered to the Satellite server itself and not Red Hat. The repo I added to this server was the rhel 7 extras repo as shown at the start of the video. You need rhel-7-server-rpms and rhel-7-server-extras-rpms. Also, if you have the server version locked, you'll want to clear that with subscription-manager release --unset and yum versionlock clear. I had not done this on my server, so it wasn't needed. You do not enable rhel 8 repos (as the system is rhel 7), the leap upgrade tool will upgrade the repos to rhel 8 and update the enabled repositories to reflect the new version once finished. Red Hat states: RHEL 8 repositories are automatically enabled during the in-place upgrade. However, on systems registered to Red Hat Satellite using RHSM, you must manually enable and synchronize both RHEL 7 and RHEL 8 repositories before running the pre-upgrade report.
At the end of the upgrade I noticed that the pulp and foreman_task services were in a failed state when doing a hammer ping. After speaking with Red Hat about it they recommended the following commands which resolved the issue:
# satellite-maintain service restart // This will restart the service
# foreman-rake foreman_tasks:cleanup TASK_SEARCH='result = error' STATES='paused,planning,running,pending' VERBOSE=true
# foreman-rake foreman_tasks:cleanup TASK_SEARCH='label ~ *' AFTER='30d' VERBOSE=true
# satellite-installer
Hi,
I have some queries.
1. R u using cdn right?
2. What are the repositories enabled in this system?
3. Did u enable any repos for rhel8.x
As this is being done on the Satellite server, and this is part of the Satellite series I created on this channel this server is registered directly to Red Hat for the repositories. If you had other servers or the capsule servers, they would be registered to the Satellite server itself and not Red Hat. The repo I added to this server was the rhel 7 extras repo as shown at the start of the video. You need rhel-7-server-rpms and rhel-7-server-extras-rpms. Also, if you have the server version locked, you'll want to clear that with subscription-manager release --unset and yum versionlock clear. I had not done this on my server, so it wasn't needed. You do not enable rhel 8 repos (as the system is rhel 7), the leap upgrade tool will upgrade the repos to rhel 8 and update the enabled repositories to reflect the new version once finished. Red Hat states: RHEL 8 repositories are automatically enabled during the in-place upgrade. However, on systems registered to Red Hat Satellite using RHSM, you must manually enable and synchronize both RHEL 7 and RHEL 8 repositories before running the pre-upgrade report.
Really thanks for your videos man. You are great!
Glad they are helpful. I'm going to be making new videos soon hopefully.
@@therootuser Oh man can't wait for that. Already subbed to you and turned on notifications!