attach volumes from different SP to a single vm, the zone ports will be replaced
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Medium
|
Unassigned |
Bug Description
Test steps:
1. enable Openstack brocade fabric zoning driver with rest_https protocol and initiator zoning_policy
2. attach a data volume which type is ds8k to a guest vm, success.
from the cinder/
2021-05-18 03:25:30.450 1491721 INFO cinder.
from the fabric cmd:
fcsw60:
zone: openstackc05076
c0:50:
50:05:
50:05:
50:05:
50:05:
50:05:
50:05:
50:05:
from the guest vm:
[root@rhel77-
36005076306ffd3
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy=
|- 0:0:0:1077428245 sda 8:0 active ready running
|- 0:0:2:1077428245 sdb 8:16 active ready running
|- 0:0:3:1077428245 sdc 8:32 active ready running
|- 0:0:4:1077428245 sdd 8:48 active ready running
|- 0:0:5:1077428245 sde 8:64 active ready running
|- 0:0:6:1077428245 sdf 8:80 active ready running
|- 0:0:9:1077428245 sdg 8:96 active ready running
|- 1:0:3:1077428245 sdi 8:128 active ready running
|- 1:0:4:1077428245 sdj 8:144 active ready running
|- 1:0:5:1077428245 sdk 8:160 active ready running
|- 1:0:6:1077428245 sdl 8:176 active ready running
|- 1:0:7:1077428245 sdm 8:192 active ready running
`- 1:0:8:1077428245 sdn 8:208 active ready running
3. continue to attach a data volume which type is v7k60, success, but the origin ports in the created zone have been totally replaced:
from the volume-xxxx.log:
2021-05-18 03:33:54.630 1489056 INFO cinder.
2021-05-18 03:33:54.630 1489056 INFO cinder.
from the fabric cmd:
fcsw60:
zone: openstackc05076
c0:50:
50:05:
50:05:
50:05:
from the guest vm, the path to access to the attached ds8k volume is `failed faulty running`:
[root@rhel77-
36005076306ffd3
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy=
|- 0:0:0:1077428245 sda 8:0 failed faulty running
|- 0:0:2:1077428245 sdb 8:16 failed faulty running <<<<<
|- 0:0:3:1077428245 sdc 8:32 failed faulty running
|- 0:0:4:1077428245 sdd 8:48 active ready running
|- 0:0:5:1077428245 sde 8:64 failed faulty running
|- 0:0:6:1077428245 sdf 8:80 failed faulty running
|- 0:0:9:1077428245 sdg 8:96 failed faulty running
|- 1:0:3:1077428245 sdi 8:128 failed faulty running
|- 1:0:4:1077428245 sdj 8:144 failed faulty running
|- 1:0:5:1077428245 sdk 8:160 failed faulty running
|- 1:0:6:1077428245 sdl 8:176 failed faulty running
|- 1:0:7:1077428245 sdm 8:192 failed faulty running
`- 1:0:8:1077428245 sdn 8:208 failed faulty running
360050764008382
size=3.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy=
| |- 0:0:8:0 sdp 8:240 active ready running
| |- 1:0:9:0 sdq 65:0 active ready running
| |- 0:0:15:0 sdu 65:64 active ready running
| |- 0:0:14:0 sdt 65:48 active ready running
| |- 1:0:14:0 sdx 65:112 active ready running
| `- 1:0:16:0 sdz 65:144 active ready running
`-+- policy=
|- 0:0:7:0 sdo 8:224 active ready running
|- 1:0:10:0 sdr 65:16 active ready running
|- 0:0:13:0 sds 65:32 active ready running
|- 0:0:16:0 sdv 65:80 active ready running
|- 1:0:13:0 sdw 65:96 active ready running
`- 1:0:15:0 sdy 65:128 active ready running
Expected result:
the origin ports in the created zone should not be totally replaced.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: brocade zone |
description: | updated |
tags: |
added: fabric zoning removed: zone |
description: | updated |
Greetings wgxoyun,
what cinder version are you using?
Thanks,
Sofia