Creating a pool on a custom ruleset in Red Hat Ceph Storage fails with "Error EINVAL: (22) Invalid argument"

Solution In Progress - Updated -

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 crush commands.

  • 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content