Ansible Role
sap_hana_install
OS Family
All
Feature/Enhancement request
If the role sap_hana_install finds SAR files which are not used during HANA installation (e.g. SAPEXEDB_300-70007806.SAR, the error message of task SAP HANA hdblcm prepare - Move files into the correct place, default is not really helpful.
Example:
stderr: |-
ls: cannot access '*/': No such file or directory
mv: missing destination file operand after 'SIGNATURE.SMF'
Try 'mv --help' for more information.
mv: missing destination file operand after '..'
Try 'mv --help' for more information.
The root cause for this behavior is that the non-HANA related SAR files (typically?) do not have a subdirectory but expand directly in the current directory, which is sap_hana_install_software_extract_directory }}/tmp for HANA SAR files. So in case of non-HANA SAR files, the result of the ls command in this sequence is not what it needs to be.
Community participation
Happy to implement this feature
Optional - Attempted solutions or manual steps
No response