Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: 5/5 Prerequisites : Client : Rhel5.7 with following subscription manager client subscription-manager-firstboot-0.95.5.18-1.git.4.364aa10.el5 subscription-manager-0.95.5.18-1.git.4.364aa10.el5 subscription-manager-gnome-0.95.5.18-1.git.4.364aa10.el5 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.
Fixed in: master c83cc36f1605ff767a0c39f404b73c5fe9bfaea3 RHEL6.2 cff579792571a79fc8b66a6b0a545441c8737350
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. python-rhsm-0.96.12-1.git.0.4862863.el6.noarch subscription-manager-firstboot-0.96.11-1.git.1.945da16.el6.x86_64 subscription-manager-0.96.11-1.git.1.945da16.el6.x86_64 subscription-manager-gnome-0.96.11-1.git.1.945da16.el6.x86_64 Marking VERIFIED.
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. http://rhn.redhat.com/errata/RHBA-2011-1695.html