[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-07 Thread Dominik Holler
On Thu, Nov 7, 2019 at 3:07 AM  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-le...@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/HECCFIC2IUBZ7DZWDJN5IGMCW4RLI324/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/76QGZC4DZZ5ZNYGT2TPUNQUO25KKHZUB/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-07 Thread Dominik Holler
On Thu, Nov 7, 2019 at 3:45 AM  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/POZM22KMV7MT7HNI7M5B6TSLE4PQXRQH/
:

> > 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://: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-le...@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/OEXIJZ3QXPFC5M4VDVO6TNXCO2NAR5CV/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/SONT2EY5GCNY7JE33QCHUSSPM5QJUTTZ/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-06 Thread wangyu13476969128
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" 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/OEXIJZ3QXPFC5M4VDVO6TNXCO2NAR5CV/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-06 Thread wangyu13476969128
What kind of operation is needed to achieve this effect?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/V6BMCUZT723TQTWUO5XCFVNE7CQMSS6F/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-06 Thread wangyu13476969128
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.*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/HECCFIC2IUBZ7DZWDJN5IGMCW4RLI324/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-06 Thread wangyu13476969128
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...
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/FKBWGQ7FK2XSS624KSGZVC2Y6WYC6DHX/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-06 Thread Dominik Holler
On Wed, Nov 6, 2019 at 7:54 AM  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-le...@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/IE22JPR3FSGRWOV3GQ5VSUE5CPFU5KI6/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/5CZEVQHETQGBURC24OYG6ZFVR42IPC7B/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-05 Thread wangyu13476969128
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
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/7LKFP5Q4PY2ZL7NVX55SF5VFTTG6JJN5/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-05 Thread wangyu13476969128
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 ?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/RHMIBOLBATEAQY24ZTLAICRR6FGCXNI4/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-11-05 Thread wangyu13476969128
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 ?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/IE22JPR3FSGRWOV3GQ5VSUE5CPFU5KI6/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-10-21 Thread jeremy_tourville
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.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/D5IJME6AMGGH5UU62TJHPXNKMMPCMFMX/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-10-10 Thread wangyu13476969128
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?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/VZMHHAXVG4HLYRJ5WN74DOLJWHR4LTRL/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-10-09 Thread Pavol Brilla
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  wrote:

> Jayme , how can I create another network in ovirt ?
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/J3PEGEQCK6SJ644I2CRVJSRVQZJWGA3K/
>


-- 

PAVOL BRILLA

RHV QUALITY ENGINEER, CLOUD

Red Hat Czech Republic, Brno 

TRIED. TESTED. TRUSTED. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/N4NR7UVWOMXK734ATAD53QBIM3BCACAH/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-10-08 Thread wangyu13476969128
Jayme , how can I create another network in ovirt ?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/J3PEGEQCK6SJ644I2CRVJSRVQZJWGA3K/


[ovirt-users]Re: Can ovirt-node support multiple network cards ?

2019-10-08 Thread Jayme
Yes but you either need to create another network in ovirt or bond
interfaces

On Tue, Oct 8, 2019 at 11:34 PM  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-le...@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/XJWHOPZBYFUFPTQYKVFU5SJM7KOSFG6Z/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/OYVUS5Y5LOAFOZGH4F2M4BLBJCAYY4L3/