Red Hat Bugzilla – Bug 706853
SM Gui “unregister” button deletes “consumer” folder for non network host.
Last modified: 2015-04-23 19:56:52 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Client : Rhel5.7 with following subscription manager client
Steps to Repro :
Register client to candlepin using subsription-manager gui.
disable client network.
Press unregister button.
Expected Result :
Proper message should display for network error and client should not unregister.
Actual Result :
Message displayed on console for network error
But unregister process deletes consumer folder from “/etc/pki “
This is working as designed. When a user hits "unregister", a number of steps are performed on the client, similar to "subscription-manager clean". These steps should take place regardless of if the network is available or not.
We can alter this so that the server call is made first, and if it fails, subsequent client-side operations are not performed.
Was it decided to do what Chris suggests above?
Seems to make sense.
Created attachment 524460 [details]
unsubscribe with no network
This is working as described in comment 2. All client data remains intact and the unsubscribe did not happen.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.