I don't see why that shouldn't work as its using an ephemeral volume.
When using NFS I did find that if I tried to redeploy metrics using a volume that had already been deployed to then I did hit permissions problems that were solved by wiping the data from the NFS mount. But I can't see how that could apply to a ephemeral volume. That's always worked fine for me.


On 25/05/18 11: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

Reply via email to