{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kops/issues/2134","repository_url":"https://api.github.com/repos/kubernetes/kops","labels_url":"https://api.github.com/repos/kubernetes/kops/issues/2134/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kops/issues/2134/comments","events_url":"https://api.github.com/repos/kubernetes/kops/issues/2134/events","html_url":"https://github.com/kubernetes/kops/issues/2134","id":214549912,"number":2134,"title":"IAM roles character limit reached when the cluster name is too long","user":{"login":"tiadobatima","id":3767479,"avatar_url":"https://avatars1.githubusercontent.com/u/3767479?v=3","gravatar_id":"","url":"https://api.github.com/users/tiadobatima","html_url":"https://github.com/tiadobatima","followers_url":"https://api.github.com/users/tiadobatima/followers","following_url":"https://api.github.com/users/tiadobatima/following{/other_user}","gists_url":"https://api.github.com/users/tiadobatima/gists{/gist_id}","starred_url":"https://api.github.com/users/tiadobatima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiadobatima/subscriptions","organizations_url":"https://api.github.com/users/tiadobatima/orgs","repos_url":"https://api.github.com/users/tiadobatima/repos","events_url":"https://api.github.com/users/tiadobatima/events{/privacy}","received_events_url":"https://api.github.com/users/tiadobatima/received_events","type":"User","site_admin":false},"labels":[{"id":498770588,"url":"https://api.github.com/repos/kubernetes/kops/labels/area/aws","name":"area/aws","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-15T22:51:44Z","updated_at":"2017-04-25T16:19:51Z","closed_at":null,"body":"IAM has a limit of 64 characters for IAM roles. If the FQDN is too long kops cannot create the IAM roles.\r\n\r\n\r\n```\r\nI0315 20:32:06.308606   25738 executor.go:91] Tasks: 42 done / 50 total; 2 can run\r\nW0315 20:32:06.878530   25738 executor.go:109] error running task \"IAMRole/nodes.my-very-very-very-very-extremelly-long.kubernetes.domain.name.com\" (7m23s remaining to succeed): error getting role: ValidationError: 1 validation error detected: Value 'nodes.my-very-very-very-very-extremelly-long.kubernetes.domain.name.com' at 'roleName' failed to satisfy constraint: Member must have length less than or equal to 64\r\n        status code: 400, request id: 74ed14c6-09be-11e7-9e93-d1e6474b890b\r\nW0315 20:32:06.882968   25738 executor.go:109] error running task \"IAMRole/masters.my-very-very-very-very-extremelly-long.kubernetes.domain.name.com\" (7m23s remaining to succeed): error getting role: ValidationError: 1 validation error detected: Value 'masters.my-very-very-very-very-extremelly-long.kubernetes.domain.name.com' at 'roleName' failed to satisfy constraint: Member must have  length less than or equal to 64\r\n        status code: 400, request id: 74ed8a1e-09be-11e7-9f73-75eb74059ae2\r\nI0315 20:32:06.883007   25738 executor.go:124] No progress made, sleeping before retrying 2 failed task(s)\r\n````"},"comment":{"url":"https://api.github.com/repos/kubernetes/kops/issues/comments/297084213","html_url":"https://github.com/kubernetes/kops/issues/2134#issuecomment-297084213","issue_url":"https://api.github.com/repos/kubernetes/kops/issues/2134","id":297084213,"user":{"login":"tiadobatima","id":3767479,"avatar_url":"https://avatars1.githubusercontent.com/u/3767479?v=3","gravatar_id":"","url":"https://api.github.com/users/tiadobatima","html_url":"https://github.com/tiadobatima","followers_url":"https://api.github.com/users/tiadobatima/followers","following_url":"https://api.github.com/users/tiadobatima/following{/other_user}","gists_url":"https://api.github.com/users/tiadobatima/gists{/gist_id}","starred_url":"https://api.github.com/users/tiadobatima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiadobatima/subscriptions","organizations_url":"https://api.github.com/users/tiadobatima/orgs","repos_url":"https://api.github.com/users/tiadobatima/repos","events_url":"https://api.github.com/users/tiadobatima/events{/privacy}","received_events_url":"https://api.github.com/users/tiadobatima/received_events","type":"User","site_admin":false},"created_at":"2017-04-25T16:19:51Z","updated_at":"2017-04-25T16:19:51Z","body":"I ran into this with 1.5.1 (binary distribution) and 1.5.3 (compiled). Thanks for looking into this problem :)"}}
{"actor":{"display_login":"tiadobatima"}}