Question about Cloneing/Merging Patches via SuMA 2.1 API

Hi,

currently i’ve implementet a stageing concept at my Office. There are 3 Stages for each Channel (TST, QAS, PRD) and we are using the " spacewalk-manage-channel-lifecycle " Script to clone the Patches from one Stage to the next on a regular basis.
The Problem is that we Need some Kind of “Fast-Lane” for Emergency/SecurityFixes and this script clones the whole channel.

So i was trying to implement some Script that utilises the SuMA API to clone/merge specific Patches from one Stage to the next.

https://www.suse.com/documentation/suse-manager-3/pdfdoc/susemanager_api_doc_color_en/susemanager_api_doc_color_en.pdf

I tried to use the channel.software.mergeErrata but it just merges/clones the Information about a patch without the packages needed for the Update.

When I run a channel.software.listErrataNeedingSync it lists the just cloned/merged patches, but when i run a channel.software.syncErrata nothing happens.

Could someone please Point out what i am doing wrong? Is there a better method of achiving what i Need?

Thanks a Lot

Malcolm

This business case sounds like one from the exercises in the SUSE Manager
3 training I attended a few weeks go, though the solution there for
emergency patches was to have an emergency child channel created just for
those patches. Add in whatever emergency stuff you need there, then
promote that through without the rest of everything offered by SUSE, or
adopted by you in your development or test channels.

I know that does not answer your specific question, but I think it handles
what you are after better in the long run.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…