convert2rhel fails with CentOS 8

Latest response

We are trying to convert our remaining CentOS 8 systems to RHEL 8. Convert2rhel has worked fine on some systems but fails on others. The systems on which it fails seem very similar to successful ones. The failure message comes when subscription-manager registers with Foreman. The registration is successful but throws the error messages "replace() argument 2 must be str, not None" and "System registration failed with return code = 70".
The invocation string is: 'convert2rhel --debug --no-rpm-va --keep-rhsm --org="our org" --activationkey="RHEL 8"'
We believe the conversion would work if the "return code = 70" could be ignored.
Any ideas?

Responses