AI Fabric - Unable To Generate Support Bundle From Web Interface Or Console

In AI Fabric, why is it not possible to generate support bundle from web interface or console?

Issue Description: When trying to generate the support bundle from the web interface, this operation fails and, when running the command "kubectl support-bundle https://kots.io" the command fails with an error like,

  • Error: run collectors: failed to convert kube flags to rest config: Missing or incomplete configuration info. Please point to an existing, complete config file.


Resolution:
In order to generate the logs, the user must login to the AI Fabric machine and do the following steps:
  1. bash -l
  2. Check if the AI Fabric namespace is present by using the command: kubectl get ns
  3. Run the diagnostic tool and generate the report: bash <(curl https://raw.githubusercontent.com/UiPath/ai-customer-scripts/master/platform/generate-report.sh)

The generated report file needs to be sent back to us to be analyzed.