regex in cinder_type provider fails on properties with characters not in \w
Bug #1932272 reported by
Ebbex
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-cinder |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The fix introduced in https:/
Changed in puppet-cinder: | |
status: | New → In Progress |
Changed in puppet-cinder: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /puppet- cinder/ +/796409 /opendev. org/openstack/ puppet- cinder/ commit/ 62899eba67f134a 92fb863b5a9b6dc fc3e18aa56
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 62899eba67f134a 92fb863b5a9b6dc fc3e18aa56
Author: Erik Berg <email address hidden>
Date: Tue Jun 15 11:10:57 2021 +0200
Allow for '-' in volume type property values
There's no validation going on (yet) in cinder as to which characters
are allowed in properties. So this change alters the regex to cast a
wide net catching '-' and other possible valid variations.
Also update unit-test to cover this scenario.
Closes-Bug: #1932272 83136b98ed46e09 e373a9ad6de
Change-Id: I564528663a3d2f