Installing Ceph dashboard fails when limiting nodes to grafana-server only

Solution Verified - Updated -

Issue

  • Ceph Dashboard installation fails when limiting to grafana-server only
ansible-playbook -vvvv -i hosts site.yml --limit grafana-server
...
fatal: [ceph-mgt01-bsl01]: FAILED! => changed=false 
  msg: 'AnsibleUndefinedVariable: ''ansible.vars.hostvars.HostVarsVars object'' has no attribute ''ansible_nodename'''

Environment

  • Red Hat Ceph Storage 4

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