Bug 732933

Summary: [vdsm] vdsClient - getFloppyList returns with KeyError
Product: [Retired] oVirt Reporter: Haim <hateya>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, bazulay, danken, iheim, mgoldboi, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-17 07:49:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Haim 2011-08-24 08:00:42 UTC
Description of problem:

[root@nott-vds1 ~]# vdsClient -s 0 getFloppyList 8ee1e445-cbc3-494a-8836-33f4cd6beeaf
{'status': {'message': 'OK', 'code': 0}, 'isolist': ['win7-64.vfd', 'win2003-x64-unattended.vfd', 'win2k8-32_with_virtio.vfd', 'win7x64_with_virtio.vfd', 'win7-32.vfd', 'virtio-win-1.3.1.vfd', 'win2k3-64-with-virtio.vfd', 'virtio-drivers-1.0.1-52454.vfd', 'win2003-32-unattended.vfd', 'win2000-Pro-unattended.vfd', 'win2k3-32-with-virtio.vfd', 'win2k8-R2.vfd', 'virtio-win-1.2.0.vfd', 'virtio-drivers-1.0.2-52454.vfd', 'win2k3.vfd', 'winxp.vfd', 'win2k3x64.vfd', 'virtio-drivers-1.0.0-45801.vfd', 'winXP-Pro-SP2-32-unattended.vfd', 'virtio-drivers.vfd', 'winXP-x64-unattended.vfd', 'win7-32_with_virtio.vfd', 'winxp_32_virtio.vfd', 'virtio-drivers-1.0.0-8.vfd', 'win2k8-R2_with_virtio.vfd']}
Traceback (most recent call last):
  File "/usr/share/vdsm/vdsClient.py", line 1988, in <module>
    code, message = commands[command][0](commandArgs)
  File "/usr/share/vdsm/vdsClient.py", line 990, in getFloppyList
    for entry in floppies['floppylist']:
KeyError: 'floppylist'

Comment 2 Haim 2011-08-24 11:05:51 UTC
http://gerrit.usersys.redhat.com/850

Comment 3 Haim 2012-01-25 07:13:31 UTC
[root@nott-vds1 ~]# vdsClient -s 0 getFloppyList
Error using command: list index out of range 

getFloppyList
	<spUUID>
	Returns list of all .vfd images in ISO domain
You have mail in /var/spool/mail/roo