Skip to content
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

SDN-5297,SDN-5508: DownStream Merge Sync from 4.18 [01-07-2025] #2410

Open
wants to merge 474 commits into
base: release-4.17
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
474 commits
Select commit Hold shift + click to select a range
3947ce1
Log the error when stopping node network controller manager
ricky-rav Sep 11, 2024
fa2ae0c
Merge local and shared gateway code
ricky-rav Sep 12, 2024
303dd18
Split initGateway()
ricky-rav Sep 18, 2024
1490c66
Split Default Node Network Controller Start()
ricky-rav Oct 4, 2024
e6f2c88
Better error reporting in syncNodeManagementPort
ricky-rav Oct 9, 2024
11d8ce9
E2E code: use one const for ovnk namespace across all tests
ricky-rav Oct 14, 2024
cadb2d7
E2E test: restart ovnk after applying UDN & service
ricky-rav Oct 14, 2024
c32525b
Only enable Hybrid Overlay in CI lanes when IPv4 is enabled
ricky-rav Oct 22, 2024
5a2a613
Egress node: add default route to external also in update path
ricky-rav Oct 22, 2024
8551af5
Merge pull request #4734 from ricky-rav/OCPBUGS-41499_new
trozet Oct 22, 2024
fed46ec
Remove PreStart from NetworkController interface
jcaamano Oct 23, 2024
43e1f0e
Set shard-conformance timeout lower tham github timeout
jcaamano Oct 23, 2024
1404070
Merge pull request #4801 from jcaamano/no-prestart-please
trozet Oct 23, 2024
d20b221
Add hybird overlay pod IPs to the namespace address_set
pliurh Sep 26, 2024
31585aa
Merge pull request #4802 from jcaamano/shard-conformance-timeout
tssurya Oct 24, 2024
8633457
Remove 5hours of sleeping time from e2e
tssurya Oct 24, 2024
9e9c839
Merge pull request #4803 from tssurya/multicast-e2e-stupidity-from-surya
trozet Oct 24, 2024
0315075
Merge pull request #4796 from trozet/suppress_moar_errors
tssurya Oct 25, 2024
8b94231
HACK: Update podSubnet for lexocographical correctness
tssurya Oct 22, 2024
cf93f2e
Convert updateNetworkIDsAnnotation to updateNetworkAnnotation
tssurya Oct 23, 2024
e6ba13e
Add udn-l2-node-gateway-router-lrp-tunnel-ids annotation
tssurya Oct 23, 2024
4e75e3e
UDN,L2: Ensure CM allocates tunnelIDs for nodes and pods
tssurya Oct 23, 2024
f6fd10d
UDN: L2: Add missing remote LRPs
tssurya Oct 23, 2024
02147ef
Add support for external->svc on L2 UDNs
tssurya Oct 23, 2024
064f35e
Enable IP forwarding on the UDN management interface
kyrtapz Oct 25, 2024
2643dab
localnet, multi-homing: introduce localnet alias
maiqueb Apr 30, 2024
f68e6fd
localnet, tests: add e2e tests to share bridge mappings
maiqueb Oct 1, 2024
8469e9b
docs, localnet: document the physicalNetworkName attr
maiqueb Oct 24, 2024
ed52610
Merge pull request #4777 from tssurya/missing-remote-lrp-on-l2-udns
trozet Oct 25, 2024
e27299e
Merge pull request #4751 from pliurh/hybrid_overlay
trozet Oct 28, 2024
2b4bfd5
allow UDN network isolation tests to select clusters CIDR family
JacobTanenbaum Oct 28, 2024
cf4c7db
add correct cidr family to service network isolation tests for UDN
JacobTanenbaum Oct 28, 2024
6170c16
add an ipv4 single stack CI lane for network-segmentation
JacobTanenbaum Oct 28, 2024
0a7987e
Merge pull request #4778 from pperiyasamy/fix-incorrect-vrf-reconcile
tssurya Oct 28, 2024
0bbcaea
Merge pull request #4808 from JacobTanenbaum/UDN-testing
trozet Oct 28, 2024
f02a9d1
Dont modify pod routes in tests
trozet Oct 28, 2024
95bf377
Adds startup probe to UDN e2e
trozet Oct 28, 2024
d2e8c22
Merge pull request #4809 from trozet/fix_segmentation_isolation_test
tssurya Oct 28, 2024
9e49c0c
Merge pull request #4811 from trozet/fix_startup_probe
tssurya Oct 29, 2024
2c2f868
nit fixes in docs
tssurya Oct 29, 2024
7ce7e3c
Only configure IPv6 RAs when ipv6 mode enabled
trozet Oct 28, 2024
afcd8cb
Merge pull request #4805 from kyrtapz/udn_mpx_forwarding
trozet Oct 29, 2024
a68ef49
Merge pull request #4810 from trozet/fix_ipv6_lla
trozet Oct 30, 2024
be1e698
e2e flake fix: kubevirt
flavio-fernandes Oct 3, 2024
fdcbde9
Merge pull request #2314 from trozet/merge-10-8-24
openshift-merge-bot[bot] Oct 31, 2024
555fd12
Downstream Merge Oct 31st 2024
jluhrsen Oct 31, 2024
b2ca695
change PR template to be checklist
tssurya Nov 3, 2024
5827107
cluster manager: the Start method is topology agnostic
maiqueb Oct 31, 2024
a5ac6a3
network manager: ignore topology not managed errors
maiqueb Oct 31, 2024
38be918
OKD-227: bump ovn version to 24.09.0-41 for OKD
Prashanth684 Oct 21, 2024
9331fc4
Merge pull request #4755 from flavio-fernandes/e2e-kubevirt-flake
trozet Nov 4, 2024
b31afc4
crds: Introduce ClusterUserDefinedNetwork CRD
ormergi Jul 21, 2024
217d69b
kind: Install ClusterUserDefinedNetwork CRD
ormergi Jul 21, 2024
3ee9611
informers, factory: Setup CUDN informers
ormergi Aug 14, 2024
cd52bd0
udn,template: Enable NAD rendering for CUDN objects
ormergi Sep 3, 2024
8b8f353
udn controller: Export NAD validations code
ormergi Sep 3, 2024
245f254
udn controller: Export NAD create & delete code
ormergi Sep 12, 2024
794fbb4
udn controller: Delete NAD explicitly
ormergi Sep 13, 2024
b9513a7
udn controller: Simplify reconcile function
ormergi Sep 12, 2024
e67ffcb
utils,fake client: Populate NAD fake-client tracker
ormergi Oct 8, 2024
ce78ab1
udn controller,tests: Simplify tests setup
ormergi Sep 25, 2024
7f5e251
cluster-udn: Cluster UDN controller scaffolds
ormergi Sep 12, 2024
1e9dd35
cluster-udn: Implement CUDN controller
ormergi Sep 13, 2024
cc7fa0f
udn controller: Reconcile affected namespaces events
ormergi Sep 13, 2024
c55f02c
cluster-udn: Enqueue NAD events in the right controller
ormergi Sep 17, 2024
39e7e57
udn controller: Synchronize NAD creation
ormergi Sep 17, 2024
d5ebf1f
e2e,net-seg: Add Cluster UDN controller func. tests
ormergi Sep 1, 2024
9093fb6
e2e,net-seg,cluster-udn: connectivity,isolation & pod2egress coverage
ormergi Sep 9, 2024
6e422b3
udn controller: Initialize namespace-tracker on start
ormergi Oct 7, 2024
c6a2012
Merge pull request #4814 from tssurya/change-PR-template-to-be-easy
tssurya Nov 5, 2024
c3dc7d4
Merge pull request #2334 from jluhrsen/merge-10-31-24
openshift-merge-bot[bot] Nov 5, 2024
2372fca
Repo migration updates
trozet Nov 5, 2024
ffddd06
Merge pull request #4612 from ormergi/cluster-udn
trozet Nov 6, 2024
e3c68e2
Merge pull request #2327 from Prashanth684/okd
openshift-merge-bot[bot] Nov 6, 2024
a6247a2
nit: Remove unnecessary checks
tssurya Nov 5, 2024
f4941d4
Revert "HACK: Update podSubnet for lexocographical correctness"
tssurya Nov 5, 2024
192138e
Merge pull request #4820 from trozet/test_pr_migrate
trozet Nov 7, 2024
37527d3
docs, api-reference: Update UDN content
ormergi Nov 7, 2024
61ede88
Fixes auto-assignment of reviewers after repo migration
trozet Nov 8, 2024
f9fa20e
Release IDs only for primary L2 UDNs
tssurya Nov 9, 2024
9996174
Merge pull request #4826 from trozet/fix_auto_assignment_reviewers
trozet Nov 9, 2024
9cfeb1f
kind,ic: Improve redeploy speed
oshoval Nov 11, 2024
bfb1672
NAD validations: Fix typo in error message
ormergi Nov 10, 2024
cbd41e9
Merge pull request #4827 from tssurya/fix-panic-udn
trozet Nov 11, 2024
f25ef77
Merge pull request #2319 from dceara/bump-ovn24.09-33
openshift-merge-bot[bot] Nov 11, 2024
59976bb
Merge remote-tracking branch 'upstream/master' into ds-merge-11-11-2024
maiqueb Nov 11, 2024
d604d59
Fixes unexpected mp0 route removal during start up
trozet Nov 8, 2024
9695576
Merge pull request #4825 from trozet/fix_mp0_flush_on_restart
trozet Nov 12, 2024
0552594
Use joinIP as lb_force_snat_ip in L2 UDNs
tssurya Nov 5, 2024
a028583
Do not use LB templates with UDNs
trozet Nov 11, 2024
40d30f6
node network controller: Add CUDN check to GetActiveNetworkForNamespace
ormergi Nov 12, 2024
bc6bb3e
ipam: Fix init flow in case there are sticky ips in the system
oshoval Nov 7, 2024
75f86a3
Merge pull request #4819 from tssurya/fix-router-ip-on-mulitple-netwo…
trozet Nov 13, 2024
debbd1f
UDN: Patch Kubevirt CR to support managedTap binding
oshoval Oct 13, 2024
5c674d9
UDN: Adapt tests to use managedTap instead passt
oshoval Oct 13, 2024
01eaae1
Make sure nftables binaries are available everywhere
danwinship May 29, 2024
0258a3e
Import knftables package, add pkg/node/nftables/
danwinship Oct 20, 2023
4f5b176
Port management-port-related iptables rules to nftables.
danwinship Nov 29, 2023
99c44e8
Merge pull request #2345 from maiqueb/ds-merge-11-11-2024
openshift-merge-bot[bot] Nov 13, 2024
ad62a1f
Merge pull request #4823 from oshoval/fix_sync
trozet Nov 14, 2024
7b50659
Merge pull request #4773 from oshoval/mantap
trozet Nov 14, 2024
00dcad8
Merge pull request #3709 from danwinship/nftables
trozet Nov 14, 2024
e27e6a3
ip allocator: rename AllocateIPs method
maiqueb Nov 15, 2024
74c0816
Merge remote-tracking branch 'ovn-org/master' into merge-11-15-24
jluhrsen Nov 15, 2024
bb06f37
Merge pull request #4828 from ormergi/nad-valid-error-typo-fix
tssurya Nov 19, 2024
bcdb990
Fix predicate for cluster subnet route to gateway router
ricky-rav Oct 25, 2024
e326408
Add license scan report and status
fossabot Nov 13, 2024
1606de0
cluster manager, tests: ignore topology not managed errors
maiqueb Oct 31, 2024
96cb144
net-attach-def-controller, tests: ignore topology not managed errors
maiqueb Nov 5, 2024
f369f78
Merge pull request #4815 from maiqueb/add-cluster-manager-localnet-un…
tssurya Nov 25, 2024
094e36c
Do not configure ports for host-networked pods in secondary networks
kyrtapz Nov 25, 2024
a0c04e4
Observability: change decode funcs to provide structured data
jotak Oct 9, 2024
cbeb73a
Add String() to intf model.NetworkEvent
jotak Nov 13, 2024
2803f9e
Remove dependency to libovsdbutil
jotak Nov 13, 2024
cace29d
Parameterize NetpolNodeOwnerType
jotak Nov 14, 2024
b5f907b
Namespaced netpol: split name by ":"
jotak Nov 18, 2024
7a84859
Use explicit decoded.String() on sample logging
jotak Nov 21, 2024
c95491e
Return error for unexpected ObjectName
jotak Nov 26, 2024
1b132bd
test, multicast: Run tcpdump on all interfaces in IGMP query test.
dceara Oct 23, 2024
2955fe5
bnc: Move cluster port group create to base controller
qinqon Jul 22, 2024
31be584
udn, test: Allow secondary network tests to check for cluster port gr…
dceara Oct 23, 2024
6d8fd3e
udn: Create UDN L2 management port only for primary networks.
dceara Oct 23, 2024
3a513c8
bnc, udn: Create cluster port groups l2/l3
qinqon Jul 22, 2024
8fb3afa
bnc, udn: Add primary user defined network management port to cluster…
dceara Oct 22, 2024
d503c83
netpol, udn: Add ACL for LB hairpin traffic for UDN.
dceara Oct 22, 2024
199fcbe
multicast, e2e: Move tests to helper functions
qinqon Jul 17, 2024
3039781
multicast, udn, e2e: Add UDP test
qinqon Jul 19, 2024
d1e1eb6
multicast, udn, e2e: Add IGMP test
qinqon Jul 24, 2024
de8a230
ci, udn: Enable multicast for network segmentation CI jobs.
qinqon Jul 19, 2024
a5b67d4
multicast, udn: Allow for primary UDN l2/l3
qinqon Jul 22, 2024
d01b05d
multicast: Move default multicast policies to base controller
qinqon Jul 22, 2024
c022ff7
multicast, udn: Add default cluster ACLs l2/l3
qinqon Jul 23, 2024
321d6fc
multicast, udn: Add ports to namespace port group
qinqon Jul 23, 2024
afdd7bd
multicast, udn: Adapt existing default network unit tests for UDN too.
qinqon Jul 24, 2024
067bac8
Merge pull request #4843 from ricky-rav/OCPBUGS-32754bis
trozet Nov 26, 2024
9cf5a77
Merge pull request #4797 from dceara/udn-multicast
trozet Nov 26, 2024
74b1046
Fix issues with ovnkube-identity pod deletion in kind clusters
flavio-fernandes Nov 27, 2024
145edb9
Call PrepareTestConfig for healthcheck and DPU tests.
npinaeva Sep 2, 2024
d8d6de2
kind.sh fix: delete kind cluster with given name instead of "ovn".
npinaeva Sep 1, 2024
070f311
vendor in systemd listener
npinaeva Aug 21, 2024
6d091b9
Mount systemd/private to the ovnkube containers.
npinaeva Oct 11, 2024
9fadda4
Handle mirrored endpointslices in gateway.go
kyrtapz Oct 11, 2024
e32e546
UDN: Add routes for cluster subnet and masquerade IP in ETP=Local
kyrtapz Oct 14, 2024
931facb
Generate a packet mark for every UDN gateway
kyrtapz Oct 15, 2024
ab27443
Add static MAC bidnings for host masquerade IPs in UDN
kyrtapz Oct 22, 2024
9b490b5
Fix UDN enabled services flow removal
kyrtapz Nov 22, 2024
4543821
Mark packets destined for externally exposed services
kyrtapz Nov 28, 2024
e8d7435
udn controller, tests: Fix flake where pods not exist yet
ormergi Nov 10, 2024
c4b054a
Ensure UDN namespace is configured when MutiNetPolicy is disabled
pperiyasamy Oct 21, 2024
7b6de10
Add unit test for multinet policy disabled scenario
pperiyasamy Nov 20, 2024
166aec0
Update multi-homed unit tests for Network Policy
pperiyasamy Nov 25, 2024
a13b597
make dnf get through repo troubles faster
jluhrsen Nov 26, 2024
6857a50
Update ubuntu version to 24.10
crnithya Dec 2, 2024
7fa3360
pin libreswan to 4.6-3.el9_0.3
zshi-redhat Dec 3, 2024
cb68205
Merge pull request #4789 from pperiyasamy/remove-multinetpolicy-check…
tssurya Dec 3, 2024
e52182e
gateway_udn: Don't bail out early when waiting for UDN patch ports.
dceara Dec 4, 2024
f0a1e66
gateway: Access default net config under bridge lock.
dceara Dec 4, 2024
36973ca
Merge pull request #2367 from jluhrsen/faster-with-dnf-errors
openshift-merge-bot[bot] Dec 4, 2024
033c0c4
Merge pull request #4862 from dceara/fix-udn-gateway-ofport-retry
tssurya Dec 4, 2024
ce53b8b
Merge pull request #4864 from dceara/fix-node-services-of-race
tssurya Dec 4, 2024
f42eea6
Merge pull request #4792 from kyrtapz/ext_svc_udn_lgw
trozet Dec 4, 2024
be2dfda
Merge pull request #4848 from kyrtapz/ignore_host_net_pods
tssurya Dec 4, 2024
ab2bcf2
Merge remote-tracking branch 'ovn-org/master' into d/s-merge-12-4-2024
jluhrsen Dec 5, 2024
5b62be5
Add host isolation for UDN pods.
npinaeva Oct 14, 2024
ef426f1
node UDN isolation: make nft container more generic.
npinaeva Oct 16, 2024
bbfc471
node UDN isolation: handle open ports annotation on UDN pods.
npinaeva Oct 16, 2024
a822445
host isolation, open ports: add e2e
npinaeva Oct 16, 2024
d87f480
Add option to disable udn-host-isolation.
npinaeva Nov 29, 2024
b21e935
Merge pull request #4832 from ormergi/nad-ctrl-cudn-primary-network-c…
trozet Dec 5, 2024
7d0d0a0
Merge pull request #4799 from npinaeva/udn-isolate-kubelet
trozet Dec 5, 2024
40053ba
crd, udn: Improve minimum MTU validations
ormergi Aug 28, 2024
3cfbbce
Merge pull request #4824 from ormergi/cudn-api-ref
tssurya Dec 5, 2024
9935b83
Merge pull request #4853 from flavio-fernandes/e2e-control-plane-ovnk…
trozet Dec 5, 2024
9ac6407
Merge pull request #4831 from oshoval/max
trozet Dec 5, 2024
9c19fb9
Merge pull request #4812 from tssurya/nit-fixes-docs
trozet Dec 5, 2024
a5292b1
Fix the port value used for marking externally exposed services
kyrtapz Dec 6, 2024
d181a7c
Use libovsdb package for collecting ovs metrics
crnithya Aug 3, 2024
fff8f39
use libovsdb for OVN metrics
crnithya Sep 15, 2024
8cfdbf7
Merge pull request #4872 from kyrtapz/fix_udn_extsvc
tssurya Dec 6, 2024
8457578
Fix a bug in FakeIPTables and a resulting bug in egressservice.Contro…
danwinship Dec 5, 2024
3e7c95d
Merge pull request #4637 from crnithya/libovsdb_metrics
trozet Dec 8, 2024
c2407a2
Merge pull request #4868 from danwinship/egress-service-repair
trozet Dec 8, 2024
de402c9
Merge pull request #4840 from maiqueb/rename-allocate-ips
trozet Dec 8, 2024
97a2e6b
Merge pull request #2375 from zshi-redhat/4.19.0-libreswan-4.6-3.el9_0.3
openshift-merge-bot[bot] Dec 9, 2024
776e76a
pin libreswan to 4.6-3.el9_0.3
zshi-redhat Dec 3, 2024
5fda1fe
Merge pull request #2383 from openshift-cherrypick-robot/cherry-pick-…
openshift-merge-bot[bot] Dec 9, 2024
dfa9d87
fixes overzealous deletion of SNAT in egressIP
JacobTanenbaum Sep 3, 2024
527030e
Extract EIP controller logical from DNC
martinkennelly Oct 26, 2024
1fcecc5
EIP CM: rename "allocator" EIP node cache
martinkennelly Jul 8, 2024
4cc8601
EIP CM: add pkt mark to annotations
martinkennelly Jul 9, 2024
7a36fc2
EIP OVN Controller: store assigned pod IPs instead of lookup
martinkennelly Jul 9, 2024
b098bc6
Expose UDN enabled svcs as address set
martinkennelly Oct 26, 2024
1642012
EIP OVN: prepare OVN contructs for multi network
martinkennelly Oct 26, 2024
c2865df
Merge remote-tracking branch 'ovn-org/master' into merge-11-15-24
jluhrsen Dec 9, 2024
1bc9317
Bump OVS version to 3.4.0-18
zshi-redhat Dec 10, 2024
1c1f893
EIP OVN: make controller multi net aware & consider pkt mark
martinkennelly Oct 26, 2024
ed112c0
Default bridge: add EIP SNAT
martinkennelly Jul 13, 2024
728a1ec
Libovsdb LRPs cache dupe ops check: add Ext IDs field
martinkennelly Jul 22, 2024
c22cce2
Fake OVN: respect fake address set choice for secondary controller
martinkennelly Jul 22, 2024
1c0a5a0
EIP Multi NIC: do not config role primary secondary network namespaces
martinkennelly Jul 24, 2024
431342f
Add e2es for UDN
martinkennelly Aug 26, 2024
3cbe611
EIP e2es: test EIP selecting multiple ns with multiple primary networks
martinkennelly Sep 2, 2024
064e01a
EIP E2Es: skip a set of tests if net seg flag isn't present
martinkennelly Oct 17, 2024
86e8aca
Go mod tidy & go mod vendor
martinkennelly Oct 30, 2024
5c2e6d2
Temp: skip esvc test
martinkennelly Oct 30, 2024
9d0e46a
Patch vm migration code to ignore lrps without a zone
martinkennelly Nov 12, 2024
f26811f
EIP OVN: enhance logging and ensure its network aware
martinkennelly Nov 13, 2024
0bdc653
Update docs for Layer 3 UDN EIP support
martinkennelly Nov 14, 2024
de802f9
Remove unsure error return from ID allocator
martinkennelly Nov 14, 2024
35d3732
OVN EIP controller: cleanup stale config if pod if removed and ns cha…
martinkennelly Nov 18, 2024
1ec4ee3
EIP OVN controller: add NAD controller DoWithLock and improve network…
martinkennelly Nov 19, 2024
a7811ff
OVN EIP gateway: improve lookup speed of IP addresses
martinkennelly Nov 19, 2024
e8b3af5
EIP e2e: check EIP when pods from different ns connect to same net
martinkennelly Nov 19, 2024
6334c74
libovsdb, lsp: Dynamically add updatable fields by name
RamLavi Oct 14, 2024
12aed37
kubevirt/pod: Add function to discover pod migration status
RamLavi Oct 31, 2024
d6d951e
tests, multi-homing: Expand test infra for multiple pod creation
RamLavi Nov 7, 2024
52d8203
tests, multi-homing: Move controller reconcile test setup to helpers
RamLavi Nov 12, 2024
8af42d7
podNetworkController: Switch enabled LSP flags for VM migration
RamLavi Dec 3, 2024
cd1f5d1
podNetworkController: Switch back source pod LSP after failed migration
RamLavi Nov 4, 2024
2e18482
e2e: Improve IGMP validation test with retries
flavio-fernandes Dec 6, 2024
7436b1b
Merge pull request #2293 from openshift-bot/art-consistency-openshift…
openshift-merge-bot[bot] Dec 11, 2024
c713669
Merge pull request #2387 from zshi-redhat/OCPBUGS-45951
openshift-merge-bot[bot] Dec 11, 2024
31f76ec
Bump OVS version to 3.4.0-18
zshi-redhat Dec 10, 2024
17f0e73
EIP controller: sync Nodes OVN zone state once
martinkennelly Dec 11, 2024
9703f4b
Generate RouteAdvertisements CRD
jcaamano Jun 25, 2024
0ae82c2
Add route advertisements CLI flag
jcaamano Jul 3, 2024
2aabd76
Add RouteAdvertisements to watch factory
jcaamano Jul 3, 2024
a210e76
Deploy FFR-k8s in kind
jcaamano Jul 3, 2024
f30a8d1
Merge pull request #4472 from jcaamano/routeadvertisements
trozet Dec 11, 2024
8b0caab
Improves pod deletion with user defined networks
trozet Oct 11, 2024
00f1533
Fixes checking for IPAM claim in pod deletion
trozet Oct 31, 2024
bdf4f4e
primary_network: Properly log NAD name on error.
dceara Dec 5, 2024
24e9946
Merge pull request #2391 from openshift-cherrypick-robot/cherry-pick-…
openshift-merge-bot[bot] Dec 12, 2024
7d86e41
unit tests: unify NoRoot checking
poroh Dec 6, 2024
ada96dd
Calculates mgmt port MAC rather than storing
trozet Dec 10, 2024
d3b7cea
Scopes egress firewall test for correct ACLs
trozet Dec 10, 2024
4214d11
Fix ovnkube-trace to not rely on MAC annotation
trozet Dec 11, 2024
63b6b57
Merge pull request #4530 from martinkennelly/eip-net-seg
trozet Dec 13, 2024
e0f77fc
unit tests: speed up by small sleep before cache sync wait
poroh Dec 12, 2024
0bc2c51
UDN Gateway: Ignore EndpointSlices without a service label
kyrtapz Dec 12, 2024
55df139
Merge pull request #4882 from trozet/set_mac_by_cm
trozet Dec 13, 2024
b40cf21
Merge pull request #4771 from trozet/fix_udn_delete
tssurya Dec 13, 2024
bd7bdb5
Merge pull request #4902 from kyrtapz/ignore_unlabeled_services
tssurya Dec 13, 2024
fb4e12b
Merge remote-tracking branch 'ovn-org/master' into merge-11-15-24
jluhrsen Dec 13, 2024
1243011
hard code disable-udn-host-isolation to "true"
jluhrsen Dec 13, 2024
038aea1
Merge pull request #2357 from jluhrsen/merge-11-15-24
openshift-merge-bot[bot] Dec 14, 2024
eb51905
Merge remote-tracking branch 'upstream/master' into 4.18-sync-from-4.…
jluhrsen Dec 19, 2024
65803f5
Merge remote-tracking branch 'upstream/release-4.18' into 4.17-sync-f…
jluhrsen Jan 7, 2025
930d864
Merge pull request #2403 from jluhrsen/4.18-sync-from-4.19-12-19-2024
openshift-merge-bot[bot] Jan 8, 2025
ac77755
Merge remote-tracking branch 'upstream/release-4.18' into 4.17-sync-f…
jluhrsen Jan 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .ci-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build_root_image:
name: release
namespace: openshift
tag: rhel-9-release-golang-1.22-openshift-4.17
tag: rhel-9-release-golang-1.22-openshift-4.18
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
label: What happened?
description: |
Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner.
If this matter is security related, please disclose it privately via https://github.com/ovn-org/ovn-kubernetes/blob/master/SECURITY.md
If this matter is security related, please disclose it privately via https://github.com/ovn-kubernetes/ovn-kubernetes/blob/master/SECURITY.md
validations:
required: true

Expand Down
47 changes: 13 additions & 34 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,40 @@
<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/ovn-org/ovn-kubernetes/blob/master/CONTRIBUTING.md
https://github.com/ovn-kubernetes/ovn-kubernetes/blob/master/CONTRIBUTING.md

** Make sure all your commits include a signature generated with `git commit -s` **

All changes must adhere to this template to make it easy for reviewers
and preserve rationale/history behind every change
-->

#### What this PR does and why is it needed
<!--
A summary of the changes within this pull request and some context
as to why they were made
-->
## πŸ“‘ Description
<!-- Add a brief description of the pr -->

#### Which issue(s) this PR fixes
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_*
-->
Fixes #

#### Special notes for reviewers
## Additional Information for reviewers
<!--
What exactly did you change - you may also defer to information
contained in commit messages. At a bare minimum it's worth highlighting
which areas of the code were changed as it's easier to assign reviewers
-->

#### How to verify it
## βœ… Checks
<!-- Make sure your pr passes the CI checks and do check the following fields as needed - -->
- [ ] My code requires changes to the documentation
- [ ] if so, I have updated the documentation as required
- [ ] My code requires tests
- [ ] if so, I have added and/or updated the tests as required
- [ ] All the tests have passed in the CI <!-- If not leave a comment as to why the CI is red and if you need help understanding what's wrong -->

## How to verify it
<!--
Did you include unit tests? or end-to-end tests?
How can I manually verify that this patch achieves its objective
-->

#### Details to documentation updates
<!--
Did you include good docs that explain to our end users/developers/contributors
how your code works?
-->


#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->

#### Does this PR introduce a user-facing change?
<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".

For more information on release notes see: TBD
-->
```release-note

```
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
env:
GO_VERSION: 1.22.0
REGISTRY: ghcr.io
OWNER: ovn-org
OWNER: ovn-kubernetes
REPOSITORY: ovn-kubernetes
FEDORA_IMAGE_NAME: ovn-kube-fedora
UBUNTU_IMAGE_NAME: ovn-kube-ubuntu
Expand Down
35 changes: 24 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

env:
GO_VERSION: 1.22.0
K8S_VERSION: v1.30.2
K8S_VERSION: v1.31.0
KIND_CLUSTER_NAME: ovn
KIND_INSTALL_INGRESS: true
KIND_ALLOW_SYSTEM_WRITES: true
Expand Down Expand Up @@ -83,8 +83,8 @@ jobs:
exit 0
fi

if docker pull ghcr.io/ovn-org/ovn-kubernetes/ovn-kube-fedora:master; then
docker tag ghcr.io/ovn-org/ovn-kubernetes/ovn-kube-fedora:master ovn-daemonset-fedora:dev
if docker pull ghcr.io/ovn-kubernetes/ovn-kubernetes/ovn-kube-fedora:master; then
docker tag ghcr.io/ovn-kubernetes/ovn-kubernetes/ovn-kube-fedora:master ovn-daemonset-fedora:dev

echo "MASTER_IMAGE_RESTORED=true" >> "$GITHUB_OUTPUT"
exit 0
Expand Down Expand Up @@ -226,8 +226,8 @@ jobs:
go get github.com/modocache/gover
PATH=$PATH:$(go env GOPATH)/bin

mkdir -p $(go env GOPATH)/src/github.com/ovn-org
ln -sf $(pwd) $(go env GOPATH)/src/github.com/ovn-org/ovn-kubernetes
mkdir -p $(go env GOPATH)/src/github.com/ovn-kubernetes
ln -sf $(pwd) $(go env GOPATH)/src/github.com/ovn-kubernetes/ovn-kubernetes

gover
goveralls -coverprofile=gover.coverprofile -service=github
Expand Down Expand Up @@ -433,15 +433,16 @@ jobs:
- {"target": "kv-live-migration", "ha": "noHA", "gateway-mode": "local", "ipfamily": "ipv4", "disable-snat-multiple-gws": "SnatGW", "second-bridge": "1br", "ic": "ic-disabled", "num-workers": "3"}
- {"target": "kv-live-migration", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "dualstack", "disable-snat-multiple-gws": "SnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones", "num-workers": "3"}
- {"target": "control-plane", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "ipv4", "disable-snat-multiple-gws": "SnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones", "forwarding": "disable-forwarding"}
- {"target": "network-segmentation", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "dualstack", "disable-snat-multiple-gws": "SnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones"}
- {"target": "network-segmentation", "ha": "noHA", "gateway-mode": "local", "ipfamily": "dualstack", "disable-snat-multiple-gws": "SnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones"}
- {"target": "network-segmentation", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "dualstack", "disable-snat-multiple-gws": "noSnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones", "forwarding": "disable-forwarding"}
- {"target": "network-segmentation", "ha": "noHA", "gateway-mode": "local", "ipfamily": "dualstack", "disable-snat-multiple-gws": "noSnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones"}
- {"target": "network-segmentation", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "dualstack", "disable-snat-multiple-gws": "SnatGW", "second-bridge": "1br", "ic": "ic-disabled"}
- {"target": "network-segmentation", "ha": "noHA", "gateway-mode": "shared", "ipfamily": "ipv4", "disable-snat-multiple-gws": "noSnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones"}
- {"target": "tools", "ha": "noHA", "gateway-mode": "local", "ipfamily": "dualstack", "disable-snat-multiple-gws": "SnatGW", "second-bridge": "1br", "ic": "ic-single-node-zones"}
needs: [ build-pr ]
env:
JOB_NAME: "${{ matrix.target }}-${{ matrix.ha }}-${{ matrix.gateway-mode }}-${{ matrix.ipfamily }}-${{ matrix.disable-snat-multiple-gws }}-${{ matrix.second-bridge }}-${{ matrix.ic }}"
OVN_HYBRID_OVERLAY_ENABLE: "${{ matrix.target == 'control-plane' || matrix.target == 'control-plane-helm' }}"
OVN_MULTICAST_ENABLE: "${{ matrix.target == 'control-plane' || matrix.target == 'control-plane-helm' }}"
OVN_HYBRID_OVERLAY_ENABLE: ${{ (matrix.target == 'control-plane' || matrix.target == 'control-plane-helm') && (matrix.ipfamily == 'ipv4' || matrix.ipfamily == 'dualstack' ) }}
OVN_MULTICAST_ENABLE: "${{ matrix.target == 'control-plane' || matrix.target == 'control-plane-helm' || matrix.target == 'network-segmentation' }}"
OVN_EMPTY_LB_EVENTS: "${{ matrix.target == 'control-plane' || matrix.target == 'control-plane-helm' }}"
OVN_HA: "${{ matrix.ha == 'HA' }}"
OVN_DISABLE_SNAT_MULTIPLE_GWS: "${{ matrix.disable-snat-multiple-gws == 'noSnatGW' }}"
Expand All @@ -451,7 +452,8 @@ jobs:
KIND_IPV4_SUPPORT: "${{ matrix.ipfamily == 'IPv4' || matrix.ipfamily == 'dualstack' }}"
KIND_IPV6_SUPPORT: "${{ matrix.ipfamily == 'IPv6' || matrix.ipfamily == 'dualstack' }}"
ENABLE_MULTI_NET: "${{ matrix.target == 'multi-homing' || matrix.target == 'kv-live-migration' || matrix.target == 'network-segmentation' || matrix.target == 'tools' || matrix.target == 'multi-homing-helm' }}"
ENABLE_NETWORK_SEGMENTATION: "${{ matrix.target == 'network-segmentation' || matrix.target == 'tools'}}"
ENABLE_NETWORK_SEGMENTATION: "${{ matrix.target == 'network-segmentation' || matrix.target == 'tools' || matrix.target == 'kv-live-migration'}}"
DISABLE_UDN_HOST_ISOLATION: "true"
KIND_INSTALL_KUBEVIRT: "${{ matrix.target == 'kv-live-migration' }}"
OVN_COMPACT_MODE: "${{ matrix.target == 'compact-mode' }}"
OVN_DUMMY_GATEWAY_BRIDGE: "${{ matrix.target == 'compact-mode' }}"
Expand Down Expand Up @@ -531,7 +533,7 @@ jobs:
run: |
# used by e2e diagnostics package
export OVN_IMAGE="ovn-daemonset-fedora:pr"

if [ "${{ matrix.target }}" == "multi-homing" ] || [ "${{ matrix.target }}" == "multi-homing-helm" ]; then
make -C test control-plane WHAT="Multi Homing"
elif [ "${{ matrix.target }}" == "node-ip-mac-migration" ]; then
Expand Down Expand Up @@ -617,6 +619,17 @@ jobs:
echo "GOPATH=$GOPATH" >> $GITHUB_ENV
echo "$GOPATH/bin" >> $GITHUB_PATH

- name: Free up disk space
run: |
sudo rm -rf /usr/local/lib/android/sdk
sudo apt-get update
sudo eatmydata apt-get purge --auto-remove -y \
azure-cli aspnetcore-* dotnet-* ghc-* firefox \
google-chrome-stable \
llvm-* microsoft-edge-stable mono-* \
msbuild mysql-server-core-* php-* php7* \
powershell temurin-* zulu-*

- name: Disable ufw
# For IPv6 and Dualstack, ufw (Uncomplicated Firewall) should be disabled.
# Not needed for KIND deployments, so just disable all the time.
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
contrib/bin

ovn-kubernetes-anp-test-report.yaml

**/ginkgo.report
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @ovn-org/ovn-kubernetes-members
* @ovn-kubernetes/ovn-kubernetes-members
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ RUN INSTALL_PKGS=" \
ethtool conntrack-tools \
openshift-clients \
" && \
dnf install -y --nodocs $INSTALL_PKGS && \
eval "dnf install -y --nodocs $(cat /more-pkgs)" && \
dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs $INSTALL_PKGS && \
eval "dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs $(cat /more-pkgs)" && \
dnf clean all && rm -rf /var/cache/*

COPY --from=builder /go/src/github.com/openshift/ovn-kubernetes/go-controller/_output/go/bin/ovnkube /usr/bin/
Expand All @@ -57,6 +57,7 @@ COPY --from=builder /go/src/github.com/openshift/ovn-kubernetes/go-controller/_o
COPY --from=builder /go/src/github.com/openshift/ovn-kubernetes/go-controller/_output/go/bin/ovndbchecker /usr/bin/
COPY --from=builder /go/src/github.com/openshift/ovn-kubernetes/go-controller/_output/go/bin/ovnkube-trace /usr/bin/
COPY --from=builder /go/src/github.com/openshift/ovn-kubernetes/go-controller/_output/go/bin/hybrid-overlay-node /usr/bin/
COPY --from=builder /go/src/github.com/openshift/ovn-kubernetes/go-controller/_output/go/bin/ovnkube-observ /usr/bin/

# Copy RHEL-8 and RHEL-9 shim binaries where the CNO's ovnkube-node container startup script can find them
RUN mkdir -p /usr/libexec/cni/rhel9
Expand Down
16 changes: 9 additions & 7 deletions Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,26 @@
FROM registry.ci.openshift.org/ocp/4.17:base-rhel9

# install selinux-policy first to avoid a race
RUN dnf install -y --nodocs \
RUN dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs \
selinux-policy procps-ng && \
dnf clean all

ARG ovsver=3.4.0-18.el9fdp
ARG ovnver=24.03.2-32.el9fdp
ARG ovnver=24.09.0-33.el9fdp
# NOTE: Ensure that the versions of OVS and OVN are overriden for OKD in each of the subsequent layers.
ARG ovsver_okd=3.4.0-0.8.el9s
ARG ovnver_okd=24.03.1-5.el9s
# Centos and RHEL releases for ovn are built out of sync, so please make sure to bump for OKD with
# the corresponding Centos version when updating the OCP version.
ARG ovsver_okd=3.4.0-12.el9s
ARG ovnver_okd=24.09.0-41.el9s

RUN INSTALL_PKGS="iptables nftables" && \
source /etc/os-release && \
[ "${ID}" == "centos" ] && ovsver=$ovsver_okd && ovnver=$ovnver_okd; \
ovsver_short=$(echo "$ovsver" | cut -d'.' -f1,2) && \
ovnver_short=$(echo "$ovnver" | cut -d'.' -f1,2) && \
dnf install -y --nodocs $INSTALL_PKGS && \
dnf install -y --nodocs "openvswitch$ovsver_short = $ovsver" "python3-openvswitch$ovsver_short = $ovsver" && \
dnf install -y --nodocs "ovn$ovnver_short = $ovnver" "ovn$ovnver_short-central = $ovnver" "ovn$ovnver_short-host = $ovnver" && \
dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs $INSTALL_PKGS && \
dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs "openvswitch$ovsver_short = $ovsver" "python3-openvswitch$ovsver_short = $ovsver" && \
dnf --setopt=retries=2 --setopt=timeout=2 install -y --nodocs "ovn$ovnver_short = $ovnver" "ovn$ovnver_short-central = $ovnver" "ovn$ovnver_short-host = $ovnver" && \
dnf clean all && rm -rf /var/cache/* && \
sed 's/%/"/g' <<<"%openvswitch$ovsver_short-devel = $ovsver% %openvswitch$ovsver_short-ipsec = $ovsver% %ovn$ovnver_short-vtep = $ovnver%" > /more-pkgs

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.microshift
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
# openvswitch-devel, openvswitch-ipsec, libpcap, iproute etc
# ovn-kube-util, hybrid-overlay-node.exe, ovndbchecker and ovnkube-trace

FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS builder
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.18 AS builder

WORKDIR /go/src/github.com/openshift/ovn-kubernetes
COPY . .

# build the binaries
RUN cd go-controller; CGO_ENABLED=0 make

FROM registry.ci.openshift.org/ocp/4.17:ovn-kubernetes-base
FROM registry.ci.openshift.org/ocp/4.18:ovn-kubernetes-base

USER root

Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[![Go Report Card][go-report-card-badge]][go-report-url]
[![Go Doc][go-doc-badge]][go-doc-url]
[![Static Badge][slack-badge]][slack-url]
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fovn-kubernetes%2Fovn-kubernetes.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fovn-kubernetes%2Fovn-kubernetes?ref=badge_shield)


[apache2-badge]: https://img.shields.io/badge/License-Apache%202.0-blue.svg
Expand Down Expand Up @@ -45,7 +46,10 @@ Here are some links to help in your ovn-kubernetes journey:

Everything is distributed under the terms of the [Apache License] (version 2.0).


[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fovn-kubernetes%2Fovn-kubernetes.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fovn-kubernetes%2Fovn-kubernetes?ref=badge_large)

## Who uses OVN-Kubernetes?

See our [Adopters](ADOPTERS.md). If your organization or project uses OVN-Kubernetes,
please file a PR and update this list. Say hi on Slack too!
please file a PR and update this list. Say hi on Slack too!
Loading