foreman-nightly-rpm-pipeline 680 failed

Foreman RPM nightly pipeline failed:

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 closed.
  module_stdout: |-
    Traceback (most recent call last):
      File "/tmp/ansible/ansible-tmp-1594850271.88-9572-237276624415120/", line 102, in <module>
      File "/tmp/ansible/ansible-tmp-1594850271.88-9572-237276624415120/", line 94, in _ansiballz_main
        invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
      File "/tmp/ansible/ansible-tmp-1594850271.88-9572-237276624415120/", 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/", line 205, in run_module
        return _run_module_code(code, init_globals, run_name, mod_spec)
      File "/usr/lib64/python3.6/", line 96, in _run_module_code
        mod_name, mod_spec, pkg_name, script_name)
      File "/usr/lib64/python3.6/", line 85, in _run_code
        exec(code, run_globals)
      File "/tmp/ansible_forklift_versions_payload_ca1janu5/", line 33, in <module>
    ModuleNotFoundError: No module named 'yaml'
  msg: |-
    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” should do it, I think

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