Storwize SVC driver takes too long time to initialize

Bug #1749687 reported by Margarita Shakhova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Margarita Shakhova

Bug Description

When we restart cinder-volume service initialization takes too long time (up to 10-15 mintues in case of 300+ LUNs on storage). This is because of ensure_export is called for each volume in 'attached' state and performs a separate lsvdisk request for each LUN.
At the same time cinder-volume service is ready to perform other RPC requests e.g. volume creation/deletion. All such requests are failed.

tags: added: drivers storwize
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/546489

Changed in cinder:
assignee: nobody → Margarita Shakhova (shakhova-margarita)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/546489
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d5f79c52d886e962e1e42af4d892b35eec5bb81f
Submitter: Zuul
Branch: master

commit d5f79c52d886e962e1e42af4d892b35eec5bb81f
Author: Margarita Shakhova <email address hidden>
Date: Wed Feb 21 07:50:47 2018 +0300

    Storwize: get list of all volumes for ensure_export.

    This patch solves the problem of too slow initialization of
    cinder-volume service.
    Previously lsvdisk() was called separately for each 'in-use' volume
    in order to check if the volume exists on the storage.
    Now lsvdisk() is called once per pool.

    Change-Id: Ia84afc12a30ea7b714b287844e81ba02ce4b0f3d
    Closes-Bug: #1749687

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

This issue was fixed in the openstack/cinder 13.0.0.0b3 development milestone.

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.