Error: Default credentials not found when configuring Ollama AI
search cancel

Error: Default credentials not found when configuring Ollama AI

book

Article ID: 429993

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When implementing Ollama AI with the AWI, the automation-ai pod fails to start and credentials are not passed correctly ․​​​

ERROR MESSAGE: "Caused by: java․io․IOException: Your default credentials were not found․"

SYMPTOMS:

  • The automation-ai pod shows errors regarding missing default credentials 

  • The AI implementation fails to connect to the configured model

 

CONTEXT: Occurs during the implementation of Ollama AI in an Automation Engine environment

IMPACT: Prevents the successful implementation and usage of the AI feature

Resolution

PREREQUISITES:

  • Access to the Kubernetes configuration map for the automation-ai component

     

STEPS:

Step 1․ UPDATE CONFIGURATION MAP

Path: automation-ai-configmap

Update the configuration key from AUTOMATION_AI_MODEL to AUTOMATION_AI_MODEL_NAME

NOTE: The current Ollama implementation does not require authentication

 

VERIFY SUCCESS:

  • Restart the pod and verify the application starts without credential errors

Additional Information

The issue occurs due to a misconfiguration in the automation-ai-configmap where an incorrect keyword is used for the AI model name