Bug #9468
closedUnable to delete crush rule with blank space
0%
Description
I am not sure how crush rule with blank space in beginning got created. But, I am not able to delete it.
ems@rack6-client-5:~$ sudo ceph osd crush rule ls
[
"replicated_ruleset",
" myprofile"]
ems@rack6-client-5:~$
ems@rack6-client-5:~$ sudo ceph osd crush rule rm " myprofile"
Invalid command: invalid chars in myprofile
osd crush rule rm <name> : remove crush rule <name>
Error EINVAL: invalid command
ems@rack6-client-5:~$ sudo ceph osd crush rule rm ' myprofile'
Invalid command: invalid chars in myprofile
osd crush rule rm <name> : remove crush rule <name>
Error EINVAL: invalid command
ems@rack6-client-5:~$ sudo ceph osd crush rule rm \' myprofile\'
Invalid command: invalid chars ' in '
osd crush rule rm <name> : remove crush rule <name>
Error EINVAL: invalid command
ems@rack6-client-5:~$ sudo ceph osd crush rule rm \" myprofile\"
Invalid command: invalid chars " in "
osd crush rule rm <name> : remove crush rule <name>
Error EINVAL: invalid command
ems@rack6-client-5:~$ sudo ceph osd crush rule rm myprofile
rule myprofile does not exist
ems@rack6-client-5:~$
This issue seen on 0.84