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

Bug #1890375 reported by Sam Wan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
High
Sam Wan

Bug Description

The actual pool size is 999 GB.
But pool stats show the capacity in MB.
===========================================
manila pool-list --detail

+------------------------------------+---------------------------------+
| Property | Value |
+------------------------------------+---------------------------------+
| name | vnx-manila-vm1@london#openstack |
| pool_name | openstack |
| total_capacity_gb | 1023998.0 # This is in MB |
| free_capacity_gb | 599038.0 # This is in MB |
...
===========================================

Sam Wan (sam-wan)
summary: - DellEMC powermax manila driver returns wrong unit for capacity in pool
- stats
+ DellEMC vnx manila driver returns wrong unit for capacity in pool stats
Sam Wan (sam-wan)
Changed in manila:
assignee: nobody → Sam Wan (sam-wan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
status: New → In Progress
Sam Wan (sam-wan)
summary: - DellEMC vnx manila driver returns wrong unit for capacity in pool stats
+ DellEMC vnx manila driver returns wrong size for capacity in pool stats
Sam Wan (sam-wan)
tags: added: dell-emc manila vnx
Changed in manila:
importance: Undecided → Medium
importance: Medium → High
Tom Barron (tpb)
Changed in manila:
milestone: none → victoria-3
tags: added: drivers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/745608

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

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/745994

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

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/746429

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

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/746825

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

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/747599

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

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 9.1.5

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 10.0.2

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila queens-eol

This issue was fixed in the openstack/manila queens-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila rocky-eol

This issue was fixed in the openstack/manila rocky-eol release.

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.