Description of problem: Trying to (cold or not) move a disk from the CLI, relying on the TAB-TAB or by reading the docs, proves that this operation is not completely supported : ---- # action disk myDisk move --storagedomain-name mySD get() got an unexpected keyword argument 'name' ---- Juan Hernández gives this workaround : You can however use the same operation in the context of the VM : # action disk c6aab66a-b551-4cc5-8628-efe9622c0dce move --vm-identifier myvm --storage_domain-name mysd and I confirm this is working. The included doc is wrong, and so is the auto-completion. Version-Release number of selected component (if applicable): >> [oVirt shell (connected)]# info >> >> backend version: 3.4 >> sdk version : 3.4.4 >> cli version : 3.4.0.5 >> python version : 2.6.6.final.0 How reproducible: Always Steps to Reproduce: 1. Run an ovirt-shell 2. Try to move a disk following the command above 3. Cry Actual results: The disk is just staying there, calm. Expected results: The disk is moving towards the wanted storage domain. Additional info: See this thread : http://lists.ovirt.org/pipermail/users/2014-November/029623.html
The RSDL metadata should be fixed, then the SDKs need to be regenerated.
Daniel, can we fix the RSDL for 3.5.1?
I'm fixing it.
(In reply to Juan Hernández from comment #3) > I'm fixing it. Break in communication here, my bad. Thanks Juan!
I decided that it was simple enough for me to fix/verify, but only after assigning it to you. Sorry for the noise.
This is an automated message: This bug should be fixed in oVirt 3.5.1 RC1, moving to QA
oVirt 3.5.1 has been released. If problems still persist, please make note of it in this bug report.
this ovirt bug was fixed during 3.5.1 cycle and is included in the build, and therefore should be verified.
Yesterday I upgraded from 3.4.1 to 3.5.1, and tried to use the exact same command as the one which was failing when I opened this bug. It is working immediately. Thank you for this bug fix.
Hey Juan, I have executed several move operations, via rhevm shell using the syntax descripted at comment #1: action disk $NAME move --storagedomain-name $SD_NAME The good part is that it works fine, the mediocre part is that the parameter "--storagedomain-name" still does not appear as a valid 'TAB TAB completion' which could make it hard for our costumers to execute the right syntax, is it going to be merged?
Ori, what version of the Python SDK are you using? This was fixed in ovirt-engine-sdk-python-3.5.1.0, see bug 1169377.
the version was not correct, the py-sdk I was using was rhevm3.5.1 and this bug should be verified with ovirt3.5.1, sorry
Well to tell the truth I'm a little bit baffled here, what should be the right build to verify this bug Eyal?
verified on vt14.1: rhevm-sdk-python-3.5.2.0-1.el6ev.noarch