Original Message:
Sent: Wed December 06, 2023 08:36 AM
From: Stephan Dietl
Subject: Issue with dnf and python and ansible
Hello @Ayappan P and @Christophe Gehin !
I´ve raised https://github.com/ansible/ansible/issues/82365 on this!
HTH,
Ciao,
Steve
------------------------------
Stephan Dietl
------------------------------
Original Message:
Sent: Fri September 22, 2023 04:10 AM
From: Ayappan P
Subject: Issue with dnf and python and ansible
It's definitely a problem with ansible dnf builtin. Can you raise a issue in the below community link ?
https://github.com/ansible/ansible/issues
------------------------------
Ayappan P
Original Message:
Sent: Thu September 21, 2023 03:23 PM
From: Christophe Gehin
Subject: Issue with dnf and python and ansible
Hello
Do you have some news about my post ?
Thanks
------------------------------
Christophe Gehin
Original Message:
Sent: Tue August 29, 2023 09:27 AM
From: Ayappan P
Subject: Issue with dnf and python and ansible
We are looking into it.
------------------------------
Ayappan P
Original Message:
Sent: Tue August 29, 2023 07:43 AM
From: Christophe Gehin
Subject: Issue with dnf and python and ansible
Hello
Could someone from IBM check my latest post please ?
Regards
------------------------------
Christophe Gehin
Original Message:
Sent: Tue August 22, 2023 10:14 AM
From: Christophe Gehin
Subject: Issue with dnf and python and ansible
Hello
I've updated libsolv and no more "Memory fault".
I'm still unable to install a package but I've been able to execute a dnf update by using ansible :
- name: dnf update
dnf:
name: "*"
state: latest
=>
# dnf history info 12
timer: config: 2 ms
DNF version: 4.2.17
Command: dnf history info 12
Installroot: /
Releasever: 7.2.5.203
cachedir: /var/cache/dnf
Base command: history
Extra commands: ['history', 'info', '12']
os-release file not found
os-release: falling back to basic User-Agent: missing NAME or VERSION_ID
No module defaults found
timer: sack setup: 60 ms
Transaction ID : 12
Begin time : Tue Aug 22 10:01:12 EDT 2023
Begin rpmdb : 136:6718fd917d9efa4f9f679e113e11a5de29d503f1
End time : Tue Aug 22 10:01:25 EDT 2023 (13 seconds)
End rpmdb : 136:46d6d6b85e248e759deacc7856eaecde0725d6d9
User : <root>
Return-Code : Success
Releasever : 7.2.5.203
Command Line :
Packages Altered:
Upgrade curl-8.1.2-1.ppc @AIX_Toolbox
Upgraded curl-8.0.1-1.ppc @@System
Upgrade glib2-2.72.1-2.ppc @AIX_Toolbox
Upgraded glib2-2.72.1-1.ppc @@System
Upgrade libksba-1.6.3-1.ppc @AIX_Toolbox
Upgraded libksba-1.6.2-1.ppc @@System
Upgrade libtasn1-4.19.0-1.ppc @AIX_Toolbox
Upgraded libtasn1-4.16.0-1.ppc @@System
Upgrade ncurses-6.4-1.ppc @AIX_Toolbox
Upgraded ncurses-6.3-1.ppc @@System
Upgrade popt-1.19-1.ppc @AIX_Toolbox
Upgraded popt-1.18-1.ppc @@System
Upgrade vim-common-9.0.1649-1.ppc @AIX_Toolbox
Upgraded vim-common-9.0.1237-1.ppc @@System
Upgrade vim-enhanced-9.0.1649-1.ppc @AIX_Toolbox
Upgraded vim-enhanced-9.0.1237-1.ppc @@System
Upgrade xz-5.4.3-1.ppc @AIX_Toolbox
Upgraded xz-5.2.5-1.ppc @@System
Upgrade xz-libs-5.4.3-1.ppc @AIX_Toolbox
Upgraded xz-libs-5.2.5-1.ppc @@System
Upgrade libsolv-0.7.9-32_53.ppc @AIX_Toolbox_72
Upgraded libsolv-0.7.9-32_52.ppc @@System
Upgrade libsolv-tools-0.7.9-32_53.ppc @AIX_Toolbox_72
Upgraded libsolv-tools-0.7.9-32_52.ppc @@System
...
...
12 packages have been updated on my aix sandbox.
What do you think about that ?
Regards
------------------------------
Christophe Gehin
Original Message:
Sent: Tue August 22, 2023 07:35 AM
From: Ayappan P
Subject: Issue with dnf and python and ansible
The "--debugsolver" issue is fixed in the recent libsolv rpm.
As far as the other main issue is concerned, I think the dnf plugin is somehow tied with the controller's arch or something. So it's not listing the packages for AIX.
------------------------------
Ayappan P
Original Message:
Sent: Mon August 21, 2023 01:38 PM
From: Christophe Gehin
Subject: Issue with dnf and python and ansible
Hello
Do you have some news about that problem ?
Regards
------------------------------
Christophe Gehin
Original Message:
Sent: Fri July 28, 2023 09:01 AM
From: Ayappan P
Subject: Issue with dnf and python and ansible
Thanks for reporting the issues. We are looking into it.
------------------------------
Ayappan P
Original Message:
Sent: Fri July 28, 2023 08:37 AM
From: Christophe Gehin
Subject: Issue with dnf and python and ansible
Hello Peter.
thanks you for confirming me I'm not crazy
I made some tests with 2 ansible controllers, one with python3.9, the other one with python3.11.
Both are redhat 8 servers.
Results : same problem.
If you run dnf --debugsolver install something, I get a Memory Fault(coredump) too.
So I think we have 2 problems : debugsolver and dnf from ansible.
Could someone from IBM have a look one the first problem ? coredump where debugsolver is enable.
It could help solving the second one.
Thanks
------------------------------
Christophe Gehin
Original Message:
Sent: Fri July 28, 2023 04:30 AM
From: Peter Stanton
Subject: Issue with dnf and python and ansible
I have the exact same issue. I recently installed a new AIX 7.2 TL5 SP5 system, and got this error the first time I tried install Toolbox packages via Ansible. dnf install something works fine, the dnf or package module claims that the package doesn't exist. Since both use the same DNF Python libraries I can only assume that Ansible is somehow passing invalid data.
I did try setting debug_solver=true in dnf.conf to see what libsolve was being asked to find, but it just makes Python crash with a memory fault.
------------------------------
Peter Stanton