- CONF.mutate_config_file() is called in the API server [0]
- CONF.health_manager.heartbeat_key is read [1] in another process [2]
to fix it we need to call CONF.mutate_config_file() at the beginning of the _send_msg function [3], it reloads the config files and updates only the mutable settings.
"amphora configure" doesn't work because:
- CONF.mutate_ config_ file() is called in the API server [0] manager. heartbeat_ key is read [1] in another process [2]
- CONF.health_
to fix it we need to call CONF.mutate_ config_ file() at the beginning of the _send_msg function [3], it reloads the config files and updates only the mutable settings.
[0] https:/ /opendev. org/openstack/ octavia/ src/commit/ 240b0066a12fc81 c9e42aade67435c bb0e65c2a5/ octavia/ amphorae/ backends/ agent/api_ server/ server. py#L247 /opendev. org/openstack/ octavia/ src/commit/ 240b0066a12fc81 c9e42aade67435c bb0e65c2a5/ octavia/ amphorae/ backends/ health_ daemon/ health_ sender. py#L51 /opendev. org/openstack/ octavia/ src/commit/ 240b0066a12fc81 c9e42aade67435c bb0e65c2a5/ octavia/ cmd/agent. py#L59- L63 /opendev. org/openstack/ octavia/ src/commit/ 240b0066a12fc81 c9e42aade67435c bb0e65c2a5/ octavia/ amphorae/ backends/ health_ daemon/ health_ sender. py#L49
[1] https:/
[2] https:/
[3] https:/