Re: Private Docker registry on OpenShift Origin 1.1

2016-01-14 Thread Philippe Lafoucrière
Got it Thanks a lot! Sent from my iPhone On 14 janv. 2016, at 19:08, Clayton Coleman wrote: You can set the image field to anything if you have a deployment trigger pointing to an image stream. The deployment trigger overrides the value set in the container when the first deployment is kicked

Re: Private Docker registry on OpenShift Origin 1.1

2016-01-14 Thread Clayton Coleman
You can set the image field to anything if you have a deployment trigger pointing to an image stream. The deployment trigger overrides the value set in the container when the first deployment is kicked off On Jan 14, 2016, at 3:39 PM, Philippe Lafoucrière < philippe.lafoucri...@tech-angels.com> w

Re: OpensShift SDN

2016-01-14 Thread Srinivas Naga Kotaru (skotaru)
Dan One question Masters also using same port for VLLAN communication with nodes right? If we block the port from internal and external subnets but if we put masters in internal network, they won’t be abel to talk to external nodes or vise verse right? One solution could be put masters in

Re: Private Docker registry on OpenShift Origin 1.1

2016-01-14 Thread Philippe Lafoucrière
On Thu, Jan 14, 2016 at 2:54 PM, Clayton Coleman wrote: > The name of the openshift registry? Just set the field to a > placeholder in the deployment config. > Sorry Clayton, I'm not sure to follow you :( Do you have an example I can checkout somewhere? Thanks Philippe _

Re: Private Docker registry on OpenShift Origin 1.1

2016-01-14 Thread Clayton Coleman
The name of the openshift registry? Just set the field to a placeholder in the deployment config. On Thu, Jan 14, 2016 at 2:45 PM, Philippe Lafoucrière wrote: > Also, I'm a little lost with containers specifications. > What's the value of DeploymentConfig.spec.Containers[0].spec.image field? > I

Re: openshift dns: docker-registry-deploy times out, fails

2016-01-14 Thread Jon Cope
Found the solution. First, you must setup dnsmasq following this guide http://developerblog.redhat.com/2015/11/19/dns-your-openshift-v3-cluster/ then restart both atomic-openshift-[master,node] services. That fixed the issue for me. - Original Message - | From: "Jon Cope" | To: "user

Re: Private Docker registry on OpenShift Origin 1.1

2016-01-14 Thread Philippe Lafoucrière
Also, I'm a little lost with containers specifications. What's the value of DeploymentConfig.spec.Containers[0].spec.image field? I don't know the name of the registry when creating the templates. Thanks ___ users mailing list users@lists.openshift.redhat

Re: OpensShift SDN

2016-01-14 Thread Srinivas Naga Kotaru (skotaru)
Thank you Dan. It is all clear now. It is much better solution rather installing 2 separate cluster installations on each data center just to isolate Internal Vs External traffic. Appreciated Dan.. Srinivas Kotaru On 1/14/16, 10:00 AM, "Dan Winship" wrote: >On 01/14/2016 12:56 PM, Srin

Re: OpensShift SDN

2016-01-14 Thread Dan Winship
On 01/14/2016 12:56 PM, Srinivas Naga Kotaru (skotaru) wrote: > Thanks Dan for info. Are you saying we need to block VXLAN port using > traditional subnet firewall between Internal <-> External Nodes? Yes. (Though I assume your firewall is already doing this.) > Is it block 4789 port between sub

Re: OpensShift SDN

2016-01-14 Thread Srinivas Naga Kotaru (skotaru)
Thanks Dan for info. Are you saying we need to block VXLAN port using traditional subnet firewall between Internal <-> External Nodes? Is it block 4789 port between subnets ? Any impact blocking 4789 port apart from blocking Internal <—> External communication? -- Srinivas Kotaru On 1/

Re: Application Level Metrics?

2016-01-14 Thread Chris Morgan
Hi John, We have a partner, 6Fusion, that is close to addressing some of this. https://www.youtube.com/watch?v=CncN3wXCxus&feature=youtu.be Cheers, Chris > On Jan 14, 2016, at 10:05 AM, Matt Wringe wrote: > > - Original Message - >> From: "John Skarbek" mailto:jskar...@rallydev.com>>

Re: Application Level Metrics?

2016-01-14 Thread Matt Wringe
- Original Message - > From: "John Skarbek" > To: "users" > Sent: Wednesday, January 13, 2016 6:01:02 PM > Subject: Application Level Metrics? > > Can anyone speak up and provide some level of detail as to how they approach > the problem of collecting and reporting on metrics provided by

Re: can't get mysql cartridge to work

2016-01-14 Thread Martin Nagy
(adding @users back, please keep the list in your replies) So, with the persistent template, you need a Persistent Volume so the created MySQL pod has a place to store database files. See [1] for an overview, there's also a link in there for e.g. NFS. For MySQL persistent template [2] the minimum

Re: can't get mysql cartridge to work

2016-01-14 Thread Martin Nagy
See [1] about exposing services. [1] https://docs.openshift.org/latest/architecture/core_concepts/routes.html On Thu, Jan 14, 2016 at 3:34 PM, Candide Kemmler wrote: > Changed user from root -> intrinsic. Pod is alive now. How come I can > connect to it from my laptop though? Is there something

Re: can't get mysql cartridge to work

2016-01-14 Thread Martin Nagy
Well, they should be autofilled if you used the persistent/ephemeral template. Let's see the environment: oc env pod/mysql-1-0kkx6 --list Also, how did you instantiate the template? What command did you run? On Thu, Jan 14, 2016 at 3:30 PM, Candide Kemmler wrote: > OK thanks. Here's what it say

Re: can't get mysql cartridge to work

2016-01-14 Thread Candide Kemmler
OK thanks. Here's what it says: mbcandide:~ candide$ oc logs -p mysql-1-0kkx6 You must either specify the following environment variables: MYSQL_USER (regex: '^[a-zA-Z0-9_]+$') MYSQL_PASSWORD (regex: '^[a-zA-Z0-9_~!@#$%^&*()-=<>,.?;:|]+$') MYSQL_DATABASE (regex: '^[a-zA-Z0-9_]+$') Or the fol

Re: can't get mysql cartridge to work

2016-01-14 Thread Martin Nagy
Hi, something is likely wrong with the MySQL since it is restarting. Can you show us your logs from the container? You can get logs from the last container by 'oc logs -p mysql-1-0kkx6' On Thu, Jan 14, 2016 at 3:03 PM, Candide Kemmler wrote: > Hi, > > I created my own cluster using ansible (full

can't get mysql cartridge to work

2016-01-14 Thread Candide Kemmler
Hi, I created my own cluster using ansible (full install log here ). Everything seems to be working fine except I can't seem to launch a mysql server. I tried both mysql-persistent and -ephemeral. In both cases I will end up having

Re: rename project

2016-01-14 Thread Clayton Coleman
Someone upstream already grabbed the issue to fix this. On Jan 14, 2016, at 8:16 AM, Luke Meyer wrote: Do you have a pointer to how bufio.Scanner is broken and what we should use instead? On Wed, Jan 13, 2016 at 11:07 AM, Clayton Coleman wrote: > buffo.Scanner is broken by design - we shouldn

Re: rename project

2016-01-14 Thread Jordan Liggitt
https://golang.org/pkg/bufio/#Scanner "Scanning stops unrecoverably at EOF, the first I/O error, or a token too large to fit in the buffer. When a scan stops, the reader may have advanced arbitrarily far past the last token. Programs that need more control over error handling or large tokens, or m

Re: rename project

2016-01-14 Thread Luke Meyer
Do you have a pointer to how bufio.Scanner is broken and what we should use instead? On Wed, Jan 13, 2016 at 11:07 AM, Clayton Coleman wrote: > buffo.Scanner is broken by design - we shouldn't be using it in any > reasonable code path - that's likely the issue here. > > On Wed, Jan 13, 2016 at 1

Re: Job frozen

2016-01-14 Thread Maciej Szulik
Hmmm... there is only hard requirement for the selector to be non-nil [1] because empty selector is a valid selector [2]. [1] https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/extensions/validation/validation.go#L344 [2] https://github.com/kubernetes/kubernetes/blob/master/docs/user