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

error looking for "terraform-provider-ibm_v1.38.2.pem" when using ibm_is_vpc #88

Closed
kdelee opened this issue Feb 17, 2022 · 2 comments
Closed

Comments

@kdelee
Copy link

kdelee commented Feb 17, 2022

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/ansible/ibmcloud/terraform-provider-ibm_v1.38.2.pem'
fatal: [localhost]: FAILED! => changed=false 
  module_stderr: |-
    Traceback (most recent call last):
      File "/home/jenkins/.ansible/tmp/ansible-tmp-1645134337.7965276-334-64812123147787/AnsiballZ_ibm_is_vpc.py", line 100, in <module>
        _ansiballz_main()
      File "/home/jenkins/.ansible/tmp/ansible-tmp-1645134337.7965276-334-64812123147787/AnsiballZ_ibm_is_vpc.py", line 92, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/home/jenkins/.ansible/tmp/ansible-tmp-1645134337.7965276-334-64812123147787/AnsiballZ_ibm_is_vpc.py", line 41, in invoke_module
        run_name='__main__', alter_sys=True)
      File "/usr/lib64/python3.7/runpy.py", line 205, in run_module
        return _run_module_code(code, init_globals, run_name, mod_spec)
      File "/usr/lib64/python3.7/runpy.py", line 96, in _run_module_code
        mod_name, mod_spec, pkg_name, script_name)
      File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "/tmp/ansible_ibm.cloudcollection.ibm_is_vpc_payload_e98jpn5z/ansible_ibm.cloudcollection.ibm_is_vpc_payload.zip/ansible_collections/ibm/cloudcollection/plugins/modules/ibm_is_vpc.py", line 273, in <module>
      File "/tmp/ansible_ibm.cloudcollection.ibm_is_vpc_payload_e98jpn5z/ansible_ibm.cloudcollection.ibm_is_vpc_payload.zip/ansible_collections/ibm/cloudcollection/plugins/modules/ibm_is_vpc.py", line 269, in main
      File "/tmp/ansible_ibm.cloudcollection.ibm_is_vpc_payload_e98jpn5z/ansible_ibm.cloudcollection.ibm_is_vpc_payload.zip/ansible_collections/ibm/cloudcollection/plugins/modules/ibm_is_vpc.py", line 249, in run_module
      File "/tmp/ansible_ibm.cloudcollection.ibm_is_vpc_payload_e98jpn5z/ansible_ibm.cloudcollection.ibm_is_vpc_payload.zip/ansible_collections/ibm/cloudcollection/plugins/module_utils/ibmcloud.py", line 453, in ibmcloud_terraform
      File "/tmp/ansible_ibm.cloudcollection.ibm_is_vpc_payload_e98jpn5z/ansible_ibm.cloudcollection.ibm_is_vpc_payload.zip/ansible_collections/ibm/cloudcollection/plugins/module_utils/ibmcloud.py", line 718, in __init__
      File "/tmp/ansible_ibm.cloudcollection.ibm_is_vpc_payload_e98jpn5z/ansible_ibm.cloudcollection.ibm_is_vpc_payload.zip/ansible_collections/ibm/cloudcollection/plugins/module_utils/ibmcloud.py", line 751, in _install_ibmcloud_tf_provider
    FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/ansible/ibmcloud/terraform-provider-ibm_v1.38.2.pem'

Can anyone give me some clue why the module is looking for this file and what I can do to get around this?

@jaywcarman
Copy link
Collaborator

Hi @kdelee. A bunch of old PRs were merged before the v1.38.2 release. Included was #40 which is causing the errors you're seeing.

@kdelee
Copy link
Author

kdelee commented Feb 21, 2022

@jaywcarman thanks for the insight. For now I'll try skipping v1.38.2 in my collection requirements file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants