Migrating RHN to RHSN encountered error
I am running a rhn-migrate-classic-to-rhsm, it stops with the message '/etc/sysconfig/rhn/systemid Legacy system ID couldn't found'. Because the systemid file does not exist.
How can I migrate?
Responses
If the RHN system ID file does not exist, then the system apparently isn't properly registered to RHN. Instead of migrating, you could just register that system to RHSN just like a regular new system.
If there is a record of that system in RHN, check when the system was last seen by RHN: has the system been reinstalled or restored from backup since then? Someone may have forgotten to re-register the system.
The /etc/sysconfig/rhn/systemid file is only used with the old RHN registration system. If you've now registered the system using RHSN instead, that file won't be created at all.
With RHSN, there is no such system ID file at all. Instead, the server is identified to RedHat by a X.509 certificate stored in /etc/pki/consumer/cert.pem and its corresponding private key in the same directory as key.pem.
Based on what you said, it looks like your system is successfully registered to RHSN and all is well.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
