| Summary: | [vdsm] vdsClient - getIsoList returns noneType in case there is no ISO domain in pool | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Haim <hateya> |
| Component: | vdsm | Assignee: | Haim <hateya> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dafna Ron <dron> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | abaron, bazulay, danken, iheim, ilvovsky, mgoldboi, yeylon, ykaul |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | vdsm-4.9-112.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-17 07:49:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
[root@nott-vds1 ~]# vdsClient -s 0 getIsoList Error using command: list index out of range getIsoList <spUUID> Returns list of all .iso images in ISO domain vdsm-4.9-112.5.el6_2.x86_64 |
Description of problem: running vdsClient command: vdsClient -s 0 getIsoList <spUUId> returns with python noneType error in logs. Thread-488::ERROR::2011-08-23 17:19:36,218::task::864::TaskManager.Task::(_setError) Task=`a47f1676-372a-4966 -a5c8-09cbf02289dc`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 872, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/hsm.py", line 1029, in public_getIsoList raise se.GetIsoListError(isoDom.sdUUID) AttributeError: 'NoneType' object has no attribute 'sdUUID' Thread-488::ERROR::2011-08-23 17:19:36,251::dispatcher::107::Storage.Dispatcher.Protect::(run) Traceback (mos t recent call last): File "/usr/share/vdsm/storage/dispatcher.py", line 96, in run result = ctask.prepare(self.func, *args, **kwargs) File "/usr/share/vdsm/storage/task.py", line 1183, in prepare raise self.error AttributeError: 'NoneType' object has no attribute 'sdUUID'