Add optional channels via mgr-sync SUSE Manager

I have found no way to add an optional channel via the web interface of SUMA 2.1. I needed to add Debuginfo-Pool for Kdump analysis which use crash. Crash utility is used to analyze the core file captured by kdump. It can also be used to analyze the core files created by other dump utilities like netdump, diskdump, xendump. You need to ensure the “kernel-debuginfo” package is present and it is at the same level as the kernel. So, I had to use a command line of SUMA.

suma:~ # mgr-sync list channels

--cut--
[I] SLES12-Pool for x86_64 SUSE Linux Enterprise Server 12 x86_64 [sles12-pool-x86_64]
[ ] SLE-Manager-Tools12-Debuginfo-Pool x86_64 SUSE Manager Tools [sle-manager-tools12-debuginfo-pool-x86_64]
[ ] SLE-Manager-Tools12-Debuginfo-Updates x86_64 SUSE Manager Tools [sle-manager-tools12-debuginfo-updates-x86_64]
[I] SLE-Manager-Tools12-Pool x86_64 SUSE Manager Tools [sle-manager-tools12-pool-x86_64]
[I] SLE-Manager-Tools12-Updates x86_64 SUSE Manager Tools [sle-manager-tools12-updates-x86_64]
--cut--

suma:~ # mgr-sync add channel sle-manager-tools12-debuginfo-pool-x86_64
Adding 'sle-manager-tools12-debuginfo-pool-x86_64' channel
Scheduling reposync for 'sle-manager-tools12-debuginfo-pool-x86_64' channel

suma:~ # mgr-sync add channel sle-manager-tools12-debuginfo-updates-x86_64
Adding 'sle-manager-tools12-debuginfo-updates-x86_64' channel
Scheduling reposync for 'sle-manager-tools12-debuginfo-updates-x86_64' channel
suma:~ #

suma:~ # mgr-sync refresh --refresh-channels
Refreshing Channels [DONE]
Refreshing Channel families [DONE]
Refreshing SUSE products [DONE]
Refreshing SUSE Product channels [DONE]
Refreshing Subscriptions [DONE]

Scheduling refresh of all the available channels
Scheduling reposync for 'sles11-sp3-pool-x86_64' channel
Scheduling reposync for 'sle11-sdk-sp3-pool-x86_64' channel
Scheduling reposync for 'sle11-sdk-sp3-updates-x86_64' channel
--cut--

How to remove an unwanted channel from SUSE Manager

At first you need to identify what channels you want to delete. Use the “mgr-sync list channels” command.

root # mgr-sync list channels
Available Channels:

Status:
- [I] - channel is installed
- [ ] - channel is not installed, but is available
- [U] - channel is unavailable

[ ] RHEL i386 Server 5 RES 5 [rhel-i386-server-5]
[ ] RHEL i386 Server 6 Red Hat Expanded Support for RHEL 6 [rhel-i386-server-6]
[ ] RHEL x86_64 Server 5 RES 5 [rhel-x86_64-server-5]
[ ] RHEL x86_64 Server 6 Red Hat Expanded Support for RHEL 6 [rhel-x86_64-server-6]
[ ] RHEL x86_64 Server 7 Red Hat Expanded Support for RHEL 7 [rhel-x86_64-server-7]
[ ] SLES10-SP3-Pool for i586 SUSE Linux Enterprise Server 10 SP3 i686 [sles10-sp3-pool-i586]
[ ] SLES10-SP3-Pool for x86_64 SUSE Linux Enterprise Server 10 SP3 x86_64 [sles10-sp3-pool-x86_64]
[ ] SLES10-SP4-Pool for i586 SUSE Linux Enterprise Server 10 SP4 i486 [sles10-sp4-pool-i586]
[ ] SLES10-SP4-Pool for x86_64 SUSE Linux Enterprise Server 10 SP4 x86_64 [sles10-sp4-pool-x86_64]
[ ] SLES11-SP1-Pool for i586 SUSE Linux Enterprise Server 11 SP1 i586 [sles11-sp1-pool-i586]
[ ] SLES11-SP1-Pool for x86_64 SUSE Linux Enterprise Server 11 SP1 x86_64 [sles11-sp1-pool-x86_64]
[ ] SLES11-SP3-Pool for i586 SUSE Linux Enterprise Server 11 SP3 i686 [sles11-sp3-pool-i586]
[ ] SLES11-SP3-Pool for x86_64 SUSE Linux Enterprise Server 11 SP3 x86_64 [sles11-sp3-pool-x86_64]
[ ] SLES11-SP4-Pool for i586 SUSE Linux Enterprise Server 11 SP4 i686 [sles11-sp4-pool-i586]
[I] SLES11-SP4-Pool for x86_64 SUSE Linux Enterprise Server 11 SP4 x86_64 [sles11-sp4-pool-x86_64]
[ ] SLE11-Public-Cloud-Module for x86_64 SLES-SP4 SUSE Linux Enterprise Server 11 SP3 x86_64 [sle11-public-cloud-module-x86_64-sles-sp4]
[I] SLE11-SDK-SP4-Pool for x86_64 SUSE Linux Enterprise Software Development Kit 11 SP4 [sle11-sdk-sp4-pool-x86_64]
[I] SLE11-SDK-SP4-Updates for x86_64 SUSE Linux Enterprise Software Development Kit 11 SP4 [sle11-sdk-sp4-updates-x86_64]
[ ] SLE11-Security-Module for x86_64 SLES-SP4 SUSE Linux Enterprise Server 11 SP3 x86_64 [sle11-security-module-x86_64-sles-sp4]
[ ] SLE11-SMT-SP3-Pool for x86_64 SP4 SUSE Linux Enterprise Subscription Management Tool 11 SP3 [sle11-smt-sp3-pool-x86_64-sp4]
[ ] SLE11-SMT-SP3-Updates for x86_64 SP4 SUSE Linux Enterprise Subscription Management Tool 11 SP3 [sle11-smt-sp3-updates-x86_64-sp4]
[ ] SLE11-SP4-Debuginfo-Pool for x86_64 SUSE Linux Enterprise Server 11 SP4 x86_64 [sle11-sp4-debuginfo-pool-x86_64]
[ ] SLE11-SP4-Debuginfo-Updates for x86_64 SUSE Linux Enterprise Server 11 SP4 x86_64 [sle11-sp4-debuginfo-updates-x86_64]
[ ] SLES11-Extras for x86_64 SLES-SP4 SUSE Linux Enterprise Server 11 SP1 x86_64 [sles11-extras-x86_64-sles-sp4]
[I] SLES11-SP4-Updates for x86_64 SUSE Linux Enterprise Server 11 SP4 x86_64 [sles11-sp4-updates-x86_64]
[I] SLES12-Pool for x86_64 SUSE Linux Enterprise Server 12 x86_64 [sles12-pool-x86_64]

For example you want to delete the following channel:
[I] SLE11-SDK-SP4-Updates for x86_64 SUSE Linux Enterprise Software Development Kit 11 SP4 [sle11-sdk-sp4-updates-x86_64]

To do that, use the following command: “spacewalk-remove-channel -c

root # spacewalk-remove-channel -c sle11-sdk-sp4-updates-x86_64