Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 902346

Summary: Removing vdsm has not dropped the configured section from libvirtd and qemu configuration files
Product: Red Hat Enterprise Virtualization Manager Reporter: Yaniv Bronhaim <ybronhei>
Component: vdsmAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED CURRENTRELEASE QA Contact: Tareq Alayan <talayan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bazulay, cpelland, hateya, iheim, knesenko, lpeer, pstehlik, sgrinber, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: vdsm-4.10.2-10.0.el6ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 917401    

Description Yaniv Bronhaim 2013-01-21 12:39:41 UTC
Description of problem:
After removing vdsm rpm, the configured section for vdsm parameters in libvirtd.conf and qemu.conf has not removed automatically.

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


How reproducible:
install and remove vdsm, enter libvirtd.conf file and see vdsm section still declared.


Steps to Reproduce:
1. install vdsm rpm
2. see in libvirtd.conf and qemu.conf the vdsm configuration section
2. remove vdsm rpm
3. check again if vdsm section still exist in libvirtd.conf and qemu.conf
  
Actual results:
Still exist

Expected results:
Vdsm section should be removed when removing vdsm

Additional info:

Comment 2 Yaniv Bronhaim 2013-01-23 10:02:52 UTC
In vdsm.spec %preun section we ran sed command that removed vdsm configuration section only over rhel and we searched for wrong string. Vdsmd init writes that part, and probably has been changed during the time.

This patch adds sed command for both distributions (rhel and fedora) that search for the current string that is written by vdsmd init script.

http://gerrit.ovirt.org/11295

Comment 4 Tareq Alayan 2013-03-06 15:18:54 UTC
verified.

after yum remove vdsm
the section of vdsm conf is removed.

Comment 5 Itamar Heim 2013-06-11 09:25:23 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:30:17 UTC
3.2 has been released

Comment 7 Itamar Heim 2013-06-11 09:45:41 UTC
3.2 has been released