Bug 1748443

Summary: Python struct.error for fence-agents-zvm-4.2.1-29.el8.noarch
Product: Red Hat Enterprise Linux 8 Reporter: Chris Mackowski <cmackows>
Component: fence-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: Chris Mackowski <cmackows>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: anprice, cfeist, cluster-maint, wchadwic
Target Milestone: rc   
Target Release: 8.0   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: fence-agents-4.2.1-30.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 20:42:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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