New Setup - hosts - are not synchronized with their Logical Network configuration: ovirtmgmt.

Hi After installing new hosts they show as status 'up'. however I get a warning such as Host ng2-ovirt-kvm4's following network(s) are not synchronized with their Logical Network configuration: ovirtmgmt. Which means ovirtmgmt is not working. I realise the issue is due to no network config for it - its set to DHCP and there is no server. The way I have setup the network on the hosts is (I used the ovirt-node 4.4.4 iso to install the nodes) /var/lib/vdsm/persistence/ ├── netconf -> /var/lib/vdsm/persistence/netconf.JkcBbtya └── netconf.JkcBbtya ├── bonds │ └── bond0 ├── devices └── nets ├── ovirtmgmt └── td-hv td-hv - is a bonded bridge + VLAN and has the network config with correct ip and where the firewall access is allowing the ports used for ovirt (see config below) Can I make the existing td-hv profile replace ovirtmgmt ? (i.e add ovirtmgmt functionality to existing network device td-hv) Or should I use the existing settings from td-hv and add them to ovirtmgmt and remove td-hv ? Config below - any advice would be great --- /etc/sysconfig/network-scripts/ifcfg-bond0.1700 BONDING_OPTS="mode=active-backup downdelay=0 miimon=100 updelay=0" TYPE=Bond BONDING_MASTER=yes NAME=bond0 UUID=5ab633aa-cd30-4ca8-9109-dbb4541f039b DEVICE=bond0 ONBOOT=yes HWADDR= MACADDR=3C:A8:2A:15:F6:12 MTU=1500 LLDP=no BRIDGE=ovirtmgmt --- --- [root@ng2-ovirt-kvm4 mcox]# cat /etc/sysconfig/network-scripts/ifcfg-bond0.1700 VLAN=yes TYPE=Vlan PHYSDEV=bond0 VLAN_ID=1700 REORDER_HDR=yes GVRP=no MVRP=no HWADDR= NAME=bond0.1700 UUID=e2b318e8-83af-4573-a637-fe20326f2c1a DEVICE=bond0.1700 ONBOOT=yes MTU=1500 LLDP=no BRIDGE=td-hv --- --- [root@ng2-ovirt-kvm4 mcox]# cat /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt STP=no TYPE=Bridge HWADDR= MTU=1500 PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=dhcp DEFROUTE=yes DHCP_CLIENT_ID=mac IPV4_DHCP_TIMEOUT=2147483647 IPV4_FAILURE_FATAL=no IPV6_DISABLED=yes IPV6INIT=no NAME=ovirtmgmt UUID=202586b0-ebe7-48ae-b316-e2cfd2dc4cc8 DEVICE=ovirtmgmt ONBOOT=yes AUTOCONNECT_SLAVES=yes LLDP=no ---

On Thu, Apr 1, 2021 at 6:39 PM morgan cox <morgancoxuk@gmail.com> wrote:
Hi
After installing new hosts they show as status 'up'. however I get a warning such as
Host ng2-ovirt-kvm4's following network(s) are not synchronized with their Logical Network configuration: ovirtmgmt.
Which means ovirtmgmt is not working.
I realise the issue is due to no network config for it - its set to DHCP and there is no server.
The way I have setup the network on the hosts is
(I used the ovirt-node 4.4.4 iso to install the nodes)
/var/lib/vdsm/persistence/ ├── netconf -> /var/lib/vdsm/persistence/netconf.JkcBbtya └── netconf.JkcBbtya ├── bonds │ └── bond0 ├── devices └── nets ├── ovirtmgmt └── td-hv
td-hv - is a bonded bridge + VLAN and has the network config with correct ip and where the firewall access is allowing the ports used for ovirt (see config below)
Can I make the existing td-hv profile replace ovirtmgmt ? (i.e add ovirtmgmt functionality to existing network device td-hv)
Or should I use the existing settings from td-hv and add them to ovirtmgmt and remove td-hv ?
Config below - any advice would be great
--- /etc/sysconfig/network-scripts/ifcfg-bond0.1700
BONDING_OPTS="mode=active-backup downdelay=0 miimon=100 updelay=0" TYPE=Bond BONDING_MASTER=yes NAME=bond0 UUID=5ab633aa-cd30-4ca8-9109-dbb4541f039b DEVICE=bond0 ONBOOT=yes HWADDR= MACADDR=3C:A8:2A:15:F6:12 MTU=1500 LLDP=no BRIDGE=ovirtmgmt ---
--- [root@ng2-ovirt-kvm4 mcox]# cat /etc/sysconfig/network-scripts/ifcfg-bond0.1700 VLAN=yes TYPE=Vlan PHYSDEV=bond0 VLAN_ID=1700 REORDER_HDR=yes GVRP=no MVRP=no HWADDR= NAME=bond0.1700 UUID=e2b318e8-83af-4573-a637-fe20326f2c1a DEVICE=bond0.1700 ONBOOT=yes MTU=1500 LLDP=no BRIDGE=td-hv ---
--- [root@ng2-ovirt-kvm4 mcox]# cat /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt STP=no TYPE=Bridge HWADDR= MTU=1500 PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=dhcp DEFROUTE=yes DHCP_CLIENT_ID=mac IPV4_DHCP_TIMEOUT=2147483647 IPV4_FAILURE_FATAL=no IPV6_DISABLED=yes IPV6INIT=no NAME=ovirtmgmt UUID=202586b0-ebe7-48ae-b316-e2cfd2dc4cc8 DEVICE=ovirtmgmt ONBOOT=yes AUTOCONNECT_SLAVES=yes LLDP=no ---
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/LH4ZIX7JVXQIBZ...
Hi, did you try to "Sync All Networks" from the engine UI? -- Ales Musil Software Engineer - RHV Network Red Hat EMEA <https://www.redhat.com> amusil@redhat.com IM: amusil <https://red.ht/sig>

On Thu, Apr 1, 2021 at 6:39 PM morgan cox <morgancoxuk(a)gmail.com> wrote:
Hi, did you try to "Sync All Networks" from the engine UI?
Yes, and nothing happened. The root issue is that I had my network bond created 'ifcfg-bond0.1700' already which uses the td-hv bridge - this has the right ip I need to use, the 'ovirtmgmt' interface was added by the engine and is set to dhcp - but no dhcp server is available the device td-hv holds the IP that ovirtmgmt should be using I believe, how can I configure this? I tried altering the /etc/sysconfig/network-scripts files but they revert back on reboot - I can't remove td-hv in the GUI as that is a required network (which has the dafault network) If I remove all hosts from the cluster can I change the td-hv interface to have the same permissions as ovirtmgmt (i.e so i can just not use the interface ovirtmgmt) ?

On Tue, Apr 13, 2021 at 6:45 PM morgan cox <morgancoxuk@gmail.com> wrote:
On Thu, Apr 1, 2021 at 6:39 PM morgan cox <morgancoxuk(a)gmail.com> wrote:
Hi, did you try to "Sync All Networks" from the engine UI?
Yes, and nothing happened.
That is strange, because nmstate would report if the configuration does not match what was requested.
The root issue is that I had my network bond created 'ifcfg-bond0.1700' already which uses the td-hv bridge - this has the right ip I need to use, the 'ovirtmgmt' interface was added by the engine and is set to dhcp - but no dhcp server is available
So first important thing, 4.4 does not use ifcfg anymore. You can change ovirtmgmt to have no bootproto or just static that should not be a problem.
the device td-hv holds the IP that ovirtmgmt should be using I believe, how can I configure this? I tried altering the /etc/sysconfig/network-scripts files but they revert back on reboot - I can't remove td-hv in the GUI as that is a required network (which has the dafault network)
Again touching ifcfg files does not help. Also vdsm has its own persistence so after reboot it will be reverted to the state that is configured. You can temporarily uncheck the required network, but if the host is in maintenance it can be altered.
If I remove all hosts from the cluster can I change the td-hv interface to have the same permissions as ovirtmgmt (i.e so i can just not use the interface ovirtmgmt) ?
_______________________________________________
Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/7SBQNLHH6TMM5P...
-- Ales Musil Software Engineer - RHV Network Red Hat EMEA <https://www.redhat.com> amusil@redhat.com IM: amusil <https://red.ht/sig>
participants (2)
-
Ales Musil
-
morgan cox