Report Port Quota Limit error to customer

Bug #2019846 reported by kiran pawar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
kiran pawar

Bug Description

When share server creation fails on share create, users get a very generic error 'Could not find an existing share server or allocate one on the share network provided'.

Often the reason is missing ports quota ('manila.exception.PortLimitExceeded: Maximum number of ports exceeded.' only visible in the logs, not visible to customers), where they could've helped themselves. Improve the user message in this scenario and tell about this missing quota.

Tags: quotas
kiran pawar (kpdev)
Changed in manila:
assignee: nobody → kiran pawar (kpdev)
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/c/openstack/manila/+/883243

Changed in manila:
status: New → In Progress
Vida Haririan (vhariria)
tags: added: quotas
Changed in manila:
milestone: none → bobcat-2
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/883243
Committed: https://opendev.org/openstack/manila/commit/a372e5309821720308d13d8b597be551769e8e4f
Submitter: "Zuul (22348)"
Branch: master

commit a372e5309821720308d13d8b597be551769e8e4f
Author: Kiran Pawar <email address hidden>
Date: Tue May 16 10:09:07 2023 +0000

    Report PortLimitExceeded error to customer

    When share creation fails due to missing ports quota (
    'manila.exception.PortLimitExceeded: Maximum number of ports
    exceeded.'), error message propogated to user is not useful.
    Improve user message in this scenario.

    Closes-bug: #2019846
    Change-Id: I1f010c4ff9faf837bd50b6c2823cbc526f3a42df

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

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/manila/+/885486

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

This issue was fixed in the openstack/manila 17.0.0.0rc1 release candidate.

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

Reviewed: https://review.opendev.org/c/openstack/manila/+/885486
Committed: https://opendev.org/openstack/manila/commit/e4099b0f0b27a8aad31c69f11c1db69bb703f3a0
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit e4099b0f0b27a8aad31c69f11c1db69bb703f3a0
Author: Kiran Pawar <email address hidden>
Date: Tue May 16 10:09:07 2023 +0000

    Report PortLimitExceeded error to customer

    When share creation fails due to missing ports quota (
    'manila.exception.PortLimitExceeded: Maximum number of ports
    exceeded.'), error message propogated to user is not useful.
    Improve user message in this scenario.

    Closes-bug: #2019846
    Change-Id: I1f010c4ff9faf837bd50b6c2823cbc526f3a42df
    (cherry picked from commit a372e5309821720308d13d8b597be551769e8e4f)

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

This issue was fixed in the openstack/manila 16.1.0 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.