diff --git a/README.md b/README.md index 2ee278a7..984aa1ab 100644 --- a/README.md +++ b/README.md @@ -31,25 +31,23 @@ make openstack make openstack_deploy ``` -4.- Deploy dataplane operator +4.- Remove CeilometerCentral deployment ``` -DATAPLANE_SINGLE_NODE=false DATAPLANE_CHRONY_NTP_SERVER=clock.redhat.com make edpm_deploy +oc patch openstackcontrolplane openstack --type='json' -p='[{"op": "replace", "path": "/spec/ceilometer/enabled", "value":false}]' ``` -To know when dataplane-operator finishes, you have to keep looking at "dataplane-deployment-*" pods that keep appearing to run ansible on the compute nodes. They will appear one after the other. When those stop appearing, it is finished and we have a default openstack environment. - -Now, we proceed to run our own telemetry-operator instance: -5.- Remove telemetry-operator from the deployment +5.- Remove telemetry-operator from the deployments ``` make telemetry_cleanup ``` -6.- Remove CeilometerCentral deployment +6.- Deploy dataplane operator ``` -oc edit openstackcontrolplane - Search "ceilometer" - Set "enabled" to false +DATAPLANE_SINGLE_NODE=false DATAPLANE_CHRONY_NTP_SERVER=clock.redhat.com make edpm_deploy ``` +To know when dataplane-operator finishes, you have to keep looking at "dataplane-deployment-*" pods that keep appearing to run ansible on the compute nodes. They will appear one after the other. When those stop appearing, it is finished and we have a default openstack environment. + +Now, we proceed to run our own telemetry-operator instance: 7.- Deploy custom telemetry-operator version ``` @@ -69,6 +67,18 @@ oc apply -f config/samples/telemetry_v1beta1_ceilometercompute.yaml oc apply -f config/samples/telemetry_v1beta1_infracompute.yaml ``` +## Testing changes to edpm-ansible + +1.- Build your custom `openstack-ansibleee-runner` image using these [steps](https://github.com/openstack-k8s-operators/edpm-ansible/tree/main#build-and-push-the-openstack-ansibleee-runner-container-image) and push it to a registry + +2.- Override `DATAPLANE_RUNNER_IMG` and `ANSIBLEEE_IMAGE_URL_DEFAULT` when running `edpm_deploy` +``` +cd ~/install_yamls/ +DATAPLANE_RUNNER_IMG= ANSIBLEEE_IMAGE_URL_DEFAULT= make edpm_deploy +``` + +3.- During deployment `dataplane-deployment-*` pods would get spawned with the custom image. + ## Destroy the environment to start again ``` cd install_yamls/devsetup