-
Notifications
You must be signed in to change notification settings - Fork 59
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
sap_general_preconfigure: SAP Note 2369910 not correctly implemented #907
Comments
Here is an old code snippet, but implemetaion should be similar:
|
I just tested if the package But I agree that it is important to verify the presence of the required English locale and related setting in the sap_general_preconfigure role. |
I will put together a PR with the following changes: The default system locale for SAP systems should be English. There is more than one English system locale, but en_US.utf8 is the most common. Hence I define the default variable, in case another:
Checking Packages on RHEL which provide en_US.utf8
Check for availability of locale:`locale -a | grep "{{ sap_general_preconigure_default_locale }}' |
Hi, |
Thanks Klaas. The SAP Note says just Englisch and en_US.UTF-8 is typically used when selecting English. Interesting enough is, that |
@rhmk SUSE perspective:
Default value of I would suggest these step to leave freedom, while keeping default OS settings untouched.
|
I think you need to clarify this with SAP, what |
…g and setting Fixes issue sap-linuxlab#907. Signed-off-by: Bernd Finger <[email protected]>
Appears related to crash on SAP HANA 2.0 SPS08 TASK [community.sap_install.sap_hana_install : Install SAP HANA - Verify if hdblcm process finished successfully] *********
fatal: [hdb-test1]: FAILED! => changed=true
stderr: |-
Installation of SAP HANA Database System failed.
Cannot detect command line options dynamically.
Cannot parse external program configuration:
syntax error at line 1, column 0, byte 0 at SDB/Install/Configuration/ExternalProgramConfiguration.pm line 80. 14:29:59.658 - INFO: Getting external program configuration
14:30:00.517 - ERR : Cannot parse external program configuration:
syntax error at line 1, column 0, byte 0 at SDB/Install/Configuration/ExternalProgramConfiguration.pm line 80.
14:30:00.517 - INFO: perl: warning: Setting locale failed.
14:30:00.517 - INFO: perl: warning: Please check that your locale settings:
14:30:00.517 - INFO: LANGUAGE = (unset),
14:30:00.517 - INFO: LC_ALL = "en_US.UTF-8",
14:30:00.517 - INFO: LANG = "en_US.UTF-8"
14:30:00.517 - INFO: are supported and installed on your system.
14:30:00.517 - INFO: perl: warning: Falling back to the standard locale ("C").
14:30:00.517 - INFO: <?xml version="1.0" encoding="UTF-8"?>
14:30:00.517 - INFO: <install_configuration class="LssConfiguration" installer_version="2.8.44" component_version="2.080.00.00"> EDIT: Resolved by installing EDIT 2: Confirmed it is not because of older OS on Bastion host propagating |
Indeed glibc-langpack-en fixes the systems. It seems the SAP install script sets the right locale when running no matter what locale is set as default system locale. Even set to C works with the locale package installed |
Crosslinking #914 :) |
According to SAP NOTE 2369910 step 3.1 the following is required:
System language
You must select English as the operating system language on all Linux hosts that are running SAP software.
For RHEL 9 this requires a check for
A hardened customer baseline may have only C locale installed, which breaks e.g. installation of HANA2 SPS08
Hence this check needs to be implemented again. The whole requirements of this SAP NOTE are not checked any more in current sap_general_prconfigure, although the hostname setting is still in
The text was updated successfully, but these errors were encountered: