Status: New
Owner: ----

New issue 910 by [email protected]: Wrong bash completion for entities with UUIDs
http://code.google.com/p/ganeti/issues/detail?id=910

What software version are you running? Please provide the output of "gnt-
cluster --version", "gnt-cluster version", and "hspace --version".

Tested on 2.9.3 and 2.10.5 from debian backports. Some custom patches (nothing related to bash completion or the gnt-* utils)


What steps will reproduce the problem?
1.gnt-network list <TAB>
ena.test.gnt.grnet.gr:~# gnt-network list
47b7af37-c876-43e3-a464-3fb7faed5d6f  vlan992

2.gnt-network list <UUID>
ena.test.gnt.grnet.gr:~# gnt-network list 47b7af37-c876-43e3-a464-3fb7faed5d6f
Network Subnet Gateway MacPrefix GroupList Tags

What is the expected output? What do you see instead?
Ganeti recognises the UUID (doesn't raise an unknown_entity error) but displays it as empty. It should match the uuid to the name and display the correct answer.

Or if the UUIDs are not supposed to be used instead of the display names the bash_completion file should only use the second column of the ssconf_* files.


Please provide any additional information below.
This applies to gnt-group and gnt-network. gnt-node and gnt-instance complete only the names.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to