<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#444444">Hello Feilong,</div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-size:small;color:#444444">The Clusters are now Ok and they are all in CEATE_COMPLETE after restarting the heat and magnum containers.</div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-size:small;color:#444444">Thanks </div><div class="gmail_default" style="font-size:small;color:#444444"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><font face="arial, sans-serif">Regards</font></div><div><font face="arial, sans-serif"><br></font></div><div dir="ltr"><font face="arial, sans-serif">Tony Karera</font></div><div dir="ltr"><br></div><div><br></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 15, 2021 at 8:48 PM feilong <<a href="mailto:feilong@catalyst.net.nz">feilong@catalyst.net.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Hi Tony,</p>
    <p>Good to see your cluster can be created "successfully" ;)
      Technically, Magnum doesn't maintain the cluster status, the
      status is synced from Heat. That said, if the stack is created
      successfully, but the magnum cluster is in progress, that means
      something wrong when syncing the status. The issue happened
      before, I just cannot remember the exact bug ID, you should be
      able to find it by google. And here is the code,
<a href="https://github.com/openstack/magnum/blob/master/magnum/service/periodic.py#L159" target="_blank">https://github.com/openstack/magnum/blob/master/magnum/service/periodic.py#L159</a>
      you can just add some breakpoints to debug it, it shouldn't be
      hard. <br>
    </p>
    <p><br>
    </p>
    <div>On 15/09/21 8:54 pm, Karera Tony wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div class="gmail_default" style="font-size:small;color:rgb(68,68,68)">Dear
          Team,<br clear="all">
        </div>
        <div class="gmail_default" style="font-size:small;color:rgb(68,68,68)"><br>
        </div>
        <div class="gmail_default" style="font-size:small;color:rgb(68,68,68)">I
          have configured Magnum and I am able to kubernetes clusters
          and when I log in to the nodes everything is OK.</div>
        <div class="gmail_default" style="font-size:small;color:rgb(68,68,68)"><br>
        </div>
        <div class="gmail_default" style="font-size:small;color:rgb(68,68,68)">But
          Minus the first cluster I created which completed well as per
          the openstack coe cluster list command and the output on
          Horizon, the rest of the clusters get stack in
          CREATE_IN_PROGRESS .</div>
        <div class="gmail_default" style="font-size:small;color:rgb(68,68,68)"><br>
        </div>
        <div class="gmail_default" style="font-size:small;color:rgb(68,68,68)">Please
          check the below commands output and advise.</div>
        <div class="gmail_default" style="font-size:small;color:rgb(68,68,68)"><br>
        </div>
        <div class="gmail_default" style="font-size:small;color:rgb(68,68,68)">(kolla-openstack)
          stack@deployment:~$ openstack stack list<br>
+--------------------------------------+---------------------------+----------------------------------+-----------------+----------------------+--------------+<br>
          | ID                                   | Stack Name          
               | Project                          | Stack Status    |
          Creation Time        | Updated Time |<br>
+--------------------------------------+---------------------------+----------------------------------+-----------------+----------------------+--------------+<br>
          | e9bfad7c-c82e-4fc6-9f05-793b31631761 |
          k8s-cluster2-zsgfkrobjlw6 | 456586218b26442ebeff03643684faed |
          CREATE_COMPLETE | 2021-09-15T08:01:50Z | None         |<br>
          | 9dde1665-8e50-4482-a986-810eb2a9cbaa |
          k8s-cluster1-eogcos7ee3ub | 456586218b26442ebeff03643684faed |
          CREATE_COMPLETE | 2021-09-10T07:27:41Z | None         |<br>
+--------------------------------------+---------------------------+----------------------------------+-----------------+----------------------+--------------+<br>
          (kolla-openstack) stack@deployment:~$ openstack coe cluster
          list<br>
+--------------------------------------+--------------+---------+------------+--------------+--------------------+---------------+<br>
          | uuid                                 | name         |
          keypair | node_count | master_count | status             |
          health_status |<br>
+--------------------------------------+--------------+---------+------------+--------------+--------------------+---------------+<br>
          | 277e0047-4ae1-4006-869e-a824cc602bcc | k8s-cluster1 | Newkey
           |          2 |            1 | CREATE_COMPLETE    | HEALTHY  
              |<br>
          | 4336f9d9-9bea-477f-bc13-c16ff0f7e141 | k8s-cluster2 | Newkey
           |          2 |            1 | CREATE_IN_PROGRESS | None      
             |<br>
+--------------------------------------+--------------+---------+------------+--------------+--------------------+---------------+<br>
        </div>
        <div>
          <div dir="ltr">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div><font face="arial, sans-serif">Regards</font></div>
                    <div><font face="arial, sans-serif"><br>
                      </font></div>
                    <div dir="ltr"><font face="arial, sans-serif">Tony
                        Karera</font></div>
                    <div dir="ltr"><br>
                    </div>
                    <div><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <pre cols="72">-- 
Cheers & Best regards,
------------------------------------------------------------------------------
Feilong Wang (王飞龙) (he/him)
Head of Research & Development

Catalyst Cloud
Aotearoa's own

Mob: +64 21 0832 6348 | <a href="http://www.catalystcloud.nz" target="_blank">www.catalystcloud.nz</a>
Level 6, 150 Willis Street, Wellington 6011, New Zealand

CONFIDENTIALITY NOTICE: This email is intended for the named recipients only.
It may contain privileged, confidential or copyright information. If you are 
not the named recipient, any use, reliance upon, disclosure or copying of this 
email or its attachments is unauthorised. If you have received this email in 
error, please reply via email or call +64 21 0832 6348.
------------------------------------------------------------------------------</pre>
  </div>

</blockquote></div>