Ceph removal of iSCSI gateway fails with error does not exist retval: -2

Solution Verified - Updated -

Issue

  • Removing a Ceph iSCSI gateway causes cephadm module to fail.

    # ceph health detail
    -  health: HEALTH_ERR
                  Module 'cephadm' has failed: dashboard iscsi-gateway failed: iSCSI gateway 'ceph-dfjpdfq-node2' does not exist retval: -2
    

Environment

  • Red Hat Ceph Storage 5.0

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