Particular / ServiceControl

Backend for ServiceInsight and ServicePulse
https://docs.particular.net/servicecontrol/
Other
53 stars 47 forks source link

ServiceControl containers fail when using SQL Transport #4437

Closed DavidBoike closed 2 months ago

DavidBoike commented 2 months ago

Symptoms

Container-hosted ServiceControl instances attempting to use SQL Transport will faill with the following exception:

System.NotSupportedException: Globalization Invariant Mode is not supported.

Who's affected

Users running ServiceControl on Linux containers attempting to configure the containers to use SQL Transport.

Root cause

ServiceControl uses a "chiseled" base image to provide a smaller image size and reduced attack surface, as chiseled images do not contain things like a shell or apt-get not needed to run the application. However, the jammy-chiseled-composite base container does not contain globalization libraries which are required by the SQL Client to support things like database collation settings.