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.
Bug 1748443 - Python struct.error for fence-agents-zvm-4.2.1-29.el8.noarch
Summary: Python struct.error for fence-agents-zvm-4.2.1-29.el8.noarch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: fence-agents
Version: 8.1
Hardware: s390x
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Oyvind Albrigtsen
QA Contact: Chris Mackowski
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-03 15:15 UTC by Chris Mackowski
Modified: 2020-11-14 05:56 UTC (History)
4 users (show)

Fixed In Version: fence-agents-4.2.1-30.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 20:42:13 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ClusterLabs fence-agents pull 293 0 'None' closed fence_zvmip: fix Python 3 issues 2020-05-21 18:32:09 UTC
Red Hat Product Errata RHBA-2019:3326 0 None None None 2019-11-05 20:42:16 UTC

Description Chris Mackowski 2019-09-03 15:15:50 UTC
[root@qec04m01 ~]# uname -a
Linux qec04m01.s390.bos.redhat.com 4.18.0-137.el8.s390x #1 SMP Thu Aug 22 15:47:29 UTC 2019 s390x s390x s390x GNU/Linux

[root@qec04m01 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.1 Beta (Ootpa)

[root@qec04m01 ~]# rpm -q fence-agents-zvm
fence-agents-zvm-4.2.1-29.el8.noarch


[root@qec04m01 ~]# fence_zvmip -a HC1SSI03.s390.bos.redhat.com -l maint -p XXXXXXX -o list -v
Traceback (most recent call last):
  File "/usr/sbin/fence_zvmip", line 190, in <module>
    main()
  File "/usr/sbin/fence_zvmip", line 186, in main
    result = fence_action(None, options, set_power_status, get_power_status, get_power_status)
  File "/usr/share/fence/fencing.py", line 861, in fence_action
    outlets = get_outlet_list(connection, options)
  File "/usr/sbin/fence_zvmip", line 74, in get_power_status
    get_list_of_images(options, "Image_Status_Query", options["--plug"])
  File "/usr/sbin/fence_zvmip", line 116, in get_list_of_images
    packet = prepare_smapi_command(options, command, [data_as_plug])
  File "/usr/sbin/fence_zvmip", line 48, in prepare_smapi_command
    command += smapi_pack_string(smapi_function)
  File "/usr/sbin/fence_zvmip", line 40, in smapi_pack_string
    return struct.pack("!i%ds" % (len(string)), len(string), string)
struct.error: argument for 's' must be a bytes object

Comment 8 errata-xmlrpc 2019-11-05 20:42:13 UTC
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.

https://access.redhat.com/errata/RHBA-2019:3326


Note You need to log in before you can comment on or make changes to this bug.