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

puppetdb-import/export --help is really slow to output anything

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: PDB 1.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      When you run puppetdb-import or -export with --help it takes ages to return usage information.

      root@puppetdb:~# time puppetdb-import --help
      Usage:
       
       Switches               Default    Desc
       --------               -------    ----
       -i, --infile                      Path to backup file (required)
       -H, --host             localhost  Hostname of PuppetDB server
       -p, --port             8080       Port to connect to PuppetDB server
       -h, --no-help, --help  false      Show help
       
       
      real	0m22.614s
      user	0m22.117s
      sys	0m0.340s
       
      root@puppetdb:~# time puppetdb-export --help
      Usage:
       
       Switches               Default    Desc
       --------               -------    ----
       -o, --outfile                     Path to backup file (required)
       -H, --host             localhost  Hostname of PuppetDB server
       -p, --port             8080       Port to connect to PuppetDB server
       -h, --no-help, --help  false      Show help
       
       
      real	0m11.496s
      user	0m11.229s
      sys	0m0.184s
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                redmine.exporter redmine.exporter
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support