Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-3060

Improve `puppetserver ca list` speed when querying for requests

    XMLWordPrintable

Details

    • Froyo
    • 2
    • Froyo - 8/25/2021
    • Enhancement
    • Puppetserver-ca CLI command `list` will now utilize the updated certificate_status endpoint for a faster performance when requesting for certificate requests.
    • Needs Assessment

    Description

      Puppetserver CA CLI is currently very slow when querying for CSRs (or requested state).  As of right now, when a user want to list all of the requests pending through using puppetserver ca list, the CLI would get all of the certificates and CSRs then filter to the user's queried state.  The impact on performance is noticeable when the user has a lot of signed or revoked certificates. 

      Outcome

      Update the CLI (more specifically the list action) to only look for CSRs when the state being queried is requested. The performance when using puppetserver ca list should be faster than puppetserver ca list --all when there exists a lot of signed or revoked certificates.

      Attachments

        Activity

          People

            tu.vu Tu Vu
            tu.vu Tu Vu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support