Advisories clashing

Trying to sync EPEL 8 Modular repository results in the Error

Incoming and existing advisories have the same id but different timestamps and intersecting package lists. It is likely that they are from two different incompatible remote repositories. E.g. RHELX-repo and RHELY-debuginfo repo. Ensure that you are adding content for the compatible repositories. Advisory id: FEDORA-EPEL-MODULAR-2020-2c76e38f8c

Expected outcome:
Repository syncs along with errata and advisories

Foreman and Proxy versions:

  • Foreman 2.3.2

Foreman and Proxy plugin versions:

  • foreman_tasks - 3.0.3
  • foreman_openscap - 4.1.2
  • foreman_remote_execution - 4.2.2

Distribution and version:
CentOS 7.9.2009

Other relevant data:

EPEL8 Modular
Basic Information
Name - EPEL8 Modular
Label - EPEL8_Modular
Backend Identifier - 8cb3f075-2238-4124-a62c-983598e536fd
Type - yum
Sync Settings
Restrict to architecture - No restriction
Restrict to OS version - No restriction
Upstream URL -
Verify SSL - Yes
Upstream Authorization
Yum Metadata - Checksum
Mirror on Sync - No
HTTP Proxy - Global Default (HAIGS)
Ignorable Content
Publish via HTTPS - Yes
Publish via HTTP - Yes
Published At - http://foreman.domain/pulp/repos/ORG/Library/custom/EPEL8/EPEL8_Modular/
SSL Client Cert
SSL Client Key
Download Policy - Immediate

How do I go about debugging this?

This error is coming from Pulp3, trying to decide what to do with an advisory that’s different ‘now’ than it was the last time you sync’d. You can see the error-message here:

What version of pulp_rpm do you have installed?

Can you get the version, updated_date, and package-list from advisory FEDORA-EPEL-MODULAR-2020-2c76e38f8c pre-sync?


Interesting, that advisory in current-EPEL looks like this in updateinfo:

  <update from="" status="stable" type="unspecified" version="2.0">
      <issued date="2020-05-10 04:58:05"/>
      <updated date="2021-02-21 01:32:36"/>
      <rights>Copyright (C) 2021 Red Hat, Inc. and others.</rights>
      <release>Fedora Epel 8 Modular</release>
      <summary>libuv-epel8_buildroot-820200423123233.9edba152 unspecified update</summary>
      <description>Fix dependency issue.</description>
        <reference href="" id="1759510" type="bugzilla" title="Build libuv-devel for EPEL8"/>
        <collection short="EPEL-8M">
          <name>Fedora Epel 8 Modular</name>

If the earlier version had packages associated, and now it doesn’t, then we fall into the never-happen case. It’s possible the advisory was malformed somehow; maybe package maintainer can chime in here?

Hi Grant,

Thanks for your input. It kinda helps but I’m thinking resolution is about deleting the offending repositories and starting again. Unfortunately I’ve run into another problem trying to delete the content view that has been published.

Error message: the server returns an error
HTTP status code: 400
Response headers: {“date”=>“Tue, 02 Mar 2021 21:49:17 GMT”, “server”=>“gunicorn/20.0.4”, “content-type”=>“application/json”, “vary”=>“Accept,Cookie”, “allow”=>“GET, DELETE, HEAD, OPTIONS”, “x-frame-options”=>“SAMEORIGIN”, “content-length”=>“39”, “via”=>“1.1”, “connection”=>“close”}
Response body: [“Cannot delete repository version 0.”]

That implies that katello is trying to delete repo-version-0 and not (or at least before) the repository it belongs to. I don’t know exactly what katello is doing at content-view-removal-time, maybe someone on that side of things can help.

Hi @andyfry,

Your [“Cannot delete repository version 0.”] issue is definitely a bug. Does that content view have anything special like filtering, composites, or incremental updates?

To work around the problem, I think it would be save to just skip the action that is trying to delete the repo version 0 in the Dynflow console.