Bug 1870635

Summary: udev: Process '/sbin/zfcpconf.sh' failed with exit code 1
Product: Red Hat Enterprise Linux 8 Reporter: Dan Horák <dhorak>
Component: s390utilsAssignee: Dan Horák <dhorak>
Status: CLOSED DUPLICATE QA Contact: Vilém Maršík <vmarsik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.3CC: bugproxy, dhorak, rvr, tstaudt
Target Milestone: rc   
Target Release: 8.4   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-30 08:57:41 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:
Bug Depends On:    
Bug Blocks: 1796871    

Description Dan Horák 2020-08-20 13:44:59 UTC
Under some conditions the zfcpconf.sh script fails, I believe it's when multipath is used. See bellow for journal content when booted with rd.udev.debug

[root@rock-kvmlp-fedora ~]# journalctl | grep zfcpconf
srp 20 07:48:37 rock-kvmlp-fedora.z14.bos.redhat.com systemd-udevd[446]: RUN '/sbin/zfcpconf.sh' /usr/lib/udev/rules.d/56-zfcp.rules:1
srp 20 07:48:37 rock-kvmlp-fedora.z14.bos.redhat.com systemd-udevd[459]: RUN '/sbin/zfcpconf.sh' /usr/lib/udev/rules.d/56-zfcp.rules:1
srp 20 07:48:37 rock-kvmlp-fedora.z14.bos.redhat.com [475]: starting '/sbin/zfcpconf.sh'
srp 20 07:48:37 rock-kvmlp-fedora.z14.bos.redhat.com [476]: starting '/sbin/zfcpconf.sh'
srp 20 07:48:37 rock-kvmlp-fedora.z14.bos.redhat.com systemd-udevd[459]: '/sbin/zfcpconf.sh'(err) '/sbin/zfcpconf.sh: line 50: echo: write error: Resource temporarily unavailable'
srp 20 07:48:37 rock-kvmlp-fedora.z14.bos.redhat.com systemd-udevd[459]: '/sbin/zfcpconf.sh'(err) '/sbin/zfcpconf.sh: line 52: /sys/bus/ccw/drivers/zfcp/0.0.3506/0x500507680b21ea4b/unit_add: No such file or directory'
srp 20 07:48:37 rock-kvmlp-fedora.z14.bos.redhat.com systemd-udevd[459]: '/sbin/zfcpconf.sh'(err) '/sbin/zfcpconf.sh: line 50: echo: write error: Resource temporarily unavailable'
srp 20 07:48:37 rock-kvmlp-fedora.z14.bos.redhat.com systemd-udevd[459]: '/sbin/zfcpconf.sh'(err) '/sbin/zfcpconf.sh: line 52: /sys/bus/ccw/drivers/zfcp/0.0.3506/0x500507680b21ea4a/unit_add: No such file or directory'
srp 20 07:48:37 rock-kvmlp-fedora.z14.bos.redhat.com systemd-udevd[459]: Process '/sbin/zfcpconf.sh' failed with exit code 1.
srp 20 07:48:39 rock-kvmlp-fedora.z14.bos.redhat.com systemd-udevd[446]: Process '/sbin/zfcpconf.sh' succeeded.
[root@rock-kvmlp-fedora ~]# cat /proc/cmdline
root=/dev/mapper/rhel_rock--kvmlp--fedora-root crashkernel=auto rd.lvm.lv=rhel_rock-kvmlp-fedora/root rd.zfcp=0.0.3506,0x500507680b21ea4b,0x0002000000000000 rd.zfcp=0.0.3506,0x500507680b21ea4a,0x0002000000000000 rd.lvm.lv=rhel_rock-kvmlp-fedora/swap cio_ignore=all,!condev rd.znet=qeth,0.0.1100,0.0.1101,0.0.1102,layer2=1,portno=0 rd.udev.debug 

There are 2 instances started, one succeeds, the other fails. The result (discovered and enabled disks) isn't affected by this behaviour.


Version-Release number of selected component (if applicable):
s390utils-2.6.0-30.el8.s390x

Comment 1 Dan Horák 2020-08-20 15:43:24 UTC
I suspect it can't be fixed with the current device initialization infra.

Comment 2 IBM Bug Proxy 2020-09-10 07:21:15 UTC
------- Comment From tstaudt.com 2020-09-10 03:16 EDT-------
for the records ... zfcpconf.sh is an addition to s390utils from Red Hat.

Comment 4 Dan Horák 2021-06-30 08:57:41 UTC

*** This bug has been marked as a duplicate of bug 1977434 ***