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

Errata info is processed and obviously assigned to rpms, but not imported #13

Open
ronnybremer opened this issue Dec 1, 2020 · 3 comments

Comments

@ronnybremer
Copy link

I see debug info with the correct RPMs being associated to the errata, but it will not be imported into Katello 3.17. Here is an extract of the log:

2020-12-01 19:20:43,591 :: DEBUG :: Processing errata CESA-2020:3906
2020-12-01 19:20:43,591 :: DEBUG :: Working on OS release 7
2020-12-01 19:20:43,591 :: DEBUG :: Packages list for errata CESA-2020:3906 for OS release 7: ['qemu-img-1.5.3-175.el7.x86_64.rpm', 'qemu-kvm-1.5.3-175.el7.x86_64.rpm', 'qemu-kvm-common-1.5.3-175.el7.x86_64.rpm', 'qemu-kvm-tools-1.5.3-175.el7.x86_64.rpm']
2020-12-01 19:20:43,591 :: DEBUG :: Working on repository CentOS_7

2020-12-01 19:20:43,593 :: DEBUG :: Processing errata CESA-2020:3714
2020-12-01 19:20:43,593 :: DEBUG :: Working on OS release 7
2020-12-01 19:20:43,593 :: DEBUG :: Packages list for errata CESA-2020:3714 for OS release 7: None

2020-12-01 19:20:43,593 :: DEBUG :: Processing errata CEBA-2020:3897
2020-12-01 19:20:43,593 :: DEBUG :: Working on OS release 7
2020-12-01 19:20:43,594 :: DEBUG :: Packages list for errata CEBA-2020:3897 for OS release 7: ['screen-4.1.0-0.26.20120314git3c2946.el7.x86_64.rpm']
2020-12-01 19:20:43,594 :: DEBUG :: Working on repository CentOS_7

2020-12-01 19:20:43,594 :: DEBUG :: Processing errata CEBA-2020:3992
2020-12-01 19:20:43,594 :: DEBUG :: Working on OS release 7
2020-12-01 19:20:43,594 :: DEBUG :: Packages list for errata CEBA-2020:3992 for OS release 7: ['pykickstart-1.99.66.22-1.el7.noarch.rpm']
2020-12-01 19:20:43,594 :: DEBUG :: Working on repository CentOS_7

2020-12-01 19:20:43,595 :: INFO :: 0 errata(s) added to CentOS_7
2020-12-01 19:20:43,595 :: INFO :: Start the synchonization for CentOS_7
2020-12-01 19:20:43,601 :: DEBUG :: Starting new HTTPS connection (1): aibsll17.bsl.ch.almanid.com:443
2020-12-01 19:20:45,525 :: DEBUG :: https://foreman.local.lan:443 "POST /katello/api/v2/repositories/1/sync HTTP/1.1" 202 None
2020-12-01 19:20:45,533 :: INFO :: Task id: 288f740e-5d22-41cb-bc34-06f9341a9a72, started at: 2020-12-01 18:20:43 UTC, state: planned

No errors are shown and the Katello task is correctly executed without errors too. The repo is the CentOS 7 repo and I checked for the RPMs, they are all in there. What am I missing?

@Nascire
Copy link

Nascire commented Dec 11, 2020

I have the same issue, and after some troubleshooting, this is my current knowledge:

The part searching for the packages in the repositories has problems, as the list of packages from Katello gets returned with "Packages/....".
I managed to work around this by editing the code, which leads to another problem - with 3.17 it uses Pulp3,
which cannot be administered by pulp-admin.

So, until someone find´s a way to publish errata directly via API, none of the "old" tools can be used.

@ronnybremer
Copy link
Author

I see, thank you for the update. I will check on the Foreman/Katello forums, if there is any current solution.

@thefretrunner
Copy link

I downgraded to 3.14 to solve this.
I do believe you can configure Foreman to use pulp2 but I have not tried it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants