Cinder IBM SVC driver always uses iscsi for addhost

Bug #1734736 reported by Margarita Shakhova
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

We are using SVC FC driver. This driver always deleted host when no more mappings exists. The host is authomatically created for the first mapping.

There is no option to use -fcwwpn in host creation, --iscsiname is used both for FC and ISCSI drivers:
https://github.com/openstack/cinder/blob/master/cinder/volume/drivers/ibm/storwize_svc/storwize_svc_common.py#L232

This leads to degraded host with two usable FC ports and one unusable ISCSI port.

Revision history for this message
Shrey Bhatnagar (shrey.bhatnagar) wrote :

Hi Shakhova,

I want to reproduce this issue.
Please, provide all steps and logs.

Thanks,
Shrey

Revision history for this message
Margarita Shakhova (shakhova-margarita) wrote :

Hi,

In order to reproduce this issue you need a test lab with FC connection only (no ISCSI) between hosts and storage.

The easiest way to reproduce:

1. delete all LUNs if they already exist on host so the host will be disconnected from storage, you will se a warning in the log indicating that no volumes mapped:
https://github.com/openstack/cinder/blob/master/cinder/volume/drivers/ibm/storwize_svc/storwize_svc_common.py#L1223

2. create a new LUN - for example, start a VM booted from volume on the host from 1.

3. Check on Storwize Web UI that the host is now in Degraded state, this is because it was connected via ISCSI port which is unavailable.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.