第7章 Troubleshooting
This section contains information to help you diagnose and resolve issues with using Red Hat Ansible Lightspeed with IBM watsonx Code Assistant.
7.1. Troubleshooting Red Hat Ansible Lightspeed configuration errors リンクのコピーリンクがクリップボードにコピーされました!
This section provides information about errors when configuring the Red Hat Ansible Lightspeed and their workarounds.
7.1.1. Cannot access the Ansible Lightspeed administrator portal リンクのコピーリンクがクリップボードにコピーされました!
The Ansible Lightspeed administrator portal can be accessed by the Red Hat organization administrator only.
If you are the Red Hat organization administrator, before you access the Ansible Lightspeed administrator portal, ensure that:
- You have a valid Ansible Automation Platform subscription.
7.1.2. Cannot save the API key リンクのコピーリンクがクリップボードにコピーされました!
When you enter the IBM watsonx Code Assistant API key, authentication fails and shows the following error message:
IBM Cloud API key is invalid
Red Hat Ansible Lightspeed verifies the API key by generating an associated access token. To resolve the error, ensure that you have not accidentally included any extra spaces when obtaining the API key from IBM watsonx Code Assistant. If you still cannot upload the API key, contact IBM Support.
7.1.3. Cannot configure the model ID due to authentication failure リンクのコピーリンクがクリップボードにコピーされました!
When you enter the model ID in the Red Hat Ansible Lightspeed administrator portal, the authentication fails.
To resolve the error, ensure that:
- You have configured a valid API key before you upload the model ID.
- You have not accidentally included any extra spaces when entering the model ID.
7.1.4. Cannot configure the model ID due to inference failure リンクのコピーリンクがクリップボードにコピーされました!
While validating the model ID, Red Hat Ansible Lightspeed performs a test inference. If Red Hat Ansible Lightspeed detects an error, the validation fails and an Inference failed message is displayed.
To resolve the error, ensure that:
- You have a valid API key and model ID.
- You have not accidentally included any extra spaces when obtaining the API key and model ID from IBM watsonx Code Assistant.