Re: the ovs-multitenant SDN plug-in

2016-07-14 Thread Alex Wauck
Hm...you might need to restart all of your pods.  I checked pods that I
didn't think had been restarted since the migration, but it's possible that
they actually did get restarted at some point.  We made the change a few
weeks ago.

On Thu, Jul 14, 2016 at 1:25 AM, Den Cowboy  wrote:

> Thanks, seems to go fine indeed.
> But some 'weird' thing what happens is this:
>
> I perform
>
> oadm pod-network join-projects --to=project-a project-b
>
> Now I'm able to resolve hostnames between pods so when I try to ping from
> my pod in project-a to my pod in project-b:
> ping  my-app.project-b
> PING my-app.project-b.svc.cluster.local + right service IP
>
> So this seems to be fine.
> But when I try to ping from the pod in project-a to a pod in project-c (no
> joined networks):
> ping  my-app.project-c
> PING my-app.project-c.svc.cluster.local + right service IP
>
> Than I'm also able to resolve the right hostname/service-ip etc.
> ------
> From: alexwa...@exosite.com
> Date: Mon, 11 Jul 2016 08:57:10 -0500
> Subject: Re: the ovs-multitenant SDN plug-in
> To: dencow...@hotmail.com
> CC: users@lists.openshift.redhat.com
>
>
> You shouldn't have to.  We didn't.
>
> On Mon, Jul 11, 2016 at 2:58 AM, Den Cowboy  wrote:
>
> Hi,
>
> I tried to change my SDN configuration from subnet to multitenant.
> I deleted the section on my nodes and changed in on my master and
> restarted my master.
>
> 1. Is there a way to check somewhere this plugin is used?
>
> After that I tried to join 2 projects (I want to connect 2 pods without
> going outside my OpenShift environment (so without using routes but using
> services (names)).
>
> $ oadm pod-network join-projects --to=test1 test2
>
> Project test1 contains an app. Project test2 contains my mysql database.
> I used as env variable for my app: mysql=mysql.test2
> This works fine. So it's using the right database (which is in another
> project).
> Now is my question?
> I changed the configuration now. Do I have to recreate all my old
> projects/restart all my pods or?
>
> Thanks
>
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
>
>
> --
>
> Alex Wauck // DevOps Engineer
>
> *E X O S I T E*
> *www.exosite.com <http://www.exosite.com/>*
>
> Making Machines More Human.
>
>


-- 

Alex Wauck // DevOps Engineer

*E X O S I T E*
*www.exosite.com <http://www.exosite.com/>*

Making Machines More Human.
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


RE: the ovs-multitenant SDN plug-in

2016-07-13 Thread Den Cowboy
Thanks, seems to go fine indeed.
But some 'weird' thing what happens is this:

I perform
oadm pod-network join-projects --to=project-a project-b

Now I'm able to resolve hostnames between pods so when I try to ping from my 
pod in project-a to my pod in project-b:
ping  my-app.project-b   
PING my-app.project-b.svc.cluster.local + right service IP

So this seems to be fine.
But when I try to ping from the pod in project-a to a pod in project-c (no 
joined networks):
ping  my-app.project-c   
PING my-app.project-c.svc.cluster.local + right service IP

Than I'm also able to resolve the right hostname/service-ip etc.
From: alexwa...@exosite.com
Date: Mon, 11 Jul 2016 08:57:10 -0500
Subject: Re: the ovs-multitenant SDN plug-in
To: dencow...@hotmail.com
CC: users@lists.openshift.redhat.com

You shouldn't have to.  We didn't.
On Mon, Jul 11, 2016 at 2:58 AM, Den Cowboy  wrote:



Hi,

I tried to change my SDN configuration from subnet to multitenant.
I deleted the section on my nodes and changed in on my master and restarted my 
master.

1. Is there a way to check somewhere this plugin is used?

After that I tried to join 2 projects (I want to connect 2 pods without going 
outside my OpenShift environment (so without using routes but using services 
(names)). 
$ oadm pod-network join-projects --to=test1 test2Project test1 contains an app. 
Project test2 contains my mysql database.
I used as env variable for my app: mysql=mysql.test2 
This works fine. So it's using the right database (which is in another project).
Now is my question?
I changed the configuration now. Do I have to recreate all my old 
projects/restart all my pods or?

Thanks


  

___

users mailing list

users@lists.openshift.redhat.com

http://lists.openshift.redhat.com/openshiftmm/listinfo/users




-- 
Alex Wauck // DevOps Engineer
E X O S I T E www.exosite.com 

Making Machines More Human.
  ___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: the ovs-multitenant SDN plug-in

2016-07-11 Thread Alex Wauck
You shouldn't have to.  We didn't.

On Mon, Jul 11, 2016 at 2:58 AM, Den Cowboy  wrote:

> Hi,
>
> I tried to change my SDN configuration from subnet to multitenant.
> I deleted the section on my nodes and changed in on my master and
> restarted my master.
>
> 1. Is there a way to check somewhere this plugin is used?
>
> After that I tried to join 2 projects (I want to connect 2 pods without
> going outside my OpenShift environment (so without using routes but using
> services (names)).
>
> $ oadm pod-network join-projects --to=test1 test2
>
> Project test1 contains an app. Project test2 contains my mysql database.
> I used as env variable for my app: mysql=mysql.test2
> This works fine. So it's using the right database (which is in another
> project).
> Now is my question?
> I changed the configuration now. Do I have to recreate all my old
> projects/restart all my pods or?
>
> Thanks
>
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 

Alex Wauck // DevOps Engineer

*E X O S I T E*
*www.exosite.com *

Making Machines More Human.
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


the ovs-multitenant SDN plug-in

2016-07-11 Thread Den Cowboy
Hi,

I tried to change my SDN configuration from subnet to multitenant.
I deleted the section on my nodes and changed in on my master and restarted my 
master.

1. Is there a way to check somewhere this plugin is used?

After that I tried to join 2 projects (I want to connect 2 pods without going 
outside my OpenShift environment (so without using routes but using services 
(names)). 
$ oadm pod-network join-projects --to=test1 test2Project test1 contains an app. 
Project test2 contains my mysql database.
I used as env variable for my app: mysql=mysql.test2 
This works fine. So it's using the right database (which is in another project).
Now is my question?
I changed the configuration now. Do I have to recreate all my old 
projects/restart all my pods or?

Thanks


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