You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Make a backup with peadm::backup::backup['puppetdb'] set to true.
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.
The text was updated successfully, but these errors were encountered:
Describe the Bug
When restoring a backup made with
peadm::backup
that includes a dump ofpe-puppetdb
, the restore plan usespuppet-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 bypeadm::backup
. If I remove therun_command
calls topuppet-db
then this works just as I expect.Steps to Reproduce
peadm::backup::backup['puppetdb']
set totrue
.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.
The text was updated successfully, but these errors were encountered: