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:
pykickstart throws a traceback when parsing a kickstart file with the following command:
network --onboot yes --device eth0 --bootproto dhcp --ipv6 auto
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/koji/daemon.py", line 1162, in runTask
response = (handler.run(),)
File "/usr/lib/python2.4/site-packages/koji/tasks.py", line 147, in run
return koji.util.call_with_argcheck(self.handler, self.params, self.opts)
File "/usr/lib/python2.4/site-packages/koji/util.py", line 139, in call_with_argcheck
return func(*args, **kwargs)
File "/usr/sbin/kojid", line 2156, in handler
kskoji = self.prepareKickstart(repo_info, target_info, arch, broot, opts)
File "/usr/sbin/kojid", line 2096, in prepareKickstart
outfile.write(str(self.ks.handler))
File "/usr/lib/python2.4/site-packages/pykickstart/base.py", line 284, in __str__
retval += obj.__str__()
File "/usr/lib/python2.4/site-packages/pykickstart/commands/network.py", line 176, in __str__
retval += nic.__str__()
File "/usr/lib/python2.4/site-packages/pykickstart/commands/network.py", line 89, in __str__
retval += "network %s\n" % self._getArgsAsStr()
File "/usr/lib/python2.4/site-packages/pykickstart/commands/network.py", line 139, in _getArgsAsStr
retval += " --ipv6" % self.ipv6
TypeError: not all arguments converted during string formatting
Version-Release number of selected component (if applicable):
How reproducible:
Always
This was fixed on master by 9daebe1425bab4bef1fcaf7b581507120a0aec68, so it's easy to cherry-pick.
Comment 3RHEL Program Management
2013-05-22 20:33:25 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release. Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.
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-1629.html
Description of problem: pykickstart throws a traceback when parsing a kickstart file with the following command: network --onboot yes --device eth0 --bootproto dhcp --ipv6 auto Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/koji/daemon.py", line 1162, in runTask response = (handler.run(),) File "/usr/lib/python2.4/site-packages/koji/tasks.py", line 147, in run return koji.util.call_with_argcheck(self.handler, self.params, self.opts) File "/usr/lib/python2.4/site-packages/koji/util.py", line 139, in call_with_argcheck return func(*args, **kwargs) File "/usr/sbin/kojid", line 2156, in handler kskoji = self.prepareKickstart(repo_info, target_info, arch, broot, opts) File "/usr/sbin/kojid", line 2096, in prepareKickstart outfile.write(str(self.ks.handler)) File "/usr/lib/python2.4/site-packages/pykickstart/base.py", line 284, in __str__ retval += obj.__str__() File "/usr/lib/python2.4/site-packages/pykickstart/commands/network.py", line 176, in __str__ retval += nic.__str__() File "/usr/lib/python2.4/site-packages/pykickstart/commands/network.py", line 89, in __str__ retval += "network %s\n" % self._getArgsAsStr() File "/usr/lib/python2.4/site-packages/pykickstart/commands/network.py", line 139, in _getArgsAsStr retval += " --ipv6" % self.ipv6 TypeError: not all arguments converted during string formatting Version-Release number of selected component (if applicable): How reproducible: Always