Why does system fail to re-connect to existing system profile during kickstart.

Solution Verified - Updated -

Issue

  • Fails to re-connect to existing system profile during kickstart.
Re-connect to the existing system profile. Do not create a new system profile.
  • Without involving kickstart by tweaking the python fragment from kickstart file:
import xmlrpclib
client =  xmlrpclib.Server(RHS_API_URL)
key = client.system.obtain_reactivation_key(open('/etc/sysconfig/rhn/systemid', 'r').read())

Which results in:

xmlrpclib.Fault: <Fault -23: 'redstone.xmlrpc.XmlRpcFault: You do not have permissions to perform this action.'>
  • Tomcat logs:
2014-10-19 19:35:56,043 [TP-Processor14] ERROR com.redhat.rhn.frontend.xmlrpc.BaseHandler - Caused by: 
com.redhat.rhn.frontend.xmlrpc.PermissionCheckFailureException: You do not have permissions to perform this action.
    at com.redhat.rhn.frontend.xmlrpc.system.SystemHandler.getReactivationKey(SystemHandler.java:207)
    at com.redhat.rhn.frontend.xmlrpc.system.SystemHandler.obtainReactivationKey(SystemHandler.java:246)

Environment

  • Red Hat Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content