Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

add the telemetry to the default list of dataplane-operator services #392

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
items:
type: string
type: array
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/openstackdataplanenodeset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type OpenStackDataPlaneNodeSetSpec struct {
NetworkAttachments []string `json:"networkAttachments,omitempty"`

// +kubebuilder:validation:Optional
// +kubebuilder:default={configure-network,validate-network,install-os,configure-os,run-os,ovn,libvirt,nova}
// +kubebuilder:default={configure-network,validate-network,install-os,configure-os,run-os,ovn,libvirt,nova,telemetry}
// Services list
Services []string `json:"services"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
items:
type: string
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
preProvisioned: true
deployStrategy:
deploy: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
deployStrategy:
deploy: false
baremetalSetTemplate:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
deployStrategy:
deploy: true
baremetalSetTemplate:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
deployStrategy:
deploy: false
nodeTemplate:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
baremetalSetTemplate:
deploymentSSHSecret: dataplane-ansible-ssh-private-key-secret
bmhLabelSelector:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: dataplane.openstack.org/v1beta1
kind: OpenStackDataPlaneService
metadata:
name: telemetry
spec:
label: dataplane-deployment-telemetry
playbook: osp.edpm.telemetry
1 change: 1 addition & 0 deletions docs/deploying.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ The output should be similar to:
validate-network 6d6h
libvirt 6d6h
nova 6d6h
telemetry 6d6h

Each service uses the
[`role`](https://openstack-k8s-operators.github.io/openstack-ansibleee-operator/openstack_ansibleee/#role)
Expand Down
2 changes: 2 additions & 0 deletions docs/interacting_with_ansible.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Sample output when the default list of services:
dataplane-deployment-libvirt-edpm-compute True AnsibleExecutionJob complete
dataplane-deployment-nova-edpm-compute True AnsibleExecutionJob complete
dataplane-deployment-run-os-edpm-compute True AnsibleExecutionJob complete
dataplane-deployment-telemetry-edpm-compute True AnsibleExecutionJob complete
dataplane-deployment-validate-network-edpm-compute True AnsibleExecutionJob complete

Querying for pods with the OpenStackAnsibleEE label
Expand All @@ -54,6 +55,7 @@ Sample output:
dataplane-deployment-libvirt-edpm-compute 1/1 8s 2m35s
dataplane-deployment-nova-edpm-compute 1/1 8s 2m35s
dataplane-deployment-run-os-edpm-compute 1/1 8s 2m19s
dataplane-deployment-telemetry-edpm-compute 1/1 8s 2m35s
dataplane-deployment-validate-network-edpm-compute 1/1 8s 2m43s

Using the job name, the corresponding pod can be retrieved:
Expand Down