{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1216","repository_url":"https://api.github.com/repos/kubernetes/kubeadm","labels_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1216/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1216/comments","events_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1216/events","html_url":"https://github.com/kubernetes/kubeadm/issues/1216","id":377767171,"node_id":"MDU6SXNzdWUzNzc3NjcxNzE=","number":1216,"title":"`... certs renew apiserver --use-api` fails: `PEM block type must be CERTIFICATE REQUEST`","user":{"login":"eliasp","id":48491,"node_id":"MDQ6VXNlcjQ4NDkx","avatar_url":"https://avatars0.githubusercontent.com/u/48491?v=4","gravatar_id":"","url":"https://api.github.com/users/eliasp","html_url":"https://github.com/eliasp","followers_url":"https://api.github.com/users/eliasp/followers","following_url":"https://api.github.com/users/eliasp/following{/other_user}","gists_url":"https://api.github.com/users/eliasp/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasp/subscriptions","organizations_url":"https://api.github.com/users/eliasp/orgs","repos_url":"https://api.github.com/users/eliasp/repos","events_url":"https://api.github.com/users/eliasp/events{/privacy}","received_events_url":"https://api.github.com/users/eliasp/received_events","type":"User","site_admin":false},"labels":[{"id":486837088,"node_id":"MDU6TGFiZWw0ODY4MzcwODg=","url":"https://api.github.com/repos/kubernetes/kubeadm/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":487605875,"node_id":"MDU6TGFiZWw0ODc2MDU4NzU=","url":"https://api.github.com/repos/kubernetes/kubeadm/labels/priority/critical-urgent","name":"priority/critical-urgent","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-06T09:50:33Z","updated_at":"2018-11-06T13:35:46Z","closed_at":null,"author_association":"NONE","body":"## What keywords did you search in kubeadm issues before filing this one?\r\n`certs renew`\r\n \r\nFound #1190 which is related, but no duplicate.\r\n\r\n## Is this a BUG REPORT or FEATURE REQUEST?\r\nBUG REPORT\r\n\r\n## Versions\r\n\r\n**kubeadm version** (use `kubeadm version`):\r\n\r\n`v1.12.2`\r\n\r\n**Environment**:\r\n- **Kubernetes version** (use `kubectl version`): `v1.12.2`\r\n- **Cloud provider or hardware configuration**: HetznerCloud CX31\r\n- **OS** (e.g. from /etc/os-release): Ubuntu 16.04 LTS\r\n- **Kernel** (e.g. `uname -a`): 4.4.0.138.144\r\n\r\n## What happened?\r\n\r\nExecuting `kubeadm alpha phase certs renew apiserver --use-api` fails:\r\n```\r\nfailed to renew certificate apiserver: couldn't create certificate signing request:\r\nCertificateSigningRequest.certificates.k8s.io \"kubeadm-certccpx4\" is invalid:\r\nspec.request: Invalid value: []byte{0x30, 0x82, 0x3, 0x7, […REDACTED…], 0x2,\r\n0xfa, 0xd8, 0x3b, 0x5d, 0x19}: PEM block type must be CERTIFICATE REQUEST\r\n```\r\n\r\n## What you expected to happen?\r\n\r\nI expected `apiserver.crt` to be renewed based on the current `kubeadm-config` ConfigMap (I updated the `apiServerCertSANs` list to contain another required FQDN).\r\n\r\n## How to reproduce it (as minimally and precisely as possible)?\r\n\r\nExecute `kubeadm alpha phase certs renew apiserver --use-api`\r\n\r\n## Anything else we need to know?\r\n\r\nFor hints what could be causing this, see also: https://github.com/kubernetes/kubeadm/issues/1190#issuecomment-436080040"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubeadm/issues/comments/436254431","html_url":"https://github.com/kubernetes/kubeadm/issues/1216#issuecomment-436254431","issue_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1216","id":436254431,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjI1NDQzMQ==","user":{"login":"yagonobre","id":9687403,"node_id":"MDQ6VXNlcjk2ODc0MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/9687403?v=4","gravatar_id":"","url":"https://api.github.com/users/yagonobre","html_url":"https://github.com/yagonobre","followers_url":"https://api.github.com/users/yagonobre/followers","following_url":"https://api.github.com/users/yagonobre/following{/other_user}","gists_url":"https://api.github.com/users/yagonobre/gists{/gist_id}","starred_url":"https://api.github.com/users/yagonobre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yagonobre/subscriptions","organizations_url":"https://api.github.com/users/yagonobre/orgs","repos_url":"https://api.github.com/users/yagonobre/repos","events_url":"https://api.github.com/users/yagonobre/events{/privacy}","received_events_url":"https://api.github.com/users/yagonobre/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T13:35:46Z","updated_at":"2018-11-06T13:35:46Z","author_association":"NONE","body":"@neolit123 are you working on it?"}}
{"actor":{"display_login":"yagonobre"}}