You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Martin Evgeniev (JIRA)" <ji...@apache.org> on 2016/03/04 22:37:41 UTC
[jira] [Commented] (MESOS-4427) Ensure ip_address in state.json
(from NetworkInfo) is valid
[ https://issues.apache.org/jira/browse/MESOS-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180581#comment-15180581 ]
Martin Evgeniev commented on MESOS-4427:
----------------------------------------
Are you using Docker libnetwork plugin with custom network (overlay etc..)?
> 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)