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

Add neutron-ovn service to deploy this agent on EDP Nodes #477

Closed
wants to merge 1 commit into from
Closed
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
@@ -0,0 +1,9 @@
apiVersion: dataplane.openstack.org/v1beta1
kind: OpenStackDataPlaneService
metadata:
name: neutron-ovn
spec:
label: dataplane-deployment-neutron-ovn
playbook: osp.edpm.neutron_ovn
secrets:
- neutron-ovn-agent-neutron-config
7 changes: 7 additions & 0 deletions docs/composable_services.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ Include this service to run Neutron OVN Metadata agent on the EDPM nodes. This a
services:
- neutron-metadata

### neutron-ovn

Include this service to run Neutron OVN agent on the EDPM nodes. This agent is needed to provide QoS to hardware offloaded ports on the compute nodes.

services:
- neutron-ovn

### neutron-dhcp

Include this service to run Neutron DHCP agent on the EDPM nodes. This agent is needed in some cases not supported by the native OVN DHCP implementation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
- run-os
- ovn
- neutron-metadata
- neutron-ovn
- neutron-sriov
- neutron-dhcp
- libvirt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ data:
---
apiVersion: v1
kind: Secret
metadata:
name: neutron-ovn-agent-neutron-config
data:
10-neutron-ovn.conf: dGVzdC1uZXV0cm9uLW92bi1hZ2VudC1jb25maWc=
---
---
apiVersion: v1
kind: Secret
metadata:
name: neutron-sriov-agent-neutron-config
data:
Expand Down Expand Up @@ -65,6 +73,7 @@ spec:
- run-os
- ovn
- neutron-metadata
- neutron-ovn
- neutron-sriov
- neutron-dhcp
- libvirt
Expand Down
63 changes: 63 additions & 0 deletions tests/kuttl/tests/dataplane-deploy-no-nodes-test/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
- run-os
- ovn
- neutron-metadata
- neutron-ovn
- neutron-sriov
- neutron-dhcp
- libvirt
Expand Down Expand Up @@ -534,6 +535,68 @@ status:
---
apiVersion: ansibleee.openstack.org/v1alpha1
kind: OpenStackAnsibleEE
metadata:
generation: 1
name: dataplane-deployment-neutron-ovn-edpm-compute-no-nodes
namespace: openstack
ownerReferences:
- apiVersion: dataplane.openstack.org/v1beta1
blockOwnerDeletion: true
controller: true
kind: OpenStackDataPlaneDeployment
name: edpm-compute-no-nodes
spec:
backoffLimit: 6
extraMounts:
- mounts:
- mountPath: /var/lib/openstack/configs/neutron-ovn/10-neutron-ovn.conf
name: neutron-ovn-agent-neutron-config-0
subPath: 10-neutron-ovn.conf
volumes:
- secret:
items:
- key: 10-neutron-ovn.conf
path: 10-neutron-ovn.conf
secretName: neutron-ovn-agent-neutron-config
name: neutron-ovn-agent-neutron-config-0
- mounts:
- mountPath: /runner/env/ssh_key
name: ssh-key
subPath: ssh_key
- mountPath: /runner/inventory/hosts
name: inventory
subPath: inventory
volumes:
- name: ssh-key
secret:
items:
- key: ssh-privatekey
path: ssh_key
secretName: dataplane-ansible-ssh-private-key-secret
- name: inventory
secret:
items:
- key: inventory
path: inventory
secretName: dataplanenodeset-edpm-compute-no-nodes
name: openstackansibleee
restartPolicy: Never
playbook: osp.edpm.neutron_ovn
uid: 1001
status:
JobStatus: Succeeded
conditions:
- message: AnsibleExecutionJob complete
reason: Ready
status: "True"
type: Ready
- message: AnsibleExecutionJob complete
reason: Ready
status: "True"
type: AnsibleExecutionJobReady
---
apiVersion: ansibleee.openstack.org/v1alpha1
kind: OpenStackAnsibleEE
metadata:
generation: 1
name: dataplane-deployment-neutron-sriov-edpm-compute-no-nodes
Expand Down
Loading