Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][development branch] playbook 'pb_get-sshkey.yaml' failed on "Could not find or access '/xxx/sap-parameters.yaml' on the Ansible Controller" #4

Open
lilyeyes opened this issue Mar 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@lilyeyes
Copy link

lilyeyes commented Mar 6, 2025

Describe the bug
I tried development branch to test sles15 SP7 BYOS images, playbook deploy/ansible/pb_get-sshkey.yaml failed on "Could not find or access '/xxx/sap-parameters.yaml' on the Ansible Controller", same test code can pass if using branches `v3.13.0.1/v3.14.0.0/main'.

It might be an issue of terraform sap system deploy.

To reproduce
Steps to reproduce the behavior:

  1. deploy sap systems with sles15 SP7 BYOS image
  2. run deploy/ansible/pb_get-sshkey.yaml
  3. See error
[DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the 
controller starting with Ansible 2.12. Current version: 3.6.15 (default, Sep 23
 2021, 15:41:43) [GCC]. This feature will be removed from ansible-core in 
version 2.12. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.
/opt/ansible/venv/2.11/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
  from cryptography.exceptions import InvalidSignature
[WARNING]: Unable to parse
/tmp/Azure_SAP_Automated_Deployment_16951892/WORKSPACES/SYSTEM/PRD-
WEEU-16951892-QES/QES_hosts.yaml as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
ERROR! Unable to retrieve file contents
Could not find or access '/tmp/Azure_SAP_Automated_Deployment_16951892/WORKSPACES/SYSTEM/PRD-WEEU-16951892-QES/sap-parameters.yaml' on the Ansible Controller.
If you are using a module and expect the file to exist on the remote, see the remote_src option

Expected behavior
This playbook can pass as branches `v3.13.0.1/v3.14.0.0/main' work.

Additional context
Please let me know if you want more inputs.

@lilyeyes lilyeyes added the bug Something isn't working label Mar 6, 2025
@KimForss
Copy link

KimForss commented Mar 6, 2025

Does the sap-parameters.yaml and QES_hosts.yaml files exist in: PRD-WEEU-16951892-QES folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants