Bug 822851

Summary: rhev-h TUI upgrade warning "Fail to Establish Libvirt Connection"
Product: Red Hat Enterprise Linux 6 Reporter: yuanquan chen <yuachen>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.3CC: acathrow, bsarathy, cshao, gouyang, jboggs, leiwang, mburns, ovirt-maint, shcao, ycui
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-21 15:24:50 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
/var/log/libvirtd.log none

Description yuanquan chen 2012-05-18 10:34:19 UTC
Description of problem:
In the TUI upgrade menu, the warning of "Fail to Establish Libvirt
Connection" shows below the menu "Upgrade xxx to xxx"

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.3-20120516.0.el6

How reproducible:
100%

Steps to Reproduce:
1. install an old(older than rhev-hypervisor6-6.3-20120516.0.el6) rhev-h
to the machine
2. upgrade via TUI to rhev-hypervisor6-6.3-20120516.0.el6
  
Actual results:
In the TUI upgrade menu, the warning of "Fail to Establish Libvirt
Connection" shows below the menu "Upgrade xxx to xxx"

Expected results:
Establishing libvirt connection shouldn't fail, the warning shouldn't be
printed.

Additional info:

Comment 3 Mike Burns 2012-05-18 15:18:28 UTC
I've tried multiple upgrades from 6.3-20120509.1 to 6.3-20120516.0 and have not seen the "Failed to Establish Libvirt Connection" error yet.  Can you provide log files?  Exact Steps?  What setup was done on the old version prior to upgrading?

Comment 4 yuanquan chen 2012-05-21 05:53:16 UTC
Created attachment 585719 [details]
/var/log/libvirtd.log

Comment 5 yuanquan chen 2012-05-21 07:34:15 UTC
(In reply to comment #3)
> I've tried multiple upgrades from 6.3-20120509.1 to 6.3-20120516.0 and have
> not seen the "Failed to Establish Libvirt Connection" error yet.  Can you
> provide log files?  Exact Steps?  What setup was done on the old version
> prior to upgrading?

Hi Mike,

For the libvirtd.log, see comment #4. I also try to upgrade rhev-h from 6.3-20120502.3 to 6.3-20120509.1 without such libvirt connection error, while the upgrade of 6.3-20120509.1 to 6.3-20120516.0 will show this error every time. The steps of upgrade are shown below:

1. TUI install the older rhev-h to local disk
2. boot and check whether the installed rhev-h can boot normally
3. pxe boot to the new rhev-h to upgrade with TUI