{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/219","labels_url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/219/comments","events_url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/219/events","html_url":"https://github.com/mesosphere/dcos-cli/issues/219","id":87009464,"number":219,"title":"'dcos marathon groups add' error when dependencies defined","user":{"login":"akerekes","id":3378942,"avatar_url":"https://avatars.githubusercontent.com/u/3378942?v=3","gravatar_id":"","url":"https://api.github.com/users/akerekes","html_url":"https://github.com/akerekes","followers_url":"https://api.github.com/users/akerekes/followers","following_url":"https://api.github.com/users/akerekes/following{/other_user}","gists_url":"https://api.github.com/users/akerekes/gists{/gist_id}","starred_url":"https://api.github.com/users/akerekes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerekes/subscriptions","organizations_url":"https://api.github.com/users/akerekes/orgs","repos_url":"https://api.github.com/users/akerekes/repos","events_url":"https://api.github.com/users/akerekes/events{/privacy}","received_events_url":"https://api.github.com/users/akerekes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mgummelt","id":153734,"avatar_url":"https://avatars.githubusercontent.com/u/153734?v=3","gravatar_id":"","url":"https://api.github.com/users/mgummelt","html_url":"https://github.com/mgummelt","followers_url":"https://api.github.com/users/mgummelt/followers","following_url":"https://api.github.com/users/mgummelt/following{/other_user}","gists_url":"https://api.github.com/users/mgummelt/gists{/gist_id}","starred_url":"https://api.github.com/users/mgummelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgummelt/subscriptions","organizations_url":"https://api.github.com/users/mgummelt/orgs","repos_url":"https://api.github.com/users/mgummelt/repos","events_url":"https://api.github.com/users/mgummelt/events{/privacy}","received_events_url":"https://api.github.com/users/mgummelt/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-06-10T15:33:29Z","updated_at":"2015-07-02T17:13:55Z","closed_at":null,"body":"I'm testing marathon's application groups via dcos and created a sample json. When I'm posting it via curl to Marathons REST api, it is successfully started. However via dcos cli I get errors.\r\n\r\nIf I add a toplevel empty\r\n```\"apps\": [ ]```\r\nproperty into the json, then I get:\r\n```RefResolutionError: Unresolvable JSON pointer: u'definitions/pathType'```\r\n\r\nWithout the ```apps``` property just a lengthy stacktrace.\r\n\r\nThis is the command I'm using:\r\n```dcos marathon group add multi.json```\r\n\r\nThe json:\r\n```\r\n{\r\n  \"id\": \"/multi-test7\",\r\n  \"groups\": [ {\r\n    \"id\": \"/multi-test7/persistence\",\r\n    \"apps\": [ {\r\n      \"id\": \"/multi-test7/persistence/mongo\",\r\n      \"cmd\": \"while [ true ] ; do echo 'Fake MongoDB server' ; sleep 5 ; done\",\r\n      \"cpus\": 0.1,\r\n      \"mem\": 64.0,\r\n      \"instances\": 1\r\n    }]\r\n  },{\r\n    \"id\": \"/multi-test7/persistence2\",\r\n    \"apps\": [ {\r\n      \"id\": \"/multi-test7/persistence2/mongo\",\r\n      \"dependencies\": [\"/multi-test7/persistence/mongo\"],\r\n      \"cmd\": \"while [ true ] ; do echo 'Fake MongoDB server' ; sleep 5 ; done\",\r\n      \"cpus\": 0.1,\r\n      \"mem\": 64.0,\r\n      \"instances\": 1\r\n    }]\r\n  } ]\r\n}\r\n```\r\nAfter some testing it turned out that if I remove the ```dependencies``` property from the json, it will be posted successfully to Marathon via dcos cli."},"comment":{"url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/comments/118096898","html_url":"https://github.com/mesosphere/dcos-cli/issues/219#issuecomment-118096898","issue_url":"https://api.github.com/repos/mesosphere/dcos-cli/issues/219","id":118096898,"user":{"login":"ssk2","id":355705,"avatar_url":"https://avatars.githubusercontent.com/u/355705?v=3","gravatar_id":"","url":"https://api.github.com/users/ssk2","html_url":"https://github.com/ssk2","followers_url":"https://api.github.com/users/ssk2/followers","following_url":"https://api.github.com/users/ssk2/following{/other_user}","gists_url":"https://api.github.com/users/ssk2/gists{/gist_id}","starred_url":"https://api.github.com/users/ssk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssk2/subscriptions","organizations_url":"https://api.github.com/users/ssk2/orgs","repos_url":"https://api.github.com/users/ssk2/repos","events_url":"https://api.github.com/users/ssk2/events{/privacy}","received_events_url":"https://api.github.com/users/ssk2/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T17:13:54Z","updated_at":"2015-07-02T17:13:54Z","body":"@akerekes - could you see if this issue has been resolved and report back? We pushed a new version out yesterday (make sure to uninstall entirely before reinstalling, as per: https://docs.mesosphere.com/install/cli/). Thanks! "}}