kadalu / moana

Moana is a frontend for the Kadalu Storage / GlusterFS. Moana provides tools for setting up and managing the Kadalu Storage / Gluster pools.
GNU General Public License v3.0
18 stars 7 forks source link

[bug] [migrate-data]: The crawler works fine but unable to set 'migrate-data' xattr due to no such file or directory error. #293

Closed vatsa287 closed 1 year ago

vatsa287 commented 1 year ago

Even though the file corresponding to backend_path exists at @mount_dir in rebalance_process, the crawler is unable to set the migrate-data xattr due to which rebalance is not taking place.

Fix: List entries present @mount_dir to fix the bug. Still unknown even though files exist in temp_mount path & this error is thrown, verified manually 'ls' attempt for the first time fails on the path.

By listing files in the directory prior to setting xattr solved the bug.