How to connect a CD-ROM image from a RHV Data storage domain using the SDK

Solution Verified - Updated -

Issue

  • We have a ISO image in a block-based data storage domain in RHV.
  • Using the Python SDK, we are trying to connect the ISO image to a VM.
  • The script used to work with ISO storage domains, but is failing with a data storage domain with the error:
"Fault reason is "Operation Failed". Fault detail is "[Invalid ISO image path]". HTTP response code is 400"
  • Consulting the SDK documentation it's not clear how to change the CD-ROM to a ISO in a data storage domain.

Environment

  • Red Hat Virtualization (RHV) 4.4
  • ISO image in block-based data storage domain.

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