Can ovirt-node support multiple network cards ?

Can ovirt-node support multiple network cards ? I download ovirt-node-ng-installer-4.3.5-2019073010.el7.iso from ovirt site. And install on a Dell R730 Server. The version of ovirt-engine is 4.3.5.5. I found that the logic network ovirtmgmt can only point to one network card interface. Can ovirt-node support multiple network cards ? If yes , please tell me the method.

Yes but you either need to create another network in ovirt or bond interfaces On Tue, Oct 8, 2019 at 11:34 PM <wangyu13476969128@126.com> wrote:
Can ovirt-node support multiple network cards ?
I download ovirt-node-ng-installer-4.3.5-2019073010.el7.iso from ovirt site. And install on a Dell R730 Server.
The version of ovirt-engine is 4.3.5.5.
I found that the logic network ovirtmgmt can only point to one network card interface.
Can ovirt-node support multiple network cards ?
If yes , please tell me the method. _______________________________________________ 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/XJWHOPZBYFUFPT...

Hi please check oVirt documentation: https://www.ovirt.org/documentation/admin-guide/chap-Logical_Networks.html On Wed, Oct 9, 2019 at 5:33 AM <wangyu13476969128@126.com> wrote:
Jayme , how can I create another network in ovirt ? _______________________________________________ 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/J3PEGEQCK6SJ64...
-- PAVOL BRILLA RHV QUALITY ENGINEER, CLOUD Red Hat Czech Republic, Brno <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

At present, there is a ovirt-node1, which has two physical network cards. The IP of one network card is 172.16.91.10, and the IP of one network card is 172.16.131.10. If I want to create a logical network card, both logical network cards are on the same network as the physical network card. For example: The IP of a logical network card is 172.16.91.11, and the IP of a logical network card is 172.16.131.11. Should I choose "Connect to physical network" in the Logical Network to meet the above requirements?

I am unable to tell from your question what research you have done or what you have tried so far. Anyway, review this- https://ovirt.org/documentation/admin-guide/chap-Logical_Networks.html. Generally speaking, the checkbox for "Connect to physical network" should not be needed for your example. You most likely will need to set up VLANs when you create the logical network.

When I create a new logical network , the option is : Select the "Create on external provider" check box, the External Provider is "ovirt-provider-ovn". Leaving Connect to physical network unselected. The IP of another network card in node2 is 172.16.91.197. So the Subnet interface : CIDR : 172.16.90.0/23 Gateway : 172.16.90.1 Then I click "OK". The error show : Error while executing action AddNetworkWithSubnetOnProvider: Failed to communicate with the external provider, see log for additional details. How can I solve this problem ?

Then I view log , the error log is : 2019-11-06 14:59:57,010+08 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-79) [497583f7] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Connection refused (Connection refused) and code 5050) How can I solve this problem ?

The full log is : 2019-11-06 14:59:57,010+08 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-79) [497583f7] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Connection refused (Connection refused) and code 5050) 2019-11-06 14:59:57,011+08 INFO [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-79) [497583f7] Lock freed to object 'EngineLock:{exclusiveLocks='[3a2f66a1-82c2-414f-a532-62f6c36389c9=PROVIDER]', sharedLocks=''}' 2019-11-06 15:00:11,996+08 INFO [org.ovirt.engine.core.bll.provider.network.AddNetworkWithSubnetOnProviderCommand] (default task-72) [4117e052-5919-4ca7-aafa-4f34e65ed19d] Running command: AddNetworkWithSubnetOnProviderCommand internal: false. Entities affected : ID: ed88fc90-59d3-4a6a-9a11-c9861a8be95f Type: StoragePoolAction group CREATE_STORAGE_POOL_NETWORK with role type ADMIN

On Wed, Nov 6, 2019 at 7:54 AM <wangyu13476969128@126.com> wrote:
When I create a new logical network , the option is : Select the "Create on external provider" check box, the External Provider is "ovirt-provider-ovn". Leaving Connect to physical network unselected.
This way the network would be available only for VMs, invisible (in a GENEVE tunnel) on the physical network.
The IP of another network card in node2 is 172.16.91.197.
So the Subnet interface :
CIDR : 172.16.90.0/23 Gateway : 172.16.90.1
Then I click "OK". The error show : Error while executing action AddNetworkWithSubnetOnProvider: Failed to communicate with the external provider, see log for additional details.
This message means that ovirt-engine fails to communicate with ovirt-provider-ovn. What is the auth host name and the provider url of the ovirt-provider-ovn in engine? Is the ovirt-provider-ovn running on engine's host (systemctl status ovirt-provider-ovn)?
How can I solve this problem ?
Unfortunately I am not sure if I understood what the problem is. Is it still related to aggregated physical interfaces to a bond?
_______________________________________________ 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/IE22JPR3FSGRWO...

I check the status of ovirt-provider-ovn. It's inactive. [root@ovirt-manager ~]# systemctl status ovirt-provider-ovn ● ovirt-provider-ovn.service - oVirt OVN provider Loaded: loaded (/usr/lib/systemd/system/ovirt-provider-ovn.service; disabled; vendor preset: disabled) Active: inactive (dead) Then I start ovirt-provider-ovn service. [root@ovirt-manager ~]# systemctl start ovirt-provider-ovn [root@ovirt-manager ~]# systemctl status ovirt-provider-ovn ● ovirt-provider-ovn.service - oVirt OVN provider Loaded: loaded (/usr/lib/systemd/system/ovirt-provider-ovn.service; disabled; vendor preset: disabled) Active: active (running) since Thu 2019-11-07 09:29:00 CST; 2s ago Main PID: 10512 (python2) CGroup: /system.slice/ovirt-provider-ovn.service └─10512 /usr/bin/python2 /usr/share/ovirt-provider-ovn/ovirt_provi...

What I hope to do is that the two NICs of the virtual machine are on the same network segment as the two NICs on the node. For example, the two IPs on node are 172.16.100.10 and 172.16.131.20 respectively. I hope the effect is the IP of the virtual machine on node is also 172.16.100.* and 172.16.131.*

What is the auth host name and the provider url of the ovirt-provider-ovn in engine? The provider url of ovirt-provider-ovn in engine is : https://ovirt-manager:9696/ When I access https://ovirt-manager:9696/ , it show : { "error": { "message": "Error during SSO authentication invalid_grant : The provided authorization grant for the auth code has expired.", "code": 401, "title": "Unauthorized" } } The hostname of ovirt-engine is "ovirt-manager"

On Thu, Nov 7, 2019 at 3:45 AM <wangyu13476969128@126.com> wrote:
What is the auth host name and the provider url of the ovirt-provider-ovn in engine?
The provider url of ovirt-provider-ovn in engine is : https://ovirt-manager:9696/
When I access https://ovirt-manager:9696/ , it show : { "error": { "message": "Error during SSO authentication invalid_grant : The provided authorization grant for the auth code has expired.",
Looks like the /etc/ovirt-provider-ovn/conf.d/10-setup-ovirt-provider-ovn.conf does not fit to engine's expectations. This can be fixed like described in https://lists.ovirt.org/archives/list/users@ovirt.org/message/POZM22KMV7MT7H... :
How did you update the secret? The procedure would be 1. Run /usr/share/ovirt-engine/bin/ovirt-register-sso-client-tool.sh with Client Id: ovirt-provider-ovn Client CA Certificate File Location: /etc/pki/ovirt-engine/certs/engine.cer Callback Prefix URL: https://<ENGINE_FQDN>:443/ovirt-engine/ 2. Use the SSO_CLIENT_SECRET from the outfile produced by the previous command in /etc/ovirt-provider-ovn/conf.d/10-setup-ovirt-provider-ovn.conf 3. Restart ovirt-engine and ovirt-provider-ovn systemctl restart ovirt-engine systemctl restart ovirt-provider-ovn
If this does not solve the problem and you want to use the ovirt-provider-ovn, please increase logging in ovirt-provider-ovn via sudo sed -i.$(date +%F-%H-%M) 's/INFO/DEBUG/gi' /etc/ovirt-provider-ovn/logger.conf systemctl restart ovirt-provider-ovn
and share the ovirt-provider-ovn.log with the error after the restart.
Else you can try to remove or rename the ovirt-provider-ovn provider in oVirt Engine, if it already exists, and run engine-setup again like this engine-setup --reconfigure-optional-components or with answer-file that has 'OVESETUP_OVN/ovirtProviderOvn' enabled: 'OVESETUP_OVN/ovirtProviderOvn=bool:True
"code": 401, "title": "Unauthorized" } }
The hostname of ovirt-engine is "ovirt-manager" _______________________________________________ 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/OEXIJZ3QXPFC5M...

On Thu, Nov 7, 2019 at 3:07 AM <wangyu13476969128@126.com> wrote:
What I hope to do is that the two NICs of the virtual machine are on the same network segment as the two NICs on the node. For example, the two IPs on node are 172.16.100.10 and 172.16.131.20 respectively. I hope the effect is the IP of the virtual machine on node is also 172.16.100.* and 172.16.131.*
What kind of operation is needed to achieve this effect?
You can attach VMs to a host network on layer 2 by attaching the vNIC to the vNIC profile of the host network, e.g. ovirtmgmt/ovirtmgmt. oVirt provides only very little help in IP configuration of the VMs, the VM can use the DHCP server of the host network or static IPs.
_______________________________________________ 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/HECCFIC2IUBZ7D...
participants (5)
-
Dominik Holler
-
Jayme
-
jeremy_tourville@hotmail.com
-
Pavol Brilla
-
wangyu13476969128@126.com