Open nirs opened 9 months ago
@nirs can you dump a NNS so we can see the nmstate version ?
@cathay4t is this configuration supported at RHEL 9.2 ?
routes:
config:
- destination: 1.2.3.10/32
route-type: blackhole
@nirs can you dump a NNS so we can see the nmstate version ?
I think I already uninstalled nmstate on this system, but the version was this: https://github.com/nmstate/kubernetes-nmstate/releases/tag/v0.80.1
@cathay4t is this configuration supported at RHEL 9.2 ?
routes: config: - destination: 1.2.3.10/32 route-type: blackhole
@nirs do you know if this is working in nmstate ?
@qinqon assuming this setting is exposed by nmstate, is anything holding this feature back ? Seems a reasonable and simple ask.
@maiqueb I assume this works in nmstate based on https://github.com/nmstate/nmstate/pull/2453 merged Nov 24, 2023.
@nirs is https://github.com/nmstate/kubernetes-nmstate/releases/tag/v0.81.0 working for you ?
It has nmstateversion 2.2.22
# nmstatectl version
nmstatectl 2.2.22
From what I see it was merged on 2.2.20 https://github.com/nmstate/nmstate/commit/f8c57a88fe05ed33fa4e8dddcb7c20957c94211a
@nirs is https://github.com/nmstate/kubernetes-nmstate/releases/tag/v0.81.0 working for you ?
Thanks, will test it.
@nirs is all good now ?
Sorry I did not have time to work on this yet, thanks for the new release.
What happened:
Install release 0.80.1 on OpenShift 4.14.3 based on https://github.com/nmstate/kubernetes-nmstate/releases/tag/v0.80.1
Applied this policy:
route-type was added here: https://github.com/nmstate/nmstate/pull/2453
Policy failed to configure:
What you expected to happen:
blackhole route configured.
How to reproduce it (as minimally and precisely as possible):
See what happened
Anything else we need to know?:
Environment:
nmcli --version
)kubectl version
):I guess route-type is not included in the latest release?
Why I want it: replace the manual ip route on every node here: https://github.com/nirs/oc-blackhole