Bug 892280

Summary: [vdsm] Can not run imported VM
Product: Red Hat Enterprise Linux 6 Reporter: Kiril Nesenko <knesenko>
Component: vdsmAssignee: Vered Volansky <vered>
Status: CLOSED DUPLICATE QA Contact: Haim <hateya>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.4CC: abaron, amureini, bazulay, dfediuck, iheim, lpeer, yeylon, ykaul
Target Milestone: rcKeywords: Regression, TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-07 13:58:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs none

Description Kiril Nesenko 2013-01-06 10:02:09 UTC
Created attachment 673306 [details]
logs

Description of problem:
Can not run imported VM

Thread-102878::DEBUG::2013-01-06 12:01:07,232::resourceManager::565::ResourceManager::(releaseResource) No one is waiting for resource 'Storage.5849b030-626e-47cb-ad90-3ce782d831b3', Clearing records.
Thread-102878::DEBUG::2013-01-06 12:01:07,232::task::957::TaskManager.Task::(_decref) Task=`c76e63c5-20e1-4a04-b7eb-0773a6641347`::ref 0 aborting False
Thread-102880::ERROR::2013-01-06 12:01:08,058::SecureXMLRPCServer::77::root::(handle_error) client ('10.35.16.40', 35935)
Traceback (most recent call last):
  File "/usr/lib64/python2.6/SocketServer.py", line 560, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py", line 68, in finish_request
    request.do_handshake()
  File "/usr/lib64/python2.6/ssl.py", line 279, in do_handshake
    self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:490: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown
Thread-102882::ERROR::2013-01-06 12:01:10,099::SecureXMLRPCServer::77::root::(handle_error) client ('10.35.16.40', 60018)
Traceback (most recent call last):
  File "/usr/lib64/python2.6/SocketServer.py", line 560, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py", line 68, in finish_request
    request.do_handshake()
  File "/usr/lib64/python2.6/ssl.py", line 279, in do_handshake
    self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:490: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown



Version-Release number of selected component (if applicable):
vdsm-4.10.2-3.0.el6ev.x86_64
qemu-kvm-rhev-0.12.1.2-2.348.el6.x86_64
libvirt-0.10.2-13.el6.x86_64


How reproducible:


Steps to Reproduce:
1. Import a vm and try to run it
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Haim 2013-01-06 11:37:18 UTC
Kiril, the above error is not related to the bug, it just shows that some engine tries to communicate with your hosts and they don't have the same key.
please make sure to login to this system and put host into maintenance, this will stop the errors.

the actual problem is:

Thread-102446::ERROR::2013-01-06 11:55:49,753::vm::680::vm.Vm::(_startUnderlyingVm) vmId=`8c2621cc-cea1-43b3-96ae-5d182b0a3738`::The vm start process failed
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 642, in _startUnderlyingVm
    self._run()
  File "/usr/share/vdsm/libvirtvm.py", line 1410, in _run
    devices = self.buildConfDevices()
  File "/usr/share/vdsm/vm.py", line 490, in buildConfDevices
    self._normalizeVdsmImg(drv)
  File "/usr/share/vdsm/vm.py", line 403, in _normalizeVdsmImg
    drv['truesize'] = res['truesize']
KeyError: 'truesize'

Thread-102446::ERROR::2013-01-06 11:55:49,752::dispatcher::69::Storage.Dispatcher.Protect::(run) [Errno 2] No such file or directory: '/rhev/data-center/5849b030-626e-47cb-ad90
-3ce782d831b3/24f704e4-366e-4a76-aba7-80f9a7e92595/images/45a6e181-d9f6-4018-aeb0-e8af71b4eee3/29d729cd-bb36-4e53-844f-075dbcbebec3'
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/dispatcher.py", line 61, in run
    result = ctask.prepare(self.func, *args, **kwargs)
  File "/usr/share/vdsm/storage/task.py", line 1142, in prepare
    raise self.error
OSError: [Errno 2] No such file or directory:

Comment 3 Ayal Baron 2013-01-06 11:57:26 UTC
dup of bug 883858 ?

Comment 4 Vered Volansky 2013-01-07 13:00:47 UTC
Yep, looks like.

Comment 5 Ayal Baron 2013-01-07 13:58:04 UTC

*** This bug has been marked as a duplicate of bug 883858 ***