이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 6. Troubleshooting RPM installation of Ansible Automation Platform
Resolve common installation issues and errors that can occur when installing RPM-based Ansible Automation Platform. Learn how to generate diagnostic logs to identify problems.
6.1. Gathering Ansible Automation Platform logs 링크 복사링크가 클립보드에 복사되었습니다!
With the sos utility, you can collect configuration, diagnostic, and troubleshooting data, and provide those files to Red Hat Technical Support. An sos report is a common starting point for Red Hat technical support engineers when performing analysis of a service request for the Ansible Automation Platform.
As part of the troubleshooting with Red Hat Support, you can collect the sos report for each node in your RPM-based installation of Ansible Automation Platform using the installation inventory and the installation program.
Procedure
Access the installation program folder with the inventory file and run the installation program setup script the following command:
$ ./setup.sh -sWith this command, you can connect to each node present in the inventory, install the
sostool, and generate new logs.NoteIf you are running the setup as a non-root user with sudo privileges, you can use the following command:
ANSIBLE_BECOME_METHOD='sudo' ANSIBLE_BECOME=True ./setup.sh -s
$ ANSIBLE_BECOME_METHOD='sudo' ANSIBLE_BECOME=True ./setup.sh -sCopy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: If required, change the location of the
sosreport files.The
sosreport files are copied to the/tmpfolder for the current server. To change the location, specify the new location by using the following command:./setup.sh -e 'target_sos_directory=/path/to/files' -s
$ ./setup.sh -e 'target_sos_directory=/path/to/files' -sCopy to Clipboard Copied! Toggle word wrap Toggle overflow Where
target_sos_directory=/path/to/filesis used to specify the destination directory where thesosreport will be saved. In this case, thesosreport is stored in the directory/path/to/files.Gather the files described on the playbook output and share with the support engineer or directly upload the
sosreport to Red Hat.To create an
sosreport with additional information or directly upload the data to Red Hat, use the following command:./setup.sh -e 'case_number=0000000' -e 'clean=true' -e 'upload=true' -s
$ ./setup.sh -e 'case_number=0000000' -e 'clean=true' -e 'upload=true' -sCopy to Clipboard Copied! Toggle word wrap Toggle overflow Expand Table 6.1. Parameter Reference Table Parameter Description Default value case_numberSpecifies the support case number that you want.
-
cleanObfuscates sensitive data that might be present on the
sosreport.falseuploadAutomatically uploads the
sosreport data to Red Hat.false
To know more about the sos report tool, see the KCS article: What is an sos report and how to create one in Red Hat Enterprise Linux?