{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/17296","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/17296/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/17296/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/17296/events","html_url":"https://github.com/rancher/rancher/issues/17296","id":395532768,"node_id":"MDU6SXNzdWUzOTU1MzI3Njg=","number":17296,"title":"AWS cloudprovider error","user":{"login":"a-dawg","id":10309964,"node_id":"MDQ6VXNlcjEwMzA5OTY0","avatar_url":"https://avatars1.githubusercontent.com/u/10309964?v=4","gravatar_id":"","url":"https://api.github.com/users/a-dawg","html_url":"https://github.com/a-dawg","followers_url":"https://api.github.com/users/a-dawg/followers","following_url":"https://api.github.com/users/a-dawg/following{/other_user}","gists_url":"https://api.github.com/users/a-dawg/gists{/gist_id}","starred_url":"https://api.github.com/users/a-dawg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-dawg/subscriptions","organizations_url":"https://api.github.com/users/a-dawg/orgs","repos_url":"https://api.github.com/users/a-dawg/repos","events_url":"https://api.github.com/users/a-dawg/events{/privacy}","received_events_url":"https://api.github.com/users/a-dawg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-03T11:04:15Z","updated_at":"2019-01-03T15:51:36Z","closed_at":"2019-01-03T15:51:36Z","author_association":"NONE","body":"**What kind of request is this (question/bug/enhancement/feature request):**\r\nbug\r\n\r\n**Steps to reproduce (least amount of steps as possible):**\r\nrke up\r\n\r\n**Result:**\r\n```\r\nI0103 10:34:16.943370   23494 aws.go:988] Zone not specified in configuration file; querying AWS metadata service\r\nF0103 10:34:16.945894   23494 server.go:233] failed to run Kubelet: could not init cloud provider \"aws\": error finding instance i-0a1cf7f4a37a9c92b: \"error listing AWS instances: \\\"NoCredentialProviders: no valid providers in chain. Deprecated.\\\\n\\\\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors\\\"\"\r\n```\r\nHow to solve one not specified in configuration file; querying AWS metadata service?\r\nI have the right iam permissions and I have configured the aws credentials on my workerplane instance as well as the region.\r\nHow could I solve this?\r\n\r\n**Other details that may be helpful:**\r\nusing rke and aws as cloud provider\r\n\r\n**Cluster information**\r\n- cluster installed on AWS EC2, deployment using rke\r\n- Kubernetes version (use `kubectl version`):\r\n```\r\nServer Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.5\", GitCommit:\"32ac1c9073b132b8ba18aa830f46b77dcceb0723\", GitTreeState:\"clean\", BuildDate:\"2018-06-21T11:34:22Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n- Docker version\r\n```\r\n17.03.3-ce\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/451184731","html_url":"https://github.com/rancher/rancher/issues/17296#issuecomment-451184731","issue_url":"https://api.github.com/repos/rancher/rancher/issues/17296","id":451184731,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTE4NDczMQ==","user":{"login":"superseb","id":2620179,"node_id":"MDQ6VXNlcjI2MjAxNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/2620179?v=4","gravatar_id":"","url":"https://api.github.com/users/superseb","html_url":"https://github.com/superseb","followers_url":"https://api.github.com/users/superseb/followers","following_url":"https://api.github.com/users/superseb/following{/other_user}","gists_url":"https://api.github.com/users/superseb/gists{/gist_id}","starred_url":"https://api.github.com/users/superseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superseb/subscriptions","organizations_url":"https://api.github.com/users/superseb/orgs","repos_url":"https://api.github.com/users/superseb/repos","events_url":"https://api.github.com/users/superseb/events{/privacy}","received_events_url":"https://api.github.com/users/superseb/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T15:51:36Z","updated_at":"2019-01-03T15:51:36Z","author_association":"MEMBER","body":"Cloud provider requirements are listed on https://rancher.com/docs/rke/v0.1.x/en/config-options/cloud-providers/aws/, you are not specifying what you have configured. The error is regarding not having the correct IAM role on the instances you are provisioning. \r\n\r\nIf it's not working, please provide full details on what configured as that helps reproducing or root causing the issue. Also, if you are only using RKE, please file an issue at https://github.com/rancher/rke/issues/new"}}
{"actor":{"display_login":"superseb"}}