Sargun Dhillon created MESOS-4427:
-------------------------------------
Summary: Ensure ip_address in state.json (from NetworkInfo) is
valid
Key: MESOS-4427
URL: https://issues.apache.org/jira/browse/MESOS-4427
Project: Mesos
Issue Type: Bug
Reporter: Sargun Dhillon
Priority: Critical
We have seen a master state.json where the state.json has a field that looks
similar to:
```
---REDACTED---
{
"container": {
"docker": {
"force_pull_image": false,
"image": "REDACTED",
"network": "HOST",
"privileged": false
},
"type": "DOCKER"
},
"executor_id": "",
"framework_id": "9f0e50ea-54b0-44e3-a451-c69e0c1a58fb-0000",
"id": "ping-as-a-service.c2d1c17a-be22-11e5-b053-002590e56e25",
"name": "ping-as-a-service",
"resources": {
"cpus": 0.1,
"disk": 0,
"mem": 64,
"ports": "[7907-7907]"
},
"slave_id": "9f0e50ea-54b0-44e3-a451-c69e0c1a58fb-S76043",
"state": "TASK_RUNNING",
"statuses": [
{
"container_status": {
"network_infos": [
{
"ip_address": "",
"ip_addresses": [
{
"ip_address": ""
}
]
}
]
},
"labels": [
{
"key": "Docker.NetworkSettings.IPAddress",
"value": ""
}
],
"state": "TASK_RUNNING",
"timestamp": 1453149270.95511
}
]
}
---REDACTED---
```
This is invalid, and it mesos-core should filter it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)