Skip to content

Adjusts to test eBGP (different ASN values)#3900

Open
m-blue-m wants to merge 1 commit into
openstack-k8s-operators:mainfrom
m-blue-m:diff_asn_test_ebgp
Open

Adjusts to test eBGP (different ASN values)#3900
m-blue-m wants to merge 1 commit into
openstack-k8s-operators:mainfrom
m-blue-m:diff_asn_test_ebgp

Conversation

@m-blue-m

@m-blue-m m-blue-m commented May 5, 2026

Copy link
Copy Markdown
Contributor

Allow parameterized ASN (leaf_asn), downlink mode (downlink_remote_as). Conditional route-reflector-client for iBGP only.

Sets downlink_remote_as and leaf_asn according to destined ebgp_racks and ebgp_leaf_asn variables (changes both IPv4 and IPv6 renders).

Related: OSPRH-28085
Assisted-By: Claude Code

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/ce8db071384549baac5ee8a5d687102c

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 12m 20s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 28m 36s
cifmw-crc-podified-edpm-baremetal POST_FAILURE in 1h 39m 22s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 1h 59m 26s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 48s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 02s

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/d3733ff837e14435b4ca80d0465d2333

openstack-k8s-operators-content-provider FAILURE in 6m 51s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 51s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 11s

@openshift-ci

openshift-ci Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign valkyrie00 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Jun 27, 2026
Allow parameterized leaf ASN and downlink peering mode in the
leaf FRR template. Conditional graceful-shutdown and
route-reflector-client for iBGP racks only, since FRR rejects
route-reflector-client on eBGP peers (different ASN) and
graceful-shutdown is not applicable for eBGP during normal operation.

Adds ebgp_racks and ebgp_leaf_asn variables to control which
racks use eBGP and their leaf ASN (formula: 64999 - rack_id).
Applies to both IPv4 and IPv6 address families.

Adds bgp_dt02 template directory for ci_gen_kustomize_values.

Related: OSPRH-28085
Assisted-By: Claude Code
Signed-off-by: Maor Blaustein <mblue@redhat.com>
bgp router-id {{_router_id}}
{% endif %}
bgp log-neighbor-changes
{% if _downlink_as_mode == 'internal' %}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we were not sure whether this change is really needed.
Is it needed or can you remove it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right.
In theory and according to FRR docs, it is very likely to disrupt eBGP and already verified manually when this is removed that a few different tests pass in pod, but we thought it could relate to CI deployment service restart issues.
Currently waiting for testproject results which include current state of code, so I guess we can wait for it before merging, or if will fail and root caused to this, then of course I'll remove it.

@mtomaska mtomaska left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants