HPE 3par - Unable to use small QoS Latency value (less than 1)

Bug #2018994 reported by Raghavendra Tilay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Raghavendra Tilay

Bug Description

Suppose QoS Latency is created with value as 0.1

cinder qos-list
+--------------------------------------+--------+----------+--------------------+
| ID | Name | Consumer | specs |
+--------------------------------------+--------+----------+--------------------+
| fdd424ae-0934-4016-9f33-ee43e8caebfb | qos_01 | back-end | {'latency': '0.1'} |
+--------------------------------------+--------+----------+--------------------+

Then during create volume, below error occurs:

ERROR cinder.volume.drivers.hpe.hpe_3par_common [None req-da3a6a66-09b7-4b66-91bd-cb15a9b5116e admin None]
Exception: invalid literal for int() with base 10: '0.1'

Code changes are required to support small QoS Latency values.

Tags: drivers hpe qos
Changed in cinder:
assignee: nobody → Raghavendra Tilay (raghavendrat)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/882266

Changed in cinder:
status: New → In Progress
Changed in cinder:
importance: Undecided → Low
tags: added: drivers hpe
tags: added: qos
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/882266
Committed: https://opendev.org/openstack/cinder/commit/5546b135974491fd331bd0629d28f81262cdd3de
Submitter: "Zuul (22348)"
Branch: master

commit 5546b135974491fd331bd0629d28f81262cdd3de
Author: raghavendrat <email address hidden>
Date: Tue May 9 12:06:52 2023 +0000

    HPE 3PAR: Fix to use small QoS Latency value

    If QoS Latency is created with small value (less than 1; eg 0.1),
    then during create volume, below error occurs:

    Exception: invalid literal for int() with base 10: '0.1'

    This patch is submitted to handle small QoS Latency values.

    Closes-Bug: #2018994
    Change-Id: I09cc3986a7be614f8870f3712eb05b5adfed2425

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 23.0.0.0rc1

This issue was fixed in the openstack/cinder 23.0.0.0rc1 release candidate.

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.