IBM / cloud-pak-deployer

Configuration-based installation of OpenShift and Cloud Pak for Data/Integration/Watson AIOps on various private and public cloud infrastructure providers. Deployment attempts to achieve the end-state defined in the configuration. If something fails along the way, you only need to restart the process to continue the deployment.
https://ibm.github.io/cloud-pak-deployer/
Apache License 2.0
137 stars 67 forks source link

Private registry credentials not checked correctly #585

Closed fketelaars closed 10 months ago

fketelaars commented 10 months ago

Describe the bug

TASK [connect-private-image-registry : Fail if the credentials are not in the correct format of "user:password"] ***
task path: /cloud-pak-deployer/automation-roles/50-install-cloud-pak/cpfs/connect-private-image-registry/tasks/main.yml:41
Thursday 30 November 2023  16:22:06 +0000 (0:00:00.018)       0:01:36.298 *****
fatal: [localhost]: FAILED! =>
  msg: |-
    The conditional check 'not (_registry_credentials is search(':'))' failed. The error was: error while evaluating conditional (not (_registry_credentials is search(':'))): '_registry_credentials' is undefined

    The error appears to be in '/cloud-pak-deployer/automation-roles/50-install-cloud-pak/cpfs/connect-private-image-registry/tasks/main.yml': line 41, column 3, but may
    be elsewhere in the file depending on the exact syntax problem.

    The offending line appears to be:

    - name: Fail if the credentials are not in the correct format of "user:password"
      ^ hereTASK [vault-get-secret : set_fact] *********************************************
task path: /cloud-pak-deployer/automation-roles/99-generic/vault/vault-get-secret/tasks/get-secret-file.yml:25