Hide Forgot
Description of problem: Requesting the ability to unsubscribe a host with subscription manager using another system. We are looking for a way to unsubscribe a host using another system mainly because we need to do this after the host has already been retired. If the subscription-manager command would allow you to pass in the consumerid, that would do the trick. Something like: # subscription-manager unsubscribe --username <USERNAME> --password <PASSWORD> --consumerid=XXXXXXXXXXXXX
This can be done using python-rhsm. Please see the ungregisterConsumer method on the UEPConnection class.