Red Hat Bugzilla – Bug 979743
[rhevm] Failed install RHEVM 3.3 - '/var/lib/pgsql/data/pg_log' File exists
Last modified: 2015-09-22 09:09 EDT
Created attachment 766995 [details]
## Logs engine-setup, engine-db-install
Description of problem:
Failed install RHEVM 3.3 - '/var/lib/pgsql/data/pg_log' File exists
Version-Release number of selected component (if applicable):
RHEVM 3.3 - IS3 environment:
Steps to Reproduce:
1. I have RHEVM server with RHEVM 3.2 SF18 install on it
2. Run following command:
yum -y remove rhevm* vdsm-bootstrap
rm -rf /var/log/ovirt-engine/*; rm -rf /tmp/*; rm -rf /usr/share/pgsql/*; rm -rf /usr/share/ovirt-engine/*
yum clean all
3. Edit REPO file for RHEVM 3.3
4. Run following command:
yum install rhevm
Failed install RHEVM 3.3, failed on “Creating Database... “ step (log attached)
Successfully install RHEVM 3.3 environment
Impact on user:
Failed install RHEVM 3.3 environment
Run following command:
yum -y remove jboss*
yum -y remove postgres*
yum install rhevm
IMHO, a root of problem is that RHEVM instalation don't verify if PostgreSQL already install.
Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists
-Can you please explain the usecase here or what are you trying to achieve, i imagine it's a negative test case (can you please explain what you are trying to do) and if it's a regression than from which version?
Install RHEVM 3.3 environment on servers which on past had RHEVM 3.2 environment. This done, because I don't want install OS from the scratch. I want use same OS.
Does this issue happens with the new otopi based setup?
We've solved many issues in that area, can you please re-test this case?
Closing this bug, as it's look like a test error.
You should never have removed /usr/share/pgsql/*, it's simply wrong.
If this issue still happens on the new otopi based setup, please re-open.