Project

General

Profile

Actions

Bug #32649

closed

backup-offline-candlepin-db tries to backup wrong postgresql directory and fails

Added by Emmanuel Vanlaar over 3 years ago. Updated about 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

foreman-maintain backup command on CentOS 8 with postgresql 12 (as described in https://docs.theforeman.org/2.4/Installing_Server_on_Red_Hat/index-katello.html)
tries to backup the candlepin postgres database from the path '/var/opt/rh/rh-postgresql12/lib/pgsql/data/',
however on CentOS 8 with postgresql 12 the postgres data directory is '/var/lib/pgsql/data'

foreman-maintain: rubygem-foreman_maintain-0.7.9-1.el8.noarch

Output from foreman-maintain backup offline /var/foremanbackup

--------------------------------------------------------------------------------
Backup Candlepin DB offline:
- Collecting data from /var/opt/rh/rh-postgresql12/lib/pgsql/data/ [FAIL]
No such file or directory @ dir_chdir - /var/opt/rh/rh-postgresql12/lib/pgsql/data/
--------------------------------------------------------------------------------
Scenario [Backup] failed.

The following steps ended up in failing state:

[backup-offline-candlepin-db]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="backup-offline-candlepin-db"

The runner is already in quit state


Related issues 2 (0 open2 closed)

Related to Foreman Maintain - Bug #30323: assumes SCL paths for databases on EL8ClosedEvgeni GolovActions
Is duplicate of Foreman Maintain - Bug #30323: assumes SCL paths for databases on EL8ClosedEvgeni GolovActions
Actions #1

Updated by Emmanuel Vanlaar over 3 years ago

  • Related to Bug #30323: assumes SCL paths for databases on EL8 added
Actions #2

Updated by Evgeni Golov about 3 years ago

  • Is duplicate of Bug #30323: assumes SCL paths for databases on EL8 added
Actions #3

Updated by Evgeni Golov about 3 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF