Skip to content

[cloud-native AI] Incorrect ICR namespace being used by ALM DA #281

@ocofaigh

Description

@ocofaigh

After deploying the Standard with sample application (Deploy on Red Hat OpenShift) variation with prefix value of dev-9rmy and checking the logs of the CI-Toolchain rag-webhook-trigger run, the following error was seen in the build artifact stage:

4 Dec, 13:11:20 Set up sbom utility tool
4 Dec, 13:11:20 Copy of sbom-utility successful
4 Dec, 13:11:20 Copy pipelinectl and cocoa node utilities to stage container
4 Dec, 13:11:21 Copy git binaries to stage container only if git not available
4 Dec, 13:11:21 Set up pipelinectl utilities
4 Dec, 13:11:27 === Executing custom script for stage 'containerize' ===
4 Dec, 13:11:28 Login Succeeded
4 Dec, 13:11:28 Checking registry namespace: dev-9rmy-dev-9rmy-us-south-le1q
4 Dec, 13:11:28 API endpoint: https://cloud.ibm.com/
4 Dec, 13:11:28 Authenticating...
4 Dec, 13:11:29 OK
4 Dec, 13:11:29 
4 Dec, 13:11:29 Targeted account GoldenEye Development's Account (abac0df06b644a9cabc6e44f55b3880e) <-> 2314088
4 Dec, 13:11:29 
4 Dec, 13:11:30 Targeted region us-south
4 Dec, 13:11:30 
4 Dec, 13:11:31 To avoid disruption updating the CLI or plug-ins through the 'update' and 'plugin' commands, you must update to version 2.36.0 by Oct 30 2025. To update, use 'ibmcloud update'
4 Dec, 13:11:31                   
4 Dec, 13:11:31 API endpoint:     https://cloud.ibm.com/
4 Dec, 13:11:31 Region:           us-south
4 Dec, 13:11:31 User:             [[email protected]](mailto:[email protected])
4 Dec, 13:11:31 Account:          GoldenEye Development's Account (abac0df06b644a9cabc6e44f55b3880e) <-> 2314088
4 Dec, 13:11:31 Resource group:   No resource group targeted, use 'ibmcloud target -g RESOURCE_GROUP'
4 Dec, 13:11:31 Targeted resource group dev-9rmy-rag-services
4 Dec, 13:11:31 
4 Dec, 13:11:31 
4 Dec, 13:11:31                   
4 Dec, 13:11:31 API endpoint:     https://cloud.ibm.com/
4 Dec, 13:11:31 Region:           us-south
4 Dec, 13:11:31 User:             [[email protected]](mailto:[email protected])
4 Dec, 13:11:31 Account:          GoldenEye Development's Account (abac0df06b644a9cabc6e44f55b3880e) <-> 2314088
4 Dec, 13:11:31 Resource group:   dev-9rmy-rag-services
4 Dec, 13:11:32 Registry namespace dev-9rmy-dev-9rmy-us-south-le1q not found
4 Dec, 13:11:33 FAILED
4 Dec, 13:11:33 The requested namespace is not valid.
4 Dec, 13:11:33 Choose a valid namespace value. Namespaces must be between 4 and 30 characters long, and contain lowercase letters, numbers, hyphens, and underscores only. Namespaces must start and end with a letter or number.
4 Dec, 13:11:33 
4 Dec, 13:11:33 
4 Dec, 13:11:33 === Execution of custom script for stage 'containerize' finished. Exit Code: '1'.

This is happening due to this bug -> terraform-ibm-modules/terraform-ibm-devsecops-alm#644

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions