Using Credhub behind Concourse, database growing?
See original GitHub issueWhat version of the credhub server you are using?
1.6.5 via https://github.com/starkandwayne/bucc/releases/tag/v0.4.1
What version of the credhub cli you are using?
1.6.0
If you were attempting to accomplish a task, what was it you were attempting to do?
Backup my BOSH + Credhub
bucc bbr backup
What did you expect to happen?
- I expected it to happen relatively quickly. I’m only use the credhub for < 100 items across my BOSH + Concourse.
What was the actual behavior?
It took 4 mins to backup credhub database:
[bbr] 2018/03/16 22:38:21 INFO - Backing up credhub on bosh/0...
[bbr] 2018/03/16 22:42:56 INFO - Finished backing up credhub on bosh/0.
The credhub backup is over 2G
-rw-rw-r-- 1 jumpbox jumpbox 2.3G Mar 16 22:46 bosh-0-credhub.tar
Is there an audit log or similar inside my database that’s growing regularly because Concourse is polling it? Suggestions for operators to cleanup their DB to constrain its size?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Using Credhub behind Concourse, database growing? #33
I expected it to happen relatively quickly. I'm only use the credhub for < 100 items across my BOSH + Concourse. What was...
Read more >Credential Management in Concourse - VMware Tanzu Docs
This section describes using CredHub for credential management in Concourse. For general information, see the CredHub repository.
Read more >concourse – Brian Ragazzi - WordPress.com
Getting Started with CredHub in Concourse · Logon to the ops manager and navigate to status to record the IP address of the...
Read more >Brian Ragazzi
While still logged in as postgres, run this command to create a new database for concourse. I'm naming my database “concourse” – my...
Read more >Bryan Friedman: Clouding Up
CredHub is the credential manager that's baked in to Cloud Foundry. ... They are a big part of the magic behind Cloud Foundry's...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@drnic @poblin-orange @gberche-orange It seems like you all figured this out by now. We had an issue where audit logs were quickly filling up our database.
In version 1.9+, the audit logs now go to a file instead. In versions 1.6 and 1.7, we added a property (
audit_logs.days_retained
) that will only keep around logs from the last X days.Seems related to story 154256575: feature request: automate cleanup of database tables used in audit operations
which mentions: