Prerequisites. Rhel6.3 with following rpm. subscription-manager-migration-0.99.15-1.el6.x86_64 subscription-manager-gnome-0.99.15-1.el6.x86_64 subscription-manager-migration-data-1.12.1.5-1.el6.noarch subscription-manager-0.99.15-1.el6.x86_64 subscription-manager-debuginfo-0.99.15-1.el6.x86_64 subscription-manager-firstboot-0.99.15-1.el6.x86_64 Steps to Repro : Register client to candlepin. Execute following command on console to set release os version [root@sachbeta1 ~]# subscription-manager release --set 123456789000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Expected Result : Release set command should fail with proper error message , ie : not valid release os version . Release –set command should accept values only from release list. Actual Result : [root@sachbeta1 ~]# subscription-manager release --set 123456789000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Release set to: 123456789000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 [root@sachbeta1 ~]# subscription-manager release Release: 12345678900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 My suggestion is release --set should accept value only from list ,
*** Bug 825273 has been marked as a duplicate of this bug. ***
Refs: 818205, subscription-manager-1.0.2-1-84-g32d877f Author: Alex Wood <awood> AuthorDate: Tue Jun 5 14:45:59 2012 -0400 Commit: Alex Wood <awood> CommitDate: Wed Jun 6 14:49:35 2012 -0400 818205: Release --set command should only accept values from --list.
Verified using following rpm subscription-manager-firstboot-1.0.3-1.git.75.a0245f2.el5 subscription-manager-1.0.3-1.git.75.a0245f2.el5 subscription-manager-gui-1.0.3-1.git.75.a0245f2.el5 subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5 subscription-manager-migration-1.0.3-1.git.75.a0245f2.el5 Working fine Resolving defect as 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-2013-0033.html