Why is the error "The target exists, contains other items, or is in use" popping up when removing a device using the Heketi CLI?

Solution Verified - Updated -

Issue

  • When running the command:

    heketi-cli --user admin --secret "${HEKETI_ADMIN_KEY}" device remove < device - id >
    

    it fails with the error:

    Error: The target exists, contains other items, or is in use.
    
  • How to proceed further?

Environment

  • Openshift Container Storage 3.11.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