Hide Forgot
Description of problem: I am getting "ValueError: too many values to unpack" when running "subscription-manager config --list" Version-Release number of selected component (if applicable): [root@jsefler-onprem-5server ~]# rpm -q subscription-manager subscription-manager-0.98.2-1.git.12.99fdffb.el5_7 How reproducible: Steps to Reproduce: [root@jsefler-onprem-5server ~]# subscription-manager config --list [server] too many values to unpack ^^^^ EXPECTED A LIST OF CONFIG VALUE SETTINGS Additional info: [root@jsefler-onprem-5server ~]# tail -f /var/log/rhsm/rhsm.log 2011-11-10 10:48:10,383 [INFO] @connection.py:350 - Using certificate authentication: key = /etc/pki/consumer/key.pem, cert = /etc/pki/consumer/cert.pem, ca = /etc/rhsm/ca/, insecure = False 2011-11-10 10:48:10,383 [INFO] @connection.py:363 - Connection Built: host: jsefler-f14-5candlepin.usersys.redhat.com, port: 8443, handler: /candlepin 2011-11-10 10:48:10,386 [ERROR] @managercli.py:95 - exception caught in subscription-manager 2011-11-10 10:48:10,386 [ERROR] @managercli.py:96 - too many values to unpack Traceback (most recent call last): File "/usr/sbin/subscription-manager", line 78, in ? sys.exit(abs(main() or 0)) File "/usr/sbin/subscription-manager", line 69, in main return managercli.CLI().main() File "/usr/share/rhsm/subscription_manager/managercli.py", line 1459, in main cmd.main() File "/usr/share/rhsm/subscription_manager/managercli.py", line 263, in main self._do_command() File "/usr/share/rhsm/subscription_manager/managercli.py", line 1186, in _do_command if (value == cfg.defaults().get(name)): File "/usr/lib/python2.4/site-packages/iniparse/compat.py", line 38, in defaults for name, lineobj in self.data._defaults._options: ValueError: too many values to unpack
This is an issue in iniparser. See the bug report at http://code.google.com/p/iniparse/issues/detail?id=9
committed 52ac150215063e548d0eaf8f88aab665c733d02f Available in 0.98.2+
Moving the bug to verified. RPM used: [root@tiger ~]# rpm -qa |grep subscription-manager subscription-manager-firstboot-0.98.3-1.el5 subscription-manager-0.98.3-1.el5 subscription-manager-gnome-0.98.3-1.el5 subscription-manager-debuginfo-0.98.3-1.el5 subscription-manager-migration-0.98.3-1.el5 [root@tiger ~]# subscription-manager config --list [server] ca_cert_dir = [/etc/rhsm/ca/] hostname = 10.65.193.169 insecure = [0] port = [8443]
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No description necessary
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-2012-0154.html