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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.