Bug 890346
| Summary: | [vdsm] Cannot migrate vms between hosts | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-host-deploy | Reporter: | Kiril Nesenko <knesenko> | ||||
| Component: | Plugins.VDSM | Assignee: | Alon Bar-Lev <alonbl> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Haim <hateya> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | master | CC: | abaron, alonbl, bazulay, bugs, danken, dfediuck, dougsland, iheim, lpeer, mgoldboi, Rhev-m-bugs, yeylon, ykaul | ||||
| Target Milestone: | --- | Keywords: | Regression, TestBlocker | ||||
| Target Release: | --- | Flags: | knesenko:
devel_ack?
|
||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | virt | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-27 10:10:32 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: |
|
||||||
Does this happen 100%? Only on these hosts? (you should have stated that under "How reproducible".) Does it go away if you disable firewall? Go to the host running the vm, then try to ping the remote host. Could you do virsh -c qemu+tls://nari13.eng.lab.tlv.redhat.com/system capabilities or vdsClient -s nari13.eng.lab.tlv.redhat.com getVdsCaps (In reply to comment #2) > Does this happen 100%? Only on these hosts? (you should have stated that > under "How reproducible".) > It happens 100% on these hosts. > Does it go away if you disable firewall? > Still can not migrate > Go to the host running the vm, then try to ping the remote host. > Could you do > virsh -c qemu+tls://nari13.eng.lab.tlv.redhat.com/system capabilities [root@nari11 ~]# virsh -c qemu+tls://nari13.eng.lab.tlv.redhat.com/system capabilities error: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory error: failed to connect to the hypervisor [root@nari11 ~]# ls -l /etc/pki/CA/cacert.pem ls: cannot access /etc/pki/CA/cacert.pem: No such file or directory Seems like /etc/pki/CA/cacert.pem doesn't exist. > > or > > vdsClient -s nari13.eng.lab.tlv.redhat.com getVdsCaps This works opps. (In reply to comment #3) > [root@nari11 ~]# ls -l /etc/pki/CA/cacert.pem > ls: cannot access /etc/pki/CA/cacert.pem: No such file or directory > > Seems like /etc/pki/CA/cacert.pem doesn't exist. Please use latest nightly of otopi and ovirt-host-deploy. Thanks! (In reply to comment #5) > (In reply to comment #3) > > [root@nari11 ~]# ls -l /etc/pki/CA/cacert.pem > > ls: cannot access /etc/pki/CA/cacert.pem: No such file or directory > > > > Seems like /etc/pki/CA/cacert.pem doesn't exist. > > Please use latest nightly of otopi and ovirt-host-deploy. > Thanks! Thanks Alon, it works with latest otopi and ovirt-host-deploy. Closing a bz. |
Created attachment 669246 [details] logs Description of problem: Can not migrate vdsm between hosts. Thread-275::ERROR::2012-12-26 16:52:03,606::vm::195::vm.Vm::(_recover) vmId=`6f6b16f8-992d-4581-8a4a-5940c8b701b6`::operation failed: Failed to connect to remote libvirt URI qemu+tls://nari13.eng.lab.tlv.redhat.com/system Thread-275::ERROR::2012-12-26 16:52:03,731::vm::283::vm.Vm::(run) vmId=`6f6b16f8-992d-4581-8a4a-5940c8b701b6`::Failed to migrate Traceback (most recent call last): File "/usr/share/vdsm/vm.py", line 268, in run self._startUnderlyingMigration() File "/usr/share/vdsm/libvirtvm.py", line 479, in _startUnderlyingMigration None, maxBandwidth) File "/usr/share/vdsm/libvirtvm.py", line 515, in f ret = attr(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 83, in wrapper ret = f(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1178, in migrateToURI2 if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed', dom=self) libvirtError: operation failed: Failed to connect to remote libvirt URI qemu+tls://nari13.eng.lab.tlv.redhat.com/system Version-Release number of selected component (if applicable): libvirt-0.10.2-13.el6.x86_64 vdsm-4.10.2-2.0.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.348.el6.x86_64 How reproducible: Steps to Reproduce: 1. Migrate vm between hosts 2. 3. Actual results: Expected results: Additional info: