mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sargun Dhillon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-4427) Ensure ip_address in state.json (from NetworkInfo) is valid
Date Fri, 04 Mar 2016 22:48:40 GMT

    [ https://issues.apache.org/jira/browse/MESOS-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180685#comment-15180685
] 

Sargun Dhillon commented on MESOS-4427:
---------------------------------------

No.

> 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
>              Labels: mesosphere
>
> We have seen a master state.json where the state.json has a field that looks similar
to:
> ---REDACTED---
> {code:json}
> {
>     "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
>         }
>     ]
> }
> {code}
> ---REDACTED---
> This is invalid, and it mesos-core should filter it. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message