cinder read-only volume is either writable or cannot attach

Solution Verified - Updated -

Issue

  • Kilo with EMC xtremio array as backend storage.
  • Created volume from xtremio backend, make it readonly 'cinder readonly-moe-update true'
  • There were a few times the volume is attached to instance with no issue, but it is still writable
  • And on the same system, when we repeated some times with the same test, readonly volume is not able to attach to instance anymore with error:
  'Exception during message handling: Invalid input received: Invalid attaching mode 'rw' for volume'

Environment

  • Red Hat Open Stack

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