Status: Accepted
Owner: ----
Labels: Milestone-Release2.10 Priority-Critical
New issue 779 by [email protected]: ExtStorage broken in 2.10
http://code.google.com/p/ganeti/issues/detail?id=779
ExtStorage is currently broken in 2.10, with the arbitrary arguments not
passing validation:
$ gnt-instance add --disk-template ext
--disk=0:size=15G,provider=3par,param1="full" --os-type debootstrap+default
--hypervisor-parameters kvm:initrd_path=,kernel_path=
--net 0:link=cmstest lintest42
2014-03-26 14:28:58,937: ganeti-masterd pid=4354/Jq8/Job41095 INFO Op 1/1:
opcode INSTANCE_CREATE(lintest42) waiting for locks
2014-03-26 14:28:58,939: ganeti-masterd pid=4354/Jq8/Job41095/I_CREATE
ERROR OpCode OP_INSTANCE_CREATE, parameter disks, has invalid type
<type 'list'>/value '[{'size':
15360, 'param1': 'full', 'provider': '3par'}]' expecting type List of
(Dictionary with keys of (OneOf name, vg, adopt, spindles, mode, provider,
metavg, size) and values of
(NonEmptyString or Integer) [Disk parameters])
2014-03-26 14:28:58,939: ganeti-masterd pid=4354/ClientReq2 INFO Received
job poll request for 41095
2014-03-26 14:28:58,939: ganeti-masterd pid=4354/Jq8/Job41095 ERROR Op 1/1:
Caught exception in INSTANCE_CREATE(lintest42)
Traceback (most recent call last):
File "/usr/share/ganeti/2.10/ganeti/jqueue.py", line 1121, in
_ExecOpCodeUnlocked
timeout=timeout)
File "/usr/share/ganeti/2.10/ganeti/jqueue.py", line 1432, in
_WrapExecOpCode
return execop_fn(op, *args, **kwargs)
File "/usr/share/ganeti/2.10/ganeti/mcpu.py", line 528, in ExecOpCode
lu = lu_class(self, op, self.context, self.rpc)
File "/usr/share/ganeti/2.10/ganeti/cmdlib/base.py", line 122, in __init__
self.op.Validate(True)
File "/usr/share/ganeti/2.10/ganeti/opcodes_base.py", line 247, in
Validate
errors.ECODE_INVAL)
OpPrereqError: ("Parameter 'OP_INSTANCE_CREATE.disks' fails
validation", 'wrong_input')
2014-03-26 14:28:58,949: ganeti-masterd pid=4354/Jq8/Job41095 INFO Finished
job 41095, status = error
See Debian bug #742699: http://bugs.debian.org/742699
It looks a lot like what 2e09344f461245c0b7f25cf7da51ab386a0807ae fixed for
2.11.
--
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