gambol99 / go-marathon

A GO API library for working with Marathon
Apache License 2.0
199 stars 128 forks source link

`deployment_step_success` and `deployment_info` events are not parsed #252

Closed matt-deboer closed 7 years ago

matt-deboer commented 7 years ago

Marathon version: 1.3.2 I receive one of the two alternating error messages below in the debug log when these events are encountered: failed to decode the event, id: 32768, error: json: cannot unmarshal object into Go value of type string or failed to decode the event, id: 65536, error: json: cannot unmarshal object into Go value of type string

I've included one of the sample events below:

{"plan":{"id":"e3a11565-94ee-4074-8976-2d971439b4b6","original":{"id":"/","apps":[],"groups":[{"id":"/system","apps":[{"id":"/system/alertmanager","cmd":null,"args":null,"user":null,"env":{"DEFAULT_SLACK_CHANNEL":"#team-groundcontrol","SMTP_FROM":"prometheus@lab.example.org","REPEAT_INTERVAL":"2h","WEB_EXTERNAL_URL":"http://alertmanager.lab.example.org","SLACK_API_URL":"https://hooks.slack.com/services/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","SMTP_SMARTHOST":"mail.example.org:25"},"instances":1,"cpus":0.01,"mem":128,"disk":0,"gpus":0,"executor":"","constraints":[],"uris":[],"fetch":[],"storeUrls":[],"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[],"docker":{"image":"artifactory.example.org/groundcontrol/prometheus-alertmanager:0.5.0-7","network":"BRIDGE","portMappings":[{"containerPort":9093,"hostPort":0,"servicePort":10004,"protocol":"tcp","name":"alertmanager","labels":{}}],"privileged":false,"parameters":[],"forcePullImage":true}},"healthChecks":[{"path":"/","protocol":"HTTP","portIndex":0,"gracePeriodSeconds":300,"intervalSeconds":60,"timeoutSeconds":10,"maxConsecutiveFailures":3,"ignoreHttp1xx":false}],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":1,"maximumOverCapacity":1},"labels":{"HAPROXY_0_VHOST":"alertmanager.lab.example.org","HAPROXY_GROUP":"internal"},"acceptedResourceRoles":null,"ipAddress":null,"version":"2016-12-23T04:43:56.872Z","residency":null,"secrets":{},"taskKillGracePeriodSeconds":null,"ports":[10004],"portDefinitions":[{"port":10004,"protocol":"tcp","labels":{}}],"requirePorts":false,"versionInfo":{"lastScalingAt":"2016-12-23T04:43:56.872Z","lastConfigChangeAt":"2016-12-23T04:43:56.872Z"}},{"id":"/system/bepermer","cmd":null,"args":null,"user":null,"env":{"DCOS_GROUP":"everyone","DCOS_PROXY_PRINCIPAL_SECRET":{"secret":"DCOS_PROXY_PRINCIPAL_SECRET"}},"instances":0,"cpus":0.01,"mem":32,"disk":0,"gpus":0,"executor":"","constraints":[],"uris":[],"fetch":[],"storeUrls":[],"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[],"docker":{"image":"artifactory.example.org/groundcontrol/dcos-bepermer:0.1.5","network":"BRIDGE","portMappings":null,"privileged":false,"parameters":[],"forcePullImage":false}},"healthChecks":[],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":1,"maximumOverCapacity":1},"labels":{},"acceptedResourceRoles":null,"ipAddress":null,"version":"2016-12-23T06:10:21.172Z","residency":null,"secrets":{"DCOS_PROXY_PRINCIPAL_SECRET":{"source":"system/default-bepermer-principal-secret"}},"taskKillGracePeriodSeconds":null,"ports":[],"portDefinitions":[],"requirePorts":false,"versionInfo":{"lastScalingAt":"2016-12-23T06:10:21.172Z","lastConfigChangeAt":"2016-12-23T04:43:58.139Z"}},{"id":"/system/marathon-lb","cmd":null,"args":["sse","-m","https://leader.mesos:8443","--health-check","--haproxy-map","--group","internal"],"user":null,"env":{"HAPROXY_SYSCTL_PARAMS":"net.ipv4.tcp_tw_reuse=1 net.ipv4.tcp_fin_timeout=30 net.ipv4.tcp_max_syn_backlog=10240 net.ipv4.tcp_max_tw_buckets=400000 net.ipv4.tcp_max_orphans=60000 net.core.somaxconn=10000","HAPROXY_GLOBAL_DEFAULT_OPTIONS":"redispatch,http-server-close,dontlognull,httplog","HAPROXY_SSL_CERT":"","DCOS_SERVICE_ACCOUNT_CREDENTIAL":{"secret":"serviceCredential"}},"instances":1,"cpus":2,"mem":1024,"disk":0,"gpus":0,"executor":"","constraints":[["hostname","UNIQUE"]],"uris":[],"fetch":[],"storeUrls":[],"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[{"containerPath":"/dev/log","hostPath":"/dev/log","mode":"RW"}],"docker":{"image":"mesosphere/marathon-lb:v1.4.3","network":"HOST","portMappings":null,"privileged":true,"parameters":[{"key":"log-driver","value":"journald"}],"forcePullImage":false}},"healthChecks":[{"path":"/_haproxy_health_check","protocol":"HTTP","portIndex":2,"gracePeriodSeconds":60,"intervalSeconds":5,"timeoutSeconds":2,"maxConsecutiveFailures":2,"ignoreHttp1xx":false}],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":0.5,"maximumOverCapacity":0.2},"labels":{},"acceptedResourceRoles":["slave_public"],"ipAddress":null,"version":"2016-12-27T18:30:49.547Z","residency":null,"secrets":{"serviceCredential":{"source":"system/marathon-lb-principal-secret"}},"taskKillGracePeriodSeconds":null,"ports":[80,443,9090,9091,10000,10001,10002,10003,10004,10005,10006,10007,10008,10009,10010,10011,10012,10013,10014,10015,10016,10017,10018,10019,10020,10021,10022,10023,10024,10025,10026,10027,10028,10029,10030,10031,10032,10033,10034,10035,10036,10037,10038,10039,10040,10041,10042,10043,10044,10045,10046,10047,10048,10049,10050,10051,10052,10053,10054,10055,10056,10057,10058,10059,10060,10061,10062,10063,10064,10065,10066,10067,10068,10069,10070,10071,10072,10073,10074,10075,10076,10077,10078,10079,10080,10081,10082,10083,10084,10085,10086,10087,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,10098,10099,10100],"portDefinitions":[{"port":80,"protocol":"tcp","labels":{}},{"port":443,"protocol":"tcp","labels":{}},{"port":9090,"protocol":"tcp","labels":{}},{"port":9091,"protocol":"tcp","labels":{}},{"port":10000,"protocol":"tcp","labels":{}},{"port":10001,"protocol":"tcp","labels":{}},{"port":10002,"protocol":"tcp","labels":{}},{"port":10003,"protocol":"tcp","labels":{}},{"port":10004,"protocol":"tcp","labels":{}},{"port":10005,"protocol":"tcp","labels":{}},{"port":10006,"protocol":"tcp","labels":{}},{"port":10007,"protocol":"tcp","labels":{}},{"port":10008,"protocol":"tcp","labels":{}},{"port":10009,"protocol":"tcp","labels":{}},{"port":10010,"protocol":"tcp","labels":{}},{"port":10011,"protocol":"tcp","labels":{}},{"port":10012,"protocol":"tcp","labels":{}},{"port":10013,"protocol":"tcp","labels":{}},{"port":10014,"protocol":"tcp","labels":{}},{"port":10015,"protocol":"tcp","labels":{}},{"port":10016,"protocol":"tcp","labels":{}},{"port":10017,"protocol":"tcp","labels":{}},{"port":10018,"protocol":"tcp","labels":{}},{"port":10019,"protocol":"tcp","labels":{}},{"port":10020,"protocol":"tcp","labels":{}},{"port":10021,"protocol":"tcp","labels":{}},{"port":10022,"protocol":"tcp","labels":{}},{"port":10023,"protocol":"tcp","labels":{}},{"port":10024,"protocol":"tcp","labels":{}},{"port":10025,"protocol":"tcp","labels":{}},{"port":10026,"protocol":"tcp","labels":{}},{"port":10027,"protocol":"tcp","labels":{}},{"port":10028,"protocol":"tcp","labels":{}},{"port":10029,"protocol":"tcp","labels":{}},{"port":10030,"protocol":"tcp","labels":{}},{"port":10031,"protocol":"tcp","labels":{}},{"port":10032,"protocol":"tcp","labels":{}},{"port":10033,"protocol":"tcp","labels":{}},{"port":10034,"protocol":"tcp","labels":{}},{"port":10035,"protocol":"tcp","labels":{}},{"port":10036,"protocol":"tcp","labels":{}},{"port":10037,"protocol":"tcp","labels":{}},{"port":10038,"protocol":"tcp","labels":{}},{"port":10039,"protocol":"tcp","labels":{}},{"port":10040,"protocol":"tcp","labels":{}},{"port":10041,"protocol":"tcp","labels":{}},{"port":10042,"protocol":"tcp","labels":{}},{"port":10043,"protocol":"tcp","labels":{}},{"port":10044,"protocol":"tcp","labels":{}},{"port":10045,"protocol":"tcp","labels":{}},{"port":10046,"protocol":"tcp","labels":{}},{"port":10047,"protocol":"tcp","labels":{}},{"port":10048,"protocol":"tcp","labels":{}},{"port":10049,"protocol":"tcp","labels":{}},{"port":10050,"protocol":"tcp","labels":{}},{"port":10051,"protocol":"tcp","labels":{}},{"port":10052,"protocol":"tcp","labels":{}},{"port":10053,"protocol":"tcp","labels":{}},{"port":10054,"protocol":"tcp","labels":{}},{"port":10055,"protocol":"tcp","labels":{}},{"port":10056,"protocol":"tcp","labels":{}},{"port":10057,"protocol":"tcp","labels":{}},{"port":10058,"protocol":"tcp","labels":{}},{"port":10059,"protocol":"tcp","labels":{}},{"port":10060,"protocol":"tcp","labels":{}},{"port":10061,"protocol":"tcp","labels":{}},{"port":10062,"protocol":"tcp","labels":{}},{"port":10063,"protocol":"tcp","labels":{}},{"port":10064,"protocol":"tcp","labels":{}},{"port":10065,"protocol":"tcp","labels":{}},{"port":10066,"protocol":"tcp","labels":{}},{"port":10067,"protocol":"tcp","labels":{}},{"port":10068,"protocol":"tcp","labels":{}},{"port":10069,"protocol":"tcp","labels":{}},{"port":10070,"protocol":"tcp","labels":{}},{"port":10071,"protocol":"tcp","labels":{}},{"port":10072,"protocol":"tcp","labels":{}},{"port":10073,"protocol":"tcp","labels":{}},{"port":10074,"protocol":"tcp","labels":{}},{"port":10075,"protocol":"tcp","labels":{}},{"port":10076,"protocol":"tcp","labels":{}},{"port":10077,"protocol":"tcp","labels":{}},{"port":10078,"protocol":"tcp","labels":{}},{"port":10079,"protocol":"tcp","labels":{}},{"port":10080,"protocol":"tcp","labels":{}},{"port":10081,"protocol":"tcp","labels":{}},{"port":10082,"protocol":"tcp","labels":{}},{"port":10083,"protocol":"tcp","labels":{}},{"port":10084,"protocol":"tcp","labels":{}},{"port":10085,"protocol":"tcp","labels":{}},{"port":10086,"protocol":"tcp","labels":{}},{"port":10087,"protocol":"tcp","labels":{}},{"port":10088,"protocol":"tcp","labels":{}},{"port":10089,"protocol":"tcp","labels":{}},{"port":10090,"protocol":"tcp","labels":{}},{"port":10091,"protocol":"tcp","labels":{}},{"port":10092,"protocol":"tcp","labels":{}},{"port":10093,"protocol":"tcp","labels":{}},{"port":10094,"protocol":"tcp","labels":{}},{"port":10095,"protocol":"tcp","labels":{}},{"port":10096,"protocol":"tcp","labels":{}},{"port":10097,"protocol":"tcp","labels":{}},{"port":10098,"protocol":"tcp","labels":{}},{"port":10099,"protocol":"tcp","labels":{}},{"port":10100,"protocol":"tcp","labels":{}}],"requirePorts":true,"versionInfo":{"lastScalingAt":"2016-12-27T18:30:49.547Z","lastConfigChangeAt":"2016-12-27T18:30:49.547Z"}}],"groups":[],"dependencies":[],"version":"2016-12-27T18:30:49.547Z"}],"dependencies":[],"version":"2016-12-27T18:30:49.547Z"},"target":{"id":"/","apps":[],"groups":[{"id":"/system","apps":[{"id":"/system/alertmanager","cmd":null,"args":null,"user":null,"env":{"DEFAULT_SLACK_CHANNEL":"#team-groundcontrol","SMTP_FROM":"prometheus@lab.example.org","REPEAT_INTERVAL":"2h","WEB_EXTERNAL_URL":"http://alertmanager.lab.example.org","SLACK_API_URL":"https://hooks.slack.com/services/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","SMTP_SMARTHOST":"mail.example.org:25"},"instances":1,"cpus":0.01,"mem":128,"disk":0,"gpus":0,"executor":"","constraints":[],"uris":[],"fetch":[],"storeUrls":[],"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[],"docker":{"image":"artifactory.example.org/groundcontrol/prometheus-alertmanager:0.5.0-7","network":"BRIDGE","portMappings":[{"containerPort":9093,"hostPort":0,"servicePort":10004,"protocol":"tcp","name":"alertmanager","labels":{}}],"privileged":false,"parameters":[],"forcePullImage":true}},"healthChecks":[{"path":"/","protocol":"HTTP","portIndex":0,"gracePeriodSeconds":300,"intervalSeconds":60,"timeoutSeconds":10,"maxConsecutiveFailures":3,"ignoreHttp1xx":false}],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":1,"maximumOverCapacity":1},"labels":{"HAPROXY_0_VHOST":"alertmanager.lab.example.org","HAPROXY_GROUP":"internal"},"acceptedResourceRoles":null,"ipAddress":null,"version":"2016-12-23T04:43:56.872Z","residency":null,"secrets":{},"taskKillGracePeriodSeconds":null,"ports":[10004],"portDefinitions":[{"port":10004,"protocol":"tcp","labels":{}}],"requirePorts":false,"versionInfo":{"lastScalingAt":"2016-12-23T04:43:56.872Z","lastConfigChangeAt":"2016-12-23T04:43:56.872Z"}},{"id":"/system/bepermer","cmd":null,"args":null,"user":null,"env":{"DCOS_GROUP":"everyone","DCOS_PROXY_PRINCIPAL_SECRET":{"secret":"DCOS_PROXY_PRINCIPAL_SECRET"}},"instances":0,"cpus":0.01,"mem":32,"disk":0,"gpus":0,"executor":"","constraints":[],"uris":[],"fetch":[],"storeUrls":[],"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[],"docker":{"image":"artifactory.example.org/groundcontrol/dcos-bepermer:0.1.5","network":"BRIDGE","portMappings":null,"privileged":false,"parameters":[],"forcePullImage":false}},"healthChecks":[],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":1,"maximumOverCapacity":1},"labels":{},"acceptedResourceRoles":null,"ipAddress":null,"version":"2016-12-23T06:10:21.172Z","residency":null,"secrets":{"DCOS_PROXY_PRINCIPAL_SECRET":{"source":"system/default-bepermer-principal-secret"}},"taskKillGracePeriodSeconds":null,"ports":[],"portDefinitions":[],"requirePorts":false,"versionInfo":{"lastScalingAt":"2016-12-23T06:10:21.172Z","lastConfigChangeAt":"2016-12-23T04:43:58.139Z"}},{"id":"/system/marathon-lb","cmd":null,"args":["sse","-m","https://leader.mesos:8443","--health-check","--haproxy-map","--group","internal"],"user":null,"env":{"HAPROXY_SYSCTL_PARAMS":"net.ipv4.tcp_tw_reuse=1 net.ipv4.tcp_fin_timeout=30 net.ipv4.tcp_max_syn_backlog=10240 net.ipv4.tcp_max_tw_buckets=400000 net.ipv4.tcp_max_orphans=60000 net.core.somaxconn=10000","HAPROXY_GLOBAL_DEFAULT_OPTIONS":"redispatch,http-server-close,dontlognull,httplog","HAPROXY_SSL_CERT":"","DCOS_SERVICE_ACCOUNT_CREDENTIAL":{"secret":"serviceCredential"}},"instances":1,"cpus":2,"mem":1024,"disk":0,"gpus":0,"executor":"","constraints":[["hostname","UNIQUE"]],"uris":[],"fetch":[],"storeUrls":[],"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[{"containerPath":"/dev/log","hostPath":"/dev/log","mode":"RW"}],"docker":{"image":"mesosphere/marathon-lb:v1.4.3","network":"HOST","portMappings":null,"privileged":true,"parameters":[{"key":"log-driver","value":"journald"}],"forcePullImage":false}},"healthChecks":[{"path":"/_haproxy_health_check","protocol":"HTTP","portIndex":2,"gracePeriodSeconds":60,"intervalSeconds":5,"timeoutSeconds":2,"maxConsecutiveFailures":2,"ignoreHttp1xx":false}],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":0.5,"maximumOverCapacity":0.2},"labels":{},"acceptedResourceRoles":["slave_public"],"ipAddress":null,"version":"2016-12-27T18:30:49.547Z","residency":null,"secrets":{"serviceCredential":{"source":"system/marathon-lb-principal-secret"}},"taskKillGracePeriodSeconds":null,"ports":[80,443,9090,9091,10000,10001,10002,10003,10004,10005,10006,10007,10008,10009,10010,10011,10012,10013,10014,10015,10016,10017,10018,10019,10020,10021,10022,10023,10024,10025,10026,10027,10028,10029,10030,10031,10032,10033,10034,10035,10036,10037,10038,10039,10040,10041,10042,10043,10044,10045,10046,10047,10048,10049,10050,10051,10052,10053,10054,10055,10056,10057,10058,10059,10060,10061,10062,10063,10064,10065,10066,10067,10068,10069,10070,10071,10072,10073,10074,10075,10076,10077,10078,10079,10080,10081,10082,10083,10084,10085,10086,10087,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,10098,10099,10100],"portDefinitions":[{"port":80,"protocol":"tcp","labels":{}},{"port":443,"protocol":"tcp","labels":{}},{"port":9090,"protocol":"tcp","labels":{}},{"port":9091,"protocol":"tcp","labels":{}},{"port":10000,"protocol":"tcp","labels":{}},{"port":10001,"protocol":"tcp","labels":{}},{"port":10002,"protocol":"tcp","labels":{}},{"port":10003,"protocol":"tcp","labels":{}},{"port":10004,"protocol":"tcp","labels":{}},{"port":10005,"protocol":"tcp","labels":{}},{"port":10006,"protocol":"tcp","labels":{}},{"port":10007,"protocol":"tcp","labels":{}},{"port":10008,"protocol":"tcp","labels":{}},{"port":10009,"protocol":"tcp","labels":{}},{"port":10010,"protocol":"tcp","labels":{}},{"port":10011,"protocol":"tcp","labels":{}},{"port":10012,"protocol":"tcp","labels":{}},{"port":10013,"protocol":"tcp","labels":{}},{"port":10014,"protocol":"tcp","labels":{}},{"port":10015,"protocol":"tcp","labels":{}},{"port":10016,"protocol":"tcp","labels":{}},{"port":10017,"protocol":"tcp","labels":{}},{"port":10018,"protocol":"tcp","labels":{}},{"port":10019,"protocol":"tcp","labels":{}},{"port":10020,"protocol":"tcp","labels":{}},{"port":10021,"protocol":"tcp","labels":{}},{"port":10022,"protocol":"tcp","labels":{}},{"port":10023,"protocol":"tcp","labels":{}},{"port":10024,"protocol":"tcp","labels":{}},{"port":10025,"protocol":"tcp","labels":{}},{"port":10026,"protocol":"tcp","labels":{}},{"port":10027,"protocol":"tcp","labels":{}},{"port":10028,"protocol":"tcp","labels":{}},{"port":10029,"protocol":"tcp","labels":{}},{"port":10030,"protocol":"tcp","labels":{}},{"port":10031,"protocol":"tcp","labels":{}},{"port":10032,"protocol":"tcp","labels":{}},{"port":10033,"protocol":"tcp","labels":{}},{"port":10034,"protocol":"tcp","labels":{}},{"port":10035,"protocol":"tcp","labels":{}},{"port":10036,"protocol":"tcp","labels":{}},{"port":10037,"protocol":"tcp","labels":{}},{"port":10038,"protocol":"tcp","labels":{}},{"port":10039,"protocol":"tcp","labels":{}},{"port":10040,"protocol":"tcp","labels":{}},{"port":10041,"protocol":"tcp","labels":{}},{"port":10042,"protocol":"tcp","labels":{}},{"port":10043,"protocol":"tcp","labels":{}},{"port":10044,"protocol":"tcp","labels":{}},{"port":10045,"protocol":"tcp","labels":{}},{"port":10046,"protocol":"tcp","labels":{}},{"port":10047,"protocol":"tcp","labels":{}},{"port":10048,"protocol":"tcp","labels":{}},{"port":10049,"protocol":"tcp","labels":{}},{"port":10050,"protocol":"tcp","labels":{}},{"port":10051,"protocol":"tcp","labels":{}},{"port":10052,"protocol":"tcp","labels":{}},{"port":10053,"protocol":"tcp","labels":{}},{"port":10054,"protocol":"tcp","labels":{}},{"port":10055,"protocol":"tcp","labels":{}},{"port":10056,"protocol":"tcp","labels":{}},{"port":10057,"protocol":"tcp","labels":{}},{"port":10058,"protocol":"tcp","labels":{}},{"port":10059,"protocol":"tcp","labels":{}},{"port":10060,"protocol":"tcp","labels":{}},{"port":10061,"protocol":"tcp","labels":{}},{"port":10062,"protocol":"tcp","labels":{}},{"port":10063,"protocol":"tcp","labels":{}},{"port":10064,"protocol":"tcp","labels":{}},{"port":10065,"protocol":"tcp","labels":{}},{"port":10066,"protocol":"tcp","labels":{}},{"port":10067,"protocol":"tcp","labels":{}},{"port":10068,"protocol":"tcp","labels":{}},{"port":10069,"protocol":"tcp","labels":{}},{"port":10070,"protocol":"tcp","labels":{}},{"port":10071,"protocol":"tcp","labels":{}},{"port":10072,"protocol":"tcp","labels":{}},{"port":10073,"protocol":"tcp","labels":{}},{"port":10074,"protocol":"tcp","labels":{}},{"port":10075,"protocol":"tcp","labels":{}},{"port":10076,"protocol":"tcp","labels":{}},{"port":10077,"protocol":"tcp","labels":{}},{"port":10078,"protocol":"tcp","labels":{}},{"port":10079,"protocol":"tcp","labels":{}},{"port":10080,"protocol":"tcp","labels":{}},{"port":10081,"protocol":"tcp","labels":{}},{"port":10082,"protocol":"tcp","labels":{}},{"port":10083,"protocol":"tcp","labels":{}},{"port":10084,"protocol":"tcp","labels":{}},{"port":10085,"protocol":"tcp","labels":{}},{"port":10086,"protocol":"tcp","labels":{}},{"port":10087,"protocol":"tcp","labels":{}},{"port":10088,"protocol":"tcp","labels":{}},{"port":10089,"protocol":"tcp","labels":{}},{"port":10090,"protocol":"tcp","labels":{}},{"port":10091,"protocol":"tcp","labels":{}},{"port":10092,"protocol":"tcp","labels":{}},{"port":10093,"protocol":"tcp","labels":{}},{"port":10094,"protocol":"tcp","labels":{}},{"port":10095,"protocol":"tcp","labels":{}},{"port":10096,"protocol":"tcp","labels":{}},{"port":10097,"protocol":"tcp","labels":{}},{"port":10098,"protocol":"tcp","labels":{}},{"port":10099,"protocol":"tcp","labels":{}},{"port":10100,"protocol":"tcp","labels":{}}],"requirePorts":true,"versionInfo":{"lastScalingAt":"2016-12-27T18:30:49.547Z","lastConfigChangeAt":"2016-12-27T18:30:49.547Z"}}],"groups":[],"dependencies":[],"version":"2016-12-28T18:14:20.294Z"},{"id":"/demo","apps":[],"groups":[{"id":"/demo/voting-app","apps":[{"id":"/demo/voting-app/postgres","cmd":null,"args":null,"user":null,"env":{"PGDATA":"/var/lib/postgresql/data/pgdata"},"instances":1,"cpus":0.5,"mem":128,"disk":0,"gpus":0,"executor":"","constraints":[["cloud","LIKE","vmware"],["rack","LIKE","labgen01"]],"uris":[],"fetch":[],"storeUrls":[],"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[{"containerPath":"/var/lib/postgresql/data","mode":"RW","external":{"name":"demo-voting-app-pg-data-labgen01","provider":"dvdi","options":{"dvdi/driver":"vmdk"}}}],"docker":{"image":"postgres:9.6","network":"BRIDGE","portMappings":[{"containerPort":5432,"hostPort":0,"servicePort":10004,"protocol":"tcp","name":"in","labels":{"VIP_0":"/demo/voting-app/postgres:5432"}}],"privileged":false,"parameters":[],"forcePullImage":false}},"healthChecks":[{"protocol":"TCP","portIndex":0,"gracePeriodSeconds":300,"intervalSeconds":60,"timeoutSeconds":20,"maxConsecutiveFailures":3,"ignoreHttp1xx":false}],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":0,"maximumOverCapacity":0},"labels":{"EXTERNAL_DOCKER_VOLUMES":"[{\"name\":\"demo-voting-app-pg-data-labgen01\",\"size\":\"50gb\"}]"},"acceptedResourceRoles":null,"ipAddress":null,"version":"2016-12-28T18:14:20.294Z","residency":null,"secrets":{},"taskKillGracePeriodSeconds":null,"ports":[10004],"portDefinitions":[{"port":10004,"protocol":"tcp","labels":{}}],"requirePorts":false,"versionInfo":{"lastScalingAt":"2016-12-28T18:14:20.294Z","lastConfigChangeAt":"2016-12-28T18:14:20.294Z"}}],"groups":[],"dependencies":[],"version":"2016-12-28T18:14:20.294Z"}],"dependencies":[],"version":"2016-12-28T18:14:20.294Z"}],"dependencies":[],"version":"2016-12-28T18:14:20.294Z"},"steps":[{"actions":[{"action":"StartApplication","app":"/demo/voting-app/postgres"}]},{"actions":[{"action":"ScaleApplication","app":"/demo/voting-app/postgres"}]}],"version":"2016-12-28T18:14:20.294Z"},"currentStep":{"actions":[{"action":"ScaleApplication","app":"/demo/voting-app/postgres"}]},"eventType":"deployment_step_success","timestamp":"2016-12-28T18:14:25.362Z"}
matt-deboer commented 7 years ago

This was actually being caused by lack of support for secrets. Fixed by #253

timoreimann commented 7 years ago

Secrets support is now in thanks to #299. I'll close the issue then. Please comment if anything is still missing.