Started zesty container with s390-tools 1.37.0-0ubuntu3. Reproduced the
problem using the simplified upstream test case:

$ chzdev -e -p zfcp-lun 0x0000:0x0000000000000000:0x0000000000000000
$ chzdev -e -p zfcp-lun 0x0000:0x0000000000000001:0x0000000000000000
$ chzdev -e -p zfcp-lun 0x0000:0x0000000000000000:0x0000000000000001

The generated rules were:

LABEL="start_zfcp_lun_0.0.0000"
SUBSYSTEM=="fc_remote_ports", ATTR{port_name}=="0x0000000000000000", 
GOTO="cfg_fc_0.0.0000_0x0000000000000000"
SUBSYSTEM=="fc_remote_ports", ATTR{port_name}=="0x0000000000000001", 
GOTO="cfg_fc_0.0.0000_0x0000000000000001"
SUBSYSTEM=="fc_remote_ports", ATTR{port_name}=="0x0000000000000000", 
GOTO="cfg_fc_0.0.0000_0x0000000000000000"
GOTO="end_zfcp_lun_0.0.0000"

LABEL="cfg_fc_0.0.0000_0x0000000000000000"
ATTR{[ccw/0.0.0000]0x0000000000000000/unit_add}="0x0000000000000000"
GOTO="end_zfcp_lun_0.0.0000"

LABEL="cfg_fc_0.0.0000_0x0000000000000001"
ATTR{[ccw/0.0.0000]0x0000000000000001/unit_add}="0x0000000000000000"
GOTO="end_zfcp_lun_0.0.0000"

LABEL="cfg_fc_0.0.0000_0x0000000000000000"
ATTR{[ccw/0.0.0000]0x0000000000000000/unit_add}="0x0000000000000001"
GOTO="end_zfcp_lun_0.0.0000"

LABEL="end_zfcp_lun_0.0.0000"

Observe how duplicate ..0 labels and goto end result in inability to
reach the unit_add}="0x0000000000000001" paragraph.

Upgraded to 1.37.0-0ubuntu3.1. Disabled all of these devices and re-
eneabled them.

$ chzdev -d -p zfcp-lun 0x0000:0x0000000000000000:0x0000000000000000
$ chzdev -d -p zfcp-lun 0x0000:0x0000000000000001:0x0000000000000000
$ chzdev -d -p zfcp-lun 0x0000:0x0000000000000000:0x0000000000000001
$ chzdev -e -p zfcp-lun 0x0000:0x0000000000000000:0x0000000000000000
$ chzdev -e -p zfcp-lun 0x0000:0x0000000000000001:0x0000000000000000
$ chzdev -e -p zfcp-lun 0x0000:0x0000000000000000:0x0000000000000001

The new rules combine the ...0 and ..1 devices under non-duplicate
label, thus all states are now reachable.

LABEL="start_zfcp_lun_0.0.0000"
SUBSYSTEM=="fc_remote_ports", ATTR{port_name}=="0x0000000000000000", 
GOTO="cfg_fc_0.0.0000_0x0000000000000000"
SUBSYSTEM=="fc_remote_ports", ATTR{port_name}=="0x0000000000000001", 
GOTO="cfg_fc_0.0.0000_0x0000000000000001"
GOTO="end_zfcp_lun_0.0.0000"

LABEL="cfg_fc_0.0.0000_0x0000000000000000"
ATTR{[ccw/0.0.0000]0x0000000000000000/unit_add}="0x0000000000000000"
ATTR{[ccw/0.0.0000]0x0000000000000000/unit_add}="0x0000000000000001"
GOTO="end_zfcp_lun_0.0.0000"

LABEL="cfg_fc_0.0.0000_0x0000000000000001"
ATTR{[ccw/0.0.0000]0x0000000000000001/unit_add}="0x0000000000000000"
GOTO="end_zfcp_lun_0.0.0000"

LABEL="end_zfcp_lun_0.0.0000"

zesty verification is done.

** Tags removed: verification-needed-zesty
** Tags added: verification-done-zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1683808

Title:
  fail to activate the second DS8K fcp device permanently

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1683808/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to