Status: New
Owner: ----

New issue 1069 by [email protected]: adding a disk of type blockdev should not need size parameter
https://code.google.com/p/ganeti/issues/detail?id=1069

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

# gnt-cluster --version
gnt-cluster (ganeti v2.14.0beta1) 2.14.0~beta1

# gnt-cluster version
Software version: 2.14.0~beta1
Internode protocol: 2140000
Configuration format: 2140000
OS api version: 20
Export interface: 0
VCS version: (ganeti) version v2.14.0beta1

# hspace --version
hspace (ganeti) version v2.14.0beta1
compiled with ghc 7.6
running on linux x86_64

What distribution are you using?

# cat /etc/*release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3

What steps will reproduce the problem?

1. create a instance with disk template blockdev
2. add a new disk: gnt-instance modify --disk add:name=data,adopt=/dev/disk/by-id/my_disk instance.local

What is the expected output? What do you see instead?

the command in 2) returns:
Failure: prerequisites not met for this operation:
error type: wrong_input, error details:
Missing required parameter 'size'

Because blockdev can just adopt a device, the size parameter is not mandatory. A workaround is to specify any size and fix later by "gnt-cluster repair-disk-sizes"

Thanks, Sascha.

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