ansible-devops icon indicating copy to clipboard operation
ansible-devops copied to clipboard

Issue with gencfg_mongo role

Open whoiscnu opened this issue 10 months ago • 1 comments

Collection version

"v9-241205-amd64"

Environment information

MAS_CATALOG_VERSION="v9-241205-amd64"

Error during Gencfg mongo role

TASK [ibm.mas_devops.gencfg_mongo : Read Mongo Certificate file] ***************
task path: /root/.ansible/collections/ansible_collections/ibm/mas_devops/roles/gencfg_mongo/tasks/main.yml:89
fatal: [localhost]: FAILED! => {
    "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
    "changed": false
}

PLAY RECAP *********************************************************************
localhost                  : ok=15   changed=0    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0

What happened?

MAS_CATALOG_VERSION="v9-241205-amd64"

Error during Gencfg mongo role

TASK [ibm.mas_devops.gencfg_mongo : Read Mongo Certificate file] *************** task path: /root/.ansible/collections/ansible_collections/ibm/mas_devops/roles/gencfg_mongo/tasks/main.yml:89 fatal: [localhost]: FAILED! => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false }

PLAY RECAP ********************************************************************* localhost : ok=15 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0

Relevant log output

MAS_CATALOG_VERSION="v9-241205-amd64"


TASK [ibm.mas_devops.gencfg_mongo : Read Mongo Certificate file] ***************
task path: /root/.ansible/collections/ansible_collections/ibm/mas_devops/roles/gencfg_mongo/tasks/main.yml:89
fatal: [localhost]: FAILED! => {
    "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result",
    "changed": false
}

PLAY RECAP *********************************************************************
localhost                  : ok=15   changed=0    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0

whoiscnu avatar Feb 27 '25 10:02 whoiscnu

@whoiscnu this error happens when the MongoDB CA PEM file can't be read. Can you see a file generated, and does it have content?

whitfiea avatar Mar 23 '25 20:03 whitfiea