Hide Forgot
Description of problem: when running the following command: vdsClient -s 0 discoverST host: i get: [root@rhev-a24c-01 ~]# vdsClient -s 0 discoverST 10.35.65.25: ---- fullTargets Traceback (most recent call last): File "/usr/share/vdsm/vdsClient.py", line 1987, in <module> code, message = commands[command][0](commandArgs) File "/usr/share/vdsm/vdsClient.py", line 549, in discoverST for target in targets['fullTargets']: KeyError: 'fullTargets' this works either with 'host:port' or 'host' alone but not with 'host:'.
Please add vdsm.log - I wonder what was the return code from the server. The fix should be very similar to what we discussed about the "list" verb: vdsClient should check the return code before assuming that data exist. And yes, let's solve this non-urgent issue upstream.
http://gerrit.usersys.redhat.com/1031
*** Bug 744685 has been marked as a duplicate of this bug. ***
sorry - still happens: [root@nott-vds1 ~]# vdsClient -s 0 discoverST 10.35.65.25: ---- fullTargets Traceback (most recent call last): File "/usr/share/vdsm/vdsClient.py", line 1987, in <module> code, message = commands[command][0](commandArgs) File "/usr/share/vdsm/vdsClient.py", line 549, in discoverST for target in targets['fullTargets']: KeyError: 'fullTargets' [root@nott-vds1 ~]# rpm -q vdsm vdsm-4.9-112.5.el6_2.x86_64
Odd. Could you type in the returned result of discoverSendTargets (from Vdsm log)?
Not odd at all - the bug was fixed 4.9.1 (v4.9.0-214-ge6cc110) and not available of the specified 4.9.
closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/