Jira (PDB-4771) Setup PDB instance on n1/n2 with test data

24 views
Skip to first unread message

Zachary Kent (Jira)

unread,
Mar 17, 2021, 5:34:04 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
 
PuppetDB / New Feature PDB-4771
Setup PDB instance on n1/n2 with test data
Change By: Zachary Kent
Summary: Setup pg PDB instance on n1/n2 with test data
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Zachary Kent (Jira)

unread,
Mar 17, 2021, 5:48:03 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent commented on New Feature PDB-4771
 
Re: Setup PDB instance on n1/n2 with test data

For this ticket we'll want to create a pe-pdbbox sandbox on n1/n2 that's loaded with the slv-data.

You should be able to ssh into the n1/n2 servers using <puppet-username>@pdb-n1-prod.ops.puppetlabs.net If you're unable to log in ...

Once this data is loaded we'll need to make sure that we routinely bump the timestamps so PDB gc doesn't delete the loaded data on start up. We should adapt the updatetime.sql script in the slv link above so we can run it on demand. We'll also want to VACUUM FULL the database after the timestamps are updated to eliminate any dead rows caused by the update.

The slv pg_dump is from a PE install so we'll need to pull out only the pe-puppetdb database. We don't need to load the data for the other PE services.

Zachary Kent (Jira)

unread,
Mar 17, 2021, 5:54:04 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Acceptance Criteria: * A bash helper script which loads only the pe-puppetdb slv data into a pe-pdbbox sandbox
* This helper script should also have the ability to run the updatetime.sql script on the data and follow that modification with a VACUUM FULL of the database

Zachary Kent (Jira)

unread,
Mar 17, 2021, 5:59:04 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Acceptance Criteria:
* A bash helper script which loads only the pe-puppetdb slv data into a pe-pdbbox sandbox
* This helper script should also have the ability to run the updatetime.sql script on the data and follow that modification with a VACUUM FULL of the database

* Basic dev docs on how to run the helper script
* A pe-pdbbox sandbox loaded with the slv data with pdb turned off

Zachary Kent (Jira)

unread,
Mar 17, 2021, 6:00:03 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Team: PuppetDB HA

Zachary Kent (Jira)

unread,
Mar 17, 2021, 6:02:03 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Labels: tsr-pdb-backlog

Zachary Kent (Jira)

unread,
Mar 17, 2021, 6:06:03 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Acceptance Criteria:
* A bash helper script which loads only the pe-puppetdb slv data into a pe-pdbbox sandbox
* This helper script should also have the ability to run the updatetime.sql script on the data and follow that modification with a VACUUM FULL of the database
* Basic dev docs on how to run the helper script
* A pe-pdbbox sandbox loaded with the slv data with pdb turned off

* The helper script should live somewhere in the pdbext repo

Zachary Kent (Jira)

unread,
Mar 17, 2021, 6:53:04 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Acceptance Criteria: * A bash /python helper script which loads only the pe-puppetdb slv data into a pe-pdbbox sandbox

* This helper script should also have the ability to run the updatetime.sql script on the data and follow that modification with a VACUUM FULL of the database
* Basic dev docs on how to run the helper script
* A pe-pdbbox sandbox loaded with the slv data with pdb turned off
* The helper script should live somewhere in the pdbext repo

Zachary Kent (Jira)

unread,
Mar 17, 2021, 6:53:04 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Acceptance Criteria: * A bash/python helper script which loads only the pe-puppetdb slv data into a pe-pdbbox sandbox

* This helper script should also have the ability to run the updatetime.sql script on the data and follow that modification with a VACUUM FULL of the database
* Basic dev docs on how to run the helper script
* A pe-pdbbox sandbox loaded with the slv data with pdb turned off
* The helper script should live somewhere in the pdbext repo

Zachary Kent (Jira)

unread,
Mar 18, 2021, 6:12:03 PM3/18/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Mar 24, 2021, 10:51:04 AM3/24/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Mar 24, 2021, 11:56:03 AM3/24/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-7.04.2021

Bogdan Irimie (Jira)

unread,
Mar 24, 2021, 11:56:04 AM3/24/21
to puppe...@googlegroups.com

Florin Dragos (Jira)

unread,
Mar 29, 2021, 7:03:02 AM3/29/21
to puppe...@googlegroups.com
Florin Dragos assigned an issue to Florin Dragos
Change By: Florin Dragos
Assignee: Florin Dragos

Rob Browning (Jira)

unread,
Mar 29, 2021, 11:59:03 AM3/29/21
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
Acceptance Criteria: * A helper script which loads only the pe-puppetdb slv data into a pe-pdbbox sandbox

* This helper script should also have the ability to run the updatetime.sql script on the data and follow that modification with a VACUUM FULL of the database
* Basic dev docs on how to run the helper script
* A pe-pdbbox sandbox loaded with the slv data with pdb turned off
* The helper script should live somewhere in the pdbext pdb repo
Reply all
Reply to author
Forward
0 new messages