-
Notifications
You must be signed in to change notification settings - Fork 100
Adding networker ovs dpdk CR #1280
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?
Adding networker ovs dpdk CR #1280
Conversation
1b70b33 to
6de2309
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/69056a251ac840629e73619e1bc58c24 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 10m 19s |
6de2309 to
5206594
Compare
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 global diff should be similar to a diff between a classic compute node nic-config vs a dpdk-enabled compute node nic-config.
| - type: ovs_bridge | ||
| name: {{ neutron_physical_bridge_name }} | ||
| mtu: {{ min_viable_mtu }} | ||
| use_dhcp: false | ||
| dns_servers: {{ ctlplane_dns_nameservers }} | ||
| domain: {{ dns_search_domains }} | ||
| addresses: | ||
| - ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_cidr }} | ||
| routes: {{ ctlplane_host_routes }} | ||
| members: | ||
| - type: interface | ||
| name: nic1 | ||
| mtu: {{ min_viable_mtu }} | ||
| # force the MAC address of the bridge to this interface | ||
| primary: true | ||
| {% for network in nodeset_networks if network not in ["external", "tenant"] %} | ||
| - type: vlan | ||
| mtu: {{ lookup('vars', networks_lower[network] ~ '_mtu') }} | ||
| vlan_id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }} | ||
| addresses: | ||
| - ip_netmask: | ||
| {{ lookup('vars', networks_lower[network] ~ '_ip') }}/{{ lookup('vars', networks_lower[network] ~ '_cidr') }} | ||
| routes: {{ lookup('vars', networks_lower[network] ~ '_host_routes') }} | ||
| {% endfor %} |
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 must not mix ovs_bridge and ovs_user_bridge in a single deployment.
Here, we should have the control plane on top of a linux interface or a linux bond:
- type: interface
name: nic1
mtu: {{ ctlplane_mtu }}
use_dhcp: false
addresses:
- ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_cidr }}
routes: {{ ctlplane_host_routes }}
- type: linux_bond
name: bond_api
mtu: {{ min_viable_mtu }}
bonding_options: {{ edpm_bond_interface_ovs_options }}
use_dhcp: false
dns_servers: {{ ctlplane_dns_nameservers }}
members:
- type: interface
name: nic2
mtu: {{ min_viable_mtu }}
primary: true
- type: interface
name: nic3
mtu: {{ min_viable_mtu }}
Then you'd add additional vlans (if required) for the other osp networks {% if network not in ["external", "tenant"] %}
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 must not mix ovs_bridge and ovs_user_bridge in a single deployment. Here, we should have the control plane on top of a linux interface or a linux bond:
- type: interface name: nic1 mtu: {{ ctlplane_mtu }} use_dhcp: false addresses: - ip_netmask: {{ ctlplane_ip }}/{{ ctlplane_cidr }} routes: {{ ctlplane_host_routes }} - type: linux_bond name: bond_api mtu: {{ min_viable_mtu }} bonding_options: {{ edpm_bond_interface_ovs_options }} use_dhcp: false dns_servers: {{ ctlplane_dns_nameservers }} members: - type: interface name: nic2 mtu: {{ min_viable_mtu }} primary: true - type: interface name: nic3 mtu: {{ min_viable_mtu }}Then you'd add additional vlans (if required) for the other osp networks
{% if network not in ["external", "tenant"] %}
done
|
@christophefontaine: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
bcf917d to
a6d3b76
Compare
a6d3b76 to
b701942
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Jaganathancse The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e05774e to
384a0c8
Compare
done |
384a0c8 to
a007c7e
Compare
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.
quick review, looks good to me.
| - type: ovs_dpdk_bond | ||
| name: dpdkbond0 | ||
| mtu: 9000 | ||
| rx_queue: 4 |
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.
If my calculation is correct, we have 24 queues, and 34 pmd threads for ovs, right ?
If we hit any performance limit (and I doubt that we will with 10Gb interfaces), keep in mind that we can still increase the number of queues to spread the load.
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.
If my calculation is correct, we have 24 queues, and 34 pmd threads for ovs, right ? If we hit any performance limit (and I doubt that we will with 10Gb interfaces), keep in mind that we can still increase the number of queues to spread the load.
ack
31cb949 to
7176a78
Compare
|
recheck |
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.
ack. lgtm.
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/f68fc3ea1ef646aa9f43a384300f2c42 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 07m 16s |
|
recheck |
1 similar comment
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/3dd23c7785de41a793e818791f73ad55 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 43m 54s |
7176a78 to
86acb78
Compare
This changes to add new nodeset CR for networker ovs dpdk.
86acb78 to
3561d1b
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/48d08eb74349485a96fc41d274c4a952 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 49m 05s |
|
@Jaganathancse: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This changes to add new nodeset CR for networker ovs dpdk.