DellEMC unity manila driver returns wrong size for capacity in pool stats

Bug #1890376 reported by Sam Wan on 2020-08-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
High
Sam Wan

Bug Description

The actual pool size is 2197 GB.
But pool stats show the capacity in bytes
======================================================
 manila pool-list --detail
+------------------------------------+------------------------------+
| Property | Value |
+------------------------------------+------------------------------+
| name | e2e-l4-225139@london#cipool2 |
| pool_name | cipool2 |
| thin_provisioning | True |
| total_capacity_gb | 2359010787328.0 |
| free_capacity_gb | 982161006592.0 |
| allocated_capacity_gb | 1376849780736.0 |
| provisioned_capacity_gb | 4117013880832.0 |
========================================================================

Sam Wan (sam-wan) on 2020-08-05
Changed in manila:
assignee: nobody → Sam Wan (sam-wan)

Fix proposed to branch: master
Review: https://review.opendev.org/744850

Changed in manila:
status: New → In Progress
Sam Wan (sam-wan) on 2020-08-05
summary: - DellEMC unity manila driver returns wrong unit for capacity in pool
+ DellEMC unity manila driver returns wrong size for capacity in pool
stats
Sam Wan (sam-wan) on 2020-08-05
tags: added: dell-emc manila unity
Changed in manila:
importance: Undecided → High
Tom Barron (tpb) on 2020-08-06
tags: added: drivers
Changed in manila:
milestone: none → victoria-3

Reviewed: https://review.opendev.org/744850
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=53f756d0650a815cbb9eeac2fa7bcfa2334c674a
Submitter: Zuul
Branch: master

commit 53f756d0650a815cbb9eeac2fa7bcfa2334c674a
Author: Sam Wan <email address hidden>
Date: Wed Aug 5 04:06:08 2020 -0400

    Fix wrong capacity in pool_stat for DellEMC manila drivers.

    DellEMC manila drivers have bugs in returning capacity in pool_stat.
    The current powermax/vnx manila return size in MB and unity manila
    returns size in bytes.

    Change-Id: I1a2c28548d02eee6632313a41a5c4d8ab6ad9532
    Closes-bug: #1890372
    Closes-bug: #1890375
    Closes-bug: #1890376

Changed in manila:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/745608
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=ba00d1b9abe79a6569544f1b1f7f1587645f76c3
Submitter: Zuul
Branch: stable/ussuri

commit ba00d1b9abe79a6569544f1b1f7f1587645f76c3
Author: Sam Wan <email address hidden>
Date: Wed Aug 5 04:06:08 2020 -0400

    Fix wrong capacity in pool_stat for DellEMC manila drivers.

    DellEMC manila drivers have bugs in returning capacity in pool_stat.
    The current powermax/vnx manila return size in MB and unity manila
    returns size in bytes.

    Change-Id: I1a2c28548d02eee6632313a41a5c4d8ab6ad9532
    Closes-bug: #1890372
    Closes-bug: #1890375
    Closes-bug: #1890376
    (cherry picked from commit 53f756d0650a815cbb9eeac2fa7bcfa2334c674a)

tags: added: in-stable-ussuri

Reviewed: https://review.opendev.org/745994
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=a6e3474d31785577b0872bfb67ba6a216d6ecf73
Submitter: Zuul
Branch: stable/train

commit a6e3474d31785577b0872bfb67ba6a216d6ecf73
Author: Sam Wan <email address hidden>
Date: Wed Aug 5 04:06:08 2020 -0400

    Fix wrong capacity in pool_stat for DellEMC manila drivers.

    DellEMC manila drivers have bugs in returning capacity in pool_stat.
    The current powermax/vnx manila return size in MB and unity manila
    returns size in bytes.

    Change-Id: I1a2c28548d02eee6632313a41a5c4d8ab6ad9532
    Closes-bug: #1890372
    Closes-bug: #1890375
    Closes-bug: #1890376
    (cherry picked from commit 53f756d0650a815cbb9eeac2fa7bcfa2334c674a)
    (cherry picked from commit ba00d1b9abe79a6569544f1b1f7f1587645f76c3)

tags: added: in-stable-train

Reviewed: https://review.opendev.org/746429
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=184f2a6817387cfd9d1d913e5f0cfe2fcf927e81
Submitter: Zuul
Branch: stable/stein

commit 184f2a6817387cfd9d1d913e5f0cfe2fcf927e81
Author: Sam Wan <email address hidden>
Date: Wed Aug 5 04:06:08 2020 -0400

    Fix wrong capacity in pool_stat for DellEMC manila drivers.

    DellEMC manila drivers have bugs in returning capacity in pool_stat.
    The current powermax/vnx manila return size in MB and unity manila
    returns size in bytes.

    Change-Id: I1a2c28548d02eee6632313a41a5c4d8ab6ad9532
    Closes-bug: #1890372
    Closes-bug: #1890375
    Closes-bug: #1890376
    (cherry picked from commit 53f756d0650a815cbb9eeac2fa7bcfa2334c674a)
    (cherry picked from commit ba00d1b9abe79a6569544f1b1f7f1587645f76c3)
    (cherry picked from commit a6e3474d31785577b0872bfb67ba6a216d6ecf73)

tags: added: in-stable-stein

Reviewed: https://review.opendev.org/746825
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=2f1bfb6ae9750458cbb938baf0125cf2d7a53723
Submitter: Zuul
Branch: stable/rocky

commit 2f1bfb6ae9750458cbb938baf0125cf2d7a53723
Author: Sam Wan <email address hidden>
Date: Wed Aug 5 04:06:08 2020 -0400

    Fix wrong capacity in pool_stat for DellEMC manila drivers.

    DellEMC manila drivers have bugs in returning capacity in pool_stat.
    The current powermax/vnx manila return size in MB and unity manila
    returns size in bytes.

    Change-Id: I1a2c28548d02eee6632313a41a5c4d8ab6ad9532
    Closes-bug: #1890372
    Closes-bug: #1890375
    Closes-bug: #1890376
    (cherry picked from commit 53f756d0650a815cbb9eeac2fa7bcfa2334c674a)
    (cherry picked from commit ba00d1b9abe79a6569544f1b1f7f1587645f76c3)
    (cherry picked from commit a6e3474d31785577b0872bfb67ba6a216d6ecf73)
    (cherry picked from commit 184f2a6817387cfd9d1d913e5f0cfe2fcf927e81)

tags: added: in-stable-rocky

Reviewed: https://review.opendev.org/747599
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=b0d1ac3a96868576942b79c385595675570ef2e5
Submitter: Zuul
Branch: stable/queens

commit b0d1ac3a96868576942b79c385595675570ef2e5
Author: Sam Wan <email address hidden>
Date: Wed Aug 5 04:06:08 2020 -0400

    Fix wrong capacity in pool_stat for DellEMC manila drivers.

    DellEMC manila drivers have bugs in returning capacity in pool_stat.
    The current powermax/vnx manila return size in MB and unity manila
    returns size in bytes.

    Change-Id: I1a2c28548d02eee6632313a41a5c4d8ab6ad9532
    Closes-bug: #1890372
    Closes-bug: #1890375
    Closes-bug: #1890376
    (cherry picked from commit 53f756d0650a815cbb9eeac2fa7bcfa2334c674a)
    (cherry picked from commit ba00d1b9abe79a6569544f1b1f7f1587645f76c3)
    (cherry picked from commit a6e3474d31785577b0872bfb67ba6a216d6ecf73)
    (cherry picked from commit 184f2a6817387cfd9d1d913e5f0cfe2fcf927e81)
    (cherry picked from commit 2f1bfb6ae9750458cbb938baf0125cf2d7a53723)

tags: added: in-stable-queens

This issue was fixed in the openstack/manila 9.1.5 release.

This issue was fixed in the openstack/manila 10.0.2 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers