Open B3DTech opened 3 years ago
Did you ever figure this out as I'm having the same issue? Cannot migrate CentOS7 systems from Spacewalk to Katello due to missing subscription-manager-migration RPM
Did you ever figure this out as I'm having the same issue? Cannot migrate CentOS7 systems from Spacewalk to Katello due to missing subscription-manager-migration RPM
Did you figured that out? I'm trying to migrate CentOS 7 to Katello but I can't find a mirror for up to date subscription-manager-migration package
This is what we're planning to do, we've tested on one client so far and it seems to work...
yum install subscription-manager
rm /etc/sysconfig/rhn/systemid
sed -i 's/enabled *= *1/enabled=0/' /etc/yum/pluginconf.d/rhnplugin.conf
systemctl disable rhnsd
systemctl disable rhnmd
rpm -Uvh http://**katellohostname**:9090/katello-ca-consumer-latest.noarch.rpm
subscription-manager register --org=**org_name** --activationkey=**activationkey**
If you are using remote exectution will also need to add katello public key into authorized_keys of the user on the client and add sudo config (can pull this out of the kickstarts in katello)
I'm trying to move CentOS 7 systems that are currently using SpaceWalk over to Foreman/Katello/Ansible. Running the bootstrap script causes all sorts of issues that I'm having trouble tracking down.
It was complaining that I couldn't find the subscription-manager-migration repo, so I added the one recommended by candlepin's site. https://copr-be.cloud.fedoraproject.org/results/dgoodwin/subscription-manager/epel-7-x86_64/00273890-subscription-manager/
Try again - this time it complains that the version of subscription manager I have is too new and need to downgrade from 1.24.42-1 to 1.17.6-1. Ok - so I did a yum downgrade.
Next up, it can't find subscription-manager-migration-data RPM. Ugh. Where do I find this one? I see some references for RHEL, but not for CentOS.
Feel like this shouldn't be so frustrating.