Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

peadm::restore fails when puppet-db export times out #266

Open
croddy opened this issue May 19, 2022 · 0 comments
Open

peadm::restore fails when puppet-db export times out #266

croddy opened this issue May 19, 2022 · 0 comments
Labels

Comments

@croddy
Copy link

croddy commented May 19, 2022

Describe the Bug

When restoring a backup made with peadm::backup that includes a dump of pe-puppetdb, the restore plan uses puppet-db export to save more recent data. In even a modestly-sized installation this export fails consistently for me, causing the plan to fail.

Expected Behavior

I expected the restore plan to disregard the contents of PuppetDB on the target system and simply restore the pg_dump dump made by peadm::backup. If I remove the run_command calls to puppet-db then this works just as I expect.

Steps to Reproduce

  1. Make a backup with peadm::backup::backup['puppetdb'] set to true.
  2. Restore the backup onto a target with a working and running PuppetDB.

Environment

RHEL 7, XL with replica, two compilers, three agents.

Additional Context

I can see the benefit of exporting PDB, but I think it's undesirable for it to be necessarily tied to whether the plan restores the PDB database dump.

@croddy croddy added the bug label May 19, 2022
@mcka1n mcka1n added the jira label Jun 13, 2022
@ragingra ragingra removed the bug label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants