Re: [ovirt-users] OVN between two different datacenters with different networks

2018-04-13 Thread Vasily Lamykin
Very big thanks, In your solution I want fix only one...
" tunneling-IP is IP-of-host-of-engine-2"
For me - works variant is IP of host2 , which can provides access to engine1

Василий Ламыкин
Старший инженер по эксплуатации сетевых сервисов Центра управления сетью Столица
Единый Центр управления сетью
+7 (925) 696-1032
-Original Message-
From: Dominik Holler [mailto:dhol...@redhat.com] 
Sent: Tuesday, April 10, 2018 6:08 PM
To: Vasily Lamykin (GNOC) <vasily.lamy...@megafon.ru>
Cc: users@ovirt.org
Subject: Re: [ovirt-users] OVN between two different datacenters with different 
networks

On Tue, 10 Apr 2018 11:48:50 +0000
Vasily Lamykin <vasily.lamy...@megafon.ru> wrote:

> Hi, all
> I try to configure ovn in engine, what I do by step:
> 1.Created network test1 with external ovn provider on engine1 
> 2.Created subnet for this network 3.Connect engine2 to engine1 ovn 
> provider(through “add provider”) 4.Successfully imported network test1 
> on engine2 5.I see subnet’s on all engines 6.Created 2 VM with nic in 
> network test1 on both engines 7.Assigned ips from one 
> subnet(192.168.10.0/24) to all VMs
> 

The subnet is used to configure OVN's internal DHCP server.
This means you use DHCP to assign IPs to the vNICs, which is already a good 
test if the VM is connected as expected.

> Expected results: VM from engine1 can ping VM from engine2 in same 
> subnet in ovn network test1
> 
> Now, I don’t have ping ability between two VMs
> 
> ovn-nbctl show
> switch 54beaa3c-de8f-435f-b132-8542ddeb4b4b (test-ovn-phys)
> port b580d44d-e616-42dd-9e17-63983d0f91e5
> addresses: ["00:1a:4a:16:01:01 dynamic"]
> port cfd5f32c-00a7-419e-8bbe-27518a4c74dc
> addresses: ["00:1a:4a:16:01:00 dynamic"]
> 
> node from engine1 with testVM
> vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
> master ovs-system state UNKNOWN qlen 1000 link/ether
> fe:1a:4a:16:01:01 brd ff:ff:ff:ff:ff:ff inet6
> fe80::fc1a:4aff:fe16:101/64 scope link valid_lft forever preferred_lft 
> forever
> 
> node from engine2 with testVM
> vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
> master ovs-system state UNKNOWN qlen 1000 link/ether
> fe:1a:4a:16:01:00 brd ff:ff:ff:ff:ff:ff inet6
> fe80::fc1a:4aff:fe16:100/64 scope link valid_lft forever preferred_lft 
> forever
> 
> How can I do ovn connection? What I did wrong?
> 

Please note that per host only a single OVN central is supported!

Please check via
sudo ovn-sbctl show
on engine1 if both hosts are connected to OVN central engine1.

Probably the host of engine2 is configured to use engine2 as it's OVN central. 
Probable the host of engine2 has to be connected to OVN central engine1 and the 
tunneling interface might require some configuration.

Both is handled by executing
/usr/libexec/ovirt-provider-ovn/setup_ovn_controller.sh \  IP-central 
tunneling-IP key_file cert_file ca_file on the host.

Probably
IP-central is IP-of-engine1
tunneling-IP is IP-of-host-of-engine-2
and key_file cert_file ca_file has to be stolen from host of engine1 and copied 
in a new location on host2 and configured on host2.


> 
> 
> Информация в этом сообщении предназначена исключительно для конкретных 
> лиц, которым она адресована. В сообщении может содержаться 
> конфиденциальная информация, которая не может быть раскрыта или 
> использована кем-либо, кроме адресатов. Если вы не адресат этого 
> сообщения, то использование, переадресация, копирование или 
> распространение содержания сообщения или его части незаконно и 
> запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, 
> незамедлительно сообщите отправителю об этом и удалите со всем 
> содержимым само сообщение и любые возможные его копии и приложения.
> 
> The information contained in this communication is intended solely for 
> the use of the individual or entity to whom it is addressed and others 
> authorized to receive it. It may contain confidential or legally 
> privileged information. The contents may not be disclosed or used by 
> anyone other than the addressee. If you are not the intended 
> recipient(s), any use, disclosure, copying, distribution or any action 
> taken or omitted to be taken in reliance on it is prohibited and may 
> be unlawful. If you have received this communication in error please 
> notify us immediately by responding to this email and then delete the 
> e-mail and all attachments and any copies thereof.
> 
> -

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] OVN between two different datacenters with different networks

2018-04-10 Thread Vasily Lamykin
Hi, all
I try to configure ovn in engine, what I do by step:
1.Created network test1 with external ovn provider on engine1
2.Created subnet for this network
3.Connect engine2 to engine1 ovn provider(through “add provider”)
4.Successfully imported network test1 on engine2
5.I see subnet’s on all engines
6.Created 2 VM with nic in network test1 on both engines
7.Assigned ips from one subnet(192.168.10.0/24) to all VMs

Expected results: VM from engine1 can ping VM from engine2 in same subnet in 
ovn network test1

Now, I don’t have ping ability between two VMs

ovn-nbctl show
switch 54beaa3c-de8f-435f-b132-8542ddeb4b4b (test-ovn-phys)
port b580d44d-e616-42dd-9e17-63983d0f91e5
addresses: ["00:1a:4a:16:01:01 dynamic"]
port cfd5f32c-00a7-419e-8bbe-27518a4c74dc
addresses: ["00:1a:4a:16:01:00 dynamic"]

node from engine1 with testVM
vnet0:  mtu 1500 qdisc pfifo_fast master 
ovs-system state UNKNOWN qlen 1000
link/ether fe:1a:4a:16:01:01 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc1a:4aff:fe16:101/64 scope link
   valid_lft forever preferred_lft forever

node from engine2 with testVM
vnet0:  mtu 1500 qdisc pfifo_fast master 
ovs-system state UNKNOWN qlen 1000
link/ether fe:1a:4a:16:01:00 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc1a:4aff:fe16:100/64 scope link
   valid_lft forever preferred_lft forever

How can I do ovn connection? What I did wrong?



Информация в этом сообщении предназначена исключительно для конкретных лиц, 
которым она адресована. В сообщении может содержаться конфиденциальная 
информация, которая не может быть раскрыта или использована кем-либо, кроме 
адресатов. Если вы не адресат этого сообщения, то использование, переадресация, 
копирование или распространение содержания сообщения или его части незаконно и 
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно 
сообщите отправителю об этом и удалите со всем содержимым само сообщение и 
любые возможные его копии и приложения.

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. The 
contents may not be disclosed or used by anyone other than the addressee. If 
you are not the intended recipient(s), any use, disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. If you have received this communication in 
error please notify us immediately by responding to this email and then delete 
the e-mail and all attachments and any copies thereof.

-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Memory treshold

2017-04-04 Thread vasily . lamykin
engine-config -s LogMaxPhysicalMemoryUsedThresholdInPercentage=%percent per 
threshold%

Василий Ламыкин
Старший инженер по эксплуатации сервисных платформ
Эксплуатация сети
Столичный филиал ПАО «МегаФон»
+7 (926) 500-3308


-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
users-requ...@ovirt.org
Sent: Wednesday, March 29, 2017 1:00 PM
To: users@ovirt.org
Subject: Users Digest, Vol 66, Issue 254

Send Users mailing list submissions to
users@ovirt.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ovirt.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-requ...@ovirt.org

You can reach the person managing the list at
users-ow...@ovirt.org

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Users digest..."


Today's Topics:

   1. Re:  VM "hot" RAM memory decrease (Martin Sivak)
   2.  Memory treshold (vasily.lamykin)
   3. Re:  iSCSI Discovery cannot detetect LUN (Eduardo Mayoral)


--

Message: 1
Date: Wed, 29 Mar 2017 11:50:59 +0200
From: Martin Sivak 
To: Nicol?s 
Cc: users 
Subject: Re: [ovirt-users] VM "hot" RAM memory decrease
Message-ID:

Content-Type: text/plain; charset=UTF-8

Hi Nicolas,

you are right, the log shows exactly the right values. Those numbers are 
exactly what is sent to libvirt using currentMemory field in 
https://libvirt.org/formatdomain.html#elementsMemoryAllocation

So if the VM does not have enough memory, we will have to start looking there.

Best regards

Martin Sivak

On Wed, Mar 29, 2017 at 11:04 AM,   wrote:
> Hi Martin,
>
> I do, I'm attaching it. I merged the full day's log into one.
> Significant hours start at 11:24:57 (log time). The interesting
> machine is called jbaspre01, and as per what I can deduce, the values
> in log are correct (it never goes under the threshold of 1GB, which is
> its minimum). However, my colleagues and I are 100% sure we saw this
> machine having about 600K KiB when running top.
>
> This machine has:
> Memory size: 8196 MB
> Minimal guaranteed memory: 1024 MB
>
> If you need additional information don't hesitate to ask.
>
> Regards.
>
>
> El 2017-03-29 09:44, Martin Sivak escribi?:
>>
>> Hi Nicolas,
>>
>> KiB Mem tells you how much memory the host has. I am actually more
>> interested in the VM. Do you still have the mom.log from the time
>> this happened? We keep the logs for some time (they are rotated).
>>
>> Best regards
>>
>> Martin
>>
>> On Wed, Mar 29, 2017 at 10:28 AM,   wrote:
>>>
>>> El 2017-03-28 15:33, Martin Sivak escribi?:
>
>
> min guaranteed should be respected, adding mom maintainer Martin



 I can't really help without the mom.log and the virsh dumpxml
 output of that VM in the final state (all memory ballooned).

 Min guaranteed should be respected, but the question is how the
 physical memory was measured (which number from top was used).

 --
 Martin Sivak
 SLA / oVirt

>>>
>>> Hi Martin,
>>>
>>> I tried to reproduce the issue again and I was unable to. I had a
>>> host with ~90% of RAM utilization and in mom.log I could see that
>>> ballooning was indeed happening, but I couldn't see a VM going under
>>> its minimum guaranteed threshold (at least not significantly).
>>>
>>> On top, I was using the 'KiB Mem' value to compare. I know this is
>>> in KiB and that oVirt has its values as MB in the webadmin, but when
>>> I sent this message the difference was quite more significant
>>> (1024MB of minimum guaranteed and about 640K KiB on the VM).
>>>
>>> It's also true that meanwhile we upgraded from 4.0.2 to 4.1.1 and
>>> this time I couldn't reproduce it anymore.
>>>
>>> If at some point I am able to reproduce it again, I'll send detailed
>>> logs of the issue.
>>>
>>> Thanks.
>>>
>>>
 On Tue, Mar 28, 2017 at 4:29 PM, Michal Skrivanek
  wrote:
>
>
>
>> On 27 Mar 2017, at 23:15, Nicol?s  wrote:
>>
>> Hi,
>>
>> I don't really know if this question is suitable on this list, as
>> I doubt it's an oVirt bug, neither I know if it shall be
>> considered a bug.
>>
>> We recently run a VM on a host that was memory over-used (around
>> 80% of usage). The VM booted correctly, then we run "top" and saw
>> how physical RAM started decreasing every two seconds. At first
>> it was 4GB, then less and less until it stabilized at around
>> 600MB.
>>
>> Based on this (correct me if I'm wrong), we believe this is an
>> effect of having this VM with ballooning enabled, as it does
>> exactly this: It adds/removes RAM depending on host decision.
>> Thing is 

[ovirt-users] Memory treshold

2017-03-29 Thread vasily . lamykin
Hi all.
Explain please, where I can disable for cluster this threshold:
Used memory of host *** [98%] exceeded defined threshold [95%].
?

Василий Ламыкин
Старший инженер по эксплуатации сервисных платформ
Эксплуатация сети
Столичный филиал ПАО «МегаФон»
+7 (926) 500-3308
[МегаФон лого+знак РУС B2C]




Информация в этом сообщении предназначена исключительно для конкретных лиц, 
которым она адресована. В сообщении может содержаться конфиденциальная 
информация, которая не может быть раскрыта или использована кем-либо, кроме 
адресатов. Если вы не адресат этого сообщения, то использование, переадресация, 
копирование или распространение содержания сообщения или его части незаконно и 
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно 
сообщите отправителю об этом и удалите со всем содержимым само сообщение и 
любые возможные его копии и приложения.

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. The 
contents may not be disclosed or used by anyone other than the addressee. If 
you are not the intended recipient(s), any use, disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. If you have received this communication in 
error please notify us immediately by responding to this email and then delete 
the e-mail and all attachments and any copies thereof.

(c)20mf50
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users