-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add role to setup neutron ovn agent #463
Add role to setup neutron ovn agent #463
Conversation
OVN NB and SB DB connection strings are exported with this secret as these are required by neutron-ovn-agent[1]. [1] openstack-k8s-operators/edpm-ansible#463 Related-Issue: OSP-26191
Depends-On: openstack-k8s-operators/neutron-operator#231 Depends-On: openstack-k8s-operators/edpm-ansible#463 Related-Issue: OSP-26191
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/9462442e1cfb4508afece94882335363 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 45m 42s |
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.
Great work. There is just one thing, I don't really think we need documentation for every single variable right away. But at least some of the more elaborate ones could use it. The desc doesn't have to be long. Just couple of words will suffice.
|
||
# rootwrap.conf | ||
edpm_neutron_ovn_agent_rootwrap_DEFAULT_filters_path: '/etc/neutron/rootwrap.d,/usr/share/neutron/rootwrap' | ||
edpm_neutron_ovn_agent_rootwrap_DEFAULT_exec_dirs: '/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin,/etc/neutron/kill_scripts' |
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 we don't spawn processes, then perhaps we don't need kill_scripts either
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.
right, removed.
- {'path': "{{ edpm_neutron_ovn_agent_config_dir }}"} | ||
- {'path': "/var/log/containers/neutron"} | ||
|
||
- name: Enable virt_sandbox_use_netlink for healthcheck |
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.
"healthcheck"? is it a proper description of the goal here? I think the idea is that the agent issues direct ip link
commands on VF representors (or PF? not sure) and hence needs access to this kernel capability. No?
I see the same description used in this repo and in other tripleo adjacent repos for different services, and I suspect it's a remnant from an initial copy-paste that now spread uncontrollably.
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.
Yes seems just a leftover, checked history:-
It was initially introduced with https://review.opendev.org/c/openstack/tripleo-heat-templates/+/629850, later ss usages were dropped with https://review.opendev.org/q/I137fe3211043b00b553db26b2f5930f98373496d and now healthcheck in full dropped openstack-k8s-operators/tcib#4 so it no longer needs required, will drop it.
OVN NB and SB DB connection strings are exported with this secret as these are required by neutron-ovn-agent[1]. [1] openstack-k8s-operators/edpm-ansible#463 Related-Issue: OSP-26191
This agent is used to provide QoS to hardware offloaded ports on the compute nodes. Related-Issue: OSP-26191
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.
Thanks for the changes.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jpodivin, karelyatin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
be9a3b4
into
openstack-k8s-operators:main
Depends-On: openstack-k8s-operators/neutron-operator#231 Depends-On: openstack-k8s-operators/edpm-ansible#463 Related-Issue: OSP-26191
Depends-On: openstack-k8s-operators/neutron-operator#231 Depends-On: openstack-k8s-operators/edpm-ansible#463 Related-Issue: OSP-26191
This agent is used to provide QoS to hardware offloaded ports on the compute nodes.
Related-Issue: OSP-26191