Broken NetAppDirect7modeISCSIDriver reports incorrect free capacity, scheduler won't balance between multiple Netapp backends

Bug #1238967 reported by Agustin Trolli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Navneet
Havana
Fix Released
Medium
Navneet

Bug Description

The driver is broken, reporting incorrectly the backends free capacities, as an infinite resource.

This causes two main problems:
- the scheduler always chooses the same netapp backend, and isn´t making any balance between the different backends.

- If the first storage backend has no real free capacity, the driver chooses it anyway, therefore after 3 schedule attemps, the volume creation stops with an error.

Is it possible to fix the driver, in order to report the real backends free capacity, so the scheduler balances the volume creation?

We can attach some log if is necessary.
Thanks in advance.

Agustin.

Tags: drivers netapp
tags: added: drivers netapp
Navneet (singn)
Changed in cinder:
assignee: nobody → Navneet (singn)
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/53642

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

Reviewed: https://review.openstack.org/53642
Committed: http://github.com/openstack/cinder/commit/e4bde7adda4e885fe847e0bacc4d3fc84547e723
Submitter: Jenkins
Branch: master

commit e4bde7adda4e885fe847e0bacc4d3fc84547e723
Author: Navneet Singh <email address hidden>
Date: Mon Oct 21 04:04:32 2013 +0530

    NetApp fix for 7mode iscsi volume stats

    This fixes the bug for reporting correct
    capacity information in case of 7mode
    iscsi drivers.

    Change-Id: Ie41009eca866830173809211d58470025be847e3
    Closes-Bug: #1238967

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/53914

Revision history for this message
Max Tkach (maxtkach) wrote :

We tried this and it's working without any issues on stable/havana.

Thanks for the fix guys!
Max

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/havana)

Reviewed: https://review.openstack.org/53914
Committed: http://github.com/openstack/cinder/commit/553a921e84c8fa55315d2b552ac891d5cda7548d
Submitter: Jenkins
Branch: stable/havana

commit 553a921e84c8fa55315d2b552ac891d5cda7548d
Author: Navneet Singh <email address hidden>
Date: Mon Oct 21 04:04:32 2013 +0530

    NetApp fix for 7mode iscsi volume stats

    This fixes the bug for reporting correct
    capacity information in case of 7mode
    iscsi drivers.

    Change-Id: Ie41009eca866830173809211d58470025be847e3
    Closes-Bug: #1238967
    (cherry picked from commit e4bde7adda4e885fe847e0bacc4d3fc84547e723)

tags: added: in-stable-havana
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Alan Pevec (apevec)
Changed in cinder:
importance: Undecided → Medium
tags: removed: in-stable-havana
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-1 → 2014.1
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.