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

Problem to connect with foreman version > 2 #99

Open
renatocmaia opened this issue Sep 22, 2020 · 1 comment
Open

Problem to connect with foreman version > 2 #99

renatocmaia opened this issue Sep 22, 2020 · 1 comment

Comments

@renatocmaia
Copy link

When I try to connect with the Foreman version superior of 2. I get a error:

There is a conflict trying to redefine method (remove_content): apipie_resource: repositories new_api: <resource:repositories, name:remove_content> new_url: /katello/api/repositories/:id/remove_docker_manifests old_api: <resource:repositories, name:remove_content> old_url: /katello/api/repositories/:id/remove_packages

If I specify a version less then 2 its works.

Maybe the problem is related in functions:
parse_version or get_foreman_version

@antevens
Copy link

It's because of the async keyword being added to modern python versions, I made a quick fix over here
https://github.com/antevens/python-foreman

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

2 participants