commit d83a2289d582ad137017f9589c2e42e8d1543c13
Author: Luciano Lo Giudice <email address hidden>
Date: Tue Oct 26 19:08:07 2021 -0300
Fix QOS computation
It's possible for a volume's node name to be `None` (because an
API is not present, or the user doesn't have privileges, for example).
For these cases, computing the QOS name can lead to a TypeError, since
it needs to concatenate a prefix to the node name. This patchset fixes
this problem by returning an empty string for the QOS if the node name
is indeed None.
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/815560 /opendev. org/openstack/ cinder/ commit/ d83a2289d582ad1 37017f9589c2e42 e8d1543c13
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit d83a2289d582ad1 37017f9589c2e42 e8d1543c13
Author: Luciano Lo Giudice <email address hidden>
Date: Tue Oct 26 19:08:07 2021 -0300
Fix QOS computation
It's possible for a volume's node name to be `None` (because an
API is not present, or the user doesn't have privileges, for example).
For these cases, computing the QOS name can lead to a TypeError, since
it needs to concatenate a prefix to the node name. This patchset fixes
this problem by returning an empty string for the QOS if the node name
is indeed None.
Closes-Bug: #1948507 bc7be0fc8e3e084 21b2754d5a5
Change-Id: I16d7bf9fb023f3