Skip to content

update to max completion token for azure#24

Merged
prakhar1985 merged 2 commits into
mainfrom
max_compeletion_token_azure
Mar 25, 2026
Merged

update to max completion token for azure#24
prakhar1985 merged 2 commits into
mainfrom
max_compeletion_token_azure

Conversation

@ritzshah

Copy link
Copy Markdown
Contributor

No description provided.

@ritzshah

Copy link
Copy Markdown
Contributor Author

The last one to update regex is due to the following one off error listed here - https://aap2-prod-us-east-2.aap.infra.demo.redhat.com/#/jobs/playbook/2294446/output
TASK [agnosticd.ai_workloads.ocp4_workload_ols : Grant lightspeed-operator-query-access to non-admin users] ***
Wednesday 25 March 2026 08:46:28 +0000 (0:00:00.025) 0:07:00.336 *******
[ERROR]: Task failed: Module failed: Failed to create object: b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"ClusterRoleBinding.rbac.authorization.k8s.io \"lightspeed-operator-query-access-admin:$apr1$ULDC/xBF$ejBtmiJVg/wJv3CL5PSTr/\\nuser1\\n\" is invalid: metadata.name: Invalid value: \"lightspeed-operator-query-access-admin:$apr1$ULDC/xBF$ejBtmiJVg/wJv3CL5PSTr/\\nuser1\\n\": may not contain '/'","reason":"Invalid","details":{"name":"lightspeed-operator-query-access-admin:$apr1$ULDC/xBF$ejBtmiJVg/wJv3CL5PSTr/\nuser1\n","group":"rbac.authorization.k8s.io","kind":"ClusterRoleBinding","causes":[{"reason":"FieldValueInvalid","message":"Invalid value: \"lightspeed-operator-query-access-admin:$apr1$ULDC/xBF$ejBtmiJVg/wJv3CL5PSTr/\\nuser1\\n\": may not contain '/'","field":"metadata.name"}]},"code":422}\n'
Origin: /home/runner/.ansible/collections/ansible_collections/agnosticd/ai_workloads/roles/ocp4_workload_ols/tasks/workload.yaml:141:…

This is the actual error and that regex fixes it. I have verified it working in integraiton here -
https://aap2-prod-us-east-2.aap.infra.demo.redhat.com/#/jobs/2294499/

@ritzshah ritzshah marked this pull request as ready for review March 25, 2026 09:33
@prakhar1985 prakhar1985 merged commit 99077f9 into main Mar 25, 2026
1 check passed
@prakhar1985 prakhar1985 deleted the max_compeletion_token_azure branch March 25, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants