{"action":"closed","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/6321","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/6321/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/6321/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/6321/events","html_url":"https://github.com/rancher/rancher/issues/6321","id":183798258,"number":6321,"title":"Provide better error message when service creation fails with default and whitelist registry specified","user":{"login":"soumyalj","id":18536626,"avatar_url":"https://avatars.githubusercontent.com/u/18536626?v=3","gravatar_id":"","url":"https://api.github.com/users/soumyalj","html_url":"https://github.com/soumyalj","followers_url":"https://api.github.com/users/soumyalj/followers","following_url":"https://api.github.com/users/soumyalj/following{/other_user}","gists_url":"https://api.github.com/users/soumyalj/gists{/gist_id}","starred_url":"https://api.github.com/users/soumyalj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumyalj/subscriptions","organizations_url":"https://api.github.com/users/soumyalj/orgs","repos_url":"https://api.github.com/users/soumyalj/repos","events_url":"https://api.github.com/users/soumyalj/events{/privacy}","received_events_url":"https://api.github.com/users/soumyalj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rancher/rancher/labels/kind/bug","name":"kind/bug","color":"fc2929"},{"url":"https://api.github.com/repos/rancher/rancher/labels/status/resolved","name":"status/resolved","color":"0052cc"},{"url":"https://api.github.com/repos/rancher/rancher/labels/status/to-test","name":"status/to-test","color":"66aa66"}],"state":"closed","locked":false,"assignee":{"login":"soumyalj","id":18536626,"avatar_url":"https://avatars.githubusercontent.com/u/18536626?v=3","gravatar_id":"","url":"https://api.github.com/users/soumyalj","html_url":"https://github.com/soumyalj","followers_url":"https://api.github.com/users/soumyalj/followers","following_url":"https://api.github.com/users/soumyalj/following{/other_user}","gists_url":"https://api.github.com/users/soumyalj/gists{/gist_id}","starred_url":"https://api.github.com/users/soumyalj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumyalj/subscriptions","organizations_url":"https://api.github.com/users/soumyalj/orgs","repos_url":"https://api.github.com/users/soumyalj/repos","events_url":"https://api.github.com/users/soumyalj/events{/privacy}","received_events_url":"https://api.github.com/users/soumyalj/received_events","type":"User","site_admin":false},"assignees":[{"login":"soumyalj","id":18536626,"avatar_url":"https://avatars.githubusercontent.com/u/18536626?v=3","gravatar_id":"","url":"https://api.github.com/users/soumyalj","html_url":"https://github.com/soumyalj","followers_url":"https://api.github.com/users/soumyalj/followers","following_url":"https://api.github.com/users/soumyalj/following{/other_user}","gists_url":"https://api.github.com/users/soumyalj/gists{/gist_id}","starred_url":"https://api.github.com/users/soumyalj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumyalj/subscriptions","organizations_url":"https://api.github.com/users/soumyalj/orgs","repos_url":"https://api.github.com/users/soumyalj/repos","events_url":"https://api.github.com/users/soumyalj/events{/privacy}","received_events_url":"https://api.github.com/users/soumyalj/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/rancher/rancher/milestones/79","html_url":"https://github.com/rancher/rancher/milestones/Release%201.2.0-pre4","labels_url":"https://api.github.com/repos/rancher/rancher/milestones/79/labels","id":1961087,"number":79,"title":"Release 1.2.0-pre4","description":"* CNI modules for VXLAN, IPSEC, Calico\r\n* Cattle Docker Volume Drivers for NFS, EBS, EFS\r\n* K8s FlexVol Drivers for NFS, EBS, EFS\r\n* Infrastructure framework with environment creation to add network and storage drivers\r\n* Volume improvements (to support Longhorn)\r\n* Scheduler v2 for resource scheduling\r\n* General performance/scale improvements\r\n* V2-beta API (env->stack, new LB v2, new Env API)\r\n* Catalog Bindings\r\n* New settings for registries\r\n* Updated Docker Machine (w/ Azure support)\r\n* go-agent update w/ Windows support\r\n* SAML\r\n","creator":{"login":"will-chan","id":10134676,"avatar_url":"https://avatars.githubusercontent.com/u/10134676?v=3","gravatar_id":"","url":"https://api.github.com/users/will-chan","html_url":"https://github.com/will-chan","followers_url":"https://api.github.com/users/will-chan/followers","following_url":"https://api.github.com/users/will-chan/following{/other_user}","gists_url":"https://api.github.com/users/will-chan/gists{/gist_id}","starred_url":"https://api.github.com/users/will-chan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-chan/subscriptions","organizations_url":"https://api.github.com/users/will-chan/orgs","repos_url":"https://api.github.com/users/will-chan/repos","events_url":"https://api.github.com/users/will-chan/events{/privacy}","received_events_url":"https://api.github.com/users/will-chan/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":76,"state":"open","created_at":"2016-08-24T17:20:08Z","updated_at":"2016-10-22T20:06:45Z","due_on":"2016-10-22T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-10-18T20:45:55Z","updated_at":"2016-10-22T20:06:45Z","closed_at":"2016-10-22T20:06:45Z","body":"**Rancher Version:**1.2.0-pre4-rc4\r\n\r\n**Docker Version:**1.12.2\r\n\r\n**OS and where are the hosts located? (cloud, bare metal, etc):**Cloud\r\n\r\n**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**Single node\r\n\r\n**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**Cattle\r\n\r\n**Steps to Reproduce:**\r\n1. Create a cattle environment\r\n2. Add quay registry in rancher with valid credentials\r\n3. Add the default and whitelist registries as below:\r\ndefault registry: quay.io\r\nwhitelist registry: quay.io\r\n4. Create a service test with image \"index.docker.io/ubuntu\" \r\n\r\nResults\r\n======\r\nService creation fails with the following message:\r\n<img width=\"404\" alt=\"screen shot 2016-10-18 at 1 35 15 pm\" src=\"https://cloud.githubusercontent.com/assets/18536626/19495346/d9bfc708-9537-11e6-9d2a-fea8aa92f88d.png\">\r\n\r\nA better/relevant error message which is helpful to the users should be provided. \r\n[The service creation fails as expected as the \"index.docker.io registry\" is not present in the whitelist registry]"}}
{"actor":{"display_login":"soumyalj"}}