openstack terraform fails due to "temporary overloading or maintenance" Keystone fails to connect to mysql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
New
|
Undecided
|
Unassigned |
Bug Description
testing the openstack snap from rev 332 with 3 dedicated control instances and 3 instances running as compute/storage:
2023-11-30-00:57:34 root DEBUG ┏━━━━━━
2023-11-30-00:57:34 root DEBUG ┃ Node ┃ Status ┃ Control ┃ Compute ┃ Storage ┃
2023-11-30-00:57:34 root DEBUG ┡━━━━━━
2023-11-30-00:57:34 root DEBUG │ solqa-lab1-
2023-11-30-00:57:34 root DEBUG │ solqa-lab1-
2023-11-30-00:57:34 root DEBUG │ solqa-lab1-
2023-11-30-00:57:34 root DEBUG │ solqa-lab1-
2023-11-30-00:57:34 root DEBUG │ solqa-lab1-
2023-11-30-00:57:34 root DEBUG │ solqa-lab1-
2023-11-30-00:57:34 root DEBUG └──────
The deployment comes up and is happily idle before running the terraform to configure flavors and images. While running the terraform for creating the images, the code errored out and reported:
Error: Error creating openstack_
with openstack_
on main.tf line 22, in resource "openstack_
22: resource "openstack_
and similar errors for different images and networks.
Looking at the openstack logs, near the timing where this happened the primary keystone unit reports that it got connection refused to the mysql-router and mysql. The whole traceback is too long to post, but the key bits at the end are:
2023-11-
2023-11-
The MSQL router for keystone, and MYSQL for Keystone both look to be healthy, and I was unable to find many more errors inside the logs that looked relevant.
I wonder if the right approach is to retry the configuration, but understanding why Keystone lost connection seems relevant.
The testrun with this error can be found at:
https:/
and the logs can be found at:
https:/