Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-40734

Long PDF generation time (V2 API)

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None
    • Plat-Ex Services Tech Debt
    • Important

      PDF generator API v2 was rolled out to production recently. A test to exercise the full flow was executed and failed several attempts. Even after extending the timeout in the test to 3600s, the PDF had not reached "Generated" status.

      Steps to Reproduce

      To reproduce the issue:

      1. Issue a request to create the pdf (example curl below)
      2. Poll the /status endpoint to see if it's ready.

      Example curl for #1:

      curl --location 'https://console.redhat.com/api/crc-pdf-generator/v2/create' \
      --header 'Content-Type: application/json' \
      --header 'Authorization: Bearer YOUR_TOKEN' \
      --data '{"payload":[{"manifestLocation": "/apps/landing/fed-mods.json", "module": "./PdfEntry", "scope": "landing"}]}'

      Expected Results

      PDF should be ready for download within a matter of minutes (max 15 mins)

      Actual Results

      Test waits an hour to complete, but the PDF does not reach Generated status.

       

              btweed@redhat.com Brandon Tweed
              btweed@redhat.com Brandon Tweed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: