Hi list...
Im having a Metric fatal error after a clean installation (OSE 3.9 RPMS
with advanced installation method).
Error
2018-04-23 04:41:48,895 FATAL
[org.hawkular.metrics.api.jaxrs.MetricsServiceLifecycle]
(metricsservice-lifecycle-th
read) HAWKMETRICS200006: An error occurred trying to connect to the
Cassandra cluster: java.lang.RuntimeException:
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s)
tried for query failed (tried: hawkular-c
assandra/172.30.209.7:9042
(com.datastax.driver.core.exceptions.OperationTimedOutException:
[hawkular-cassandra/172
.30.209.7:9042] Timed out waiting for server response))
Thats even with Cassandra container reporting being ready. I cant see the
bug in my config.
My inventory file is as follows:
[OSEv3:children]
masters
nodes
etcd
nfs
[masters]
lnx-openshift-aco01.cloud.bci.cl
[nfs]
lnx-openshift-aco02.cloud.bci.cl
[etcd]
lnx-openshift-aco02.cloud.bci.cl
lnx-openshift-aco03.cloud.bci.cl
[nodes]
lnx-openshift-aco01.cloud.bci.cl openshift_node_labels="{'host':
'apiserver'}"
lnx-openshift-aco02.cloud.bci.cl openshift_node_labels="{'region':
'infra','host': 'infra'}"
lnx-openshift-aco03.cloud.bci.cl openshift_node_labels="{'host': 'apps'}"
[OSEv3:vars]
ansible_ssh_user=root
containerized=false
debug_level=6
openshift_deployment_type=openshift-enterprise
openshift_release=v3.9.14
openshift_install_examples=true
openshift_clock_enabled=true
openshift_disable_check=memory_availability,disk_availability,docker_image_availability,docker_storage
openshift_docker_options=' --selinux-enabled --insecure-registry
172.30.0.0/16 '
openshift_master_cluster_method=native
openshift_master_cluster_hostname=test.openshift.cloud.bci.cl
openshift_master_cluster_public_hostname=public.test.openshift.cloud.bci.cl
openshift_master_default_subdomain=apps.test.openshift.cloud.bci.cl
openshift_master_api_port=443
openshift_master_console_port=443
# Registry
openshift_hosted_registry_replicas=1
openshift_hosted_registry_selector='host=infra'
openshift_registry_selector='host=infra'
openshift_hosted_registry_storage_host=storage.test.openshift.cloud.bci.cl
openshift_hosted_registry_storage_kind=nfs
openshift_hosted_registry_storage_access_modes=['ReadWriteMany']
openshift_hosted_registry_storage_nfs_directory=/exports
openshift_hosted_registry_storage_volume_name=registry
openshift_hosted_registry_storage_volume_size=15Gi
openshift_hosted_registry_storage_nfs_options='*(rw,root_squash)'
# Metrics
openshift_metrics_install_metrics=true
openshift_metrics_start_cluster=true
openshift_metrics_image_version=v3.9.14
openshift_metrics_cassandra_storage_type=emptydir
openshift_metrics_install_hawkular_agent=true
openshift_metrics_hawkular_hostname=hawkular.test.openshift.cloud.bci.cl
openshift_master_metrics_public_url=
https://hawkular.test.openshift.cloud.bci.cl/hawkular/metrics
# Hosted Prometheus
openshift_hosted_prometheus_deploy=false
# Hosted etcd storage
openshift_hosted_etcd_storage_kind=nfs
openshift_hosted_etcd_storage_nfs_options="*(rw,root_squash,sync,no_wdelay)"
openshift_hosted_etcd_storage_nfs_directory=/opt/osev3-etcd
openshift_hosted_etcd_storage_volume_name=etcd-vol2
openshift_hosted_etcd_storage_access_modes=["ReadWriteOnce"]
openshift_hosted_etcd_storage_volume_size=1G
openshift_hosted_etcd_storage_labels={'storage': 'etcd'}
# Service Catalog
openshift_enable_service_catalog=false
# Logging
openshift_logging_install_logging=false
# CRI-O
openshift_use_crio=false
# Identity Provider
openshift_master_identity_providers=[{'name': 'allow_all', 'login': 'true',
'challenge': 'true', 'kind': 'AllowAllPasswordIdentityProvider'}]
The other observation is that sshing to cassandra container cqlsh cant
connect to cassandra locally.
Please help
Guillermo Gómez Savino
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users