Created attachment 1644983[details]
ansible log file
Description of problem:
Dashboard is installed by default now but port 8443 is not opened by ceph-ansible.
In /etc/ansible/hosts I have:
[grafana-server]
jb-ceph4-mon
yet 8443 is not opened on jb-ceph4-mon
[root@jb-ceph4-mon ~]# firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: enp1s0
sources: 192.168.122.0/24
services: ceph ceph-mon cockpit dhcpv6-client ssh
ports: 9100/tcp 3000/tcp 9092/tcp 9093/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
I can't connect to the dashboard as instructed:
TASK [ceph-dashboard : print dashboard URL] ************************************************************
task path: /usr/share/ceph-ansible/roles/ceph-dashboard/tasks/main.yml:5
Friday 13 December 2019 15:53:03 -0500 (0:00:02.166) 0:03:45.120 *******
ok: [jb-ceph4-mon] =>
msg: The dashboard has been deployed! You can access your dashboard web UI at http://jb-ceph4-mon:8443/ as an 'admin' user with 'p@ssw0rd' password.
META: ran handlers
If I disable the firewall I can load the dashboard without problem.
[root@jb-ceph4-mon ~]# systemctl stop firewalld
[root@jb-ceph4-mon ~]# firewall-cmd --list-all
FirewallD is not running
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1. Install RHCS 4
2. Try to browse to dashboard http://<hostname>:8443
Actual results:
connection refused.
Expected results:
connection not refused and dashboard loads.
Additional info:
ceph-ansible-4.0.6-1.el8cp.noarch
[root@jb-ceph4-mon ~]# rpm -qa | grep ceph
ceph-mon-14.2.4-84.el8cp.x86_64
python3-ceph-argparse-14.2.4-84.el8cp.x86_64
ceph-mgr-dashboard-14.2.4-84.el8cp.noarch
ceph-base-14.2.4-84.el8cp.x86_64
ceph-common-14.2.4-84.el8cp.x86_64
python3-cephfs-14.2.4-84.el8cp.x86_64
ceph-selinux-14.2.4-84.el8cp.x86_64
ceph-grafana-dashboards-14.2.4-84.el8cp.noarch
libcephfs2-14.2.4-84.el8cp.x86_64
ceph-mgr-14.2.4-84.el8cp.x86_64
ceph-mgr-diskprediction-local-14.2.4-84.el8cp.noarch
In group_vars/all.yml There is this line:
#configure_firewall: True
I tried uncommenting it to be explicit but it didn't help.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:0312