-
Notifications
You must be signed in to change notification settings - Fork 87
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
BGP basic configurations #193
BGP basic configurations #193
Conversation
f9b0e6d
to
ab5ce64
Compare
ab5ce64
to
ae18746
Compare
Could we get various [1] https://github.com/openstack-k8s-operators/architecture/blob/main/examples/dt/uni01alpha/README.md |
yes, I'll update the PR with them |
5419af4
to
8cc383c
Compare
md files added. |
af73b0e
to
790baf5
Compare
The MD files look good |
@eduolivares This looks it's had some work behind it. Have you tested it or done any of the things from this doc? |
Yes. I tested this PR last week, using downstream jobs and it worked fine. Controlplane and Dataplane are successfully deployed. |
Awesome thanks! I'm satisfied with this PR since it contains automation changes, has been noted as being manually tested, and has self-contained changes that wouldn't affect base components (and thus VAs). |
Would you please rebase this PR on the main branch? Mainly you're missing this: #197 When I test your PR using the current VA1 commands [1] it fails to build.
|
Huh I'm surprised we don't get a button for that here. Maybe we need to enable the feature in GitHub that requests PRs be up to date against (I don't have admin permissions for this repo, so I can't enable it, or I would :)) |
examples/dt/bgp/dataplane.md
Outdated
``` | ||
Generate the dataplane CRs. | ||
``` | ||
kustomize build > dataplane.yaml |
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.
After rebasing on the main branch, this command will need to be updated since it will fail as below. Please split the dataplane nodeset and deployment into separate CR files.
[fultonj@runcible edpm{bgp-basic-config}]$ kustomize build > dataplane.yaml
Error: accumulating components: accumulateDirectory: "recursed accumulation of path '/home/fultonj/review/architecture/dt/bgp/edpm': accumulating components: accumulateDirectory: \"recursed accumulation of path '/home/fultonj/review/architecture/lib/dataplane': accumulating components: accumulateDirectory: \\\"recursed accumulation of path '/home/fultonj/review/architecture/lib/dataplane/nodeset': nothing selected by ConfigMap.[noVer].[noGrp]/edpm-nodeset-values.[noNs]:data.nodeset.ansible\\\"\""
[fultonj@runcible edpm{bgp-basic-config}]$
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.
I have provided a PR against the base repo/branch to implement the refactoring. Please give it a check if you have a chance: eduolivares#1
I do not have the Settings button to enable it either as described here. Rebasing via the CLI will work though (I always do it that way myself in order to resolve conflicts). |
Yea that works fine. It was nice with STF repos so we could just see when the PR was out of sync with a visual indicator :) |
We actually already have |
@abays yea that's the option I was referring to :) |
Cool. I enabled it now. |
790baf5
to
18a2869
Compare
FWIW I'm working on #193 (comment) as I hit the rebase button and broke this PR, so I'll submit another PR targeting this one with the expected changes. |
I opened eduolivares#1 against the base repo/branch to fix the test-kustomize failure I caused when I did the PR rebase against main. |
Running a d/s job to test @leifmadsen's dataplane split. |
9f0324e
to
5b3dbeb
Compare
OK, several issues have been fixed since last week:
Current version works. It has just been tested d/s and the deployment works. The tempest tests fail until we find a solution for [1], which is my next task. This PR is ready for reviews again and hopefully ready for merge. |
automation/vars/default.yaml
Outdated
values: | ||
- name: network-values | ||
src_file: nncp/values.yaml | ||
build_output: ../control-plane.yaml |
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.
This should maybe just be like this [1]?
[1]
build_output: control-plane.yaml |
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.
It might be better to put this in nodeset
instead of deployment
, because the other (normal) OpenStackDataPlaneService
s are created when the OpenStackDataPlaneNodeSet
is created [1][2].
[1] https://github.com/openstack-k8s-operators/dataplane-operator/blob/a1ed2be65e1f1ba6569afde0cea828d1ae8b3bb2/controllers/openstackdataplanenodeset_controller.go#L220-L230
[2] https://github.com/openstack-k8s-operators/dataplane-operator/blob/a1ed2be65e1f1ba6569afde0cea828d1ae8b3bb2/pkg/deployment/service.go#L75-L76
resources: | ||
- nova_custom.yaml |
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.
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.
It might be better to put this in nodeset
instead of deployment
, because the other (normal) OpenStackDataPlaneService
s are created when the OpenStackDataPlaneNodeSet
is created [1][2].
[1] https://github.com/openstack-k8s-operators/dataplane-operator/blob/a1ed2be65e1f1ba6569afde0cea828d1ae8b3bb2/controllers/openstackdataplanenodeset_controller.go#L220-L230
[2] https://github.com/openstack-k8s-operators/dataplane-operator/blob/a1ed2be65e1f1ba6569afde0cea828d1ae8b3bb2/pkg/deployment/service.go#L75-L76
This patch includes kustomizations required to deploy BGP at different levels: - metallb - nad - control-plane - edpm
169e7d4
to
427db7c
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.
/lgtm
This patch includes kustomizations required to deploy BGP at different levels: