Closed Snegohod closed 5 years ago
Not working
TASK [ceph-dashboard : disable SSL for dashboard] **** Monday 07 October 2019 10:33:57 +0300 (0:00:00.190) 0:14:49.831 **** fatal: [node1.internet.nio2 -> node1.internet.nio2]: FAILED! => changed=true cmd:
- docker
- exec
- ceph-mon-node1
- ceph
- --cluster
- ceph
- config
- set
- mgr
- mgr/dashboard/ssl
- 'false' delta: '0:00:00.380883' end: '2019-10-07 10:37:43.949208' msg: non-zero return code rc: 13 start: '2019-10-07 10:37:43.568325' stderr: '[errno 13] error connecting to the cluster' stderr_lines:
stdout: '' stdout_lines:
Argument --cluster {{ cluster }} is added to command but it value is ceph not ceph-ovirt like in group_vars/all.yml file.
Command docker exec ceph-mon-node1 ceph --cluster ceph-ovirt config set mgr mgr/dashboard/ssl 'false' works on host node1.internet.nio2
Could you share the full ansible log ?
Could you share the full ansible log ?
I'm sorry. Dashboard install works correctly. This is my mistake. There was an incorrectly configured soft link to /etc/ansible/group_vars
Bug Report
What happened: When change default cluster name cannot deploy Dashboard
What you expected to happen: Deploy dashboard with non default Ceph cluster name
How to reproduce it (minimal and precise):
Change default cluster in group_vars/all.yml
Share your group_vars files, inventory
group_vars/all.yml
group_vars/osds.yml
/etc/ansible/hosts
Environment:
uname -a
):docker version
):Ansible version (e.g.
ansible-playbook --version
):ceph-ansible version (e.g.
git head or tag or stable branch
): stable-4.0Ceph version (e.g.
ceph -v
): 14.2.4Workaround: Add --cluster {{ cluster }} to ceph command in roles/ceph-dashboard/tasks/configure_dashboard.yml