Creating a pool on a custom ruleset in Red Hat Ceph Storage fails with "Error EINVAL: (22) Invalid argument"
Issue
-
Creating a pool on a custom ruleset in Red Hat Ceph Storage fails with "Error EINVAL: (22) Invalid argument".
-
The CRUSH buckets and rulesets were created using
ceph osd crushcommands. -
Changing an existing pool's ruleset to the new one does not error out.
-
Creating a pool on another ruleset is a success as well.
$ ceph osd pool create test 1024 1024 replicated test_ruleset
Error EINVAL: (22) Invalid argument
$ ceph osd pool create test 1024 1024 replicated previous_ruleset
pool 'test' created
$ ceph osd pool set test crush_ruleset 5
set pool 90 crush_ruleset to 5
Environment
- Red Hat Ceph Storage 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
