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.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Chandra Gorantla April 27, 2021 at 3:01 PM

 Can you re-check this again ?

Alejandro Galue April 22, 2021 at 3:09 PM

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.    

Ronny Trommer March 26, 2021 at 4:58 PM

The problem seems to be similar than described in

Cannot Reproduce

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created March 26, 2021 at 4:28 PM
Updated September 20, 2021 at 9:20 PM
Resolved April 27, 2021 at 3:01 PM