You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Marc Roos <M....@f1-outsourcing.eu> on 2019/07/24 19:24:24 UTC
Is chained cni networks supported in mesos 1.7
I am getting this error, while I don not have problems using it with
cnitool.
cni.cpp:330] Failed to parse CNI network configuration file
'/etc/mesos-cni/93-chain-routing-overwrite.conflist.bak': Protobuf parse
failed: Missing required fields: type
[@ mesos-cni]# cat 93-chain.conflist
{
"name": "test-chain",
"plugins": [{
"type": "bridge",
"bridge": "test-chain0",
"isGateway": false,
"isDefaultGateway": false,
"ipMasq": false,
"ipam": {
"type": "host-local",
"subnet": "10.15.15.0/24"
}
},
{
"type": "portmap",
"capabilities": {"portMappings": true},
"snat": false
}]
}
[@ mesos-cni]# CNI_PATH="/usr/libexec/cni/"
NETCONFPATH="/etc/mesos-cni" cnitool-0.5.2 add test-chain
/var/run/netns/testing
{
"ip4": {
"ip": "10.15.15.2/24",
"gateway": "10.15.15.1"
},
"dns": {}
RE: Is chained cni networks supported in mesos 1.7
Posted by Marc Roos <M....@f1-outsourcing.eu>.
Hi Gilbert,
Yes indeed. I have written already a netfilter chain plugin[0] I wanted
to use. But also the default tuning pluging of cni, which requires
chaining I would like to use.
-Marc
[0]
https://github.com/f1-outsourcing/plugins/tree/hostrouteif/plugins/meta/firewallnetns
-----Original Message-----
To: user
Subject: Re: Is chained cni networks supported in mesos 1.7
Are you interested in implementing the CNI chain support?
-Gilbert
On Wed, Jul 24, 2019 at 12:52 PM Marc Roos <M....@f1-outsourcing.eu>
wrote:
Hmm, I guess I should not get my hopes up this will be there soon?
[0]
https://issues.apache.org/jira/browse/MESOS-7178
-----Original Message-----
From: Jie Yu [mailto:yujie.jay@gmail.com]
Sent: woensdag 24 juli 2019 21:35
To: user
Subject: Re: Is chained cni networks supported in mesos 1.7
No, not yet
On Wed, Jul 24, 2019 at 12:27 PM Marc Roos
<M....@f1-outsourcing.eu>
wrote:
This error message of course
E0724 21:19:17.852210 1160 cni.cpp:330] Failed to parse
CNI
network
configuration file '/etc/mesos-cni/93-chain.conflist':
Protobuf
parse
failed: Missing required fields: typ
-----Original Message-----
Subject: Is chained cni networks supported in mesos 1.7
I am getting this error, while I don not have problems
using it
with
cnitool.
cni.cpp:330] Failed to parse CNI network configuration
file
'/etc/mesos-cni/93-chain-routing-overwrite.conflist.bak':
Protobuf
parse
failed: Missing required fields: type
[@ mesos-cni]# cat 93-chain.conflist
{
"name": "test-chain",
"plugins": [{
"type": "bridge",
"bridge": "test-chain0",
"isGateway": false,
"isDefaultGateway": false,
"ipMasq": false,
"ipam": {
"type": "host-local",
"subnet": "10.15.15.0/24"
}
},
{
"type": "portmap",
"capabilities": {"portMappings": true},
"snat": false
}]
}
[@ mesos-cni]# CNI_PATH="/usr/libexec/cni/"
NETCONFPATH="/etc/mesos-cni" cnitool-0.5.2 add test-chain
/var/run/netns/testing {
"ip4": {
"ip": "10.15.15.2/24",
"gateway": "10.15.15.1"
},
"dns": {}
RE: Is chained cni networks supported in mesos 1.7
Posted by Marc Roos <M....@f1-outsourcing.eu>.
Hi Gilbert,
How is it going with the chain implementation?
Thanks,
Marc
-----Original Message-----
From: Gilbert Song [mailto:gilbert@apache.org]
Sent: woensdag 14 augustus 2019 22:24
To: user
Subject: Re: Is chained cni networks supported in mesos 1.7
Are you interested in implementing the CNI chain support?
-Gilbert
On Wed, Jul 24, 2019 at 12:52 PM Marc Roos <M....@f1-outsourcing.eu>
wrote:
Hmm, I guess I should not get my hopes up this will be there soon?
[0]
https://issues.apache.org/jira/browse/MESOS-7178
-----Original Message-----
From: Jie Yu [mailto:yujie.jay@gmail.com]
Sent: woensdag 24 juli 2019 21:35
To: user
Subject: Re: Is chained cni networks supported in mesos 1.7
No, not yet
On Wed, Jul 24, 2019 at 12:27 PM Marc Roos
<M....@f1-outsourcing.eu>
wrote:
This error message of course
E0724 21:19:17.852210 1160 cni.cpp:330] Failed to parse
CNI
network
configuration file '/etc/mesos-cni/93-chain.conflist':
Protobuf
parse
failed: Missing required fields: typ
-----Original Message-----
Subject: Is chained cni networks supported in mesos 1.7
I am getting this error, while I don not have problems
using it
with
cnitool.
cni.cpp:330] Failed to parse CNI network configuration
file
'/etc/mesos-cni/93-chain-routing-overwrite.conflist.bak':
Protobuf
parse
failed: Missing required fields: type
[@ mesos-cni]# cat 93-chain.conflist
{
"name": "test-chain",
"plugins": [{
"type": "bridge",
"bridge": "test-chain0",
"isGateway": false,
"isDefaultGateway": false,
"ipMasq": false,
"ipam": {
"type": "host-local",
"subnet": "10.15.15.0/24"
}
},
{
"type": "portmap",
"capabilities": {"portMappings": true},
"snat": false
}]
}
[@ mesos-cni]# CNI_PATH="/usr/libexec/cni/"
NETCONFPATH="/etc/mesos-cni" cnitool-0.5.2 add test-chain
/var/run/netns/testing {
"ip4": {
"ip": "10.15.15.2/24",
"gateway": "10.15.15.1"
},
"dns": {}
Re: Is chained cni networks supported in mesos 1.7
Posted by Gilbert Song <gi...@apache.org>.
Are you interested in implementing the CNI chain support?
-Gilbert
On Wed, Jul 24, 2019 at 12:52 PM Marc Roos <M....@f1-outsourcing.eu> wrote:
>
> Hmm, I guess I should not get my hopes up this will be there soon?
> [0]
> https://issues.apache.org/jira/browse/MESOS-7178
>
>
>
> -----Original Message-----
> From: Jie Yu [mailto:yujie.jay@gmail.com]
> Sent: woensdag 24 juli 2019 21:35
> To: user
> Subject: Re: Is chained cni networks supported in mesos 1.7
>
> No, not yet
>
> On Wed, Jul 24, 2019 at 12:27 PM Marc Roos <M....@f1-outsourcing.eu>
> wrote:
>
>
>
>
>
>
>
> This error message of course
> E0724 21:19:17.852210 1160 cni.cpp:330] Failed to parse CNI
> network
> configuration file '/etc/mesos-cni/93-chain.conflist': Protobuf
> parse
> failed: Missing required fields: typ
>
>
> -----Original Message-----
> Subject: Is chained cni networks supported in mesos 1.7
>
>
> I am getting this error, while I don not have problems using it
> with
> cnitool.
>
> cni.cpp:330] Failed to parse CNI network configuration file
> '/etc/mesos-cni/93-chain-routing-overwrite.conflist.bak': Protobuf
> parse
> failed: Missing required fields: type
>
> [@ mesos-cni]# cat 93-chain.conflist
> {
> "name": "test-chain",
> "plugins": [{
> "type": "bridge",
> "bridge": "test-chain0",
> "isGateway": false,
> "isDefaultGateway": false,
> "ipMasq": false,
> "ipam": {
> "type": "host-local",
> "subnet": "10.15.15.0/24"
> }
> },
> {
> "type": "portmap",
> "capabilities": {"portMappings": true},
> "snat": false
> }]
> }
>
>
> [@ mesos-cni]# CNI_PATH="/usr/libexec/cni/"
> NETCONFPATH="/etc/mesos-cni" cnitool-0.5.2 add test-chain
> /var/run/netns/testing {
> "ip4": {
> "ip": "10.15.15.2/24",
> "gateway": "10.15.15.1"
> },
> "dns": {}
>
>
>
>
>
>
get cni plugin chaining working?
Posted by Marc Roos <M....@f1-outsourcing.eu>.
Hi all, also directed at support@mesosphere.com
I would like to start using chaining of cni plugins. Besides the fact
that cni is outdated, is there some other way I can stimulate the
development of this?
I think cni is now at version 0.7.0 and you are supporting only 0.1.0?
(Maybe start putting this in the documentation, on such pages[0])
[0]
http://mesos.apache.org/documentation/latest/cni/
https://docs.mesosphere.com/1.10/networking/virtual-networks/cni-plugins/
-----Original Message-----
From: Marc Roos
Sent: donderdag 25 juli 2019 17:43
To: user
Subject: Paid development to get cni plugin chaining working?
Can I offer to pay for this cni to be upgraded in mesos? So at least
this plugin chaining is supported.
I would like to use the tuning plugin to disable ipv6 and I am working
on a plugin to put iptable rules in the network namespace. I am not sure
if that one is going to be in the cni plugins upstream, but they did
want to have my macvtap. So I would be nice to be able to use this with
mesos.
Paid development to get cni plugin chaining working?
Posted by Marc Roos <M....@f1-outsourcing.eu>.
Can I offer to pay for this cni to be upgraded in mesos? So at least
this plugin chaining is supported.
I would like to use the tuning plugin to disable ipv6 and I am working
on a plugin to put iptable rules in the network namespace. I am not sure
if that one is going to be in the cni plugins upstream, but they did
want to have my macvtap. So I would be nice to be able to use this with
mesos.
RE: Is chained cni networks supported in mesos 1.7
Posted by Marc Roos <M....@f1-outsourcing.eu>.
Hmm, I guess I should not get my hopes up this will be there soon?
[0]
https://issues.apache.org/jira/browse/MESOS-7178
-----Original Message-----
From: Jie Yu [mailto:yujie.jay@gmail.com]
Sent: woensdag 24 juli 2019 21:35
To: user
Subject: Re: Is chained cni networks supported in mesos 1.7
No, not yet
On Wed, Jul 24, 2019 at 12:27 PM Marc Roos <M....@f1-outsourcing.eu>
wrote:
This error message of course
E0724 21:19:17.852210 1160 cni.cpp:330] Failed to parse CNI
network
configuration file '/etc/mesos-cni/93-chain.conflist': Protobuf
parse
failed: Missing required fields: typ
-----Original Message-----
Subject: Is chained cni networks supported in mesos 1.7
I am getting this error, while I don not have problems using it
with
cnitool.
cni.cpp:330] Failed to parse CNI network configuration file
'/etc/mesos-cni/93-chain-routing-overwrite.conflist.bak': Protobuf
parse
failed: Missing required fields: type
[@ mesos-cni]# cat 93-chain.conflist
{
"name": "test-chain",
"plugins": [{
"type": "bridge",
"bridge": "test-chain0",
"isGateway": false,
"isDefaultGateway": false,
"ipMasq": false,
"ipam": {
"type": "host-local",
"subnet": "10.15.15.0/24"
}
},
{
"type": "portmap",
"capabilities": {"portMappings": true},
"snat": false
}]
}
[@ mesos-cni]# CNI_PATH="/usr/libexec/cni/"
NETCONFPATH="/etc/mesos-cni" cnitool-0.5.2 add test-chain
/var/run/netns/testing {
"ip4": {
"ip": "10.15.15.2/24",
"gateway": "10.15.15.1"
},
"dns": {}
Re: Is chained cni networks supported in mesos 1.7
Posted by Jie Yu <yu...@gmail.com>.
No, not yet
On Wed, Jul 24, 2019 at 12:27 PM Marc Roos <M....@f1-outsourcing.eu> wrote:
>
>
>
>
>
> This error message of course
> E0724 21:19:17.852210 1160 cni.cpp:330] Failed to parse CNI network
> configuration file '/etc/mesos-cni/93-chain.conflist': Protobuf parse
> failed: Missing required fields: typ
>
>
> -----Original Message-----
> Subject: Is chained cni networks supported in mesos 1.7
>
>
> I am getting this error, while I don not have problems using it with
> cnitool.
>
> cni.cpp:330] Failed to parse CNI network configuration file
> '/etc/mesos-cni/93-chain-routing-overwrite.conflist.bak': Protobuf parse
> failed: Missing required fields: type
>
> [@ mesos-cni]# cat 93-chain.conflist
> {
> "name": "test-chain",
> "plugins": [{
> "type": "bridge",
> "bridge": "test-chain0",
> "isGateway": false,
> "isDefaultGateway": false,
> "ipMasq": false,
> "ipam": {
> "type": "host-local",
> "subnet": "10.15.15.0/24"
> }
> },
> {
> "type": "portmap",
> "capabilities": {"portMappings": true},
> "snat": false
> }]
> }
>
>
> [@ mesos-cni]# CNI_PATH="/usr/libexec/cni/"
> NETCONFPATH="/etc/mesos-cni" cnitool-0.5.2 add test-chain
> /var/run/netns/testing {
> "ip4": {
> "ip": "10.15.15.2/24",
> "gateway": "10.15.15.1"
> },
> "dns": {}
>
>
>
RE: Is chained cni networks supported in mesos 1.7
Posted by Marc Roos <M....@f1-outsourcing.eu>.
This error message of course
E0724 21:19:17.852210 1160 cni.cpp:330] Failed to parse CNI network
configuration file '/etc/mesos-cni/93-chain.conflist': Protobuf parse
failed: Missing required fields: typ
-----Original Message-----
Subject: Is chained cni networks supported in mesos 1.7
I am getting this error, while I don not have problems using it with
cnitool.
cni.cpp:330] Failed to parse CNI network configuration file
'/etc/mesos-cni/93-chain-routing-overwrite.conflist.bak': Protobuf parse
failed: Missing required fields: type
[@ mesos-cni]# cat 93-chain.conflist
{
"name": "test-chain",
"plugins": [{
"type": "bridge",
"bridge": "test-chain0",
"isGateway": false,
"isDefaultGateway": false,
"ipMasq": false,
"ipam": {
"type": "host-local",
"subnet": "10.15.15.0/24"
}
},
{
"type": "portmap",
"capabilities": {"portMappings": true},
"snat": false
}]
}
[@ mesos-cni]# CNI_PATH="/usr/libexec/cni/"
NETCONFPATH="/etc/mesos-cni" cnitool-0.5.2 add test-chain
/var/run/netns/testing {
"ip4": {
"ip": "10.15.15.2/24",
"gateway": "10.15.15.1"
},
"dns": {}