-
Notifications
You must be signed in to change notification settings - Fork 90
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
failed to retrieve default gw at runProbes timed out waiting for the condition when Linux Bridge NNCP apply #1063
Comments
After I had try to change configure for a while seem like new version need to configure Edited Also it seem like to cause my Cluster Network problem I cannot reach to my Cluster or Openshift Console anymore after I running command success ! Here is my CR apiVersion: nmstate.io/v1
kind: NodeNetworkConfigurationPolicy
metadata:
name: brse-ens5
spec:
maxUnavailable: 1
desiredState:
interfaces:
- name: brse
description: Linux bridge with ens5 as a port
type: linux-bridge
state: up
ipv4:
dhcp: true
enabled: true
bridge:
options:
stp:
enabled: false
port:
- name: ens5 I got stuck at problem like this forever and Network Cluster is down I cannot reach to my Openshift Console anymore
Some snipper for apiVersion: nmstate.io/v1beta1
kind: NodeNetworkConfigurationEnactment
metadata:
creationTimestamp: "2022-04-24T16:14:35Z"
generation: 1
labels:
nmstate.io/node: ip-10-0-135-114.ap-southeast-1.compute.internal
nmstate.io/policy: brse-ens5
name: ip-10-0-135-114.ap-southeast-1.compute.internal.brse-ens5
ownerReferences:
- apiVersion: v1
kind: Node
name: ip-10-0-135-114.ap-southeast-1.compute.internal
uid: 8cf6351a-8ab1-47ec-8c27-5d897f2c4336
resourceVersion: "263283"
uid: a59f8e6e-d559-4f58-93d1-69f679d64ae6
status:
conditions:
- lastHearbeatTime: "2022-04-24T17:55:12Z"
lastTransitionTime: "2022-04-24T17:55:12Z"
message: Applying desired state
reason: ConfigurationProgressing
status: "True"
type: Progressing
- lastHearbeatTime: "2022-04-24T17:55:12Z"
lastTransitionTime: "2022-04-24T17:55:12Z"
reason: ConfigurationProgressing
status: Unknown
type: Failing
- lastHearbeatTime: "2022-04-24T17:55:12Z"
lastTransitionTime: "2022-04-24T17:55:12Z"
reason: ConfigurationProgressing
status: Unknown
type: Available
- lastHearbeatTime: "2022-04-24T17:55:12Z"
lastTransitionTime: "2022-04-24T17:55:12Z"
reason: ConfigurationProgressing
status: "False"
type: Pending
- lastHearbeatTime: "2022-04-24T17:55:12Z"
lastTransitionTime: "2022-04-24T17:55:12Z"
reason: ConfigurationProgressing
status: "False"
type: Aborted
desiredState:
interfaces:
- bridge:
options:
stp:
enabled: false
port:
- name: ens5
vlan:
mode: trunk
trunk-tags:
- id-range:
max: 4094
min: 2
description: Linux bridge with ens5 as a port
ipv4:
dhcp: true
enabled: true
name: brse
state: up
type: linux-bridge
desiredStateMetaInfo:
time: "2022-04-24T17:55:12Z"
version: "0"
policyGeneration: 6 And whole of apiVersion: nmstate.io/v1beta1
kind: NodeNetworkState
metadata:
creationTimestamp: "2022-04-24T16:11:49Z"
generation: 1
name: ip-10-0-135-114.ap-southeast-1.compute.internal
ownerReferences:
- apiVersion: v1
kind: Node
name: ip-10-0-135-114.ap-southeast-1.compute.internal
uid: 8cf6351a-8ab1-47ec-8c27-5d897f2c4336
resourceVersion: "222380"
uid: 416b115d-8633-40a1-80f8-9442de5ebecb
status:
currentState:
dns-resolver:
config:
search: null
server: null
running:
search:
- ap-southeast-1.compute.internal
server:
- 10.0.0.2
interfaces:
- accept-all-mac-addresses: false
ethtool:
feature:
highdma: true
rx-gro: true
rx-gro-list: false
tx-checksum-ip-generic: true
tx-generic-segmentation: true
tx-gre-csum-segmentation: true
tx-gre-segmentation: true
tx-ipxip4-segmentation: true
tx-ipxip6-segmentation: true
tx-nocache-copy: false
tx-scatter-gather-fraglist: true
tx-sctp-segmentation: true
tx-tcp-ecn-segmentation: true
tx-tcp-mangleid-segmentation: true
tx-tcp-segmentation: true
tx-tcp6-segmentation: true
tx-udp_tnl-csum-segmentation: true
tx-udp_tnl-segmentation: true
tx-vlan-hw-insert: true
tx-vlan-stag-hw-insert: true
ipv4:
address: []
enabled: false
ipv6:
address: []
enabled: false
mac-address: 1E:79:45:2C:32:44
mtu: 8951
name: br0
state: down
type: ovs-interface
- accept-all-mac-addresses: false
ethtool:
coalesce:
adaptive-rx: false
rx-usecs: 0
tx-usecs: 64
feature:
highdma: true
rx-checksum: true
rx-gro: true
rx-gro-list: false
rx-hashing: true
tx-checksum-ipv4: true
tx-generic-segmentation: true
tx-nocache-copy: false
ring:
rx: 1024
tx: 1024
ipv4:
address:
- ip: 10.0.135.114
prefix-length: 17
auto-dns: true
auto-gateway: true
auto-route-table-id: 0
auto-routes: true
dhcp: true
enabled: true
ipv6:
address:
- ip: fe80::f29c:426a:51f7:fdbe
prefix-length: 64
auto-dns: true
auto-gateway: true
auto-route-table-id: 0
auto-routes: true
autoconf: true
dhcp: true
enabled: true
lldp:
enabled: false
mac-address: 0A:FC:40:AF:29:62
mtu: 9001
name: ens5
state: up
type: ethernet
- accept-all-mac-addresses: false
ethtool:
feature:
rx-gro: true
rx-gro-list: false
tx-generic-segmentation: true
tx-sctp-segmentation: true
tx-tcp-ecn-segmentation: true
tx-tcp-mangleid-segmentation: true
tx-tcp-segmentation: true
tx-tcp6-segmentation: true
ipv4:
address:
- ip: 127.0.0.1
prefix-length: 8
enabled: true
ipv6:
address:
- ip: ::1
prefix-length: 128
enabled: true
mac-address: "00:00:00:00:00:00"
mtu: 65536
name: lo
state: up
type: unknown
- accept-all-mac-addresses: false
ethtool:
feature:
highdma: true
rx-gro: true
rx-gro-list: false
tx-checksum-ip-generic: true
tx-generic-segmentation: true
tx-gre-csum-segmentation: true
tx-gre-segmentation: true
tx-ipxip4-segmentation: true
tx-ipxip6-segmentation: true
tx-nocache-copy: false
tx-scatter-gather-fraglist: true
tx-sctp-segmentation: true
tx-tcp-ecn-segmentation: true
tx-tcp-mangleid-segmentation: true
tx-tcp-segmentation: true
tx-tcp6-segmentation: true
tx-udp_tnl-csum-segmentation: true
tx-udp_tnl-segmentation: true
tx-vlan-hw-insert: true
tx-vlan-stag-hw-insert: true
ipv4:
address:
- ip: 10.129.0.1
prefix-length: 23
enabled: true
ipv6:
address:
- ip: fe80::c44a:2aff:fe80:199e
prefix-length: 64
enabled: true
mac-address: C6:4A:2A:80:19:9E
mtu: 8951
name: tun0
state: up
type: ovs-interface
- accept-all-mac-addresses: false
ethtool:
feature:
rx-checksum: true
rx-gro: true
rx-gro-list: false
tx-checksum-ip-generic: true
tx-generic-segmentation: true
tx-nocache-copy: false
tx-sctp-segmentation: true
tx-tcp-ecn-segmentation: true
tx-tcp-mangleid-segmentation: true
tx-tcp-segmentation: true
tx-tcp6-segmentation: true
ipv4:
address: []
enabled: false
ipv6:
address:
- ip: fe80::9069:53ff:fe96:84d9
prefix-length: 64
enabled: true
lldp:
enabled: false
mac-address: 92:69:53:96:84:D9
mtu: 65000
name: vxlan_sys_4789
state: down
type: vxlan
vxlan:
base-iface: ""
destination-port: 4789
id: 0
remote: ""
routes:
config:
- destination: 10.128.0.0/14
metric: 0
next-hop-address: 0.0.0.0
next-hop-interface: tun0
table-id: 254
- destination: 172.30.0.0/16
metric: 0
next-hop-address: 0.0.0.0
next-hop-interface: tun0
table-id: 254
running:
- destination: fe80::/64
metric: 100
next-hop-address: '::'
next-hop-interface: ens5
table-id: 254
- destination: fe80::/64
metric: 256
next-hop-address: '::'
next-hop-interface: vxlan_sys_4789
table-id: 254
- destination: fe80::/64
metric: 256
next-hop-address: '::'
next-hop-interface: tun0
table-id: 254
- destination: 0.0.0.0/0
metric: 100
next-hop-address: 10.0.128.1
next-hop-interface: ens5
table-id: 254
- destination: 10.0.128.0/17
metric: 100
next-hop-address: 0.0.0.0
next-hop-interface: ens5
table-id: 254
- destination: 10.128.0.0/14
metric: 0
next-hop-address: 0.0.0.0
next-hop-interface: tun0
table-id: 254
- destination: 172.30.0.0/16
metric: 0
next-hop-address: 0.0.0.0
next-hop-interface: tun0
table-id: 254
handlerNetworkManagerVersion: 1.39.0-1.el8
handlerNmstateVersion: 1.2.1
hostNetworkManagerVersion: 1.30.0
lastSuccessfulUpdateTime: "2022-04-24T17:20:49Z"
apiVersion: nmstate.io/v1beta1
kind: NodeNetworkState
metadata:
creationTimestamp: "2022-04-24T16:11:49Z"
generation: 1
name: ip-10-0-135-114.ap-southeast-1.compute.internal
ownerReferences:
- apiVersion: v1
kind: Node
name: ip-10-0-135-114.ap-southeast-1.compute.internal
uid: 8cf6351a-8ab1-47ec-8c27-5d897f2c4336
resourceVersion: "222380"
uid: 416b115d-8633-40a1-80f8-9442de5ebecb
status:
currentState:
dns-resolver:
config:
search: null
server: null
running:
search:
- ap-southeast-1.compute.internal
server:
- 10.0.0.2
interfaces:
- accept-all-mac-addresses: false
ethtool:
feature:
highdma: true
rx-gro: true
rx-gro-list: false
tx-checksum-ip-generic: true
tx-generic-segmentation: true
tx-gre-csum-segmentation: true
tx-gre-segmentation: true
tx-ipxip4-segmentation: true
tx-ipxip6-segmentation: true
tx-nocache-copy: false
tx-scatter-gather-fraglist: true
tx-sctp-segmentation: true
tx-tcp-ecn-segmentation: true
tx-tcp-mangleid-segmentation: true
tx-tcp-segmentation: true
tx-tcp6-segmentation: true
tx-udp_tnl-csum-segmentation: true
tx-udp_tnl-segmentation: true
tx-vlan-hw-insert: true
tx-vlan-stag-hw-insert: true
ipv4:
address: []
enabled: false
ipv6:
address: []
enabled: false
mac-address: 1E:79:45:2C:32:44
mtu: 8951
name: br0
state: down
type: ovs-interface
- accept-all-mac-addresses: false
ethtool:
coalesce:
adaptive-rx: false
rx-usecs: 0
tx-usecs: 64
feature:
highdma: true
rx-checksum: true
rx-gro: true
rx-gro-list: false
rx-hashing: true
tx-checksum-ipv4: true
tx-generic-segmentation: true
tx-nocache-copy: false
ring:
rx: 1024
tx: 1024
ipv4:
address:
- ip: 10.0.135.114
prefix-length: 17
auto-dns: true
auto-gateway: true
auto-route-table-id: 0
auto-routes: true
dhcp: true
enabled: true
ipv6:
address:
- ip: fe80::f29c:426a:51f7:fdbe
prefix-length: 64
auto-dns: true
auto-gateway: true
auto-route-table-id: 0
auto-routes: true
autoconf: true
dhcp: true
enabled: true
lldp:
enabled: false
mac-address: 0A:FC:40:AF:29:62
mtu: 9001
name: ens5
state: up
type: ethernet
- accept-all-mac-addresses: false
ethtool:
feature:
rx-gro: true
rx-gro-list: false
tx-generic-segmentation: true
tx-sctp-segmentation: true
tx-tcp-ecn-segmentation: true
tx-tcp-mangleid-segmentation: true
tx-tcp-segmentation: true
tx-tcp6-segmentation: true
ipv4:
address:
- ip: 127.0.0.1
prefix-length: 8
enabled: true
ipv6:
address:
- ip: ::1
prefix-length: 128
enabled: true
mac-address: "00:00:00:00:00:00"
mtu: 65536
name: lo
state: up
type: unknown
- accept-all-mac-addresses: false
ethtool:
feature:
highdma: true
rx-gro: true
rx-gro-list: false
tx-checksum-ip-generic: true
tx-generic-segmentation: true
tx-gre-csum-segmentation: true
tx-gre-segmentation: true
tx-ipxip4-segmentation: true
tx-ipxip6-segmentation: true
tx-nocache-copy: false
tx-scatter-gather-fraglist: true
tx-sctp-segmentation: true
tx-tcp-ecn-segmentation: true
tx-tcp-mangleid-segmentation: true
tx-tcp-segmentation: true
tx-tcp6-segmentation: true
tx-udp_tnl-csum-segmentation: true
tx-udp_tnl-segmentation: true
tx-vlan-hw-insert: true
tx-vlan-stag-hw-insert: true
ipv4:
address:
- ip: 10.129.0.1
prefix-length: 23
enabled: true
ipv6:
address:
- ip: fe80::c44a:2aff:fe80:199e
prefix-length: 64
enabled: true
mac-address: C6:4A:2A:80:19:9E
mtu: 8951
name: tun0
state: up
type: ovs-interface
- accept-all-mac-addresses: false
ethtool:
feature:
rx-checksum: true
rx-gro: true
rx-gro-list: false
tx-checksum-ip-generic: true
tx-generic-segmentation: true
tx-nocache-copy: false
tx-sctp-segmentation: true
tx-tcp-ecn-segmentation: true
tx-tcp-mangleid-segmentation: true
tx-tcp-segmentation: true
tx-tcp6-segmentation: true
ipv4:
address: []
enabled: false
ipv6:
address:
- ip: fe80::9069:53ff:fe96:84d9
prefix-length: 64
enabled: true
lldp:
enabled: false
mac-address: 92:69:53:96:84:D9
mtu: 65000
name: vxlan_sys_4789
state: down
type: vxlan
vxlan:
base-iface: ""
destination-port: 4789
id: 0
remote: ""
routes:
config:
- destination: 10.128.0.0/14
metric: 0
next-hop-address: 0.0.0.0
next-hop-interface: tun0
table-id: 254
- destination: 172.30.0.0/16
metric: 0
next-hop-address: 0.0.0.0
next-hop-interface: tun0
table-id: 254
running:
- destination: fe80::/64
metric: 100
next-hop-address: '::'
next-hop-interface: ens5
table-id: 254
- destination: fe80::/64
metric: 256
next-hop-address: '::'
next-hop-interface: vxlan_sys_4789
table-id: 254
- destination: fe80::/64
metric: 256
next-hop-address: '::'
next-hop-interface: tun0
table-id: 254
- destination: 0.0.0.0/0
metric: 100
next-hop-address: 10.0.128.1
next-hop-interface: ens5
table-id: 254
- destination: 10.0.128.0/17
metric: 100
next-hop-address: 0.0.0.0
next-hop-interface: ens5
table-id: 254
- destination: 10.128.0.0/14
metric: 0
next-hop-address: 0.0.0.0
next-hop-interface: tun0
table-id: 254
- destination: 172.30.0.0/16
metric: 0
next-hop-address: 0.0.0.0
next-hop-interface: tun0
table-id: 254
handlerNetworkManagerVersion: 1.39.0-1.el8
handlerNmstateVersion: 1.2.1
hostNetworkManagerVersion: 1.30.0
lastSuccessfulUpdateTime: "2022-04-24T17:20:49Z"
|
@wdrdres3qew5ts21 is this still an issue ? |
@qinqon If I using Red Hat 8.3 instead of 8.4 it will working without any problem for now. |
What happened:
In my DevTest environment when I apply
NodeNetworkConfigurationPolicy
thenNodeNetworkConfigurationEnactment
will start to apply but I encounter errorfailed to retrieve default gw at runProbes timed out waiting for the condition
whenLinux Bridge NNCP
applyI'm apply
KubeVirt
andNetworkAddOns
withNMState
manually with myself I don't using any hyperconverged Operator.Edited1 Also it seem like to cause my Cluster Network problem I cannot reach to my Cluster or Openshift Console anymore after I running command success
Edited2 I had suspect that is this my configuration problem or it was issues underlying in Operating System itself ?
Is there any compatability matrix between Kubernetes NMstate and NetworkAddOns Manager related component ?
Because my NetworkManager already matching requirement (nmcli tool, version 1.30.0-13.el8_4) but somehow it still didn't work.
https://bugzilla.redhat.com/show_bug.cgi?id=2037411
Here is my
NNCP
configMy Kubernetes (Openshift) Node have interface named
ens5
I can reach to another Node by ping at sameens5
IPv4 it response successfullyStatus of
NNCE
from command lineThis is my error from
NNCE
Detailip-10-0-135-114.ap-southeast-1.compute.internal.brse-ens5
ip-10-0-215-42.ap-southeast-1.compute.internal.brse-ens5
What you expected to happen:
NNCE
should be config successfullyAnything else we need to know?:
Is it possible to avoid to using KubeVirt HyperConverged but just apply manifest of KubeVirt, NetworkAddOns and NMstate manually ? Is there any compatible matrix between component ? Currently my Network Manager already passing criteria for NMState already (Version 1.30.0-13.el8_4).
Environment:
NodeNetworkState
on affected nodes (usekubectl get nodenetworkstate <node_name> -o yaml
):kubectl get pods --all-namespaces -l app=kubernetes-nmstate -o jsonpath='{.items[0].spec.containers[0].image}'
):quay.io/nmstate/kubernetes-nmstate-handler:v0.64.13
nmcli --version
)kubectl version
):Kubevirt Version
v0.52.0
The text was updated successfully, but these errors were encountered: