Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mgr/volumes: check for string values in uid/gid
chown allows strings as per bbbfb44, which caused this error. Eventhough uid/gid are input as CephInt, the qa tests can pass in only string values to _fs_cmd. So try converting the incoming uid/gid to int in create_subvolume and create_group. It might be a valid string. Fixes: https://tracker.ceph.com/issues/43038 Signed-off-by: Jos Collin <jcollin@redhat.com>
- Loading branch information
Showing
1 changed file
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters