Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nomaxscale #257

Closed
wants to merge 11 commits into from
Closed

Nomaxscale #257

wants to merge 11 commits into from

Conversation

aedan
Copy link
Collaborator

@aedan aedan commented May 10, 2024

Removed maxscale from the picture and updated all openstack components to use a primary and secondary connection to talk to the DB

@LukeRepko
Copy link
Contributor

@aedan Can you rebase when you have some time? Maxscale removal is already merged. Also, I'm not seeing anything here that makes use of that secondary connection, is that still a WIP?

@aedan
Copy link
Collaborator Author

aedan commented May 10, 2024

the secondary goes into the docs. because it has to pull the secret during install
like this:

helm upgrade --install keystone ./keystone
--namespace=openstack
--wait
--timeout 120m
-f /opt/genestack/helm-configs/keystone/keystone-helm-overrides.yaml
--set endpoints.identity.auth.admin.password="$(kubectl --namespace openstack get secret keystone-admin -o jsonpath='{.data.password}' | base64 -d)"
--set endpoints.oslo_db.auth.admin.password="$(kubectl --namespace openstack get secret mariadb -o jsonpath='{.data.root-password}' | base64 -d)"
--set endpoints.oslo_db.auth.keystone.password="$(kubectl --namespace openstack get secret keystone-db-password -o jsonpath='{.data.password}' | base64 -d)"
--set endpoints.oslo_messaging.auth.admin.password="$(kubectl --namespace openstack get secret rabbitmq-default-user -o jsonpath='{.data.password}' | base64 -d)"
--set conf.keystone.database.slave_connection="mysql+pymysql://keystone:$(kubectl --namespace openstack get secret keystone-db-password -o jsonpath='{.data.password}' | base64 -d)@mariadb-galera-secondary.openstack.svc.cluster.local:3306/keystone"
--set endpoints.oslo_messaging.auth.keystone.password="$(kubectl --namespace openstack get secret keystone-rabbitmq-password -o jsonpath='{.data.password}' | base64 -d)"
--post-renderer /opt/genestack/kustomize/kustomize.sh
--post-renderer-args keystone/base

@aedan
Copy link
Collaborator Author

aedan commented May 13, 2024

Most of the maxscale removal is already in main. Closing and will add what is still needed in a different PR.

@aedan aedan closed this May 13, 2024
@aedan aedan deleted the nomaxscale branch May 13, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants