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

Cloud Connector Configuration fails #814

Open
LiohMoeller opened this issue Mar 23, 2023 · 6 comments · May be fixed by #815
Open

Cloud Connector Configuration fails #814

LiohMoeller opened this issue Mar 23, 2023 · 6 comments · May be fixed by #815

Comments

@LiohMoeller
Copy link

LiohMoeller commented Mar 23, 2023

I am trying to Configure the Cloud Connector using Configure / Inventory Upload / Configure Cloud Connector which invokes an Ansible Job run. This fails due to a missing role 'redhat.satellite_operations.cloud_connector'.

ERROR! the role 'redhat.satellite_operations.cloud_connector' was not found in /tmp/d20230323-802194-1r0ilbc/project/roles:/etc/ansible/roles:/usr/share/ansible/roles:/tmp/d20230323-802194-1r0ilbc/project
The error appears to be in '/tmp/d20230323-802194-1r0ilbc/project/playbook.yml': line 6, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
  roles:
      - redhat.satellite_operations.cloud_connector
      ^ here
Exit status: 1
@LiohMoeller
Copy link
Author

LiohMoeller commented Mar 23, 2023

It seems the missing role is part of https://github.com/RedHatSatellite/satellite-operations-collection

But as this is Foreman, shouldn't it be https://github.com/theforeman/foreman-operations-collection here?

The package ansible-collection-theforeman-operations is installed on the Foreman Server.

@LiohMoeller
Copy link
Author

Besides that, cloud_connector/tasks/main.yml tries to install yggdrasil-worker-forwarder which does not seem to be available in the Foreman repositories.

@evgeni
Copy link
Member

evgeni commented Mar 23, 2023

You should be able to replace redhat.satellite_operations with theforeman.operations just fine.

As for the forwarder package, that's a good question!

@LiohMoeller
Copy link
Author

Yes, I have created a PR for that: #815

The yggdrasil-worker-forwarder seems only to be available in downstream Satellite Repositories. Did not find the relevant upstream .spec as well.

@LiohMoeller
Copy link
Author

LiohMoeller commented Mar 23, 2023

Upstream Project itself resides here: https://github.com/shimshtein/yggdrasil-worker-forwarder - Pipeline does not produce RPMs. Spec file not available. The resulting package should be part of the Foreman Repository as well.

@evgeni
Copy link
Member

evgeni commented Mar 23, 2023

there was a typo in our repo config, just fixed it and the package should show up in the next ~5 min

edit: published for 3.4, 3.5, 3.6 and nightly

@ekohl ekohl linked a pull request Nov 27, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants