Re: hostsubnets after node removed

2016-10-27 Thread Andrew Lau
Disregard

On Thu, 27 Oct 2016 at 11:44 Andrew Lau  wrote:

> Hi,
>
> When the AWS cloudprovider automatically removes a node after it's
> terminated in AWS, I noticed we often had a lot of the hostsubnets still
> around `oc get hostsubnet`
>
> Should these not be automatically deleted? The nodes no longer exist `oc
> get node`
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Metrics - Could not connect to Cassandra cluster

2016-10-27 Thread Philippe Lafoucrière
We have the exact same problem, except hawkular-metrics never starts in our
case.
We tried a lot of things, ending with removing everything in
openshift-infra, and now metrics aren't deploying anymore (with or without
ansible).
The deployer always fails:

[...]

Adding password for user hawkular
Creating the Hawkular Metrics Secrets configuration json file
Creating the Hawkular Metrics Certificate Secrets configuration json file
Creating the Hawkular Metrics User Account Secrets
Creating the Cassandra Secrets configuration file
Creating the Cassandra Certificate Secrets configuration json file
Creating Hawkular Metrics & Cassandra Secrets
Error from server: error when creating
"/etc/deploy/_output/hawkular-metrics-secrets.json": secrets
"hawkular-metrics-secrets" already exists


Of course, if we remove "hawkular-metrics-secrets", the deployer doesn't
start. It's been recreated if we run ansible again, but fails with the same
error as above.

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


Re: How can I put logstash config files in ConfigMap ?

2016-10-27 Thread Luke Meyer
The underscores are the problem. Can you convert them to hyphens?

On Tue, Oct 25, 2016 at 5:45 AM, Stéphane Klein  wrote:

> Hi,
>
> How can I put logstash config files in ConfigMap ?
>
>
> $ tree
> .
> ├── logstash-config
> │   ├── 1_tcp_input.conf
> │   ├── 2_news_filter.conf
> │   └── 3_elasticsearch_ouput.conf
>
> $ oc create configmap logstash-config --from-file=logstash-config/
> error: 1_tcp_input.conf is not a valid key name for a configMap
>
>
> For the moment I use PersistentVolume to store this configuration files
> but I think that it isn't the better choice.
>
> Best regards,
> Stéphane
> --
> Stéphane Klein 
> blog: http://stephane-klein.info
> cv : http://cv.stephane-klein.info
> Twitter: http://twitter.com/klein_stephane
>
> ___
> users mailing list
> 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


Re: Any solution for Recurring Jobs (cron jobs) on origin1.3

2016-10-27 Thread Guillaume Coré
Also interested.

Last time i checked was early september for OCP 3.3 release :
https://mojo.redhat.com/docs/DOC-1094232

The status was

* Scheduled jobs are delayed to OCP 3.4
* Status: Cron-like scheduling has been promised for k8s 1.3, but
delayed to 1.4.
Scheduled job PR : https://github.com/kubernetes/kubernetes/pull/11980


Meaning you can still run jobs as described in the mojo doc or the
official documentation, but you'll have to deal with the scheduling part
outside openshift.

Is it still true ?


Guillaume

On 2016-10-27 12:29, Michail Kargakis wrote:
> ccing Maciej who added scheduled jobs in 1.3
> 
> On Thu, Oct 27, 2016 at 12:22 PM, Syam G Krishnan  > wrote:
> 
> Hi,
> 
> What are the ways to run recurring jobs(cron jobs) on openshift?
> The need is for running a script (which will do the backup of database)
> inside a container and exits.
> 
> thanks,
> 
> --
> Syam G Krishnan
> GPG 4096R/FBB26E60
> Red Hat India Pvt Ltd
> 
> 
> ___
> users mailing list
> 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
> 

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


Any solution for Recurring Jobs (cron jobs) on origin1.3

2016-10-27 Thread Syam G Krishnan
Hi,

What are the ways to run recurring jobs(cron jobs) on openshift?
The need is for running a script (which will do the backup of database)
inside a container and exits.

thanks,

-- 
Syam G Krishnan
GPG 4096R/FBB26E60
Red Hat India Pvt Ltd



signature.asc
Description: OpenPGP digital signature
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users