<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.xxxmsonormal, li.xxxmsonormal, div.xxxmsonormal
        {mso-style-name:x_x_x_msonormal;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal">I recently installed CaaSP 4 with a customer.<o:p></o:p></p>
<p class="MsoNormal">We tried to add another worker node after >24h to the cluster.<o:p></o:p></p>
<p class="MsoNormal">But skuba failed to deploy the node.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">After we found out how to set debug level in skuba, we found out that this might be related to an existing issue on github:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><a href="https://github.com/kubernetes/kubeadm/issues/1310">https://github.com/kubernetes/kubeadm/issues/1310</a></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This is the debug output we got:<o:p></o:p></p>
<p class="xxxmsonormal"><span lang="EN-US" style="color:black">I0718 19:19:52.762272   12629 ssh.go:190] stdout | [preflight] Running pre-flight checks</span><span style="color:black"><o:p></o:p></span></p>
<p class="xxxmsonormal"><span lang="EN-US" style="color:black">I0718 19:19:52.889960   12629 ssh.go:190] stdout | [preflight] Reading configuration from the cluster...</span><span style="color:black"><o:p></o:p></span></p>
<p class="xxxmsonormal"><span lang="EN-US" style="color:black">I0718 19:19:52.890010   12629 ssh.go:190] stdout | [preflight] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -oyaml'</span><span style="color:black"><o:p></o:p></span></p>
<p class="xxxmsonormal"><span lang="EN-US" style="color:black">I0718 19:19:53.043975   12629 ssh.go:190] stdout | [kubelet-start] Downloading configuration for the kubelet from the "kubelet-config-1.15" ConfigMap in the kube-system namespace</span><span style="color:black"><o:p></o:p></span></p>
<p class="xxxmsonormal"><span lang="EN-US" style="color:black">I0718 19:19:53.372300   12629 ssh.go:190] stderr | error execution phase kubelet-start: configmaps "kubelet-config-1.15" is forbidden: User "system:bootstrap:pwupeo" cannot get resource "configmaps"
 in API group "" in the namespace "kube-system"</span><span style="color:black"><o:p></o:p></span></p>
<p class="xxxmsonormal"><span lang="EN-US" style="color:black">I0718 19:19:53.373248   12629 ssh.go:167] running command: "rm /tmp/kubeadm-init.conf"</span><span style="color:black"><o:p></o:p></span></p>
<p class="xxxmsonormal"><span lang="EN-US" style="color:black">[join] failed to apply join to node failed to apply state kubeadm.join: Process exited with status 1</span><span style="color:black"><o:p></o:p></span></p>
<p class="xxxmsonormal"><span lang="EN-US" style="color:black">F0718 19:19:53.402383   12629 join.go:49] error joining node s030v0302: failed to apply state kubeadm.join: Process exited with status 1</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is this a bug in skuba? Looks like it’s required to reissue a token for kubeadm after 24h, I am unsure if skuba does this automatically or not.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Mit freundlichem Gruß / Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal">Carsten Duch<o:p></o:p></p>
<p class="MsoNormal">Sales Engineer<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">SUSE Software Solutions Germany GmbH<o:p></o:p></p>
<p class="MsoNormal">Maxfeldstr. 5<o:p></o:p></p>
<p class="MsoNormal">90409 Nürnberg<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(P)+49 173 5876 707<o:p></o:p></p>
<p class="MsoNormal"><a href="mailto:carsten.duch@suse.com"><span style="color:#0563C1">carsten.duch@suse.com</span></a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">--<o:p></o:p></p>
<p class="MsoNormal">SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>