I am currently trying to install a devops agent on RHEL via custom script extension on an ARM template. I recive the following error when trying to configure the agent.
"Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support."
How can I solve this problem? I get the same error when trying to deploy the agent manually on a RHEL vm.
⚠Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.
I created a RHEL 7 agent on a VM and one in a Container by using the generic Linux x64 download with RH Git 2.18 and have had no issues. I would recommend this route instead of the packaged RHEL 6 download.
I was facing the same issue.
In case you are using RHEL 6 then it is recommended that you use, "rhel.6-x64" agent package.
This will need the following dependencies installed.
sudo yum -y install libunwind.x86_64 libcurl-devel.x86_64 openssl-devel.x86_64
Also, As referenced - https://github.com/dotnet/core/issues/2186
Add the configuration in the runtimeOptions.
{
    "runtimeOptions": {
        "configProperties": {
            "System.Globalization.Invariant": true
        },
    }
}
runtimeOptions
Hi, Please, can you tell me where I add that configuration
Inside ./azure-functions-cli/func.runtimeconfig.json, you need to put
{
"runtimeOptions": {
"configProperties":{
"System.Globalization.Invariant": true
}
}
}
I tried to create this azure-functions-cli folder inside the agent directory and inside bin but that didn't help. Where exactly is your "." path?
@Lycrosa -- you may find answers here:
I am closing this issue now. You are welcome to @ mention me for any followup.
We hope to hear from you again.
My apologies for the delay in responding.