2021-05-19 14:11:56 |
wgxoyun |
bug |
|
|
added bug |
2021-05-19 14:39:18 |
wgxoyun |
description |
Test steps:
1. register a brocade 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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
3. continue to attach a data volume which type is v7k60, success:
from the volume-xxxx.log:
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
Expected result:
the origin ports in the created zone should not be totally replaced. |
Test steps:
1. register a brocade fabric 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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
3. continue to attach a data volume which type is v7k60, success:
from the volume-xxxx.log:
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
Expected result:
the origin ports in the created zone should not be totally replaced. |
|
2021-05-19 14:40:43 |
wgxoyun |
description |
Test steps:
1. register a brocade fabric 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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
3. continue to attach a data volume which type is v7k60, success:
from the volume-xxxx.log:
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
Expected result:
the origin ports in the created zone should not be totally replaced. |
Test steps:
1. register a brocade fabric 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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
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.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
Expected result:
the origin ports in the created zone should not be totally replaced. |
|
2021-05-19 14:47:53 |
wgxoyun |
description |
Test steps:
1. register a brocade fabric 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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
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.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
Expected result:
the origin ports in the created zone should not be totally replaced. |
Test steps:
1. register a brocade fabric 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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
from the guest vm:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
from the guest vm, the path to access to the attached ds8k volume is `failed faulty running`:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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
3600507640083826de0000000000058db dm-1 IBM ,2145
size=3.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| |- 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='service-time 0' prio=10 status=enabled
|- 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. |
|
2021-05-19 14:48:44 |
wgxoyun |
description |
Test steps:
1. register a brocade fabric 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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
from the guest vm:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
from the guest vm, the path to access to the attached ds8k volume is `failed faulty running`:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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
3600507640083826de0000000000058db dm-1 IBM ,2145
size=3.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| |- 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='service-time 0' prio=10 status=enabled
|- 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. |
Test steps:
1. register a brocade fabric 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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
from the guest vm:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
from the guest vm, the path to access to the attached ds8k volume is `failed faulty running`:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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
3600507640083826de0000000000058db dm-1 IBM ,2145
size=3.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| |- 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='service-time 0' prio=10 status=enabled
|- 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. |
|
2021-05-19 14:50:50 |
wgxoyun |
tags |
|
brocade zone |
|
2021-05-20 02:16:47 |
dyyang@cn.ibm.com |
description |
Test steps:
1. register a brocade fabric 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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
from the guest vm:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
from the guest vm, the path to access to the attached ds8k volume is `failed faulty running`:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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
3600507640083826de0000000000058db dm-1 IBM ,2145
size=3.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| |- 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='service-time 0' prio=10 status=enabled
|- 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. |
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/volume-xx.log:
```
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
```
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
from the guest vm:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
from the guest vm, the path to access to the attached ds8k volume is `failed faulty running`:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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
3600507640083826de0000000000058db dm-1 IBM ,2145
size=3.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| |- 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='service-time 0' prio=10 status=enabled
|- 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. |
|
2021-05-20 02:17:20 |
dyyang@cn.ibm.com |
tags |
brocade zone |
brocade fabric zoning |
|
2021-05-20 02:17:26 |
dyyang@cn.ibm.com |
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/volume-xx.log:
```
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
```
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
from the guest vm:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
from the guest vm, the path to access to the attached ds8k volume is `failed faulty running`:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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
3600507640083826de0000000000058db dm-1 IBM ,2145
size=3.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| |- 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='service-time 0' prio=10 status=enabled
|- 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. |
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/volume-xx.log:
2021-05-18 03:25:30.450 1491721 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-36d37687-abdf-4096-b703-f6eb0c7486c0 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:63:06:18:53:88', '50:05:07:63:06:13:53:88', '50:05:07:63:06:10:d3:88', '50:05:07:63:06:1b:53:88', '50:05:07:63:06:10:53:88', '50:05:07:63:06:08:53:88', '50:05:07:63:06:1b:d3:88', '50:05:07:63:06:18:93:88', '50:05:07:63:06:1b:13:88', '50:05:07:63:06:08:93:88', '50:05:07:63:06:03:13:88', '50:05:07:63:06:18:13:88', '50:05:07:63:06:08:13:88', '50:05:07:63:06:10:13:88']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:63:06:18:53:88;
50:05:07:63:06:13:53:88; 50:05:07:63:06:10:d3:88;
50:05:07:63:06:1b:53:88; 50:05:07:63:06:10:53:88;
50:05:07:63:06:08:53:88; 50:05:07:63:06:1b:d3:88;
50:05:07:63:06:18:93:88; 50:05:07:63:06:1b:13:88;
50:05:07:63:06:08:93:88; 50:05:07:63:06:03:13:88;
50:05:07:63:06:18:13:88; 50:05:07:63:06:08:13:88;
50:05:07:63:06:10:13:88
from the guest vm:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to create: {}
2021-05-18 03:33:54.630 1489056 INFO cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver [req-f815457f-31ed-4ed3-a0c4-788e260b2505 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 821697be3e434ed1965e9be2aef73be2 - default default] Zone map to update: {'openstackc05076de33000309': ['c0:50:76:de:33:00:03:09', '50:05:07:68:0b:23:ba:c7', '50:05:07:68:0b:21:ba:c7', '50:05:07:68:0b:24:ba:c7', '50:05:07:68:0b:21:ba:c6', '50:05:07:68:0b:24:ba:c6', '50:05:07:68:0b:23:ba:c6']}
from the fabric cmd:
fcsw60:FID128:admin_icic> zoneshow openstackc05076de33000309
zone: openstackc05076de33000309
c0:50:76:de:33:00:03:09; 50:05:07:68:0b:23:ba:c7;
50:05:07:68:0b:21:ba:c7; 50:05:07:68:0b:24:ba:c7;
50:05:07:68:0b:21:ba:c6; 50:05:07:68:0b:24:ba:c6;
50:05:07:68:0b:23:ba:c6
from the guest vm, the path to access to the attached ds8k volume is `failed faulty running`:
[root@rhel77-reproduce ~]# multipath -ll
36005076306ffd3880000000000001538 dm-0 IBM ,2107900
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
|- 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
3600507640083826de0000000000058db dm-1 IBM ,2145
size=3.0G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| |- 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='service-time 0' prio=10 status=enabled
|- 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. |
|
2021-05-26 13:54:58 |
Sofia Enriquez |
cinder: importance |
Undecided |
Medium |
|