| Summary: | [ovirt] [vdsm] change cd doesn't work - TypeError: 'str' object does not support item assignment | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Haim <hateya> |
| Component: | vdsm | Assignee: | Eduardo Warszawski <ewarszaw> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | abaron, acathrow, bazulay, danken, ewarszaw, fsimonce, hateya, iheim, mgoldboi, yeylon, ykaul |
| Target Milestone: | --- | ||
| Target Release: | 3.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | vdsm-4.9.6-2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-09 08:02:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Probably solved by http://gerrit.ovirt.org/#change,1935,patchset=3 Which VDSM version? Did it ever work before (which makes this a regression) ? (In reply to comment #2) > Which VDSM version? > Did it ever work before (which makes this a regression) ? yes, it worked. In the ovirt-3.1 branch as: 0c03857ec6ba22236d7d6fc63a13ff6194cb1d41 closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/ closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/ |
Description of problem: - start vm - initiate change cd command: Thread-4106::DEBUG::2012-02-19 15:31:21,633::task::980::TaskManager.Task::(_decref) Task=`b326ab2a-39e0-4910-bb18-131c0c242772`::ref 0 aborting False Thread-4111::DEBUG::2012-02-19 15:31:31,840::BindingXMLRPC::848::vds::(wrapper) client [10.16.144.104]::call vmChangeCD with ('1c6b7313-e57f-4883-a66f-3a1f5dee7990', '/rhev/data-center/2319b7ff-09f6-488c-83c4-aa78139db3b4/019d4b6f-5450- 4eb6-80ee-c63ea062de49/images/11111111-1111-1111-1111-111111111111/Fedora-16-x86_64-Live-Desktop.iso') {} result: Thread-4111::ERROR::2012-02-19 15:31:31,845::BindingXMLRPC::863::vds::(wrapper) Traceback (most recent call last): File "/usr/share/vdsm/BindingXMLRPC.py", line 853, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/BindingXMLRPC.py", line 231, in vmChangeCD return vm.changeCD(driveSpec) File "/usr/share/vdsm/API.py", line 88, in changeCD return v.changeCD(driveSpec) File "/usr/share/vdsm/libvirtvm.py", line 1703, in changeCD return self._changeBlockDev('cdrom', 'hdc', drivespec) File "/usr/share/vdsm/libvirtvm.py", line 1710, in _changeBlockDev path = self.cif.prepareVolumePath(drivespec) File "/usr/share/vdsm/clientIF.py", line 203, in prepareVolumePath drive['blockDev'] = utils.isBlockDevice(volPath) TypeError: 'str' object does not support item assignment