-
Notifications
You must be signed in to change notification settings - Fork 12
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
Cobbler: Replace SSH with XML-RPC API calls #261
Conversation
6661712
to
b13d5ad
Compare
During fixing the unit tests an issue appeared. If the Cobbler Daemon is started in the foreground it listens on localhost to port 25151 for XML-RPC requests. This however doesn't include the HTTP API and furthermore ignores requests that are not done via localhost. Since in the test container, no nginx/apache is started the requests from Orthos are not being answered. |
Now the errors are coming from Django 5 in openSUSE Tumbleweed. |
e00b117
to
6d8ff7d
Compare
The PR is now in a reviewable state. All above mentioned issues have been taken care of. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍🏼
Since @ByteOtter will be part of the Orthos 2 reviewer team in the future I will count his review as a full one. His application to join the GitHub Team is already in progress. |
Fixes #255
This PR aims to switch from SSH-based command execution for Cobbler to a more robust XML-RPC command execution.
Due to dependency updates in openSUSE Tumbleweed, this PR also adds support for Django 5.0 and later.
Advantages:
Open points:
get_<item type>()
can't return unsaved items cobbler/cobbler#3799 so we can correctly handle the kernel options of unsaved items.