-
Notifications
You must be signed in to change notification settings - Fork 98
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
flrtvc fails to write emgr.txt #579
Comments
python is core dumping ---------------------------------------------------------------------------
LABEL: CORE_DUMP
Date/Time: Thu Oct 31 16:39:57 MST 2024
Type: PERM
Resource Name: SYSPROC
Description
SOFTWARE PROGRAM ABNORMALLY TERMINATED
Detail Data
SIGNAL NUMBER
5
USER'S PROCESS ID:
37421526
FILE SYSTEM SERIAL NUMBER
1
INODE NUMBER
16408
CORE FILE NAME
/.ansible/tmp/ansible-tmp-1730417695.6284864-2188553-200841370855405/core
PROGRAM NAME
python3.9
STACK EXECUTION DISABLED
0
COME FROM ADDRESS REGISTER
_mutex_lo 30C
PROCESSOR ID
hw_fru_id: N/A
hw_cpu_id: N/A
ADDITIONAL INFORMATION
_internal 90
??
|
Thanks for reporting this! |
Hi @NjM3MjY5NzAgNzA3MzA3
The issue is not with the emgr command. It would have failed here If the emgr command had failed (rc != 0). It's failing at this point because It can not find "emgr.txt" at the provided location(i.e.. /usr/sys/flrtvc/work/emgr.txt)
You mentioned that manually touching the file, and then running the playbook produces the required output, It may be because the file is not able to get generated through the code, but writing onto the file (emgr.txt) works fine. About the core dump, did you find out anything from it ? It should provide a clearer picture about the issue. We think that the problem lies mostly with python and not in the flrtvc module. We will try to recreate this issue with python 3.9.20 and will let you know of any advancements! |
Hey guys i got the exact same issue. Funny thing is that is completely random when it works and when it fails. Example: 1 run on same host: success And it goes like that, its completely unpredected when it fails or is success and permissions in temporary directories is NOT helping. |
@NjM3MjY5NzAgNzA3MzA3 @ptsiamis That said, We are currently working with the broader AIX open source team, and will let you know about any progress on this. |
This is not a permission or ansible related issue, rather it seems to be an issue with python version 3.9.20 |
Hey tested it on aix 7.2 and 7.3 and i confirom with python 3.9.20 the play crash, with 3.11 works fine. |
@ptsiamis |
There is nothing to fix from our ansible collection. Open source team has confirmed that they are working on python version update. Closing the issue. |
Describe the bug
flrtvc fails to write emgr.txt
To Reproduce
Steps to reproduce the behavior:
Run flrtvc module on AIX, have one host that runs fine and a lot that fail as noted here.
Expected behavior
flrtvc installs all fixes
Screenshots
Don't understand why the emgr.txt file isn't getting written, but it's not failing here, rather here, which is odd.
If the code to remove the emgr.txt file is commented out and the file is touched, the module runs and installs fixes.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: