Bug 626334
Summary: | [vdsm] [libvirt] vdsm should produce an error in case libvirt fails to eject\change 'cd' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Haim <hateya> |
Component: | vdsm | Assignee: | Dan Kenigsberg <danken> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Haim <hateya> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.1 | CC: | cpelland, hateya, iheim, mgoldboi, Rhev-m-bugs, yeylon, ykaul |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | vdsm-4.9-15.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-19 15:07:05 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: | |||
Bug Depends On: | 626305 | ||
Bug Blocks: | 632984 |
Description
Haim
2010-08-23 08:33:32 UTC
2.6.32-63.el6.x86_64 libvirt-0.8.1-25.el6.x86_64 vdsm-4.9-13.el6.x86_64 device-mapper-multipath-0.4.9-25.el6.x86_64 lvm2-2.02.72-7.el6.x86_64 qemu-kvm-0.12.1.2-2.109.el6.x86_6 Dan, it looks like behavior is now correct from vdsm perspective; however, I don't get any message from backend\frontend. do you think we should open a different bug for it ? Thread-3763::DEBUG::2010-09-27 14:10:29,985::clientIF::39::vds::(wrapper) [10.35.70.2]::call changeCD with ('75741acb-ad1c-4082-b80e-1aea87dbbcb4', '/rhev/data-center/6d511a8e-4cc5-49bc-b39d-28ceac510996/d7b8cd6e- 7e11-425b-b03f-83f5e721ea87/images/11111111-1111-1111-1111-111111111111/Fedora-10-x86_64-DVD.iso') {} Dummy-147::DEBUG::2010-09-27 14:10:30,137::misc::123::Storage.Misc.excCmd::(execCmd) SUCCESS: <err> = '8000+0 records in\n8000+0 records out\n4096000 bytes (4.1 MB) copied, 4.99035 s, 821 kB/s\n'; <rc> = 0 Thread-3763::DEBUG::2010-09-27 14:10:30,777::clientIF::44::vds::(wrapper) return changeCD with {'status': {'message': 'Failed to change disk image', 'code': 41}} No need - that's what bug 632984 is for. verified on vdsm 4.9-20 (there is still an issue with rhevm). vdsm reports the following error: Thread-4375::DEBUG::2010-10-25 15:46:12,346::clientIF::45::vds::(wrapper) return changeCD with {'status': {'message': 'Failed to change disk image', 'code': 41 }} repro steps: 1) run guest in run level 5 2) change CD and mount any iso 3) try to change CD |