3. Task Runner Is there a way to create long running tasks and track them through cockpit UI?. To me more specific, in our case, whole gluster deployment take long time like more than hour when we have to install more package. So instead of keeping the user waiting and watching the wizard, we would like to close the wizard and create a task and show it some where in the UI(Top right corner?). When user wants to see the status, he can click and open the task and see the status. We can also show a notification when it completes.This is an interesting topic. We do have long running tasks, such as formatting disks or rebuilding RAIDs. We haven't yet propagated these to the top level display in the notification bar. But lets take one step back. When implementing such a feature you'd want to be sure that if the user disconnects and reconnects to Cockpit the task still continues. The long running tasks we have today (RAID rebuilding) are managed by a system component, and if the user disconnects and reconnects to Cockpit they see the task continuing its state periodically updated. So that's the first step. The creation of the long running tasks should be done outside of the Cockpit session. Tracking and display is then something we should discuss further. Does that make sense?
_______________________________________________ cockpit-devel mailing list -- firstname.lastname@example.org To unsubscribe send an email to email@example.com