InfoScale fails to install when using Ansible if a patch is required
book
Article ID: 100051186
calendar_today
Updated On:
Description
Error Message
fatal: [server101]: FAILED! => {"changed": 0, "msg": "\n check_must_have_patch: Required InfoScale patch: infoscale-rhel8.2_x86_64-Patch-7.4.2.1100 (Patch ID: 16102)\n\nAnsbile logs are saved at:/opt/VRTS/install/ansible/logs/ansible_play_20210820115218/", "rc": 1}
Cause
Newer kernels sometimes require additional InfoScale patching. Without the additional patches, InfoScale will fail to install.
Resolution
Use the "patch_repo_list" keyword in your install playbook to allow InfoScale to install required patches at the same time. Then specify a repository name or a file location to where the patch RPMs are. Use a comma (,) to separate multiple patches/locations. You can mix and match repositories and file locations.
- Example using multiple file locations in install playbook:
- - name: Install InfoScale
veritas_infoscale:
module: yum
repository_name: '{{ repository_name }}'
repository_baseurl: '{{ repository_baseurl }}'
patch_repo_list: ["file:///install/7.4.2.1100/rpms/","file:///install/7.4.2.1800/rpms/"]
- Example using single repository in install playbook:
- - name: Install InfoScale
veritas_infoscale:
module: yum
repository_name: '{{ repository_name }}'
repository_baseurl: '{{ repository_baseurl }}'
patch_repo_list: ["infoscale_patch_repo"]
- Example using both repo and file locations in install playbook:
- - name: Install InfoScale
veritas_infoscale:
module: yum
repository_name: '{{ repository_name }}'
repository_baseurl: '{{ repository_baseurl }}'
patch_repo_list: ["infoscale_patch_repo","file:///install/7.4.2.1100/rpms/","file:///install/7.4.2.1800/rpms/"]
Issue/Introduction
When using Ansible to install InfoScale on a kernel that requires a patch, the playbook will fail
Was this article helpful?
thumb_up
Yes
thumb_down
No