You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Olivier Sallou <ol...@irisa.fr> on 2016/08/19 07:10:52 UTC
error when using dockerinfo user network
HI,
I just upgraded to mesos 1.0 (package 1.0.0-2.0.89.ubuntu1510).
I tried to setup with Docker containerizer the use of a user defined
network (via docker cni plugin), using python binding.
I face an error:
"Unknown enum value: 4" when setting DockerInfo network value to 4.
I was previously setting to value 2 (bridge) and it works.
I can see in mesos.proto:
enum Network {
HOST = 1;
BRIDGE = 2;
NONE = 3;
USER = 4;
}
so value 4 should be ok.
Any hint?
Thanks
Olivier
--
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95
gpg key id: 4096R/326D8438 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
Re: error when using dockerinfo user network
Posted by Avinash Sridharan <av...@mesosphere.io>.
Oliver not sure if the python bindings have been updated. So the Protobufs
you might be using might be the old definitions. Probably @kapil or @anand
could explain better?
On Fri, Aug 19, 2016 at 3:40 AM, Olivier Sallou <ol...@irisa.fr>
wrote:
> answering to myself ;-)
>
> I use a virtualenv, and mesos package now install python lib on system. I
> had in my virtualenv the old python libs of mesos....
>
> ----- Mail original -----
> > De: "Olivier Sallou" <ol...@irisa.fr>
> > À: dev@mesos.apache.org
> > Envoyé: Vendredi 19 Août 2016 09:10:52
> > Objet: error when using dockerinfo user network
> >
> > HI,
> >
> > I just upgraded to mesos 1.0 (package 1.0.0-2.0.89.ubuntu1510).
> >
> > I tried to setup with Docker containerizer the use of a user defined
> > network (via docker cni plugin), using python binding.
> >
> >
> > I face an error:
> >
> > "Unknown enum value: 4" when setting DockerInfo network value to 4.
> >
> >
> > I was previously setting to value 2 (bridge) and it works.
> >
> > I can see in mesos.proto:
> >
> > enum Network {
> > HOST = 1;
> > BRIDGE = 2;
> > NONE = 3;
> > USER = 4;
> > }
> >
> >
> > so value 4 should be ok.
> >
> > Any hint?
> >
> > Thanks
> >
> > Olivier
> >
> > --
> > Olivier Sallou
> > IRISA / University of Rennes 1
> > Campus de Beaulieu, 35000 RENNES - FRANCE
> > Tel: 02.99.84.71.95
> >
> > gpg key id: 4096R/326D8438 (keyring.debian.org)
> > Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
> >
> >
> >
>
--
Avinash Sridharan, Mesosphere
+1 (323) 702 5245
Re: error when using dockerinfo user network
Posted by Olivier Sallou <ol...@irisa.fr>.
answering to myself ;-)
I use a virtualenv, and mesos package now install python lib on system. I had in my virtualenv the old python libs of mesos....
----- Mail original -----
> De: "Olivier Sallou" <ol...@irisa.fr>
> À: dev@mesos.apache.org
> Envoyé: Vendredi 19 Août 2016 09:10:52
> Objet: error when using dockerinfo user network
>
> HI,
>
> I just upgraded to mesos 1.0 (package 1.0.0-2.0.89.ubuntu1510).
>
> I tried to setup with Docker containerizer the use of a user defined
> network (via docker cni plugin), using python binding.
>
>
> I face an error:
>
> "Unknown enum value: 4" when setting DockerInfo network value to 4.
>
>
> I was previously setting to value 2 (bridge) and it works.
>
> I can see in mesos.proto:
>
> enum Network {
> HOST = 1;
> BRIDGE = 2;
> NONE = 3;
> USER = 4;
> }
>
>
> so value 4 should be ok.
>
> Any hint?
>
> Thanks
>
> Olivier
>
> --
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>
> gpg key id: 4096R/326D8438 (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
>
>
>