Debug Your Astronomer Software installation
Use the information provided here when the Astronomer platform is not functioning as expected after you install it.
Houston and Grafana stuck in CrashLoopBackOff
When deploying the base Astronomer platform, the Houston (API) and Grafana pods connect directly to the database. All other database connections are created from Airflow deployments created on Astronomer.
If these pods do not come up in a healthy state, it is usually an issue with the database connection. See the following topics to confirm your connection.
Networking
Make sure that the Kubernetes cluster Astronomer is running on can connect to the database. Run the following comannd to start a postgresql
pod in your cluster and then connect to it:
If the connection times out, there may be a networking issue.
Verify the Secret
Check to make sure the astronomer-bootstrap
secret created earlier, which contains the connection string to the database, does not contain any typos:
To decrypt the astronomer-bootstrap
secret:
Now to see the secret in plaintext:
If there is a typo, delete the secret, recreate it with the right value, and then delete all the pods in the namespace.
Restarting the pods will force them to pick up the new value.
Houston and Astronomer Software x509 Certificate Signed by Unknown Authority error
Occasionally, the shared Houston and Astronomer Software registry Pod certificates fail to synchronize and the following error message appears:
To resolve this issue and clear the error message, restart the Houston pods and then the Astronomer Software registry Pod.