Bug 876164 - can't install ovirt on fedora18 due to two subpackages own "backup" dir
Summary: can't install ovirt on fedora18 due to two subpackages own "backup" dir
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-installer
Version: 3.1 RC
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: ---
: 3.2
Assignee: Ohad Basan
QA Contact:
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-13 13:32 UTC by Ohad Basan
Modified: 2014-10-30 22:34 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-15 06:46:46 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.