foreman-nightly-rpm-pipeline 680 failed

Foreman RPM nightly pipeline failed:

https://ci.theforeman.org/job/foreman-nightly-rpm-pipeline/680/

foreman-pipeline-foreman-nightly-centos8-install (failed)
foreman-pipeline-foreman-nightly-centos7-install (failed)
foreman-pipeline-foreman-nightly-centos7-upgrade (failed)

TASK [forklift_versions : get forklift versions] *******************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'yaml'
fatal: [pipeline-foreman-server-nightly-centos8]: FAILED! => changed=false 
  module_stderr: |-
    Shared connection to 192.168.121.127 closed.
  module_stdout: |-
    Traceback (most recent call last):
      File "/tmp/ansible/ansible-tmp-1594850271.88-9572-237276624415120/AnsiballZ_forklift_versions.py", line 102, in <module>
        _ansiballz_main()
      File "/tmp/ansible/ansible-tmp-1594850271.88-9572-237276624415120/AnsiballZ_forklift_versions.py", line 94, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/tmp/ansible/ansible-tmp-1594850271.88-9572-237276624415120/AnsiballZ_forklift_versions.py", line 40, in invoke_module
        runpy.run_module(mod_name='ansible.modules.forklift_versions', init_globals=None, run_name='__main__', alter_sys=True)
      File "/usr/lib64/python3.6/runpy.py", line 205, in run_module
        return _run_module_code(code, init_globals, run_name, mod_spec)
      File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code
        mod_name, mod_spec, pkg_name, script_name)
      File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "/tmp/ansible_forklift_versions_payload_ca1janu5/ansible_forklift_versions_payload.zip/ansible/modules/forklift_versions.py", line 33, in <module>
    ModuleNotFoundError: No module named 'yaml'
  msg: |-
    MODULE FAILURE
    See stdout/stderr for the exact error
  rc: 1

This is probably related to

cc @evgeni

Argh. Yes. This is now being executed on the wrong node (the one being controlled, not the controller). Needs a tactical “delegate_to: localhost”

https://github.com/theforeman/forklift/pull/1184 should do it, I think

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.