Deployment of Red Hat Ceph Storage cluster fails with error "ImportError: cannot import name to_bytes"

Solution Verified - Updated -

Issue

  • Deployment of Red Hat Ceph Storage cluster with ansible fails with error :

    ImportError: cannot import name to_bytes
    

Environment

  • Red Hat Ceph Storage 3.y

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