Hello fellow oVirt Users.
I am trying to setup a bond interface on my host, but for whatever reason I am
unable to do so trough the host network configuration.
Actually I do know the issue, and it’s a bit bizarre as I don’t know what
causes it. If you take a look at the following snippet of my supervdsm.log
file, you will see that the NMstate verification fails due to a difference
between the current config and the desired config. The thing is I have not made
any of the additional configuration options. I literally installed the OS,
installed the oVirt host and tried to setup a network bond. Has anyone
experienced this? Does anyone know how to fix this?
```
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/supervdsm_server.py", line 80, in
wrapper
res = func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/vdsm/network/api.py", line 193, in
setupNetworks
_setup_networks(networks, bondings, options)
File "/usr/lib/python3.6/site-packages/vdsm/network/api.py", line 217, in
_setup_networks
netswitch.configurator.setup(networks, bondings, options, in_rollback)
File
"/usr/lib/python3.6/site-packages/vdsm/network/netswitch/configurator.py", line
53, in setup
_setup_nmstate(networks, bondings, options, in_rollback)
File
"/usr/lib/python3.6/site-packages/vdsm/network/netswitch/configurator.py", line
76, in _setup_nmstate
nmstate.setup(desired_state, verify_change=not in_rollback)
File "/usr/lib/python3.6/site-packages/vdsm/network/nmstate/api.py", line 29,
in setup
state_apply(desired_state, verify_change=verify_change)
File "/usr/lib/python3.6/site-packages/libnmstate/netapplier.py", line 140,
in apply
plugins, net_state, verify_change, save_to_disk, verify_retry
File "/usr/lib/python3.6/site-packages/libnmstate/netapplier.py", line 190,
in _apply_ifaces_state
_verify_change(plugins, net_state)
File "/usr/lib/python3.6/site-packages/libnmstate/netapplier.py", line 197,
in _verify_change
net_state.verify(current_state)
File "/usr/lib/python3.6/site-packages/libnmstate/net_state.py", line 119, in
verify
self._ifaces.verify(current_state.get(Interface.KEY))
File "/usr/lib/python3.6/site-packages/libnmstate/ifaces/ifaces.py", line
805, in verify
cur_iface.state_for_verify(),
libnmstate.error.NmstateVerificationError:
desired
=======
---
name: ovirtmgmt
type: linux-bridge
state: up
bridge:
options:
stp:
enabled: false
port:
- name: bond0
vlan: {}
ipv4:
enabled: true
address:
- ip: 10.10.120.1
prefix-length: 16
dhcp: false
ipv6:
enabled: false
mtu: 1500
current
=======
---
name: ovirtmgmt
type: linux-bridge
state: up
accept-all-mac-addresses: false
bridge:
options:
group-addr: 01:80:C2:00:00:00
group-forward-mask: 0
hash-max: 4096
mac-ageing-time: 300
multicast-last-member-count: 2
multicast-last-member-interval: 100
multicast-querier: false
multicast-querier-interval: 25500
multicast-query-interval: 12500
multicast-query-response-interval: 1000
multicast-query-use-ifaddr: false
multicast-router: 1
multicast-snooping: true
multicast-startup-query-count: 2
multicast-startup-query-interval: 3125
stp:
enabled: false
forward-delay: 15
hello-time: 2
max-age: 20
priority: 32768
port: []
ethtool:
feature:
highdma: true
rx-gro: true
tx-generic-segmentation: true
tx-tcp-segmentation: true
tx-vlan-hw-insert: true
ipv4:
enabled: true
address:
- ip: 10.10.120.1
prefix-length: 16
dhcp: false
ipv6:
enabled: false
lldp:
enabled: false
mac-address: AC:16:2D:BD:03:D0
mtu: 1500
wait-ip: any
difference
==========
--- desired
+++ current
@@ -2,13 +2,38 @@
name: ovirtmgmt
type: linux-bridge
state: up
+accept-all-mac-addresses: false
bridge:
options:
+ group-addr: 01:80:C2:00:00:00
+ group-forward-mask: 0
+ hash-max: 4096
+ mac-ageing-time: 300
+ multicast-last-member-count: 2
+ multicast-last-member-interval: 100
+ multicast-querier: false
+ multicast-querier-interval: 25500
+ multicast-query-interval: 12500
+ multicast-query-response-interval: 1000
+ multicast-query-use-ifaddr: false
+ multicast-router: 1
+ multicast-snooping: true
+ multicast-startup-query-count: 2
+ multicast-startup-query-interval: 3125
stp:
enabled: false
- port:
- - name: bond0
- vlan: {}
+ forward-delay: 15
+ hello-time: 2
+ max-age: 20
+ priority: 32768
+ port: []
+ethtool:
+ feature:
+ highdma: true
+ rx-gro: true
+ tx-generic-segmentation: true
+ tx-tcp-segmentation: true
+ tx-vlan-hw-insert: true
ipv4:
enabled: true
address:
@@ -17,4 +42,8 @@
dhcp: false
ipv6:
enabled: false
+lldp:
+ enabled: false
+mac-address: AC:16:2D:BD:03:D0
mtu: 1500
+wait-ip: any
```
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/3BRCVZ5CTE2LHZZXGAFD7QD2PNUPM5YV/