Hi,

I've installed a similar configuration and it works. Origin 3.9 with metrics installed and ephemeral storage(emptyDir/default).
What I have specified in my inventory file is

openshift_metrics_image_prefix=docker.io/openshift/origin-
openshift_metrics_image_version=v3.9

so I also have the var for openshift_metrics_image_prefix, but I think the value there is actually the default one, so the config should be identical.

I've attached the replication controller for the hawkular-cassandra pod on my cluster (I've removed some annotations and state info). You could compare it to yours and see if there are differences
oc get rc/hawkular-cassandra-1 -n openshift-infra -o yaml to see yours

Hope it helps!

On 25.05.2018 13:29, Yu Wei wrote:
configuration as below,

/openshift_metrics_install_metrics=true
/
/openshift_metrics_image_version=v3.9
/
/openshift_master_default_subdomain=paas-dev.dataos.io
/
/#openshift_hosted_logging_deploy=true
/
/openshift_logging_install_logging=true
/
/openshift_logging_image_version=v3.9
/
/openshift_disable_check=disk_availability,docker_image_availability,docker_storage
/
/osm_etcd_image=registry.access.redhat.com/rhel7/etcd
/
/
/
/openshift_enable_service_catalog=true
/
/openshift_service_catalog_image_prefix=openshift/origin-
/
/openshift_service_catalog_image_version=v3.9.0/
------------------------------------------------------------------------
*From:* users-boun...@lists.openshift.redhat.com <users-boun...@lists.openshift.redhat.com> on behalf of Tim Dudgeon <tdudgeon...@gmail.com>
*Sent:* Friday, May 25, 2018 6:21 PM
*To:* users@lists.openshift.redhat.com
*Subject:* Re: hawkular-cassandra failed to startup on openshift origin 3.9

So what was the configuration for metrics in the inventory file.


On 25/05/18 11:04, Yu Wei wrote:
Yes, I deployed that via ansible-playbooks.
------------------------------------------------------------------------
*From:* users-boun...@lists.openshift.redhat.com <mailto:users-boun...@lists.openshift.redhat.com> <users-boun...@lists.openshift.redhat.com> <mailto:users-boun...@lists.openshift.redhat.com> on behalf of Tim Dudgeon <tdudgeon...@gmail.com> <mailto:tdudgeon...@gmail.com>
*Sent:* Friday, May 25, 2018 5:51 PM
*To:* users@lists.openshift.redhat.com <mailto:users@lists.openshift.redhat.com> *Subject:* Re: hawkular-cassandra failed to startup on openshift origin 3.9

How are you deploying this? Using the ansible playbooks?


On 25/05/18 10:25, Yu Wei wrote:
Hi,
I tried to deploy hawkular-cassandra on openshift origin 3.9 cluster.
However, pod failed to start up with error as below,
/WARN [main] 2018-05-25 09:17:43,277 StartupChecks.java:267 - Directory /cassandra_data/data doesn't exist /

/ERROR [main] 2018-05-25 09:17:43,279 CassandraDaemon.java:710 - Has no permission to create directory /cassandra_data/data/

I tried emptyDir and persistent volume as cassandra-data, both failed.

Any advice for this issue?

Thanks,

Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux



_______________________________________________
users mailing list
users@lists.openshift.redhat.com <mailto:users@lists.openshift.redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Attachment: hawk_cass.yaml
Description: application/yaml

_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to