Bug 1023112

Summary: Upgrade from VDSM image to base Node leaves broken VDSM configuration
Product: [Retired] oVirt Reporter: Ryan Barry <rbarry>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.0CC: acathrow, fdeutsch, jboggs, mburns, mgoldboi, ovirt-bugs, ovirt-maint, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-25 14:04: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:

Description Ryan Barry 2013-10-24 16:02:41 UTC
Description of problem:
The removal of VDSM from the base ovirt-node image leaves a case where an upgrade can be performed to the next version of ovirt-node from an image without VDSM installed, and libvirtd.conf still configured for VDSM, so libvirtd fails to start.

Version-Release number of selected component (if applicable):
>3.0

How reproducible:
100%

Steps to Reproduce:
1. Install an ovirt-node image which includes VDSM.
2. Upgrade ovirt-node to an image which does not include VDSM.

Actual results:
libvirtd cannot start.
libvirtd log file complains that it cannot find /etc/pki/vdsm/certs/cacert.pem

Expected results:
libvirt works.
The upgrade process should leave a configured libvirtd.conf in place if the image includes VDSM (or other plugins in the future which configure libvirtd, but replace it with a base libvirtd.conf which works out of the box.

Additional info:

Comment 1 Fabian Deutsch 2013-10-25 14:04:50 UTC
Ryan,

we don't support this upgrade path (RHEV-H for RHEV to RHEV base image), so we can close this bug.
I did however opened bug 1023481 to track the creation of a sane libvirt config.