System settings for Minion in custom.system.properties are ignored
Description
I tried to configure the Jaeger agent host via the Minion running in Docker with our system configuration YAML file.
The setting is written correctly in the etc/custom.system.properties without any effect. I've set the JAEGER_AGENT_HOST=my-jaeger-host environment variable as a workaround that works as expected.
I haven't tried Jaeger, but I was able to validate that when passing system variables that way works as expected (i.e., they are stored at /opt/minion/etc/custom.system.properties, which is why the "system:property" command can see them).
Speaking about , if I pass the Instance ID that way, it works:
This is the workaround I use to avoid that issue.
Chandra Gorantla April 20, 2021 at 7:09 PM
Edited
Can you check this again. Jane and I tested this both locally and with Docker and can't reproduce this.
we verified by checking system properties on karaf shell :
system:property 'jaeger-agent-host'
Jane Hou April 20, 2021 at 3:10 PM
Tested in the latest version of Horizon, the setting in the etc/custom.system.properties does set successfully to the application system properties. If we do see this is intermittent in the field, we suspect there might be a timing issue between the Karaf and Confd, or something else. Chandra will take a further look at this.
I tried to configure the Jaeger agent host via the Minion running in Docker with our system configuration YAML file.
The setting is written correctly in the
etc/custom.system.properties
without any effect. I've set theJAEGER_AGENT_HOST=my-jaeger-host
environment variable as a workaround that works as expected.