cannot use wild card in cinder list --display-name

Bug #1262604 reported by Dafna Ron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Opinion
Wishlist
Unassigned

Bug Description

I tried using --display-name in cinder list and output is empty.

example, I have several volumes:
[root@opens-vdsb ~(keystone_admin)]# cinder list
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| 3a888ac1-395a-4082-973e-139be9de97d9 | available | bla1 | 10 | bla | false | |
| 5fb0c74a-9540-4793-b386-d45ab5e4765a | available | blaaa | 11 | dafna | false | |
| fb596f0d-30ff-4f74-b68e-41d14b791d9b | available | bla | 10 | dafna | false | |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+

if I use:

cinder list --display-name bla we get the specific volume called bla:

[root@opens-vdsb ~(keystone_admin)]# cinder list --display-name bla
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
| fb596f0d-30ff-4f74-b68e-41d14b791d9b | available | bla | 10 | dafna | false | |
+--------------------------------------+-----------+--------------+------+-------------+----------+-------------+

but if I run cinder list --display-name bla* we do not get an output.

Version-Release number of selected component (if applicable):

openstack-cinder-2013.1.2-3.el6ost.noarch

How reproducible:

100%

Steps to Reproduce:
1. create several volumes
2. run 'cinder list --display-name' with wild card
3.

Actual results:

we do not get any output.

Expected results:

we should be able to use a wild card since its a basic search in linux.

Tags: api
Eric Harney (eharney)
Changed in cinder:
importance: Undecided → Wishlist
Mike Perez (thingee)
tags: added: api
Changed in cinder:
status: New → Opinion
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.