| Summary: | Bad permissions on image after VM is imported by vdsm22 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jakub Libosvar <jlibosva> | ||||
| Component: | vdsm | Assignee: | Dan Kenigsberg <danken> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Jakub Libosvar <jlibosva> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.0 | CC: | abaron, bazulay, danken, iheim, ilvovsky, tbenshos, ykaul | ||||
| Target Milestone: | rc | Keywords: | Regression, TestBlocker | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | vdsm-4.9-68.el6 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-06 07:14:50 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Jakub Libosvar
2011-04-20 15:10:12 UTC
vdsm-4.9 should behave well with images imported by vdsm22-4.5-63.25 or older. Another way to get to this state is creating snapshot of VM's disk while SPM is host with vdsm22, then start VM on host with vdsm. Created attachment 494836 [details]
vdsm log
Note that the last two lines are current snapshot that is run
877c881a-6102-4c13-abda-ec781916db24:
total 3487232
-r--r-----. 1 vdsm kvm 349634560 Apr 26 10:17 39e64f31-cb21-4c22-b246-6ef95d55fad3
-rw-rw----. 1 vdsm kvm 356 Apr 26 10:48 39e64f31-cb21-4c22-b246-6ef95d55fad3.meta
-rw-rw----. 1 vdsm kvm 2147483648 Apr 26 09:36 6df175a6-f4c2-442e-b039-b6ab5050b50a
-rw-rw----. 1 vdsm kvm 355 Apr 26 09:36 6df175a6-f4c2-442e-b039-b6ab5050b50a.meta
-rw-rw----. 1 vdsm kvm 1073741824 Apr 26 09:40 d5c5d986-9bfc-49f8-891e-5264984c2fc0
-rw-rw----. 1 vdsm kvm 355 Apr 26 09:47 d5c5d986-9bfc-49f8-891e-5264984c2fc0.meta
-rwxr-----. 1 vdsm kvm 262144 Apr 26 10:48 e15ba7f8-1933-456d-8860-92e2a1126351
-rw-rw----. 1 vdsm kvm 352 Apr 26 10:48 e15ba7f8-1933-456d-8860-92e2a1126351.meta
Thread-17097::ERROR::2011-04-26 10:54:05,692::vm::618::vm.Vm::(_startUnderlyingVm) vmId=`6e273e33-f299-4d88-9906-64b9058f31cd`::Traceback (most recent call last):
File "/usr/share/vdsm/vm.py", line 588, in _startUnderlyingVm
self._run()
File "/usr/share/vdsm/libvirtvm.py", line 815, in _run
self._connection.createXML(domxml, flags),
File "/usr/share/vdsm/libvirtconnection.py", line 59, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1353, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: internal error process exited while connecting to monitor: qemu: could not open disk image /rhev/data-center/3a0599fa-e8fc-4cd2-be47-f2d5f8139af8/d61bcc76-5365-427b-8482-1d43b39bfdf0/images/877c881a-6102-4c13-abda-ec781916db24/e15ba7f8-1933-456d-8860-92e2a1126351: Permission denied
Scenario to reproduce the bug: 1. Add new cluster(2.3) to existing data center(2.2). 2. Create VM on new cluster. 3. try to run the VM. VM fails to run due to permission denied when trying to access to snapshot image. Verified using vdsm-4.9-70.el6.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2011-1782.html |