Red Hat Bugzilla – Bug 1254001
[vdsm] PrepareImage manual execution using vdsClient, without a mandatory argument fails with 'Unexpected exception'
Last modified: 2016-03-28 11:00:10 EDT
Created attachment 1063518 [details]
Description of problem:
Tried to perform prepareImage using vdsClient, without volume UUID which is now mandatory as fixed by https://gerrit.ovirt.org/#/c/38440/
The operation failed with an ugly error message - 'Unexpected exception'.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have a VM with a disk located on a block domain. Don't start the VM
2. Perform prepareImage using vdsClient, don't give it volume UUID:
vdsClient -s 0 prepareImage `vdsClient -s 0 getConnectedStoragePoolsList` 1e3f4f8d-26bb-4612-8610-bf670f1b274e a862bd11-c492-4925-9c87-8fefd36fd018
[root@green-vdsc ~]# vdsClient -s 0 prepareImage `vdsClient -s 0 getConnectedStoragePoolsList` 1e3f4f8d-26bb-4612-8610-bf670f1b274e a862bd11-c492-4925-9c87-8fefd36fd018
Thread-8321::ERROR::2015-08-16 15:13:31,404::bindingxmlrpc::330::vds::(wrapper) Unexpected exception
Traceback (most recent call last):
File "/usr/share/vdsm/rpc/bindingxmlrpc.py", line 328, in wrapper
return f(*args, **kwargs)
TypeError: imagePrepare() takes exactly 5 arguments (4 given)
Thread-8321::INFO::2015-08-16 15:13:31,406::xmlrpc::92::vds.XMLRPCServer::(_process_requests) Request handler for 127.0.0.1:50031 stopped
The error should be informative.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to
- 3.6.1 if severity >= high
- 4.0 if severity < high
We aren't going to devote resources to vdsClient, closing.