I think I have maybe a syntax error or so. On the other hand I also
don’t see anything significant in the slave WARN, INFO and ERROR log.
This one is not working. I can create a manually a macvlan interface at
the host on eth0. And dhcp is running on this network.
[@m01 ~]# cat /etc/mesos-cni/15-cni-storagelan.conf
{
"name": "cni-storagelan",
"type": "macvlan",
"master": "eth0",
"ipam": {
"type": "host-local",
"subnet": "192.168.10.0/24"
}
}
This one is working and giving the app an ip
[@m01 ~]# cat /etc/mesos-cni/30-cni-bridge-test.conf
{
"name": "cni-bridge-test",
"type": "bridge",
"bridge": "mesos-cni0",
"isGateway": true,
"ipam": {
"type": "host-local",
"subnet": "192.168.0.0/16",
"routes": [
{ "dst":
"0.0.0.0/0" }
]
}
}
{
"id": "hello-play",
"cmd": "./Hello-*/bin/hello -Dhttp.port=80",
"cpus": 0.1,
"mem": 32,
"disk": 0,
"instances": 1,
"acceptedResourceRoles": [
"*"
],
"ipAddress": {"networkName": "cni-bridge-test"},
"uris": [
"http://192.168.10.2/cobbler/PlayHello.zip"
]
}