{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-aws/issues/61","repository_url":"https://api.github.com/repos/docker/for-aws","labels_url":"https://api.github.com/repos/docker/for-aws/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-aws/issues/61/comments","events_url":"https://api.github.com/repos/docker/for-aws/issues/61/events","html_url":"https://github.com/docker/for-aws/issues/61","id":241356005,"number":61,"title":"Node fails to start service with \"No such image\" but image IS there","user":{"login":"sshorkey","id":7714271,"avatar_url":"https://avatars5.githubusercontent.com/u/7714271?v=4","gravatar_id":"","url":"https://api.github.com/users/sshorkey","html_url":"https://github.com/sshorkey","followers_url":"https://api.github.com/users/sshorkey/followers","following_url":"https://api.github.com/users/sshorkey/following{/other_user}","gists_url":"https://api.github.com/users/sshorkey/gists{/gist_id}","starred_url":"https://api.github.com/users/sshorkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshorkey/subscriptions","organizations_url":"https://api.github.com/users/sshorkey/orgs","repos_url":"https://api.github.com/users/sshorkey/repos","events_url":"https://api.github.com/users/sshorkey/events{/privacy}","received_events_url":"https://api.github.com/users/sshorkey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-07T19:19:04Z","updated_at":"2017-07-17T14:13:20Z","closed_at":null,"body":"### Expected behavior\r\nAttempting to launch a swarm with several services, one of which is my-registry-ip:5000/IMAGENAME.\r\n\r\n### Actual behavior\r\nOn one of the nodes in my swarm, service fails to start, continually Rejecting and complaining of \"No such image: my-registry-ip:5000/IMAGENAME\". However, running \"docker images\" on that node confirms that my-registry-ip:5000/IMAGENAME does in fact exist on this node.\r\n\r\n### Information\r\nOutput of docker inspect on one of the failing nodes\r\n\r\n```\r\n[\r\n    {\r\n        \"ID\": \"lbzgdpbmjbhletno53uurc2vt\",\r\n        \"Version\": {\r\n            \"Index\": 118817\r\n        },\r\n        \"CreatedAt\": \"2017-07-07T19:13:53.094849409Z\",\r\n        \"UpdatedAt\": \"2017-07-07T19:13:58.395810515Z\",\r\n        \"Labels\": {},\r\n        \"Spec\": {\r\n            \"ContainerSpec\": {\r\n                \"Image\": \"my-registry-ip:5000/IMAGENAME@sha256:<redacted>\",\r\n                \"Labels\": {\r\n                    \"com.docker.stack.namespace\": \"<redacted>\"\r\n                },\r\n                \"Env\": [\r\n                    \"JHIPSTER_SLEEP=30\",\r\n                ]\r\n            },\r\n            \"Resources\": {},\r\n            \"Placement\": {},\r\n            \"ForceUpdate\": 0\r\n        },\r\n        \"ServiceID\": \"5sblnw67j23bdxucqk7jzvbd1\",\r\n        \"NodeID\": \"4kcegjgyaalwa13xpw8fm08yq\",\r\n        \"Status\": {\r\n            \"Timestamp\": \"2017-07-07T19:13:54.155208059Z\",\r\n            \"State\": \"rejected\",\r\n            \"Message\": \"preparing\",\r\n            \"Err\": \"No such image: my-registry-ip:5000/IMAGENAME@sha256:<redacted>\",\r\n            \"ContainerStatus\": {},\r\n            \"PortStatus\": {}\r\n        },\r\n        \"DesiredState\": \"shutdown\",\r\n        \"NetworksAttachments\": [\r\n            {\r\n                \"Network\": {\r\n                    \"ID\": \"k0enemxtf6wanc0992jtw8067\",\r\n                    \"Version\": {\r\n                        \"Index\": 113084\r\n                    },\r\n                    \"CreatedAt\": \"2017-06-23T20:55:44.154512187Z\",\r\n                    \"UpdatedAt\": \"2017-06-23T20:55:44.160052877Z\",\r\n                    \"Spec\": {\r\n                        \"Name\": \"<redacted>_default\",\r\n                        \"Labels\": {\r\n                            \"com.docker.stack.namespace\": \"<redacted>\"\r\n                        },\r\n                        \"DriverConfiguration\": {\r\n                            \"Name\": \"overlay\"\r\n                        },\r\n                        \"IPAMOptions\": {\r\n                            \"Driver\": {}\r\n                        }\r\n                    },\r\n                    \"DriverState\": {\r\n                        \"Name\": \"overlay\",\r\n                        \"Options\": {\r\n                            \"com.docker.network.driver.overlay.vxlanid_list\": \"4097\"\r\n                        }\r\n                    },\r\n                    \"IPAMOptions\": {\r\n                        \"Driver\": {\r\n                            \"Name\": \"default\"\r\n                        },\r\n                        \"Configs\": [\r\n                            {\r\n                                \"Subnet\": \"10.0.0.0/24\",\r\n                                \"Gateway\": \"10.0.0.1\"\r\n                            }\r\n                        ]\r\n                    }\r\n                },\r\n                \"Addresses\": [\r\n                    \"10.0.0.55/24\"\r\n                ]\r\n            }\r\n        ]\r\n    }\r\n]\r\n```\r\n\r\nOutput of docker inspect on the node in question\r\n```\r\n[\r\n    {\r\n        \"ID\": \"4kcegjgyaalwa13xpw8fm08yq\",\r\n        \"Version\": {\r\n            \"Index\": 116398\r\n        },\r\n        \"CreatedAt\": \"2017-07-07T18:59:02.681893571Z\",\r\n        \"UpdatedAt\": \"2017-07-07T18:59:02.911360471Z\",\r\n        \"Spec\": {\r\n            \"Labels\": {},\r\n            \"Role\": \"manager\",\r\n            \"Availability\": \"active\"\r\n        },\r\n        \"Description\": {\r\n            \"Hostname\": \"ip-172-31-29-198.ec2.internal\",\r\n            \"Platform\": {\r\n                \"Architecture\": \"x86_64\",\r\n                \"OS\": \"linux\"\r\n            },\r\n            \"Resources\": {\r\n                \"NanoCPUs\": 2000000000,\r\n                \"MemoryBytes\": 8359272448\r\n            },\r\n            \"Engine\": {\r\n                \"EngineVersion\": \"17.04.0-ce\",\r\n                \"Labels\": {\r\n                    \"availability_zone\": \"us-east-1b\",\r\n                    \"instance_type\": \"t2.large\",\r\n                    \"node_type\": \"manager\",\r\n                    \"os\": \"linux\",\r\n                    \"region\": \"us-east-1\"\r\n                },\r\n                \"Plugins\": [\r\n                    {\r\n                        \"Type\": \"Network\",\r\n                        \"Name\": \"bridge\"\r\n                    },\r\n                    {\r\n                        \"Type\": \"Network\",\r\n                        \"Name\": \"host\"\r\n                    },\r\n                    {\r\n                        \"Type\": \"Network\",\r\n                        \"Name\": \"ipvlan\"\r\n                    },\r\n                    {\r\n                        \"Type\": \"Network\",\r\n                        \"Name\": \"macvlan\"\r\n                    },\r\n                    {\r\n                        \"Type\": \"Network\",\r\n                        \"Name\": \"null\"\r\n                    },\r\n                    {\r\n                        \"Type\": \"Network\",\r\n                        \"Name\": \"overlay\"\r\n                    },\r\n                    {\r\n                        \"Type\": \"Volume\",\r\n                        \"Name\": \"cloudstor:aws\"\r\n                    },\r\n                    {\r\n                        \"Type\": \"Volume\",\r\n                        \"Name\": \"local\"\r\n                    }\r\n                ]\r\n            }\r\n        },\r\n        \"Status\": {\r\n            \"State\": \"ready\",\r\n            \"Addr\": \"172.31.29.198\"\r\n        },\r\n        \"ManagerStatus\": {\r\n            \"Reachability\": \"reachable\",\r\n            \"Addr\": \"172.31.29.198:2377\"\r\n        }\r\n    }\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/for-aws/issues/comments/315767889","html_url":"https://github.com/docker/for-aws/issues/61#issuecomment-315767889","issue_url":"https://api.github.com/repos/docker/for-aws/issues/61","id":315767889,"user":{"login":"sshorkey","id":7714271,"avatar_url":"https://avatars5.githubusercontent.com/u/7714271?v=4","gravatar_id":"","url":"https://api.github.com/users/sshorkey","html_url":"https://github.com/sshorkey","followers_url":"https://api.github.com/users/sshorkey/followers","following_url":"https://api.github.com/users/sshorkey/following{/other_user}","gists_url":"https://api.github.com/users/sshorkey/gists{/gist_id}","starred_url":"https://api.github.com/users/sshorkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshorkey/subscriptions","organizations_url":"https://api.github.com/users/sshorkey/orgs","repos_url":"https://api.github.com/users/sshorkey/repos","events_url":"https://api.github.com/users/sshorkey/events{/privacy}","received_events_url":"https://api.github.com/users/sshorkey/received_events","type":"User","site_admin":false},"created_at":"2017-07-17T14:13:20Z","updated_at":"2017-07-17T14:13:20Z","body":"Any one know anything? This issue is very frustrating"}}
{"actor":{"display_login":"sshorkey"}}