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

How to set Basechannel via API #9382

Open
Ladeburger opened this issue Oct 17, 2024 · 0 comments
Open

How to set Basechannel via API #9382

Ladeburger opened this issue Oct 17, 2024 · 0 comments
Labels
question Further information is requested

Comments

@Ladeburger
Copy link

Question

I try to set the Basechannel of an System in the Susemanager via API. There are 2 Methods:

system.setBaseChannel, which is deprecated and
system.scheduleChangeChannels which is the way to go.

However, if i Change the Basechannel with setBaseChannel, all Child Channels which have comparable Channels in the old Basechannel are recreated which is really nice. For example, an Channel dev-java-sles15.5 get's recreated as test-java-sles15.5
But ScheduleChangeChannel needs to be called with the new Basechannel and a List of Child Channels, which leads to Problems. If i call it with the new Basechannel and the old Child Channels, the System will be assigned to the new Basechannel but keeps the old Child Channels. If i call it with the new Basechannel and an empty List of Child Channels, the new Basechannel gets assigned, all the comparable Child Channels get's assigned and immediatley removed

Version of Uyuni Server and Proxy (if used)

Information for package SUSE-Manager-Server-release:

Repository : SLE-Product-SUSE-Manager-Server-4.3-Updates
Name : SUSE-Manager-Server-release
Version : 4.3-150400.56.5.1
Arch : x86_64
Vendor : SUSE LLC https://www.suse.com/
Support Level : Level 3
Installed Size : 334.3 KiB
Installed : Yes
Status : up-to-date
Source package : SUSE-Manager-Server-release-4.3-150400.56.5.1.src
Summary : SUSE Manager Server 4.3
Description :
SUSE Manager lets you efficiently manage physical, virtual,
and cloud-based Linux systems. It provides automated and cost-effective
configuration and software management, asset management, and system
provisioning.

@Ladeburger Ladeburger added the question Further information is requested label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant