[ovirt-users] Re: Network configuration for self-hosted engine deployement oVirt node 4.2

2018-10-18 Thread Arnaud DEBEC
I did not try to reproduce the issue after it worked. As far as I remember:
1. I changed the bond0 policy from Active Backup to XOR (profile name: bond0, 
device: bond0) with eno1 and eno5 (ovirtmgmt).
2. I changed the bond1 policy from Round-Robin to XOR (profile name: bond1, 
device: bond1) with eno2, eno3, eno6 and eno7 (iSCSI).
___
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/BFGHA2EML3KF6NXZ4X25ERYHVDFGJ4NL/


[ovirt-users] Re: Network configuration for self-hosted engine deployement oVirt node 4.2

2018-10-17 Thread Gianluca Cecchi
On Wed, Oct 17, 2018 at 12:05 PM Simone Tiraboschi 
wrote:

>
>
> On Wed, Oct 17, 2018 at 5:57 PM Arnaud DEBEC 
> wrote:
>
>> Using XOR policy seams to fix the issue...
>>
>
> Can you please explain the issue and share your fix for it?
>

Probably he means he used a not-supported bonding mode before (which one?),
but then using XOR it worked?
Based on this doc:
https://www.ovirt.org/documentation/admin-guide/chap-Logical_Networks/

"

*Important:* Modes 1, 2, 3, and 4 support both virtual machine (bridged)
and non-virtual machine (bridgeless) network types. Modes 0, 5 and 6
support non-virtual machine (bridgeless) networks only.

oVirt uses Mode 4 by default, but supports the following common bonding
modes

...

"

Gianluca
___
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/4E3NKIHC3DKPSMSUJGZZZB6MJWHVLW6R/


[ovirt-users] Re: Network configuration for self-hosted engine deployement oVirt node 4.2

2018-10-17 Thread Simone Tiraboschi
On Wed, Oct 17, 2018 at 5:57 PM Arnaud DEBEC  wrote:

> Using XOR policy seams to fix the issue...
>

Can you please explain the issue and share your fix for it?


> ___
> 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/FP4MDP63NLBDJXNQ7GUHPGNAVFKNLGRC/
>
___
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/KLF22BUYL5VEFT5X6FFT27KM6SV3LZ4G/


[ovirt-users] Re: Network configuration for self-hosted engine deployement oVirt node 4.2

2018-10-17 Thread Arnaud DEBEC
Using XOR policy seams to fix the issue...
___
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/FP4MDP63NLBDJXNQ7GUHPGNAVFKNLGRC/


[ovirt-users] Re: Network configuration for self-hosted engine deployement oVirt node 4.2

2018-10-09 Thread Simone Tiraboschi
On Tue, Oct 9, 2018 at 4:47 PM Arnaud DEBEC  wrote:

> I try to deploy the engine today and got the following error: "A Network
> interface is required" like in my previous test.
>

Can you please attach the output of
  ansible localhost -m setup
executed on that host?


>
> Node version: virt-node-ng-installer-ovirt-4.2-2018062610
> 1. Install the oVirt node with DNS configured
> 2. Configure bond0 (profile name: bond0, device: bond0) with eno1 and eno5
> with Active Backup policy (to be the ovirtmgmt)
> 3. Configure bond1 (profile name: bond1, device: bond1) with eno2, eno3,
> eno6 and eno7 with Round-Robin policy (iSCSI)
>
> Do you have any idea? Here is the part of the log related to the error:
>
> 2018-10-09 15:20:20,545+0200 DEBUG otopi.context
> context.dumpEnvironment:859 ENVIRONMENT DUMP - BEGIN
> 2018-10-09 15:20:20,545+0200 DEBUG otopi.context
> context.dumpEnvironment:869 ENV OVEHOSTED_NETWORK/gateway=str:'172.16.51.1'
> 2018-10-09 15:20:20,546+0200 DEBUG otopi.context
> context.dumpEnvironment:869 ENV
> QUESTION/1/OVEHOSTED_GATEWAY=str:'172.16.51.1'
> 2018-10-09 15:20:20,547+0200 DEBUG otopi.context
> context.dumpEnvironment:873 ENVIRONMENT DUMP - END
> 2018-10-09 15:20:20,549+0200 DEBUG otopi.context
> context._executeMethod:128 Stage customization METHOD
> otopi.plugins.gr_he_common.network.bridge.Plugin._customization
> 2018-10-09 15:20:20,551+0200 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:153
> ansible-playbook: cmd: ['/bin/ansible-playbook',
> '--module-path=/usr/share/ovirt-hosted-engine-setup/ansible',
> '--inventory=localhost,', '--extra-vars=@/tmp/tmpnaI1ZJ',
> '/usr/share/ovirt-hosted-engine-setup/ansible/get_network_interfaces.yml']
> 2018-10-09 15:20:20,551+0200 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:154
> ansible-playbook: out_path: /tmp/tmpBI6O9s
> 2018-10-09 15:20:20,551+0200 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:155
> ansible-playbook: vars_path: /tmp/tmpnaI1ZJ
> 2018-10-09 15:20:20,551+0200 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:156
> ansible-playbook: env: {'HE_ANSIBLE_LOG_PATH':
> '/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-get_network_interfaces-20181009152020-xbd9mm.log',
> 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '172.16.51.44 53872
> 22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root',
> 'HOME': '/root', 'PATH':
> '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin',
> 'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT': '\\e[1;34m', 'LANG':
> 'en_US.UTF-8', 'TERM': 'screen', 'SHELL': '/bin/bash', 'LANGUAGE': '',
> 'SHLVL': '2', 'PWD': '/root', 'HISTSIZE': '1000', 'OTOPI_CALLBACK_OF':
> '/tmp/tmpBI6O9s', 'XMODIFIERS': '@im=none', 'XDG_RUNTIME_DIR':
> '/run/user/0', 'GUESTFISH_PS1': '\\[\\e[1;32m\\]>\\[\\e[0;31m\\] ',
> 'ANSIBLE_STDOUT_CALLBACK': '1_otopi_json', 'PYTHONPATH':
> '/usr/share/ovirt-hosted-engine-setup/scripts/..:',
> 'SELINUX_ROLE_REQUESTED': '', 'MAIL
>  ': '/var/spool/mail/root', 'ANSIBLE_CALLBACK_WHITELIST':
> '1_otopi_json,2_ovirt_logger', 'XDG_SESSION_ID': '2346', 'STY':
> '21717.pts-0.OB-PMO-VSR01', 'TERMCAP': 'SC|screen|VT 100/ANSI X3.64 virtual
> terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#61:co#106:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@
> :ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--
>
>  
> ++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:Km=\\E[M:k0=\\E[10~:k1=\\EOP:k2=\\EOQ:\\\n\t:k3=\\EOR:k4=\\EOS:k5=\\E[15~:k6=\\E[17~:k7=\\E[18~:\\\n\t:k8=\\E[19~:k9=\\E[20~:k;=\\E[21~:F1=\\E[23~:F2=\\E[24~:\\\n\t:F3=\\E[1;2P:F4=\\E[1;2Q:F5=\\E[1;2R:F6=\\E[1;2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=\x7f:\\\n\t:K2=\\EOE:kB=\\E[Z:kF=\\E[1;2B:kR=\\E[1;2A:*4=\\E[3;2~:\\\n\t:*7=\\E[1;2F:#2=\\E[1;2H:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:\\\n\t:%e=\\E[5;2~:%i=\\E[1;2C:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:\\\n\t:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:\\\n\t:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:',
> 'LS_COLORS':
> 

[ovirt-users] Re: Network configuration for self-hosted engine deployement oVirt node 4.2

2018-10-09 Thread Arnaud DEBEC
I try to deploy the engine today and got the following error: "A Network 
interface is required" like in my previous test.

Node version: virt-node-ng-installer-ovirt-4.2-2018062610
1. Install the oVirt node with DNS configured
2. Configure bond0 (profile name: bond0, device: bond0) with eno1 and eno5 with 
Active Backup policy (to be the ovirtmgmt)
3. Configure bond1 (profile name: bond1, device: bond1) with eno2, eno3, eno6 
and eno7 with Round-Robin policy (iSCSI)

Do you have any idea? Here is the part of the log related to the error:

2018-10-09 15:20:20,545+0200 DEBUG otopi.context context.dumpEnvironment:859 
ENVIRONMENT DUMP - BEGIN
2018-10-09 15:20:20,545+0200 DEBUG otopi.context context.dumpEnvironment:869 
ENV OVEHOSTED_NETWORK/gateway=str:'172.16.51.1'
2018-10-09 15:20:20,546+0200 DEBUG otopi.context context.dumpEnvironment:869 
ENV QUESTION/1/OVEHOSTED_GATEWAY=str:'172.16.51.1'
2018-10-09 15:20:20,547+0200 DEBUG otopi.context context.dumpEnvironment:873 
ENVIRONMENT DUMP - END
2018-10-09 15:20:20,549+0200 DEBUG otopi.context context._executeMethod:128 
Stage customization METHOD 
otopi.plugins.gr_he_common.network.bridge.Plugin._customization
2018-10-09 15:20:20,551+0200 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:153 
ansible-playbook: cmd: ['/bin/ansible-playbook', 
'--module-path=/usr/share/ovirt-hosted-engine-setup/ansible', 
'--inventory=localhost,', '--extra-vars=@/tmp/tmpnaI1ZJ', 
'/usr/share/ovirt-hosted-engine-setup/ansible/get_network_interfaces.yml']
2018-10-09 15:20:20,551+0200 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:154 
ansible-playbook: out_path: /tmp/tmpBI6O9s
2018-10-09 15:20:20,551+0200 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:155 
ansible-playbook: vars_path: /tmp/tmpnaI1ZJ
2018-10-09 15:20:20,551+0200 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:156 
ansible-playbook: env: {'HE_ANSIBLE_LOG_PATH': 
'/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-get_network_interfaces-20181009152020-xbd9mm.log',
 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT': '172.16.51.44 53872 
22', 'SELINUX_USE_CURRENT_RANGE': '', 'LOGNAME': 'root', 'USER': 'root', 
'HOME': '/root', 'PATH': 
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 
'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT': '\\e[1;34m', 'LANG': 
'en_US.UTF-8', 'TERM': 'screen', 'SHELL': '/bin/bash', 'LANGUAGE': '', 'SHLVL': 
'2', 'PWD': '/root', 'HISTSIZE': '1000', 'OTOPI_CALLBACK_OF': '/tmp/tmpBI6O9s', 
'XMODIFIERS': '@im=none', 'XDG_RUNTIME_DIR': '/run/user/0', 'GUESTFISH_PS1': 
'\\[\\e[1;32m\\]>\\[\\e[0;31m\\] ', 'ANSIBLE_STDOUT_CALLBACK': 
'1_otopi_json', 'PYTHONPATH': 
'/usr/share/ovirt-hosted-engine-setup/scripts/..:', 'SELINUX_ROLE_REQUESTED': 
'', 'MAIL
 ': '/var/spool/mail/root', 'ANSIBLE_CALLBACK_WHITELIST': 
'1_otopi_json,2_ovirt_logger', 'XDG_SESSION_ID': '2346', 'STY': 
'21717.pts-0.OB-PMO-VSR01', 'TERMCAP': 'SC|screen|VT 100/ANSI X3.64 virtual 
terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t: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\E[2~:kD=\\E[3~:ku=\\EOA:\\\n\t:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:',
 'LS_COLORS': 
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:
 

[ovirt-users] Re: Network configuration for self-hosted engine deployement oVirt node 4.2

2018-10-05 Thread Arnaud DEBEC
> What you did looks fine but please take care that bonds should be named
> bondX where X is [0, 1, 2...].

I remember using 'bond-admin', 'bond-infra' for the name of my bonding via 
nmtui on my previous test. I keep this in mind for my future deployment.

> Please note then that not all the bonding modes could be used for VMs and
> the engine VM should reach the hosts over the management network:
> https://www.ovirt.org/documentation/admin-guide/chap-Logical_Networks/#bo...

Good point! I am pretty sure I was using Round Robin for the admin and XOR for 
the infra. The admin (ovirtmgmt) cannot be RR, I will also check that.

Thank you for your feedback @Simone!
___
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/ECOVJH2LCHKR6TLSKK65DLL7WMBJ6H22/


[ovirt-users] Re: Network configuration for self-hosted engine deployement oVirt node 4.2

2018-10-04 Thread Simone Tiraboschi
On Thu, Oct 4, 2018 at 2:46 PM  wrote:

> Dear all,
>
> I am going to deploy a self-hosted engine in order to manage 3 servers
> with 8 network interfaces each. I couldn't find in the documentation when
> the network shall be configured to perform the self-hosted engine
> deployment. In others words, what shall be done at the oVirt Node level and
> what shall managed afterwards via the Engine once the self-hosted engine is
> performed.
>
> Node version: virt-node-ng-installer-ovirt-4.2-2018062610
> Storage: SAN via iSCSI
>
> I tried this order in my previous tests:
> 1. Install the oVirt node on every server with DNS configured
> 2. Configure IP + bond for the administration network (2 interfaces)
> 3. Configure IP for iSCSI network (4 interfaces)
> 4. Configure IP + bond for the VM network
> 5. self-hosted --deploy
> At this point, oVirt complained by not finding an network interface
> available for the deployment. Is the bond must be configured afterward via
> the Engine?
>

What you did looks fine but please take care that bonds should be named
bondX where X is [0, 1, 2...].
Please note then that not all the bonding modes could be used for VMs and
the engine VM should reach the hosts over the management network:
https://www.ovirt.org/documentation/admin-guide/chap-Logical_Networks/#bonding-modes



> ___
> 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/6R3ER42JVQRLKDTG4W5XCL36FKQHRMT5/
>
___
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/V36WJ2U332WKTLKD2PQQ3MN73E35AH2I/