Skip to content

Redeployment of certificates fails #186

@yevhenkovalenko

Description

@yevhenkovalenko

When running the command
ansible-playbook -i inventory.ini openshift-ansible/playbooks/redeploy-certificates.yml
to update the certificates get the following error
TASK [openshift_certificate_expiry : Check cert expirys on host] ********************************************************************************************
fatal: [<HOST_IP>]: FAILED! => {"changed": false, "module_stderr": "Shared connection to <HOST_IP> closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File "/root/.ansible/tmp/ansible-tmp-1632146092.58-261210619769770/AnsiballZ_openshift_cert_expiry.py", line 113, in \r\n _ansiballz_main()\r\n File "/root/.ansible/tmp/ansible-tmp-1632146092.58-261210619769770/AnsiballZ_openshift_cert_expiry.py", line 105, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File "/root/.ansible/tmp/ansible-tmp-1632146092.58-261210619769770/AnsiballZ_openshift_cert_expiry.py", line 48, in invoke_module\r\n imp.load_module('main', mod, module, MOD_DESC)\r\n File "/tmp/ansible_openshift_cert_expiry_payload_IigB2H/main.py", line 876, in \r\n File "/tmp/ansible_openshift_cert_expiry_payload_IigB2H/main.py", line 661, in main\r\nKeyError: 'client-certificate-data'\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
What could possibly cause it? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions