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 all 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 @@ -1870,6 +1870,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 @@ -56,7 +56,7 @@ type OpenStackDataPlaneNodeSetSpec struct {
NetworkAttachments []string `json:"networkAttachments,omitempty"`

// +kubebuilder:validation:Optional
// +kubebuilder:default={configure-network,validate-network,download-cache,install-os,configure-os,run-os,ovn,libvirt,nova}
// +kubebuilder:default={configure-network,validate-network,download-cache,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 @@ -1870,6 +1870,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 @@ -18,6 +18,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
preProvisioned: true
nodes:
edpm-compute-0:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
baremetalSetTemplate:
bmhLabelSelector:
app: openstack
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
baremetalSetTemplate:
bmhLabelSelector:
app: openstack
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
nodes:
edpm-compute-0:
hostName: edpm-compute-0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
- ovn
- libvirt
- nova
- telemetry
nodes:
edpm-compute-0:
hostName: edpm-compute-0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: dataplane.openstack.org/v1beta1
kind: OpenStackDataPlaneService
metadata:
name: telemetry
spec:
label: dataplane-deployment-telemetry
secrets:
- ceilometer-compute-config-data
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 @@ -273,6 +273,7 @@ The output should be similar to:
ovn 6d6h
libvirt 6d6h
nova 6d6h
telemetry 6d6h

Each service uses the
[`playbook`](https://openstack-k8s-operators.github.io/openstack-ansibleee-operator/openstack_ansibleee/#playbook)
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
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ var _ = Describe("Dataplane NodeSet Test", func() {
"run-os",
"ovn",
"libvirt",
"nova"},
"nova",
"telemetry"},
}
Expect(dataplaneNodeSetInstance.Spec).Should(Equal(emptyNodeSpec))
})
Expand Down
Loading