netapp_pool_name_search_pattern doesn't accept regex

Bug #1931629 reported by Jonathan Williams
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Medium
Unassigned

Bug Description

This is an issue observed with:

* Cinder
* Multiple versions of Openstack from Stein to Train

When filtering available pools using 'netapp_pool_name_search_pattern' in cinder.conf, you're limited on what you can actually use as it doesn't seem that regex pattern matching works. The
documentation indicates that regular expressions are supported.

What works is:
netapp_pool_name_search_pattern=(openstack_iscsi_backing_01)
netapp_pool_name_search_pattern=(openstack_iscsi_backing_01|openstack_iscsi_backing_02| openstack_iscsi_backing_03)

You have to specify the exact 'pool_name' as reported by cinder get-pools --detail.

What does not work:
netapp_pool_name_search_pattern=(openstack)
netapp_pool_name_search_pattern=(openstack_*)

I've been able to reproduce this in my lab environments and I've had a couple of customers
generate cases for this issue.

Changed in cinder:
importance: Undecided → Medium
tags: added: netapp pool regex stein train
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.