You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with the service initialization in secure mode if the external MQTT trigger is selected and auth mode is usernamepassword, clientcert, or cacert.
Example:
Edit the docker-compose.yml to add the custom ASC service's service key to EdgeX service secretstore-setup's ADD_SECRETSTORE_TOKENS environment variable. Assuming that the custom ASC service is app-external-mqtt-trigger.
The concept of the retry mechanism is to wait for a signal from the AddSecret handler to retry if the service cannot get required secrets from Secret Store. With this proposal, users can store secrets to Secret Store using the Application Service API after ASC service is started so that the trigger initialization process can continue.
A draft PR will be submitted later on.
The text was updated successfully, but these errors were encountered:
There is an issue with the service initialization in secure mode if the external MQTT trigger is selected and auth mode is
usernamepassword
,clientcert
, orcacert
.Example:
Edit the docker-compose.yml to add the custom ASC service's service key to EdgeX service secretstore-setup's
ADD_SECRETSTORE_TOKENS
environment variable. Assuming that the custom ASC service isapp-external-mqtt-trigger
.The
app-external-mqtt-trigger
ASC service's configuration contains the settingWhen starting the
app-external-mqtt-trigger
ASC service, it will fail on the trigger initialization and then shutdown.Because the required secrets did not exist in Secret Store at the time the ASC service starts.
IMHO, we can resolve this issue by making the following changes:
The concept of the retry mechanism is to wait for a signal from the AddSecret handler to retry if the service cannot get required secrets from Secret Store. With this proposal, users can store secrets to Secret Store using the Application Service API after ASC service is started so that the trigger initialization process can continue.
A draft PR will be submitted later on.
The text was updated successfully, but these errors were encountered: