[
https://issues.apache.org/jira/browse/MESOS-7221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan-Philip Gehrcke updated MESOS-7221:
--------------------------------------
Priority: Minor (was: Major)
> Container image fetcher: log URL when invoking curl
> ---------------------------------------------------
>
> Key: MESOS-7221
> URL: https://issues.apache.org/jira/browse/MESOS-7221
> Project: Mesos
> Issue Type: Improvement
> Reporter: Jan-Philip Gehrcke
> Priority: Minor
>
> The [container image fetcher
> code|https://github.com/apache/mesos/blob/a310bcc10b872b44fe6083756030daa96c21d141/src/uri/fetchers/docker.cpp#L92]
> invokes curl. When curl fails, all we see in the agent log is curl's stderr.
> For debugging, it would be highly useful if the log also contained at least
> the URL that curl was invoked with (if we can't log the entire curl command
> line).
> For example when I launch a Marathon application with the following app
> definition, I'd like to see a little bit of detail about the interaction
> between the Mesos agent and the Docker hub/registry:
> {code}
> {
> "id": "/test2",
> "cmd": "sleep 99999",
> "cpus": 0.1,
> "mem": 50,
> "instances": 1,
> "container": {
> "docker": {
> "image": "alpine"
> },
> "type": "MESOS"
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)