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

Bug #1238967 reported by Agustin Trolli on 2013-10-11
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Medium
Navneet
Havana
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: added: drivers netapp
Navneet (singn) on 2013-10-24
Changed in cinder:
assignee: nobody → Navneet (singn)

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

Changed in cinder:
status: New → In Progress

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
Max Tkach (maxtkach) wrote :

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

Thanks for the fix guys!
Max

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) on 2013-12-04
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Alan Pevec (apevec) on 2013-12-09
Changed in cinder:
importance: Undecided → Medium
tags: removed: in-stable-havana
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers