Multiple calls to lshost during attach operation

Bug #1913363 reported by Girish_IBM
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Girish_IBM

Bug Description

During attach operation there is a multiple calls to lshost, which causes delay during attach operation on Storwize SVC.

During attach or detach operation there is multiple lshost calls from "get_host_from_connector" to search for host on Storwize SVC, This lshost calls will increase based on number of hosts created on Storwize SVC.

Tags: attach volume
Girish_IBM (girishibm)
Changed in cinder:
assignee: nobody → Girish Chilukuri (girishchilukuri)
tags: added: attach volume
Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :

Hi Girish, do you mind to specify the backend you are using and some more detailed information about this.

Changed in cinder:
status: New → Incomplete
Girish_IBM (girishibm)
description: updated
Changed in cinder:
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/772623
Committed: https://opendev.org/openstack/cinder/commit/0dc4daa2140bd9d96c17269ceeef2758c678f7fd
Submitter: "Zuul (22348)"
Branch: master

commit 0dc4daa2140bd9d96c17269ceeef2758c678f7fd
Author: GirishChilukuri <email address hidden>
Date: Wed Jan 27 04:43:16 2021 +0000

    [SVF]:Fix multiple lshost calls during attach.

    [Spectrum Virtualize Family] During attach or detach operation
    there is multiple lshost calls from "get_host_from_connector",
    which is causing some delay during attach or detach operations.

    This patch fixes the issue by caching the host information during
    initialization and searching for host from the cached information.

    Closes-Bug: #1913363
    Change-Id: I73e58f8b0f4908e9fb097f7ce151a9178cf6b96f

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

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

Changed in cinder:
importance: Undecided → Medium
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.