<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Ammad,</p>
    <p>What's the error of your kubelet? If the node is in not ready,
      then you should be able to see some errors from the kubelet log.<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 3/05/21 8:55 pm, Ammad Syed wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKOoz50knBoOZVuf04=0Eqcg1n23V62+FLa144heLsKy3bFA-g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I have upgraded my magnum environment from victoria to
          wallaby. The upgrade went successfully. When I am trying to
          deploy a cluster from template, the status of cluster shows
          UNHEALTHY but create complete. </div>
        <div><br>
        </div>
        <div>I have logged into the master nodes and found no error
          message in heat logs. The nodes status still sees NotReady.</div>
        <div><br>
        </div>
        <div>[root@k8s-cluster-iomfrpuadezp-master-0 kubernetes]#
          kubectl get nodes --all-namespaces<br>
          NAME                                STATUS     ROLES    AGE  
            VERSION<br>
          k8s-cluster-iomfrpuadezp-master-0   NotReady   master   14m  
            v1.18.16<br>
          k8s-cluster-iomfrpuadezp-node-0     NotReady   <none>  
          9m51s   v1.18.16<br>
        </div>
        <div><br>
        </div>
        <div>Also there is no pods running in kube-system namespace. </div>
        <div><br>
        </div>
        <div>[root@k8s-cluster-iomfrpuadezp-master-0 kubernetes]#
          kubectl get pods --all-namespaces<br>
          No resources found<br>
        </div>
        <div><br>
        </div>
        <div>I have checked the logs, the flannel was deployed.</div>
        <div><br>
        </div>
        <div>+ printf 'Starting to run calico-service\n'<br>
          + set -e<br>
          + set +x<br>
          + '[' flannel = calico ']'<br>
          + printf 'Finished running calico-service\n'<br>
          + set -e<br>
          + set +x<br>
          Finished running calico-service<br>
          + '[' flannel = flannel ']'<br>
          + _prefix=<a href="http://quay.io/coreos/"
            moz-do-not-send="true">quay.io/coreos/</a><br>
          +
          FLANNEL_DEPLOY=/srv/magnum/kubernetes/manifests/flannel-deploy.yaml<br>
          + '[' -f /srv/magnum/kubernetes/manifests/flannel-deploy.yaml
          ']'<br>
          + echo 'Writing File:
          /srv/magnum/kubernetes/manifests/flannel-deploy.yaml'<br>
          Writing File:
          /srv/magnum/kubernetes/manifests/flannel-deploy.yaml<br>
          ++ dirname
          /srv/magnum/kubernetes/manifests/flannel-deploy.yaml<br>
          + mkdir -p /srv/magnum/kubernetes/manifests<br>
          + set +x<br>
          + '[' '' = 0 ']'<br>
          + /usr/bin/kubectl apply -f
          /srv/magnum/kubernetes/manifests/flannel-deploy.yaml
          --namespace=kube-system<br>
          podsecuritypolicy.policy/psp.flannel.unprivileged created<br>
          <a href="http://clusterrole.rbac.authorization.k8s.io/flannel"
            moz-do-not-send="true">clusterrole.rbac.authorization.k8s.io/flannel</a>
          created<br>
          <a
            href="http://clusterrolebinding.rbac.authorization.k8s.io/flannel"
            moz-do-not-send="true">clusterrolebinding.rbac.authorization.k8s.io/flannel</a>
          created<br>
          serviceaccount/flannel created<br>
          configmap/kube-flannel-cfg created<br>
          daemonset.apps/kube-flannel-ds created<br>
        </div>
        <div><br>
        </div>
        <div>I tried to deploy the flannel again, but it showing
          unchanged.</div>
        <div><br>
        </div>
        <div>[root@k8s-cluster-iomfrpuadezp-master-0
          heat-config-script]# kubectl apply -f
          /srv/magnum/kubernetes/manifests/flannel-deploy.yaml
          --namespace=kube-system <br>
          podsecuritypolicy.policy/psp.flannel.unprivileged configured<br>
          <a href="http://clusterrole.rbac.authorization.k8s.io/flannel"
            moz-do-not-send="true">clusterrole.rbac.authorization.k8s.io/flannel</a>
          unchanged<br>
          <a
            href="http://clusterrolebinding.rbac.authorization.k8s.io/flannel"
            moz-do-not-send="true">clusterrolebinding.rbac.authorization.k8s.io/flannel</a>
          unchanged<br>
          serviceaccount/flannel unchanged<br>
          configmap/kube-flannel-cfg unchanged<br>
          daemonset.apps/kube-flannel-ds unchanged<br>
        </div>
        <div><br>
        </div>
        <div>The other thing I have noticed that cluster
          deployment still uses old parameters of victoria like
          heat_agent_tag and others. Its not using latest default tags
          of wallaby release. </div>
        <div><br>
        </div>
        <div>I am using magnum on ubuntu 20.04. The other components in
          stack are already upgraded to wallaby release. </div>
        <div>
          <div><br>
          </div>
          -- <br>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">Regards,
            <div>Ammad Ali</div>
          </div>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Cheers & Best regards,
Feilong Wang (王飞龙)
------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: <a class="moz-txt-link-abbreviated" href="mailto:flwang@catalyst.net.nz">flwang@catalyst.net.nz</a>
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
------------------------------------------------------ </pre>
  </body>
</html>