Using satellite 5.7 with rhsm
After upgrading satelliteserver from 5.4 to 5.7 I have some problems getting subscription-manager/RHN Classic/sertificates etc working correctly.
I have the server setup with rhsm and using a satellite-license, and have access to the correct repos.
But when I try to run satellite-sync I get:
]# satellite-sync -l --debug-level=4
16:58:50 Red Hat Satellite - live synchronization
16:58:50 url: https://satellite.rhn.redhat.com
16:58:50 debug/output level: 4
16:58:50 +++ Satellite synchronization tool checking in.
16:58:51
16:58:51
ERROR: there was a problem synchronizing the information.
Error message:
Error Message:
Service not enabled for system profile: "nk-rhel-vm-14.norkring.net"
Error Class Code: 31
Error Class Info:
This system does not have a valid entitlement for Red Hat Network.
Please visit https://rhn.redhat.com/rhn/systems/SystemEntitlements.do
or login at https://rhn.redhat.com, and from the "Your RHN" tab,
select "Subscription Management" to enable RHN service for this system.
Explanation:
An error has occurred while processing your request. If this problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
so satellite-sync is trying to use RHN Classic.
If I try to remove /etc/sysconfig/rhn/systemid, I get:
]# satellite-sync -l --debug-level=4
17:00:20 Red Hat Satellite - live synchronization
17:00:20 url: https://satellite.rhn.redhat.com
17:00:20 debug/output level: 4
17:00:20
17:00:20
ERROR: there was a problem synchronizing the information.
Error message: ERROR: this server must be registered with RHN.
How do I get satellite-sync to correctly use rhsm?
Any advice welcome!
Responses
Hello,
Red Hat Satellite 5.x uses the Classic Management model whereas Red Hat Satellite 6.x uses Red Hat Subscription Management model. So Satellite 5.x can only be registered and managed to RHN Classic Hosted via classic tooling, and not RHSM. For more information on the different subscription services please see "What's the difference between management services provided by Red Hat Network (RHN) Classic and Red Hat Customer Portal Subscription Management/RHSM?"
Soooo.. what do we do now, that RHN Classic is getting shutdown???
Hello, see this Red Hat Knowledgebase article Preparing Satellite 5 systems for Red Hat Network's End of Life.
Time to get the Satellite 6.x migration in motion.
Satellite 5.8 was released this week.
It can synchronize content via the Red Hat Content Delivery Network. You can read about cdn-sync here
Time to get the Satellite 6.x migration in motion
Just be prepared for a VERY painful migration. Make sure you have LOTS of time to devote to it. Also, depending on your subscriptions, you may have to spend more under rhsm to accomplish the same things you did under RHN Classic. Sometimes your account manager can get you a free subscription to a particular product to make up for the shortcomings of subscription management, but that depends on your unique situation.
Sat 5 to 6 migration is quite a challenge. Satellite 6.x is a completely different product, the learning curve is steep and some of the bugs have been crippling. However, the product has improved a great deal since 6.0 was released. Latest release - 6.2.10
You need a good headset for the long calls to support and slick Googlefu skills.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
