Status: New
Owner: ----

New issue 385 by [email protected]: "gnt-cluster modify --reserved-lvs" does not parse spaces correctly
http://code.google.com/p/ganeti/issues/detail?id=385

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

# gnt-cluster --version
gnt-cluster (ganeti v2.6.2) 2.6.2

# gnt-cluster version
Software version: 2.6.2
Internode protocol: 2060000
Configuration format: 2060000
OS api version: 20
Export interface: 0


What distribution are you using?

Debian squeeze

What steps will reproduce the problem?

Run
gnt-cluster modify --reserved-lvs="master_vg/root_lv, master_vg/usr_lv"

where "master_vg/root_lv, master_vg/usr_lv" is exactly the same string as reported by "gnt-cluster info"

What is the expected output?

#gnt-cluster info
...
  - lvm reserved volumes: master_vg/root_lv, master_vg/usr_lv,
...

What do you see instead?

#gnt-cluster info
...
  - lvm reserved volumes: master_vg/root_lv,  master_vg/usr_lv,
...

Note the double spaces!

And

# gnt-cluster verify

reports

Wed Feb 20 13:47:13 2013 - ERROR: node node1: volume master_vg/root_lv is unknown Wed Feb 20 13:47:13 2013 - ERROR: node node1: volume master_vg/usr_lv is unknown
...

# Additional info:

# gnt-cluster modify --reserved-lvs="master_vg/root_lv,master_vg/usr_lv"

(without spaces is ok)

--
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