Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Web-UI initiated balance status not updated during execution #1405
Thanks to @grebnek in the following forum thread for bringing attention to this matter. In an effort to reproduce @grebnek's raid level change update issue I noticed that the balance status fails to update in the Web-UI.
Steps to reproduce (Rockstor version 3.8-14.07):-
Had a single disk pool with single raid level.
Resize Pool - Add Disk - Yes to change RAID level - selected raid1 from drop down and ticked additional disk - Next
Refreshed Web-UI to find Pools - "rock-pool" - Balances tab to read:
Expected it to reflect a status of "running" and the relevant percentage done.
The command we use to track this progress executed on the command line gave:
Once completed the Web-UI correctly indicates status=finished, Percent finished=100.
Related function fs/btrfs.py balance_status(pool)
Note that this issue differs from #1062 in that this balance was initiated from the Web-UI, not manually from the command line.
Please update the following forum thread when the pending commits are merged.
referenced this issue
Aug 5, 2016
The outstanding pr #1418 which addresses this issue has integrated fs unittest commits / enhancements (see my comments in this issue dated 1st Aug), this was intended but as this pr now has conflicts with master I am going to split pr #1418 into 2 pr's freshly based on current master, one specifically addressing this issue and another targeting the fs unittest commits: as requested by @schakrava to aid the merging process. Upon successfully splitting pr #1418 it will be closed and I will reference the relevant new pr for this issue. I am about to open a fresh issue and associated pr for the fs unittest commits / enhancements.