forked from rook/rook
When new pools are added to an already existing filesystem, we would create them but not actually associate them to the filesystem. Ensure that we do this. Also, while we're here, we refactor the CreateFilesystem test: before, we were not properly testing creating the filesystem from scratch because we would return valid JSON for *every* ceph command. Change this by making the first run return an error so that we get some better coverage. After this, we also add a check for the correctness of adding new pools to the CreateFilesystem unittest. Fixes #5876 Signed-off-by: Lalit Maganti <lalitm@google.com>