Created attachment 1134910 [details] tasks list with running task Description of problem: Task page is not updated properly. E.g. If user accept another node whilst the tasks page is opened no new task appears on the page/ Another scenario is that tasks in progress disappear from the page when they are completed. They are not shown and even number of tasks is decreased. Clicking on task icon -> 'See All' or 'Admin' -> 'Tasks' button doesn't help, as the page is not reloaded. User has to reload the page by other means. Version-Release number of selected component (if applicable): rhscon-ui-0.0.21-1.el7.noarch rhscon-ceph-0.0.6-11.el7.x86_64 rhscon-core-0.0.8-11.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Accept some node 2. Before the initialization task is finished open tasks page 3. Wait until initialization task finishes Actual results: The task disappears and without reload of the page it is not shown any more. Expected results: The task is still present only its state is changed. Additional info:
Created attachment 1134911 [details] tasks list after the task finishes
Created attachment 1134912 [details] tasks list after page reload
This is issue with sorting the tasks based on status and task time. This is fixed.
Tested with ceph-ansible-1.0.5-31.el7scon.noarch ceph-installer-1.0.14-1.el7scon.noarch rhscon-ceph-0.0.36-1.el7scon.x86_64 rhscon-core-0.0.36-1.el7scon.x86_64 rhscon-core-selinux-0.0.36-1.el7scon.noarch rhscon-ui-0.0.50-1.el7scon.noarch and it works.