Hi Tony,
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,
https://github.com/openstack/magnum/blob/master/magnum/service/periodic.py#L159
you can just add some breakpoints to debug it, it shouldn't be
hard.
Dear Team,
I have configured Magnum and I am able to kubernetes clusters and when I log in to the nodes everything is OK.
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 .
Please check the below commands output and advise.
(kolla-openstack) stack@deployment:~$ openstack stack list
+--------------------------------------+---------------------------+----------------------------------+-----------------+----------------------+--------------+
| ID | Stack Name | Project | Stack Status | Creation Time | Updated Time |
+--------------------------------------+---------------------------+----------------------------------+-----------------+----------------------+--------------+
| e9bfad7c-c82e-4fc6-9f05-793b31631761 | k8s-cluster2-zsgfkrobjlw6 | 456586218b26442ebeff03643684faed | CREATE_COMPLETE | 2021-09-15T08:01:50Z | None |
| 9dde1665-8e50-4482-a986-810eb2a9cbaa | k8s-cluster1-eogcos7ee3ub | 456586218b26442ebeff03643684faed | CREATE_COMPLETE | 2021-09-10T07:27:41Z | None |
+--------------------------------------+---------------------------+----------------------------------+-----------------+----------------------+--------------+
(kolla-openstack) stack@deployment:~$ openstack coe cluster list
+--------------------------------------+--------------+---------+------------+--------------+--------------------+---------------+
| uuid | name | keypair | node_count | master_count | status | health_status |
+--------------------------------------+--------------+---------+------------+--------------+--------------------+---------------+
| 277e0047-4ae1-4006-869e-a824cc602bcc | k8s-cluster1 | Newkey | 2 | 1 | CREATE_COMPLETE | HEALTHY |
| 4336f9d9-9bea-477f-bc13-c16ff0f7e141 | k8s-cluster2 | Newkey | 2 | 1 | CREATE_IN_PROGRESS | None |
+--------------------------------------+--------------+---------+------------+--------------+--------------------+---------------+
Regards
Tony Karera
-- Cheers & Best regards, ------------------------------------------------------------------------------ Feilong Wang (王飞龙) (he/him) Head of Research & Development Catalyst Cloud Aotearoa's own Mob: +64 21 0832 6348 | www.catalystcloud.nz 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. ------------------------------------------------------------------------------