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

Backport Uyuni support? #43

Open
2 of 4 tasks
stdevel opened this issue Apr 17, 2018 · 1 comment
Open
2 of 4 tasks

Backport Uyuni support? #43

stdevel opened this issue Apr 17, 2018 · 1 comment
Assignees
Labels
enhancement integration Integration into 3rd party system question
Milestone

Comments

@stdevel
Copy link
Owner

stdevel commented Apr 17, 2018

Maybe it would be a good idea to backport the Uyuni and SUSE Manager support?

For this, the following things would need to be done:

  • replace API calls in maintenance.py, parameters.py, populate.py and snapshot.py with more generic functions (e.g. get hosts, get packages,...) and add optional server type (Uyuni) in order to make katprep more modular
  • replace API calls in ForemanAPIClient.py with nailgun (see also issue Use nailgun rather than ForemanAPIClient #134)
  • implement UyuniAPIClient.py
  • implement unit tests and Uyuni vagrant boxes

It's a moderate code change but would also enable using two popular utilities. satprep (which was designed for these tools) is really outdated and updating it might take more effort..

Open questions

  • How to deal with unsupported filtering options? (Spacewalk does not support locations and environments)
    • throw UnsupportedFilterException
  • SpacewalkAPIClient.py would need a function which combines multiple calls in a JSON result (combining errata information as well as custom variables, etc.) in order to enable reports
  • depends on issue Avoid using Puppet host parameters #110
@stdevel stdevel self-assigned this Apr 17, 2018
@stdevel
Copy link
Owner Author

stdevel commented Jun 9, 2018

Development started in branch feature-spacewalk-support - first draft with API login and verification pushed with commit f41e7bb.

@stdevel stdevel added this to the 0.6 milestone Jun 30, 2018
@stdevel stdevel changed the title Backport Spacewalk support? Backport Spacewalk / Uyuni support? Dec 1, 2018
@stdevel stdevel added the integration Integration into 3rd party system label Sep 20, 2019
@stdevel stdevel changed the title Backport Spacewalk / Uyuni support? Backport Uyuni support? Jun 28, 2020
@stdevel stdevel modified the milestones: 0.6, 0.5.x Nov 18, 2020
This was referenced May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement integration Integration into 3rd party system question
Projects
None yet
Development

No branches or pull requests

1 participant