Appendix G. Purging the Ceph dashboard using Ansible


If you no longer want the dashboard installed, use the purge-dashboard.yml playbook to remove the dashboard. You might also want to purge the dashboard when troubleshooting an issue with the dashboard or its components.

Prerequisites

  • Red Hat Ceph Storage 4.3 or later.
  • Ceph-ansible shipped with the latest version of Red Hat Ceph Storage.
  • Sudo-level access to all nodes in the storage cluster.

Procedure

  1. Log in to the Ansible administration node.
  2. Navigate to the /usr/share/ceph-ansible/ directory:

    Example

    [ansible@admin ~]$ cd /usr/share/ceph-ansible/

  3. Run the Ansible purge-dashboard.yml playbook, and when prompted, type yes to confirm purging of the dashboard:

    Example

    [ansible@admin ceph-ansible]$ ansible-playbook infrastructure-playbooks/purge-dashboard.yml -i hosts -vvvv

Verification

  • Run the ceph mgr services command to verify dashboard is no longer running:

    Syntax

    ceph mgr services

    The dashboard URL is not displayed.

Additional Resources

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.