Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
tracebacks are being thrown when calling "yum repolist all" and "yum repolist disabled"
Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# rpm -qa | grep yum
yum-3.4.3-47.el7.noarch
yum-metadata-parser-1.1.4-7.el7.x86_64
How reproducible:
Steps to Reproduce:
[root@jsefler-7 ~]# yum repolist
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repolist: 0
[root@jsefler-7 ~]#
[root@jsefler-7 ~]#
[root@jsefler-7 ~]# yum repolist enabled
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repolist: 0
[root@jsefler-7 ~]#
[root@jsefler-7 ~]#
[root@jsefler-7 ~]# yum repolist disabled
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 319, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 144, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 485, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 1974, in doCommand
rid = repo.ui_id # can't use str()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 387, in _ui_id
if '$releasever' in val:
TypeError: argument of type 'Undefined' is not iterable
[root@jsefler-7 ~]#
[root@jsefler-7 ~]#
[root@jsefler-7 ~]# yum repolist all
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 319, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 144, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 485, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 1974, in doCommand
rid = repo.ui_id # can't use str()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 387, in _ui_id
if '$releasever' in val:
TypeError: argument of type 'Undefined' is not iterable
[root@jsefler-7 ~]#
Actual results:
above
Expected results:
Additional info:
This bug appear to be working now with yum version...
[root@jsefler-7 ~]# rpm -q yum
yum-3.4.3-49.el7.noarch
[root@jsefler-7 ~]# yum repolist disabled
Loaded plugins: langpacks, product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name
rel-eng-latest latest-RHEL-7 Server on x86_64
rel-eng-snapshot hand-configured snapshot repo for RHEL-7 Server on x86_64
repolist: 0
[root@jsefler-7 ~]#
[root@jsefler-7 ~]#
[root@jsefler-7 ~]#
[root@jsefler-7 ~]# yum repolist all
Loaded plugins: langpacks, product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name status
rel-eng-latest latest-RHEL-7 Server on x86_64 disabled
rel-eng-snapshot hand-configured snapshot repo for RHEL-7 Server on x86 disabled
repolist: 0
[root@jsefler-7 ~]#
VERIFIED: yum repolist all|disabled is NO LONGER throwing a traceback
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.
Description of problem: tracebacks are being thrown when calling "yum repolist all" and "yum repolist disabled" Version-Release number of selected component (if applicable): [root@jsefler-7 ~]# rpm -qa | grep yum yum-3.4.3-47.el7.noarch yum-metadata-parser-1.1.4-7.el7.x86_64 How reproducible: Steps to Reproduce: [root@jsefler-7 ~]# yum repolist Loaded plugins: product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repolist: 0 [root@jsefler-7 ~]# [root@jsefler-7 ~]# [root@jsefler-7 ~]# yum repolist enabled Loaded plugins: product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repolist: 0 [root@jsefler-7 ~]# [root@jsefler-7 ~]# [root@jsefler-7 ~]# yum repolist disabled Loaded plugins: product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 319, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 144, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 485, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 1974, in doCommand rid = repo.ui_id # can't use str() File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 387, in _ui_id if '$releasever' in val: TypeError: argument of type 'Undefined' is not iterable [root@jsefler-7 ~]# [root@jsefler-7 ~]# [root@jsefler-7 ~]# yum repolist all Loaded plugins: product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 319, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 144, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 485, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 1974, in doCommand rid = repo.ui_id # can't use str() File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 387, in _ui_id if '$releasever' in val: TypeError: argument of type 'Undefined' is not iterable [root@jsefler-7 ~]# Actual results: above Expected results: Additional info: