Subscription Manager GUI - unregister deleted system

Latest response

I have a RHEL 7 system that I deleted from the 'Subscriptions" page in Red Hat customer portal, now I am stuck unregistering/re-registering it in the Subscription Manager GUI on the system itself (can solve it by going to console, but humour me).

The system still thinks it is registered so when I select "System -> Unregister" I am prompted with the following:

Errors were encountered during unregister.
Unit XXXXX-XXXXXX-XXXXXX  has been deleted
Please see /var/log/rhsm/rhsm.log for more information

When I select 'OK' I am dropped back to Subscription Manager GUI and nothing has changed. The log shows a response from the registration server that the system has been deleted, then there is a Traceback. I can't find any way out of this situation using only the GUI.

I was expecting it to ask me to clean up / remove the local (stale) subscription configuration, but there is no such option/message.

Responses

Did you try following this solution and/or using the command line subscription-manager?

Amel,

Thanks for the response.

As mentioned in my original post, I can resolve it by going to console (command line) but I wanted to point out that the GUI seems to be lacking the capability to correctly handle this situation. I will raise it in Bugzilla.

That's a good point; sorry I missed the note in the OP. Perhaps it is somehow related to the bug fix enhancement update. In either case, bugzilla is definitely a better place for this discussion.

PixelDrift.NET,

How did you clean up this issue using the command line?

you can try the command "subscrition-manager clean"

[root@master ~]# subscription-manager unregister Unit f2b64db0-143f-41f9-aa84-629f3091133e has been deleted

[root@master yum.repos.d]# subscription-manager clean All local data removed [root@master yum.repos.d]# yum repolist Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repolist: 0

Jun,

Thanks for the response.

As I mentioned in the original post, I had no trouble completing the task using the command line, the challenge was using it with the Subscription Manager GUI only.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.