Bug #20550

backup & restore do not work with remote DB

Added by Martin Bacovsky 11 months ago. Updated 7 days ago.

Status:Closed
Priority:Normal
Assignee:Martin Bacovsky
Category:-
Target version:Katello 3.7.0
Difficulty:medium Team Backlog:
Triaged:Yes Fixed in Releases:
Bugzilla link:1052713 Found in Releases:
Pull request:https://github.com/Katello/katello-installer/pull/550

Description

It is not possible to run katello-backup and katello-restore with remote DB.

The scripts are trying to access the local postgresql service directly as postgres's superuser and do not reflect DB configuration.
The backup procedure needs some changes to handle the situation when it does not have the superuser privileges for the DB (e.g. when the DB is managed by different team)


Related issues

Blocked by Foreman - Bug #23223: foreman-installer --reset fails to drop database Closed 04/11/2018

Associated revisions

Revision 81fcaa5f
Added by Martin Bacovsky 3 months ago

Fixes #20550 - support --reset for remote postgres

Revision c23b9bf2
Added by John Mitsch 3 months ago

Merge pull request #550 from mbacovsky/20550_reset_remote_db

Refs #20550 - Reset remote database

History

#1 Updated by Martin Bacovsky 9 months ago

  • Project changed from Packaging to Katello

#2 Updated by Martin Bacovsky 9 months ago

  • Target version changed from 1.18.0-RC1 to 226

#3 Updated by The Foreman Bot 9 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/499 added

#4 Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/Katello/katello-installer/pull/550 added

#5 Updated by Justin Sherrill 9 months ago

  • Legacy Backlogs Release (now unused) set to 114

#6 Updated by Martin Bacovsky 3 months ago

  • Blocked by Bug #23223: foreman-installer --reset fails to drop database added

#7 Updated by The Foreman Bot 3 months ago

  • Legacy Backlogs Release (now unused) deleted (114)

#8 Updated by John Mitsch 3 months ago

  • Pull request deleted (https://github.com/Katello/katello-packaging/pull/499)

Removing old katello-packaging PR, only the katello-installer PR is needed

#9 Updated by Justin Sherrill 3 months ago

  • Legacy Backlogs Release (now unused) set to 338

#10 Updated by Martin Bacovsky 3 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF