-
Notifications
You must be signed in to change notification settings - Fork 88
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
Not able to update service pack on AIX client through NIM server #510
Comments
Do we have any update here. We are using ansible automation platform and we are not able to update the service pack in aix. |
Hi @mpanwar2023 , |
1 similar comment
Hi @mpanwar2023 , |
Do we have any update on it? |
Do we have any further progress on it? Please respond |
Hi @mpanwar2023 |
Hi @mpanwar2023 Also, I believe the error is not coming from any of our module or role: "stderr": "0042-001 nim: processing error encountered on "master":\n 0042-001 m_cust: processing error encountered on "dsmmnad01":\n 0042-175 c_script: An unexpected result was returned by the "dsmjcanim01:/export/nim/scripts/dsmmnad01.script" command:\n\n0042-175 c_installp: An unexpected result was returned by the "/usr/lib/instl/sm_inst" command:\nInput device or directory does not exist.\n\n\n" I suspect this is an user error, and if you want us to help you in writing the playbook for your automation because you are new here, that's out of scope. Thanks, |
Hi @schamola Please update on it. we have to update the service pack on all servers soon. |
@mpanwar2023 |
@nitismis We need your support to right the playbook for service now update via NIM servers. Currently latest service pack was downloaded on NIM server and we are using NIM server to update the service pack on client. But it is failing with that error. |
Do we have any update on it? or let me guide who can help. |
I believe there is some mix up in your environment because: |
Red hat people written that role. During the engagement they setup this things. Please help. |
Perhaps it would help if you labeled the code extracts with the names of the playbooks. The LPP_Source resources must match a specific naming convention - although I have not seen it documented:
You should also provide some output from the NIM server.
Also from your target client (dsmmnad01):
Hope this helps |
Please find the command's output below. root@dsmjcanim01:/# lsnim -l dsmmnad01 root@dsmmnad01:/# oslevel -s All the playbook and their role for service pack update here. Playbook name: aix_nim_service_pack_update.yml #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AIX_NIM_SERVICE_PACK_UPDATEThis playbook is the follow up work from running aix_nim_sumaThis playbook will be run on what we determined were the targets of thelast playbook, and then service pack updates will be installed#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ####################################################################### To do this, we use the nim module which is within the aix_nim_suma roleunder the task nim.yml#######################################################################
... Next playbook ####################################################################### First, remove old e fixes before running service pack updates#######################################################################
####################################################################### Install the Service Pack Update materials to the client servers#######################################################################
... Next playbook
Next playbook
|
Hello Team, Can anyone to write the playbook for us on service pack update in AIX through NIM. |
@mpanwar2023 , we are looking for someone who can help you. Give us sometime. |
We are installing service pack update on AIX LPAR using Ansible Automation Platform through NIM . We are using Ansible Playbook to install service pack but we are unable to do that as we are getting below error.
service pack update error:
"stderr": "0042-001 nim: processing error encountered on "master":\n 0042-001 m_cust: processing error encountered on "dsmmnad01":\n 0042-175 c_script: An unexpected result was returned by the "dsmjcanim01:/export/nim/scripts/dsmmnad01.script" command:\n\n0042-175 c_installp: An unexpected result was returned by the "/usr/lib/instl/sm_inst" command:\nInput device or directory does not exist.\n\n\n"
Also , Please find below the content under Playbook for which we are using to install service pack updates.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AIX_NIM_SERVICE_PACK_UPDATE
This playbook is the follow up work from running aix_nim_suma
This playbook will be run on what we determined were the targets of the
last playbook, and then service pack updates will be installed
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#######################################################################
To do this, we use the nim module which is within the aix_nim_suma role
under the task nim.yml
#######################################################################
hosts: all
tasks:
ansible.builtin.include_role:
name: aix_nim_suma
tasks_from: nim.yml
Other playbook:
#######################################################################
First, remove old e fixes before running service pack updates
#######################################################################
ansible.builtin.include_tasks:
file: efix_removal.yml
#######################################################################
Install the Service Pack Update materials to the client servers
#######################################################################
ibm.power_aix.nim:
action: update
lpp_source: latest_sp
targets: "{{ ansible_hostname }}"
delegate_to: "{{ nim_master }}"
^ This will be the nim server that you ran nim_suma on
...
The text was updated successfully, but these errors were encountered: