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

Execution Fails with Error #9

Open
acornett21 opened this issue Sep 27, 2024 · 1 comment
Open

Execution Fails with Error #9

acornett21 opened this issue Sep 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@acornett21
Copy link

After many times of creating and tearing down the VM, the same error still persists.

+ exec dci-pipeline 'ocp-workload:ansible_inventory=~/certification-lab-config/inventories/pool/cluster1-workload.yml' 'ocp-workload:ansible_extravars=kubeconfig_path:~/cluster1/auth/kubeconfig' /home/vagrant/certification-lab-config/pipelines/workload-pipeline.yml
Traceback (most recent call last):
  File "/usr/bin/dci-pipeline", line 11, in <module>
    load_entry_point('dci-pipeline==0.9.0', 'console_scripts', 'dci-pipeline')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.6/site-packages/dcipipeline/main.py", line 29, in <module>
    from ansible.cli import CLI
ModuleNotFoundError: No module named 'ansible'

Not sure what piece of the instructions or of the OS are missing.

@acornett21 acornett21 added the bug Something isn't working label Sep 27, 2024
@ramperher
Copy link

CC @tkrishtop @pierreblanc , in case you didn't see this.

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