Re: [Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and modular package issues

2021-06-08 Thread Paul Robert Marino
there is also an other possibility there may be cross channel
package contamination but thats a rarer condition. thats when the errata
update process causes packages from one distribution to get added to a
repository from an other distribution. this can be caused in spacewalk with
Centos when the erratas are updated due to a bug in the errata API's when
an errata is applied to multiple versions of the same distribution or
multiple distributions. the bug is well known and had a bug ticket for it
that showed the specific line at fault but was never fixed to my knowledge
because every distro but Centos started including the errata information in
the yum/dnf repos due to a conversation the bug sparked on the dev mailing
list. thats also the reason why the --security and --bugfix options in
Centos generally don't do anything unless you are using spacewalk and why
CentOS still needs a custom errata sync script.


On Tue, Jun 8, 2021 at 10:11 AM Paul Robert Marino 
wrote:

> Im not sure but this looks like a typical package conflict. these things
> happen you may be missing some update packages that are causing the update
> of libperl to be blocked.
> there are some yum tools for diagnosing this stuff.
> BTW ive seen these kind of errors pop up before both with and without
> spacewalk and with distros fully supported by spacewalk.
> These kinds of errors are typical and are probably due to a broken RPM
> database on this server being updated. usually they are caused by a yum
> transaction that was aborted part way through by something like a crashed
> puppet agent or an ssh session that got killed in the middle of an update.
> The other probable cause is you might be syncing off an upstream mirror
> thats out of date.
>
>
> On Tue, Jun 8, 2021 at 9:43 AM BARRIERE Benoit <
> b.barri...@monaco-telecom.mc> wrote:
>
>> Thx Andreas,
>>
>>
>>
>> The yum list module is showing correctly all available module in
>> appstream but not perl-lib package.
>>
>>
>>
>> If i migrate to Oracle Linux manager 10 (more easier for me now) with
>> Oracle linux 8 client compatibility i am sure about the centos 8 stream wil
>> also capatible.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *De :* spacewalk-list-boun...@redhat.com <
>> spacewalk-list-boun...@redhat.com> *De la part de* Andreas Dijkman
>> *Envoyé :* mardi 8 juin 2021 13:56
>> *À :*  
>> *Objet :* Re: [Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and
>> modular package issues
>>
>>
>>
>> It looks like your Spacewalk 2.10 setup has invalid module data. Module
>> data from vanilla Spacewalk 2.10 has challenges and isn’t working
>> properly.
>>
>>
>>
>> If you run the command yum module list and there isn’t any modules
>> listed, only a few and some message like ‘Fallback Module data used, then
>> module data isn’t available for the AppStream-channel.
>>
>>
>>
>> You can try Uyuni or maybe Spacewalk 2.11 (nightly/unstable/beta) if
>> that’s still available or the Oracle-version of Spacewalk.
>>
>>
>>
>> Or just bite the bullet and use Red Hat Satellite 6 (Foreman).
>>
>>
>> Kind regards,
>>
>> Andreas Dijkman
>>
>>
>>
>> On 8 Jun 2021, at 12:00, BARRIERE Benoit 
>> wrote:
>>
>>
>>
>> Hello Spacewalk guys,
>>
>>
>>
>> I have found an issue when i try to update an centos 8 stream client. I
>> suspect modular metadatas are not inserted correctly when i use reposync
>> command and conflicts occur when i update.
>>
>>
>>
>> [root@worker1 yum.repos.d]# yum update
>>
>> This system is receiving updates from Spacewalk server.
>>
>> CentOS Stream Base
>> (x86_64)
>>  
>> 52
>> MB/s | 8.2 MB 00:00
>>
>> CentOS Stream PowerTools
>> (x86_64)
>>38 MB/s | 3.1 MB 00:00
>>
>> CentOS Stream Extras
>> (x86_64)
>> 307 kB/s |  13 kB 00:00
>>
>> EPEL 8 for CentOS Stream
>> (x86_64)
>> 71 MB/s |  14 MB 00:00
>>
>> CentOS Stream AppStream (x86_64)
>>  
>> 78
>> MB/s |  15 MB 00:00
>>
>> Copr repo for spacewalk-2.10-client owned by
>> @spacewalkproject
>>60 kB/s
>> |  28 kB 00:00
>>
>>

Re: [Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and modular package issues

2021-06-08 Thread Paul Robert Marino
Im not sure but this looks like a typical package conflict. these things
happen you may be missing some update packages that are causing the update
of libperl to be blocked.
there are some yum tools for diagnosing this stuff.
BTW ive seen these kind of errors pop up before both with and without
spacewalk and with distros fully supported by spacewalk.
These kinds of errors are typical and are probably due to a broken RPM
database on this server being updated. usually they are caused by a yum
transaction that was aborted part way through by something like a crashed
puppet agent or an ssh session that got killed in the middle of an update.
The other probable cause is you might be syncing off an upstream mirror
thats out of date.


On Tue, Jun 8, 2021 at 9:43 AM BARRIERE Benoit 
wrote:

> Thx Andreas,
>
>
>
> The yum list module is showing correctly all available module in appstream
> but not perl-lib package.
>
>
>
> If i migrate to Oracle Linux manager 10 (more easier for me now) with
> Oracle linux 8 client compatibility i am sure about the centos 8 stream wil
> also capatible.
>
>
>
>
>
>
>
>
>
>
>
>
>
> *De :* spacewalk-list-boun...@redhat.com <
> spacewalk-list-boun...@redhat.com> *De la part de* Andreas Dijkman
> *Envoyé :* mardi 8 juin 2021 13:56
> *À :*  
> *Objet :* Re: [Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and modular
> package issues
>
>
>
> It looks like your Spacewalk 2.10 setup has invalid module data. Module
> data from vanilla Spacewalk 2.10 has challenges and isn’t working
> properly.
>
>
>
> If you run the command yum module list and there isn’t any modules listed,
> only a few and some message like ‘Fallback Module data used, then module
> data isn’t available for the AppStream-channel.
>
>
>
> You can try Uyuni or maybe Spacewalk 2.11 (nightly/unstable/beta) if
> that’s still available or the Oracle-version of Spacewalk.
>
>
>
> Or just bite the bullet and use Red Hat Satellite 6 (Foreman).
>
>
> Kind regards,
>
> Andreas Dijkman
>
>
>
> On 8 Jun 2021, at 12:00, BARRIERE Benoit 
> wrote:
>
>
>
> Hello Spacewalk guys,
>
>
>
> I have found an issue when i try to update an centos 8 stream client. I
> suspect modular metadatas are not inserted correctly when i use reposync
> command and conflicts occur when i update.
>
>
>
> [root@worker1 yum.repos.d]# yum update
>
> This system is receiving updates from Spacewalk server.
>
> CentOS Stream Base
> (x86_64)
>   
>52
> MB/s | 8.2 MB 00:00
>
> CentOS Stream PowerTools
> (x86_64)
>38 MB/s | 3.1 MB 00:00
>
> CentOS Stream Extras
> (x86_64)
> 307 kB/s |  13 kB 00:00
>
> EPEL 8 for CentOS Stream
> (x86_64)
> 71 MB/s |  14 MB 00:00
>
> CentOS Stream AppStream (x86_64)
>   
>78
> MB/s |  15 MB 00:00
>
> Copr repo for spacewalk-2.10-client owned by
> @spacewalkproject
>60 kB/s
> |  28 kB 00:00
>
> Error:
>
> Problem 1: package perl-Time-HiRes-4:1.9758-2.el8.x86_64 requires
> libperl.so.5.26()(64bit), but none of the providers can be installed
>
>   - cannot install both
> perl-libs-4:5.30.1-451.module_el8.3.0+406+78614513.x86_64 and
> perl-libs-4:5.26.3-419.el8.x86_64
>
>   - cannot install the best update candidate for package
> perl-libs-4:5.26.3-419.el8.x86_64
>
>   - cannot install the best update candidate for package
> perl-Time-HiRes-4:1.9758-2.el8.x86_64
>
> Problem 2: package
> perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64 requires
> libperl.so.5.26()(64bit), but none of the providers can be installed
>
>   - cannot install both
> perl-libs-4:5.30.1-451.module_el8.3.0+406+78614513.x86_64 and
> perl-libs-4:5.26.3-419.el8.x86_64
>
>   - package perl-CPAN-Meta-2.150010-397.module_el8.3.0+406+78614513.noarch
> requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be
> installed
>
>   - cannot install the best update candidate for package
> perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64
>
>   - cannot install the best update candidate for package
> perl-CPAN-Meta-2.150010-396.el8.noarch
>
>   - package perl-libs-4:5.30.1-452.module_el8.4.0+646+45e06e4a.x86_64 is
> filtered out by modular filtering
>
> Problem 3: package net-snmp-agent-libs-1:5.8-20.el8.x86_64 requires
> libperl.so.5.26()(64bit), but none of the providers can be installed
>
> […]
&

Re: [Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and modular package issues

2021-06-08 Thread BARRIERE Benoit
Thx Andreas,

The yum list module is showing correctly all available module in appstream but 
not perl-lib package.

If i migrate to Oracle Linux manager 10 (more easier for me now) with Oracle 
linux 8 client compatibility i am sure about the centos 8 stream wil also 
capatible.






De : spacewalk-list-boun...@redhat.com  De 
la part de Andreas Dijkman
Envoyé : mardi 8 juin 2021 13:56
À :  
Objet : Re: [Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and modular package 
issues

It looks like your Spacewalk 2.10 setup has invalid module data. Module data 
from vanilla Spacewalk 2.10 has challenges and isn’t working properly.

If you run the command yum module list and there isn’t any modules listed, only 
a few and some message like ‘Fallback Module data used, then module data isn’t 
available for the AppStream-channel.

You can try Uyuni or maybe Spacewalk 2.11 (nightly/unstable/beta) if that’s 
still available or the Oracle-version of Spacewalk.

Or just bite the bullet and use Red Hat Satellite 6 (Foreman).

Kind regards,
Andreas Dijkman


On 8 Jun 2021, at 12:00, BARRIERE Benoit 
mailto:b.barri...@monaco-telecom.mc>> wrote:

Hello Spacewalk guys,

I have found an issue when i try to update an centos 8 stream client. I suspect 
modular metadatas are not inserted correctly when i use reposync command and 
conflicts occur when i update.

[root@worker1 yum.repos.d]# yum update
This system is receiving updates from Spacewalk server.
CentOS Stream Base (x86_64) 

   52 MB/s | 8.2 MB 00:00
CentOS Stream PowerTools (x86_64)   

   38 MB/s | 3.1 MB 00:00
CentOS Stream Extras (x86_64)   

  307 kB/s |  13 kB 00:00
EPEL 8 for CentOS Stream (x86_64)   

   71 MB/s |  14 MB 00:00
CentOS Stream AppStream (x86_64)

   78 MB/s |  15 MB 00:00
Copr repo for spacewalk-2.10-client owned by @spacewalkproject  

   60 kB/s |  28 kB 00:00
Error:
Problem 1: package perl-Time-HiRes-4:1.9758-2.el8.x86_64 requires 
libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both 
perl-libs-4:5.30.1-451.module_el8.3.0+406+78614513.x86_64 and 
perl-libs-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package 
perl-libs-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package 
perl-Time-HiRes-4:1.9758-2.el8.x86_64
Problem 2: package perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64 
requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both 
perl-libs-4:5.30.1-451.module_el8.3.0+406+78614513.x86_64 and 
perl-libs-4:5.26.3-419.el8.x86_64
  - package perl-CPAN-Meta-2.150010-397.module_el8.3.0+406+78614513.noarch 
requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  - cannot install the best update candidate for package 
perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64
  - cannot install the best update candidate for package 
perl-CPAN-Meta-2.150010-396.el8.noarch
  - package perl-libs-4:5.30.1-452.module_el8.4.0+646+45e06e4a.x86_64 is 
filtered out by modular filtering
Problem 3: package net-snmp-agent-libs-1:5.8-20.el8.x86_64 requires 
libperl.so.5.26()(64bit), but none of the providers can be installed
[…]

For example with perl-libs package installed in my client :
 [root@worker1 yum.repos.d]# rpm -qa | grep perl-libs
perl-libs-5.26.3-419.el8.x86_64

So spacewalk client try to install 2 perl-libs packages.

So In base i have 
perl-libs-5.26.3-419.el8:4.x86_64<https://vla-spacewalk-p01.prod.lan/rhn/software/packages/Details.do?pid=393197>
 package and in appstream 3 packages of perl-libs :
perl-libs-5.24.4-404.module_el8.1.0+229+cd132df8:4.x86_64<https://vla-spacewalk-p01.prod.lan/rhn/software/packages/Details.do?pid=58576>
perl-libs-5.30.1-451.module_el8.3.0+406+78614513:4.x86_64<https://vla-spacewalk-p01.prod.lan/rhn/software/packages/Details.do?pid=376135>
perl-libs-5.30.1-452.module_el8.4.0+646+45e06e4a:4.x86_64<https://vla-spacewalk-p01.prod.lan/rhn/software/packages/Details.do?pid=395004>

so have any idea to fix this strange behavious ?

thanks in advance for your help

De : BARRIERE Benoit
Envoyé : lun

Re: [Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and modular package issues

2021-06-08 Thread Andreas Dijkman
It looks like your Spacewalk 2.10 setup has invalid module data. Module data 
from vanilla Spacewalk 2.10 has challenges and isn’t working properly.

If you run the command yum module list and there isn’t any modules listed, only 
a few and some message like ‘Fallback Module data used, then module data isn’t 
available for the AppStream-channel.

You can try Uyuni or maybe Spacewalk 2.11 (nightly/unstable/beta) if that’s 
still available or the Oracle-version of Spacewalk.

Or just bite the bullet and use Red Hat Satellite 6 (Foreman).

Kind regards,
Andreas Dijkman

On 8 Jun 2021, at 12:00, BARRIERE Benoit 
mailto:b.barri...@monaco-telecom.mc>> wrote:

Hello Spacewalk guys,

I have found an issue when i try to update an centos 8 stream client. I suspect 
modular metadatas are not inserted correctly when i use reposync command and 
conflicts occur when i update.

[root@worker1 yum.repos.d]# yum update
This system is receiving updates from Spacewalk server.
CentOS Stream Base (x86_64) 

   52 MB/s | 8.2 MB 00:00
CentOS Stream PowerTools (x86_64)   

   38 MB/s | 3.1 MB 00:00
CentOS Stream Extras (x86_64)   

  307 kB/s |  13 kB 00:00
EPEL 8 for CentOS Stream (x86_64)   

   71 MB/s |  14 MB 00:00
CentOS Stream AppStream (x86_64)

   78 MB/s |  15 MB 00:00
Copr repo for spacewalk-2.10-client owned by @spacewalkproject  

   60 kB/s |  28 kB 00:00
Error:
Problem 1: package perl-Time-HiRes-4:1.9758-2.el8.x86_64 requires 
libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both 
perl-libs-4:5.30.1-451.module_el8.3.0+406+78614513.x86_64 and 
perl-libs-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package 
perl-libs-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package 
perl-Time-HiRes-4:1.9758-2.el8.x86_64
Problem 2: package perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64 
requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both 
perl-libs-4:5.30.1-451.module_el8.3.0+406+78614513.x86_64 and 
perl-libs-4:5.26.3-419.el8.x86_64
  - package perl-CPAN-Meta-2.150010-397.module_el8.3.0+406+78614513.noarch 
requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  - cannot install the best update candidate for package 
perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64
  - cannot install the best update candidate for package 
perl-CPAN-Meta-2.150010-396.el8.noarch
  - package perl-libs-4:5.30.1-452.module_el8.4.0+646+45e06e4a.x86_64 is 
filtered out by modular filtering
Problem 3: package net-snmp-agent-libs-1:5.8-20.el8.x86_64 requires 
libperl.so.5.26()(64bit), but none of the providers can be installed
[…]

For example with perl-libs package installed in my client :
 [root@worker1 yum.repos.d]# rpm -qa | grep perl-libs
perl-libs-5.26.3-419.el8.x86_64

So spacewalk client try to install 2 perl-libs packages.

So In base i have 
perl-libs-5.26.3-419.el8:4.x86_64
 package and in appstream 3 packages of perl-libs :
perl-libs-5.24.4-404.module_el8.1.0+229+cd132df8:4.x86_64
perl-libs-5.30.1-451.module_el8.3.0+406+78614513:4.x86_64
perl-libs-5.30.1-452.module_el8.4.0+646+45e06e4a:4.x86_64

so have any idea to fix this strange behavious ?

thanks in advance for your help

De : BARRIERE Benoit
Envoyé : lundi 19 avril 2021 11:21
À : 'st...@alderfamily.org' 
mailto:st...@alderfamily.org>>; 
spacewalk-list@redhat.com
Objet : RE: [Spacewalk-list] CentOS 8 stream support for spacewalk 2.10

Thanks a lot for yours informations.

I have implemented this setup and and worked correctly. Hope spacewalk could 
work for next centos 9.

Regards,





De : 
spacewalk-list-boun...@redhat.com 
mailto:spacewalk-list-boun...@redhat.com>> 

[Spacewalk-list] Spacewalk 2.10 CentOS 8 stream and modular package issues

2021-06-08 Thread BARRIERE Benoit
Hello Spacewalk guys,

I have found an issue when i try to update an centos 8 stream client. I suspect 
modular metadatas are not inserted correctly when i use reposync command and 
conflicts occur when i update.

[root@worker1 yum.repos.d]# yum update
This system is receiving updates from Spacewalk server.
CentOS Stream Base (x86_64) 

   52 MB/s | 8.2 MB 00:00
CentOS Stream PowerTools (x86_64)   

   38 MB/s | 3.1 MB 00:00
CentOS Stream Extras (x86_64)   

  307 kB/s |  13 kB 00:00
EPEL 8 for CentOS Stream (x86_64)   

   71 MB/s |  14 MB 00:00
CentOS Stream AppStream (x86_64)

   78 MB/s |  15 MB 00:00
Copr repo for spacewalk-2.10-client owned by @spacewalkproject  

   60 kB/s |  28 kB 00:00
Error:
Problem 1: package perl-Time-HiRes-4:1.9758-2.el8.x86_64 requires 
libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both 
perl-libs-4:5.30.1-451.module_el8.3.0+406+78614513.x86_64 and 
perl-libs-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package 
perl-libs-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package 
perl-Time-HiRes-4:1.9758-2.el8.x86_64
Problem 2: package perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64 
requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both 
perl-libs-4:5.30.1-451.module_el8.3.0+406+78614513.x86_64 and 
perl-libs-4:5.26.3-419.el8.x86_64
  - package perl-CPAN-Meta-2.150010-397.module_el8.3.0+406+78614513.noarch 
requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  - cannot install the best update candidate for package 
perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64
  - cannot install the best update candidate for package 
perl-CPAN-Meta-2.150010-396.el8.noarch
  - package perl-libs-4:5.30.1-452.module_el8.4.0+646+45e06e4a.x86_64 is 
filtered out by modular filtering
Problem 3: package net-snmp-agent-libs-1:5.8-20.el8.x86_64 requires 
libperl.so.5.26()(64bit), but none of the providers can be installed
[...]

For example with perl-libs package installed in my client :
 [root@worker1 yum.repos.d]# rpm -qa | grep perl-libs
perl-libs-5.26.3-419.el8.x86_64

So spacewalk client try to install 2 perl-libs packages.

So In base i have 
perl-libs-5.26.3-419.el8:4.x86_64
 package and in appstream 3 packages of perl-libs :
perl-libs-5.24.4-404.module_el8.1.0+229+cd132df8:4.x86_64
perl-libs-5.30.1-451.module_el8.3.0+406+78614513:4.x86_64
perl-libs-5.30.1-452.module_el8.4.0+646+45e06e4a:4.x86_64

so have any idea to fix this strange behavious ?

thanks in advance for your help

De : BARRIERE Benoit
Envoyé : lundi 19 avril 2021 11:21
À : 'st...@alderfamily.org' ; spacewalk-list@redhat.com
Objet : RE: [Spacewalk-list] CentOS 8 stream support for spacewalk 2.10

Thanks a lot for yours informations.

I have implemented this setup and and worked correctly. Hope spacewalk could 
work for next centos 9.

Regards,





De : 
spacewalk-list-boun...@redhat.com 
mailto:spacewalk-list-boun...@redhat.com>> 
De la part de li...@alderfamily.org
Envoyé : mercredi 14 avril 2021 22:26
À : spacewalk-list@redhat.com
Objet : Re: [Spacewalk-list] CentOS 8 stream support for spacewalk 2.10

I have the Stream channels already on my Spacewalk 2.10 servers.  No problems 
or conflicts with the other EL8 channels (CentOS or RHEL) at all.  I would 
suggest you use spacecmd to create your channels and repos for you.  It is 
easier than the common-channels method in my opinion.

Here are the commands I used to create my channels and repos (inside the 
spacecmd shell).  Hope this helps.  Going to miss Spacewalk - I have been using 
it for 10+ years now.  Looking at Oracle's fork.  Satellite 6 doesn't work