ovirt vdsm and networking

Hi, We are running CentOS and ovirt 4.3.4. We currently have four nodes and have set up the networks as follows: ovirtmanagmeent network - set up as a tagged vlan with a static IP SAN network - set up as a tagged vlan with a static IP student network - set up as a tagged vlan fw network - set up as a tagged vlan The ovirtmanagement and SAN networks were configured on the CentOS boxes during after installing CentOS and before adding the nodes as hosts. The student network and the fw network were configured through the ovirt admin panel. However, because of this, the student network is not assigned a static IP on the nodes and serves the VM's using the DHCP on the firewall. The ovirt management network is set as the display network and every time I try to change that to the student network, ovirt admin panel tells me that I can't because there is no IP address assigned to the student network vlan. I tried using ip addr add to add a static IP on the one CentOS node, but this does not get picked up by ovirt and of course ovirt controls the actual vlan files on the CentOS box through VDSM, so any changes I make there will likely just be overwritten. So, my question is, should I stop VDSM, add the IP to the vlan files on the CentOS nodes and then restart VDSM or is there a proper way of solving this? I need the Display Network to be set to the student network. Thank you for any help. Kim

Hi Kim, you should be able to from the admin portal for the interfaces of your hosts go into setup host networks and change the boot protocol for your student network to manual or dhcp. If you don't want your student VMs having network access to your hosts you could configure a separate display network or setup a spice and websocket proxy. Regards, Paul S. ________________________________ From: kim.kargaard@noroff.no <kim.kargaard@noroff.no> Sent: 13 December 2019 07:39 To: users@ovirt.org <users@ovirt.org> Subject: [ovirt-users] ovirt vdsm and networking Hi, We are running CentOS and ovirt 4.3.4. We currently have four nodes and have set up the networks as follows: ovirtmanagmeent network - set up as a tagged vlan with a static IP SAN network - set up as a tagged vlan with a static IP student network - set up as a tagged vlan fw network - set up as a tagged vlan The ovirtmanagement and SAN networks were configured on the CentOS boxes during after installing CentOS and before adding the nodes as hosts. The student network and the fw network were configured through the ovirt admin panel. However, because of this, the student network is not assigned a static IP on the nodes and serves the VM's using the DHCP on the firewall. The ovirt management network is set as the display network and every time I try to change that to the student network, ovirt admin panel tells me that I can't because there is no IP address assigned to the student network vlan. I tried using ip addr add to add a static IP on the one CentOS node, but this does not get picked up by ovirt and of course ovirt controls the actual vlan files on the CentOS box through VDSM, so any changes I make there will likely just be overwritten. So, my question is, should I stop VDSM, add the IP to the vlan files on the CentOS nodes and then restart VDSM or is there a proper way of solving this? I need the Display Network to be set to the student network. Thank you for any help. Kim _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.... oVirt Code of Conduct: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.... List Archives: https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovir... To view the terms under which this email is distributed, please go to:- http://leedsbeckett.ac.uk/disclaimer/email/

On Fri, Dec 13, 2019 at 8:41 AM <kim.kargaard@noroff.no> wrote:
Hi,
We are running CentOS and ovirt 4.3.4. We currently have four nodes and have set up the networks as follows:
ovirtmanagmeent network - set up as a tagged vlan with a static IP SAN network - set up as a tagged vlan with a static IP student network - set up as a tagged vlan fw network - set up as a tagged vlan
The ovirtmanagement and SAN networks were configured on the CentOS boxes during after installing CentOS and before adding the nodes as hosts. The student network and the fw network were configured through the ovirt admin panel. However, because of this, the student network is not assigned a static IP on the nodes and serves the VM's using the DHCP on the firewall. The ovirt management network is set as the display network and every time I try to change that to the student network, ovirt admin panel tells me that I can't because there is no IP address assigned to the student network vlan. I tried using ip addr add to add a static IP on the one CentOS node, but this does not get picked up by ovirt and of course ovirt controls the actual vlan files on the CentOS box through VDSM, so any changes I make there will likely just be overwritten.
So, my question is, should I stop VDSM, add the IP to the vlan files on the CentOS nodes and then restart VDSM or is there a proper way of solving this? I need the Display Network to be set to the student network.
Please use oVirt Engine to manage the network config of the host. In the web UI, go to Compute -> Hosts -> hostname -> Network Interfaces -> Setup Host Networks -> click the pencil icon to open the Edit Network window Did this solve the problem?
Thank you for any help.
Kim _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/O5GJRNIPOXJLZ2...

Thank you. Managed to add the IP's using that method Dominik and finally managed to set the display network to the Student network. A related question :) Our set up is a public facing IP that uses NAT at the firewall to point internally to the ovirt engine web app. When users create VM's and click on the SPICE console and download the .vv file, the file now points to the public facing IP, which I assume is correct as I have set the ovirt engine as the websocket proxy. Our remote users will not have access to the internal network through a VPN, so they need to be able to use Spice and connect to the VM's. So, the firewall would need to take the traffic coming in from the public facing IP on port 590(n) and point it to the internal ovirt engine IP, correct? Then, the ovirt engine as the websocket proxy would know where to send the traffic to match that VM? Have I understood the process correctly? Kind regards Kim
participants (3)
-
Dominik Holler
-
kim.kargaard@noroff.no
-
Staniforth, Paul