red-hat-storage / cockpit-ceph-installer

Cockpit plugin to simplify Ceph installations
GNU Lesser General Public License v2.1
64 stars 18 forks source link

[ ceph-validate ] fail when dashboard_admin_password and/or grafana_admin_password are not set #59

Closed JarodWan closed 4 years ago

JarodWan commented 4 years ago

hi, i just try build the ceph cluster with the tools i have around 10 test box on vmware esxi , and 9 box have the same configuration about 2 core CPU, 8G RAM, 4 DISK ( 60G and 300G*3)

during the deploy , i met the problem about

[ ceph-validate ] fail when dashboard_admin_password and/or grafana_admin_password are not set

did anybody meet the error?

and here is the all setting Environment

Installation Source Community
Target Version 14 (Nautilus)
Cluster Type Development/POC
Installation Type RPM
Network Connectivity IPv4
OSD Type BlueStore
Encryption None
Flash Configuration Journals/Logs

Cluster

Hosts 10
Roles mons, osds, mdss, rgws
• mons 3
• osds 9
• mdss 9
• rgws 9
OSD devices 27
Metrics Host cephnode10

Network

Public Network 10.15.212.0/24
Cluster Network 192.168.212.0/24
S3 Network 10.15.212.0/24
iSCSI Network N/A

Cluster Readiness

Error 0
Warning 54
Info 0

Storage Cluster Hosts

cephnode01VMware, Inc. None 2 CPU, 8GB RAM, 2 NIC3 HDD, 0 SSD mons, osds, mdss, rgws Cluster Network192.168.212.41 \ ens224 Public Network10.15.212.41 \ ens192 S3 Network10.15.212.41 \ ens192 iSCSI NetworkN/A
cephnode02VMware, Inc. None 2 CPU, 8GB RAM, 2 NIC3 HDD, 0 SSD mons, osds, mdss, rgws Cluster Network192.168.212.42 | ens224 Public Network10.15.212.42 | ens192 S3 Network10.15.212.42 | ens192 iSCSI NetworkN/A
cephnode03VMware, Inc. None 2 CPU, 8GB RAM, 2 NIC3 HDD, 0 SSD mons, osds, mdss, rgws Cluster Network192.168.212.43 | ens224 Public Network10.15.212.43 | ens192 S3 Network10.15.212.43 | ens192 iSCSI NetworkN/A
cephnode04VMware, Inc. None 2 CPU, 8GB RAM, 2 NIC3 HDD, 0 SSD osds, mdss, rgws Cluster Network192.168.212.44 | ens224 Public Network10.15.212.44 | ens192 S3 Network10.15.212.44 | ens192 iSCSI NetworkN/A
cephnode05VMware, Inc. None 2 CPU, 8GB RAM, 2 NIC3 HDD, 0 SSD osds, mdss, rgws Cluster Network192.168.212.45 | ens224 Public Network10.15.212.45 | ens192 S3 Network10.15.212.45 | ens192 iSCSI NetworkN/A
cephnode06VMware, Inc. None 2 CPU, 8GB RAM, 2 NIC3 HDD, 0 SSD osds, mdss, rgws Cluster Network192.168.212.46 | ens224 Public Network10.15.212.46 | ens192 S3 Network10.15.212.46 | ens192 iSCSI NetworkN/A
cephnode07VMware, Inc. None 2 CPU, 8GB RAM, 2 NIC3 HDD, 0 SSD osds, mdss, rgws Cluster Network192.168.212.47 | ens224 Public Network10.15.212.47 | ens192 S3 Network10.15.212.47 | ens192 iSCSI NetworkN/A
cephnode08VMware, Inc. None 2 CPU, 8GB RAM, 2 NIC3 HDD, 0 SSD osds, mdss, rgws Cluster Network192.168.212.48 | ens224 Public Network10.15.212.48 | ens192 S3 Network10.15.212.48 | ens192 iSCSI NetworkN/A
cephnode09VMware, Inc. None 2 CPU, 8GB RAM, 2 NIC3 HDD, 0 SSD osds, mdss, rgws Cluster Network192.168.212.49 | ens224 Public Network10.15.212.49 | ens192 S3 Network10.15.212.49 | ens192 iSCSI NetworkN/A

thanks

poxin13 commented 4 years ago

Just got this today on a new deployment. Fixed by rolling back to v4.0.14 of ceph-ansible for the mean time.

v4.0.15 added the following:

2e7d7b7 tests: set dashboard|grafana_admin_password
8a907cb validate: fail if dashboard|grafana_admin_password aren't set
JarodWan commented 4 years ago

thanks for reply, and i will try it again

imoyao commented 4 years ago

Have you resolve the issue? I encountered the same problem.

pcuzner commented 4 years ago

the fix for the passwords is in the latest version. The UI now asks for a password for the dashboard and grafana endpoints, and validates that they meet basic password complexity rules.