Skip to content

CUA not working #74

Open
Open
@AhmedElkazzaz

Description

@AhmedElkazzaz

Is CUA still working ?!

I tried the following tutorial:
(https://eclipse-leda.github.io/leda/docs/device-provisioning/container-management/container-update-agent/)

I published
{
"activityId":"test-correlation-activity-uuid",
"payload":{
"domains":[
{
"id":"containers",
"config":[],
"components":[
{
"id":"hello-world",
"version":"latest",
"config":[
{
"key":"image",
"value":"docker.io/library/hello-world:latest"
}
]
}
]
}
]
}
}

and I see on the local host
containersupdate/desiredstatefeedback {"activityId":"test-correlation-activity-uuid","timestamp":1723630818229,"payload":{"status":"IDENTIFYING"}}
containersupdate/desiredstatefeedback {"activityId":"test-correlation-activity-uuid","timestamp":1723630818230,"payload":{"status":"IDENTIFIED","actions":[{"component":{"id":"containers:hello-world","version":"latest"},"status":"IDENTIFIED","message":"New container will be created and started."},{"component":{"id":"containers:seatservice-example","version":"v0.3.0"},"status":"IDENTIFIED","message":"Existing container will be destroyed, no longer needed."},{"component":{"id":"containers:databroker","version":"0.4.1"},"status":"IDENTIFIED","message":"Existing container will be destroyed, no longer needed."},{"component":{"id":"containers:aws-connector","version":"release3"},"status":"IDENTIFIED","message":"Existing container will be destroyed, no longer needed."},{"component":{"id":"containers:feedercan","version":"v0.1.1"},"status":"IDENTIFIED","message":"Existing container will be destroyed, no longer needed."},{"component":{"id":"containers:feedergps","version":"main"},"status":"IDENTIFIED","message":"Existing container will be destroyed, no longer needed."},{"component":{"id":"containers:hvacservice-example","version":"v0.1.0"},"status":"IDENTIFIED","message":"Existing container will be destroyed, no longer needed."}]}}

But all the containers still running and never deleted or destroyed !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions