-
Notifications
You must be signed in to change notification settings - Fork 56
Cloudkitty to Genestack #1171
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
base: main
Are you sure you want to change the base?
Cloudkitty to Genestack #1171
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
functionally, this looks fine, however we need the boilerplate github actions added to validate the helm, kustomize, and potentially add it to the smoke tests
|
This PR pulls in multiple changes not related to the pr. please rebase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure that rabbitmq resources are managed by helm so the "helm.sh/resource-policy" can be enforced properly.
| metadata: | ||
| name: cloudkitty | ||
| namespace: openstack | ||
| annotations: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are missing the managed by helm-label here. similiar to this:
labels:
app.kubernetes.io/managed-by: "Helm"
annotations:
helm.sh/resource-policy: keep
meta.helm.sh/release-name: "cloudkitty"
meta.helm.sh/release-namespace: "openstack"
| metadata: | ||
| name: cloudkitty-vhost | ||
| namespace: openstack | ||
| annotations: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above here.
| metadata: | ||
| name: cloudkitty-queue | ||
| namespace: openstack | ||
| annotations: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above here.
| metadata: | ||
| name: cloudkitty-permission | ||
| namespace: openstack | ||
| annotations: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above here.
|
One more change, please take a look at an install script from another service to see the format and make sure to add the helm version of your servce in the helm-chart-versions.yaml. |
| SERVICE_CONFIG_DIR="/etc/genestack/helm-configs/cloudkitty" | ||
| BASE_OVERRIDES="/opt/genestack/base-helm-configs/cloudkitty/cloudkitty-helm-overrides.yaml" | ||
|
|
||
| HELM_CMD="helm upgrade --install cloudkitty openstack-helm/cloudkitty --version 2025.1.1+64dfa3fe4 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The helm version has been moved to genestack/helm-chart-versions.yaml. Please update this install script to conform with the standard (the other services).
|
and finally, the upstream helm chart starts only one cloudkitty process. |
Adding the rating service for Chargeback, recently added to openstack-helm. tested the deployment and api calls work. At this time there is no Skyline module for cloudkitty but there is a horizon dashboard module that should work.