Bug 876164

Summary: can't install ovirt on fedora18 due to two subpackages own "backup" dir
Product: [Retired] oVirt Reporter: Ohad Basan <obasan>
Component: ovirt-engine-installerAssignee: Ohad Basan <obasan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 3.1 RCCC: acathrow, alonbl, dyasny, eedri, iheim, juan.hernandez, ykaul
Target Milestone: ---   
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-15 06:46:46 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 Ohad Basan 2012-11-13 13:32:02 UTC
Description of problem:
yum installation fails on fedora18 since both ovirt-setup and ovirt-backend own the backups directory

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


How reproducible:
always

Steps to Reproduce:

try installing latest nightly on fedora18. yum install ovirt-engine
  
Actual results:
installation fails
file /var/lib/ovirt-engine/backups conflicts between attempted installs of ovirt-engine-setup-3.1.0-3.20121112.gitc72b067.fc17.noarch and ovirt-engine-backend-3.1.0-3.20121112.gitc72b067.fc17.noarch

Expected results:
installation should pass successfully.

Additional info:

Comment 1 Ohad Basan 2012-11-13 13:46:41 UTC
Patch posted for review:

http://gerrit.ovirt.org/9216

Comment 2 Alon Bar-Lev 2012-11-20 17:03:40 UTC
(In reply to comment #1)
> Patch posted for review:
> 
> http://gerrit.ovirt.org/9216

Patch was merged but not working.
It causes /var/lib/ovirt-engine to be empty within the rpm.

The correct solution would to revert and to set ownership at the %install section:
---
install -dm 755 %{buildroot}/%{engine_state}/deployments
install -dm 755 %{buildroot}/%{engine_state}/content
install -dm 755 %{buildroot}/%{engine_log}/{notifier,engine-manage-domains}
install -dm 755 %{buildroot}/%{engine_run}/notifier
install -dm 755 %{buildroot}/%{engine_lock}
---

Or to specify explicitly each at the appropriate %files section.

Package is not unusable as ovirt-engine service is not started because the content and other directories are missing.

Comment 3 Juan Hernández 2012-11-20 18:01:49 UTC
The fix for the issue in comment #2 is available here:

http://gerrit.ovirt.org/9369

Comment 5 Itamar Heim 2013-01-16 16:09:36 UTC
3.2 beta built, moving to ON_QA status to allow testing