[storwize] Driver Initialization error w.r.t default portset

Bug #1982078 reported by Mounika Sreeram
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Harsh Ailani

Bug Description

Driver initialization failed with the below error:
ERROR cinder.volume.manager cinder.exception.InvalidInput: Invalid input received: The storage device does not support iSCSI. Please configure the device to support iSCSI or switch to a driver using a different protocol.

Steps to reproduce:
1. Added storwize_portset=<portset> in cinder.conf
2. Restart the cinder services

Harsh Ailani (haailani)
Changed in cinder:
assignee: nobody → Harsh Ailani (haailani)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/850310

Changed in cinder:
status: New → In Progress
Revision history for this message
Harsh Ailani (haailani) wrote : Re: Driver Initialization error w.r.t default portset

Bug Analysis:
During initialization add_iscsi_ip_addrs() is by default taking the portset value as portset0
But if the portset0 is not defined or is not supposed to be used, it will throw error in driver initialization

Need to fix the code to fetch the storwize_portset value from cinder.conf during intialization. If it is not defined, only then take portset0 during initialization.

tags: added: drivers storwize
summary: - Driver Initialization error w.r.t default portset
+ [storwize] Driver Initialization error w.r.t default portset
Changed in cinder:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/850310
Committed: https://opendev.org/openstack/cinder/commit/374efd15798beefbf95754d7950e782a53f88553
Submitter: "Zuul (22348)"
Branch: master

commit 374efd15798beefbf95754d7950e782a53f88553
Author: haailani <email address hidden>
Date: Tue Jul 19 09:51:13 2022 +0000

    [SVf]: Incorrect portset value during driver intialization

    [Spectrum Virtualize family] During initialization
    by default taking the portset value is set to portset0,
    even when a different portset is defined in the cinder.conf

    During initialization, if the portset is not defined in cinder.conf,
    only then it should pick portset0. Otherwise it should pick the value
    from cinder.conf

    Closes-Bug: #1982078
    Change-Id: I1519b23a44ca8e86c2a969353f275a711d51454f

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 21.0.0.0rc1

This issue was fixed in the openstack/cinder 21.0.0.0rc1 release candidate.

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.