-
Notifications
You must be signed in to change notification settings - Fork 8
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
Device Agent updates at scale #253
Comments
What if the user is running in a docker container? I guess we run I think just doing an |
The problem with running The only way it would persist would be if the device-agent was on an external volume, which kind of defeats the point of having the device agent in a container. |
Im not sure if my suggestions are good enough but after some googling i found out that i can update the device agent at scale using ansible , I never had any experience with ansible for now but i think thats the best solution i can think of for now if the flowfuse team does not have any plans on developing this specific features . In addition , i believe it might be helpful if the flowfuse team can provide a working ansible playbook settings and writing tutorial for updating the device agent whether it is running using docker or natively. I believe this might help the flowfuse grow as well , what are your thoughts ? Thanks |
Fundamentally, this boils down to the We would need to break this down into common ways that the Device Agent is run, and work out if there is a consistent approach for each, and then establish where there are blockers. |
Putting it into "Next" as this will require Engineering Design resource |
I have a pretty hot take on this.... If device agent (or a sibling version of it) were in fact a Node-RED plugin (like nr-assistant) that could be installed on Any device that is already running Node-RED, we open the doors to a much larger audience. For example, there are some (very popular) industrial "off the shelf" hardware devices that run Node-RED that will likely never install our device agent due to current installation requirements. However, if they could get 80% of functionality (deploy flows, visibility/inclusion on a centralised platform (FF), auto snapshots, nr-assistant, nr-project-nodes, pipelines, etc) this could be a real win win for all. Updating is no longer an |
@Steve-Mcl's idea would be very useful because I come across lots of locked down PLCs which run Node-RED as part of their default image but trying to get the device agent on there is very hard. This is often because the PLC manufacturer is concerned about the risk to their customers' security of adding the device agent, they feel it's their responsibility to vet our code. This approach totally sidesteps the need to talk to the PLC manufacturer and opens up loads of places we can run and manage Node-RED. |
We did look at some sort of NR plugin originally. I think we would need to be very clear on what it could/couldn't achieve. Running as a plugin means it cannot modify the Node-RED settings file. This mean:
That makes for quite a different experience and capability set than the Device Agent we have currently. I do agree there is scope to have a standard plugin does open up some potential - we already have nr-tools-plugin which hasn't really had any attention since originally published. |
Customer requested this today as they're scaling to 200 edge devices. If we have a technical solution here that would be grand. |
Epic
No response
Description
As a FlowFuse user: I want a means of updating the device agent at scale.
So that we get latest features and fixes:
First raised on NR forum: https://discourse.nodered.org/t/how-to-update-device-agent-version-in-scale/87260
Acceptance Criteria
Customer Requests
The text was updated successfully, but these errors were encountered: