Bug 1315284 - Too many environments makes "puppet cert" execution very slow
Too many environments makes "puppet cert" execution very slow
Status: CLOSED CURRENTRELEASE
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Performance (Show other bugs)
6.1.4
All Unspecified
urgent Severity high (vote)
: GA
: --
Assigned To: satellite6-bugs
: Triaged
Depends On: 1217527 1304986
Blocks: 1296845
  Show dependency treegraph
 
Reported: 2016-03-07 07:02 EST by Brad Buckingham
Modified: 2016-10-03 14:53 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1304986
Environment:
Last Closed: 2016-10-03 14:53:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Comment 4 Stephen Benjamin 2016-10-03 14:53:36 EDT
I do indeed see this behavior on 6.1, with as few as a couple hundred environments.

On 6.2 (Puppet 3.8.6), I can confirm this is fixed.  I've tried with up to 10,000 environments:

[root@sat-rhel7 environments]# for i in `seq 1 10000`; do mkdir -p Environment$i/modules; done
[root@sat-rhel7 environments]# time puppet cert list --all
+ "sat-rhel7.example.com" (SHA256) 58:3A:31:45:B4:98:9C:35:9C:F6:39:06:75:E6:43:6A:54:62:8B:7B:EC:46:11:21:A3:8E:B2:4F:D1:A0:CA:FD (alt names: "DNS:puppet", "DNS:puppet.example.com", "DNS:sat-rhel7.example.com")

real	0m0.881s
user	0m0.835s
sys 0m0.044s

Note You need to log in before you can comment on or make changes to this bug.