Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-1966

Puppetdb load testing doc needs to be updated

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 3.2.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2015-09-23

      Description

      I tried following this doc: https://docs.puppetlabs.com/puppetdb/2.3/load_testing_tool.html but no luck.

      {{[root@master puppetdb-bak]# /opt/puppet/bin/java -jar /opt/puppet/share/puppetdb/puppetdb.jar benchmark -c /root/puppetdb-bak/config.ini --catalogs /root/puppetdb-bak/catalogs --runinterval 30 --numhosts 1000 --rand-perc 15
      Error: Could not find or load main class com.puppetlabs.puppetdb.core}}

      I managed to make it work, and I think it does what I intended to, but you should verify my command with an expert:

      {{[root@master puppetdb-bak]# /opt/puppet/bin/java -cp /opt/puppet/share/puppetdb/puppetdb.jar clojure.main -m com.puppetlabs.puppetdb.core benchmark -c /root/puppetdb-bak/config.ini --catalogs /root/puppetdb-bak/catalogs --runinterval 30 --numhosts 1000 --rand-perc 15
      2015-09-09 14:26:41,860 INFO [c.p.p.c.benchmark] No reports specified; skipping report submission
      2015-09-09 14:26:43,769 INFO [c.p.p.c.benchmark] [host-300] submitted catalog
      2015-09-09 14:26:46,329 INFO [c.p.p.c.benchmark] [host-284] submitted catalog
      2015-09-09 14:26:46,480 INFO [c.p.p.c.benchmark] [host-7] submitted catalog
      2015-09-09 14:26:50,082 INFO [c.p.p.c.benchmark] [host-202] submitted catalog}}

      I also tested newer PuppetDB versions and ran into the same issue, so several docs need updated.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                ryan.senior Ryan Senior
                Reporter:
                laura.macchi Laura Macchi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: