{"action":"created","issue":{"url":"https://api.github.com/repos/broadinstitute/cromwell/issues/4345","repository_url":"https://api.github.com/repos/broadinstitute/cromwell","labels_url":"https://api.github.com/repos/broadinstitute/cromwell/issues/4345/labels{/name}","comments_url":"https://api.github.com/repos/broadinstitute/cromwell/issues/4345/comments","events_url":"https://api.github.com/repos/broadinstitute/cromwell/issues/4345/events","html_url":"https://github.com/broadinstitute/cromwell/issues/4345","id":376142601,"node_id":"MDU6SXNzdWUzNzYxNDI2MDE=","number":4345,"title":"AWS Batch: Docker hash lookup failed with code","user":{"login":"alexfrieden","id":1154496,"node_id":"MDQ6VXNlcjExNTQ0OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1154496?v=4","gravatar_id":"","url":"https://api.github.com/users/alexfrieden","html_url":"https://github.com/alexfrieden","followers_url":"https://api.github.com/users/alexfrieden/followers","following_url":"https://api.github.com/users/alexfrieden/following{/other_user}","gists_url":"https://api.github.com/users/alexfrieden/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfrieden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfrieden/subscriptions","organizations_url":"https://api.github.com/users/alexfrieden/orgs","repos_url":"https://api.github.com/users/alexfrieden/repos","events_url":"https://api.github.com/users/alexfrieden/events{/privacy}","received_events_url":"https://api.github.com/users/alexfrieden/received_events","type":"User","site_admin":false},"labels":[{"id":461654457,"node_id":"MDU6TGFiZWw0NjE2NTQ0NTc=","url":"https://api.github.com/repos/broadinstitute/cromwell/labels/AWS%20Backend","name":"AWS Backend","color":"FF9900","default":false},{"id":1040791543,"node_id":"MDU6TGFiZWwxMDQwNzkxNTQz","url":"https://api.github.com/repos/broadinstitute/cromwell/labels/Needs%20Triage","name":"Needs Triage","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-31T20:15:58Z","updated_at":"2018-11-06T21:44:25Z","closed_at":null,"author_association":"NONE","body":"Crossposting here as I was not able to get an answer on WDL forum.  Post is here:\r\nhttps://gatkforums.broadinstitute.org/wdl/discussion/13540/unable-to-do-docker-lookup#latest\r\n\r\nTrying to get hello world working on AWS Batch and cromwell.\r\n\r\nI am able to spin up the servers however it fails in pulling the docker image with the following error message in the cromwell logs:\r\n\r\n`\r\n2018-10-30 15:43:14,845 cromwell-system-akka.dispatchers.engine-dispatcher-9 WARN - BackendPreparationActor_for_7d0c30ad:wf_hello.hello:-1:1 [UUID(7d0c30ad)]: Docker lookup failed java.lang.Exception: Failed to get docker hash for ubuntu:latest Docker hash lookup failed with code 503. The server is currently unavailable (because it is overloaded or down for maintenance). at cromwell.engine.workflow.WorkflowDockerLookupActor.cromwell$engine$workflow$WorkflowDockerLookupActor$$handleLookupFailure(WorkflowDockerLookupActor.scala:188)\r\n`\r\n\r\nHere is my wdl:\r\n\r\n```\r\n   task hello {\r\n        String addressee\r\n      command {\r\n        echo \"Hello ${addressee}! Welcome to Cromwell on AWS\"\r\n      }\r\n      output {\r\n        String message = read_string(stdout())\r\n      }\r\n      runtime {\r\n        docker: \"ubuntu:latest\"\r\n      }\r\n    }\r\n\r\n  workflow wf_hello {\r\n    call hello\r\n\r\n    output {\r\n      hello.message\r\n    }\r\n  }\r\n```\r\n\r\nThis is originally from tutorial by @wleepang found here:\r\nhttps://www.youtube.com/watch?v=jcC3pz_K4gI\r\n\r\nAny idea on how to diagnose?  I was not able to find a similar issue.  Thanks so much for the help.  "},"comment":{"url":"https://api.github.com/repos/broadinstitute/cromwell/issues/comments/436419519","html_url":"https://github.com/broadinstitute/cromwell/issues/4345#issuecomment-436419519","issue_url":"https://api.github.com/repos/broadinstitute/cromwell/issues/4345","id":436419519,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjQxOTUxOQ==","user":{"login":"wleepang","id":361574,"node_id":"MDQ6VXNlcjM2MTU3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/361574?v=4","gravatar_id":"","url":"https://api.github.com/users/wleepang","html_url":"https://github.com/wleepang","followers_url":"https://api.github.com/users/wleepang/followers","following_url":"https://api.github.com/users/wleepang/following{/other_user}","gists_url":"https://api.github.com/users/wleepang/gists{/gist_id}","starred_url":"https://api.github.com/users/wleepang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wleepang/subscriptions","organizations_url":"https://api.github.com/users/wleepang/orgs","repos_url":"https://api.github.com/users/wleepang/repos","events_url":"https://api.github.com/users/wleepang/events{/privacy}","received_events_url":"https://api.github.com/users/wleepang/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T21:44:25Z","updated_at":"2018-11-06T21:44:25Z","author_association":"CONTRIBUTOR","body":"@alexfrieden - the scratch mount point in the custom Ami should be set to `/cromwell_root`.  The docker pull you ran seems fine, was that under the same scenario as task instances (i.e. same vpc and same subnet)?"}}
{"actor":{"display_login":"wleepang"}}