-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpampSupervisor/OpampExtension is not restarting if the remote config changes applied to the processor pipeline #34377
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@MSA0208 Can you share your opampsupervisor and otel collctor config? |
@Frapschen nothing much changes from the existing opampsupervisor, apart from the bootstrap.yaml , which is my own collector configurations to start my collector binary |
now am able to restart the collector, if thers any change in the pipeline , otherwise its not restarting what i want to know is if we do some small change in the processor, OTTL , i want to restart to pick those changes |
Hi @MSA0208 is this issue still occurring for you? I just tried this out with the current state on
And the agent was restarted. After that, I changed one of the ottl statements and the agent was restarted again. Can you maybe share an example for the config you were using so I can try to reproduce the issue? |
Hi @bacherfl , now the issue is resolved and is working as expected. i tried connecting opamp server and opamp agent client using TLS , thats working , but when i use supervisor in the middle am getting the above mentioned error, so still debugging the TLS w.r.t to supervisor, any inputs here will help |
Thanks for the update @MSA0208 - Can you share the opampsupervisor config you are using? Then I will try to see if I can reproduce the issue you are having with TLS |
server: capabilities: Keys with boolean true/false values that enable a particularOpAMP capability.The Supervisor will accept remote configuration from the Server.If enabled the Supervisor will also report RemoteConfig statusto the Server.AcceptsRemoteConfig: true # false if unspecified storage: args: --config this is the supervisor.yaml file, same TLS am using in opampserver while starting and same am passing to my actual config.yaml file as well |
Hi @MSA0208 and sorry for the late reply, but I now looked into the issue you are having with TLS. Looking at the config, you are using the private key and certificate used by the opamp server, i.e. this one: https://github.com/open-telemetry/opamp-go/tree/main/internal/certs/server_certs. However, this certificate can not be used for authenticating clients at the server, as it lacks the |
Hi @bacherfl , From the Logs of supervisor i see that it always falling back to http and from the Agent log i.e, collector , the error is like |
No, you can keep using the key pair you were using for the server, but you need to create a separate key pair (using the same certificate authority used for creating the server certificates, i.e. this one) with the TLS Web Client Authentication key usage extension enabled, and use that for the supervisor.
I noticed that the opamp server url in the config you posted earlier started with |
Component(s)
cmd/opampsupervisor, extension/opamp
Describe the issue you're reporting
Hi ,
have started opamp server , parallely started supervisor which has extension and collector details for execution of the collector,
my collector includes the transform processor as part of the pipeline.
Am using opamp for the remote configuration restart for my collector, i have observed that the collector is restarting if i add the new configurations in the pipeline and thats working fine
similarly if i want to update the processor configuration for transforming , if i update my config.yaml remotely , server is accepting the remote changes given , but i could see no restart on the collector for this remotely pushed changes.
any inputs on this process config changes , do we have this capability for any changes in the config or its limited to the service pipeline alone?
The text was updated successfully, but these errors were encountered: