On dt, 2020-05-26 at 14:12 +0000, Bidault, Philippe wrote:

Hi all,

 

On a CentOS 7 server registered in Uyuni (2020.05), I have this:

 

# yum check-updates

Loaded plugins: fastestmirror, susemanagerplugin

Loading mirror speeds from cached hostfile

Update notice CESA-2019:2079 (from susemanager:centos7-x86_64-updates) is broken, or a bad duplicate, skipping.

You should report this problem to the owner of the susemanager:centos7-x86_64-updates repository.

To help pinpoint the issue, please attach the output of "yum updateinfo --verbose" to the report.

 

The issue seems to come from the fact that this errata has been published on 2 repos:

 

spacecmd {SSM:0}> errata_details CESA-2019:2079

Name:       CESA-2019:2079

Product:    CentOS Linux

Type:       Security Advisory

Issue Date: 2/6/20

Affected Channels

-----------------

centos7-x86_64

centos7-x86_64-updates

 

There is an endless discussion over the years regarding this issue here: https://bugzilla.redhat.com/show_bug.cgi?id=1203963

 

Does somebody found a workaround about it ?

 

Could be good to have Uyuni checking the duplicate erratas among all the channels belonging to the same parent, and automatically skip them.


This is such a corner case I am not sure it's worth it. We'll take a look and try to fix it if it's an easy one.

 

And BTW, is there a plan to have Uyuni managing the erratas of .DEB and .RPM OS families to avoid to use third-party scripts to inject them in Uyuni ?


Uyuni can already manage erratas for RHEL, SLES Expanded Support and Oracle Linux, since that metadata is in the repositories. The problem with CentOS is it does not provide the errata information, therefore you need to inject it using Steve Meier's service.

As for .deb, the problem is errata (as in "errata packages") simply does not exist there. Everything is normal packages and updated packages in the happy .deb world. What Phil's script do is simulate errata from plain package updates and security advisores. This is definitely in our backlog but not at the top-most priority. Robert Paschebag started a native implementation with Salt. The only thing we are missing here is a PR with the code, some docs and some testing:
https://github.com/uyuni-project/uyuni/issues/2068

Thank you

Pau Garcia Quiles
SUSE Manager Product Owner & Technical Project Manager
SUSE Software Solutions Spain