Re: Creating from a template: get parameters from a file

2016-06-17 Thread Clayton Coleman
The -v flag needs to be fixed for sure (splitting flag values is bad). New-app should support both -f FILE and -p (which you can specify multiple -p, one for each param). Do you have any templates that require new lines? On Jun 17, 2016, at 5:55 PM, Alex Wauck wrote: I need to create services

Creating from a template: get parameters from a file

2016-06-17 Thread Alex Wauck
I need to create services from a template that has a lot of parameters. In addition to having a lot of parameters, it has parameters with values containing commas, which does not play well with the -v flag for oc process. Is there any way to make oc process get the parameter values from a file?

Re: Unable to add attributes to user via api

2016-06-17 Thread Clayton Coleman
You have fullName in the metadata object, but it should be in the base object. On Fri, Jun 17, 2016 at 4:57 PM, Marc Boorshtein wrote: > When I create a user by posting to /oapi/v1/users with the following JSON: > > {"identites":[],"kind":"User","apiVersion":"v1","metadata":{"name":"testCreateUse

Unable to add attributes to user via api

2016-06-17 Thread Marc Boorshtein
When I create a user by posting to /oapi/v1/users with the following JSON: {"identites":[],"kind":"User","apiVersion":"v1","metadata":{"name":"testCreateUser","fullName":"Create New User"},"details":{},"code":0} the user gets created by fullName isn't set: {"kind":"User","apiVersion":"v1","metad

Re: Hawkular Metrics

2016-06-17 Thread Srinivas Naga Kotaru (skotaru)
Thanks Matt. That is good info -- Srinivas Kotaru On 6/17/16, 12:48 PM, "Matt Wringe" wrote: >- Original Message - >> From: "Srinivas Naga Kotaru (skotaru)" >> To: users@lists.openshift.redhat.com >> Sent: Friday, June 17, 2016 2:30:38 PM >> Subject: Hawkular Metrics >> >> >> >>

Re: Atomic Centos, can't upgrade

2016-06-17 Thread Philippe Lafoucrière
Thanks Tobias for the detailed help! I should have thought of running again ansible, I was focused on the error. ​ ___ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Re: Hawkular Metrics

2016-06-17 Thread Matt Wringe
- Original Message - > From: "Srinivas Naga Kotaru (skotaru)" > To: users@lists.openshift.redhat.com > Sent: Friday, June 17, 2016 2:30:38 PM > Subject: Hawkular Metrics > > > > Trying to understand how an API can be crafted to get metrics and prepare > custom dashboard. My metrics serv

Re: docker registry image for openshift 3.2?

2016-06-17 Thread Alan Jones
Restarting docker cleared it up. I think there is something about my install of OS, perhaps it reinstalls docker. Thank you! On Fri, Jun 17, 2016 at 11:19 AM, Clayton Coleman wrote: > Are you trying to pull that from the DockerHub, or do you have an > --add-registry flag on your daemon? Because

Hawkular Metrics

2016-06-17 Thread Srinivas Naga Kotaru (skotaru)
Trying to understand how an API can be crafted to get metrics and prepare custom dashboard. My metrics service is up and running, and seeing nice CPU and memory graphs against container metrics tab Few questions around it 1. If I don’t want to use console, can we use an API to get hawkul

Re: docker registry image for openshift 3.2?

2016-06-17 Thread Clayton Coleman
Are you trying to pull that from the DockerHub, or do you have an --add-registry flag on your daemon? Because that image only exists on the red hat registry. On Fri, Jun 17, 2016 at 2:12 PM, Alan Jones wrote: > Error syncing pod, skipping: failed to "StartContainer" for "deployment" > with ErrIm

docker registry image for openshift 3.2?

2016-06-17 Thread Alan Jones
Error syncing pod, skipping: failed to "StartContainer" for "deployment" with ErrImagePull: "Error: image openshift3/ose-deployer:v3.2.0.44 not found" ___ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/li

Re: Atomic Centos, can't upgrade

2016-06-17 Thread Tobias Florek
Hi, that's a known problem with known fix, but maybe some publicity around it might be good. > We have tried to update our atomic host centos 7, with the > tree 3c3786d1dd (from the tree e39c28570a), but deployments are all > failing after the updates on the nodes: > > Error syncing pod, skippi

Atomic Centos, can't upgrade

2016-06-17 Thread Philippe Lafoucrière
Hi, We have tried to update our atomic host centos 7, with the tree 3c3786d1dd (from the tree e39c28570a), but deployments are all failing after the updates on the nodes: Error syncing pod, skipping: failed to "SetupNetwork" for "some_deploy" with SetupNetworkError: "Failed to setup network for p

All my ipfailover pods are in "Entering MASTER STATE", it's not fair ?

2016-06-17 Thread Stéphane Klein
Hi, I've: * one cluster with 2 nodes * ipfailover replicas=2 I execute: * oc logs ipfailover-rbx-1-bh3kn https://gist.github.com/harobed/2ab152ed98f95285d549cbc7af3a#file-oc-logs-ipfailover-rbx-1-bh3kn * oc logs ipfailover-rbx-1-mmp36 https://gist.github.com/harobed/2ab152ed98f95285d549

Re: Use own Dockerhub registry instead of openshift

2016-06-17 Thread Scott Dodson
Sorry, the value needs to be in single quotes otherwise bash tries to evaluate it. On Fri, Jun 17, 2016 at 9:47 AM, Den Cowboy wrote: > $ oadm router router --replicas=1 \ > > --credentials='/etc/origin/master/openshift-router.kubeconfig' \ > > --service-account=router \ > > --images=

RE: Use own Dockerhub registry instead of openshift

2016-06-17 Thread Den Cowboy
$ oadm router router --replicas=1 \ --credentials='/etc/origin/master/openshift-router.kubeconfig' \ --service-account=router \ --images=docker.io/my-registry/origin-${component}:${latest} dc: image: 'docker.io/my-registry/origin-:' imagePullPolicy:

Re: Use own Dockerhub registry instead of openshift

2016-06-17 Thread Scott Dodson
You need to add `--images=docker.io/my-registry/origin-${component}:${latest}` to the oadm invocation. On Fri, Jun 17, 2016 at 9:38 AM, Den Cowboy wrote: > Hi Scott, > > I did the following now: > In master-config.yaml: > my-registry/origin-${component}:${latest} > > In node-config.yaml: > my-reg

RE: Use own Dockerhub registry instead of openshift

2016-06-17 Thread Den Cowboy
Hi Scott, I did the following now: In master-config.yaml: my-registry/origin-${component}:${latest} In node-config.yaml: my-registry/origin-${component}:${latest} sudo service origin-master restart sudo service origin-node restart Created a router: oadm router router --repli

Re: Use own Dockerhub registry instead of openshift

2016-06-17 Thread Scott Dodson
So in your deployment config it should just be the fully qualified image repository, so 'docker.io/registry-name/haproxy-router:v1.2.0' not the template. If you didn't re-run the installer you'll also want to set imageConfig format in /etc/origin/node/node-config.yaml too, and of course after set

RE: Use own Dockerhub registry instead of openshift

2016-06-17 Thread Den Cowboy
Sorry for the spam but still stuck on this issue. Changing the ansible/hosts file changed the master-config. But deploymentconfig isn't changed. The masterconfig contains docker.io/my-registry/origin-${component}:${latest} So the dc config needs to be: my-registry/origin-${component}:${latest} b

Re: openshift and flocker

2016-06-17 Thread aleks
Hi. Am 17-06-2016 00:01, schrieb Clayton Coleman: No reason. Their dependency tree looks small, please open an issue on GitHub and we'll try to get it added. Thanks. Issue opened https://github.com/openshift/origin/issues/9398 BR Aleks On Sun, Jun 12, 2016 at 6:59 AM, aleks wrote: Hi.