Skip to content

Execution stuck on Azure ARO installation #970

@rubtobar

Description

@rubtobar

Describe the bug
I always get this error when running the cp-deploy.sh env apply --accept-all-licenses

TASK [Retrieve credentials for service principal {{ _p_az_sp_name }}] **********
Thursday 10 July 2025  08:57:10 +0000 (0:00:00.034)       0:00:51.892 *********

TASK [vault-get-secret : Validate mandatory variables are defined for Get Secret] ***
Thursday 10 July 2025  08:57:10 +0000 (0:00:00.040)       0:00:51.933 *********
fatal: [localhost]: FAILED! => {
    "assertion": "_p_vault_secrets is defined or secret_name is defined",
    "changed": false,
    "evaluated_to": false,
    "msg": "Assertion failed"
}

The command cp-deploy.sh env apply --check-only --accept-all-licenses runns with a success at the end.

To Reproduce
Steps to reproduce the behavior:
I define this secrets along with the specified ebv variables:
./cp-deploy.sh vault set
--vault-secret ocp-pullsecret
--vault-secret-file [...]/ocp_pullsecret.json

./cp-deploy.sh vault set
--vault-secret ${AZURE_SP}-credentials
--vault-secret-file [...]/${AZURE_SP}-credentials.json

./cp-deploy.sh vault set --vault-secret ibm_cp_entitlement_key --vault-secret-file [...]/EntitlementKeyPersonal

Expected behavior
I do expect the script to proceed with installation

Desktop (please complete the following information):

  • Linux on WSL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions