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" <[email protected]> > À: [email protected] > 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 > > >
