[ovirt-users] Re: nagios for ovirt 4

2019-05-15 Thread Yaniv Kaul
On Mon, Oct 10, 2016 at 12:23 PM, Kapetanakis Giannis <
bil...@edu.physics.uoc.gr> wrote:

> On 10/10/16 11:59, Kapetanakis Giannis wrote:
> > Hi,
> >
> > Is there any usable nagios plugin what works with ovirt engine 4?
> >
> > regards,
> >
> > Giannis
>
> Self replying.
> Latest version of https://github.com/ovido/check_rhev3 works fine
>

>From what I can see, it might not work with oVirt 4.x, due to outdated API
endpoint[1].
I've opened an issue[2] about it.
Y.

[1]
https://github.com/ovido/check_rhev3/blob/master/plugin-dir/check_rhev3.pl#L47

[2] https://github.com/ovido/check_rhev3/issues/48

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

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
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/YMGWKLXNX3K3E42ONH5BABDOMOZAPJEP/


[ovirt-users] Re: RE > Multiple export domains limit?

2019-05-15 Thread Yaniv Kaul
On Fri, Oct 7, 2016 at 6:55 PM,  wrote:

> Hello oVirt guru`s!
>
> http://lists.ovirt.org/pipermail/users/2015-November/036056.html
>
> Is there a progress on this issue?
>

As far as I can see it is not an issue, but a feature request. Patches are
welcome, of course.

We are working on a download image API which might change the need for an
export domain, or the way it'll be used.
Y.

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

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
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/WPU5YT3KR7RWJGYQYPZ643AI2XQAZQLF/


[ovirt-users] Re: DISCARD support?

2019-05-14 Thread Yaniv Kaul
On Oct 4, 2016 11:11 AM, "Nicolas Ecarnot"  wrote:
>
> Hello,
>
> Sending this here to share knowledge.
>
> Here is what I learned from many BZ and mailing list posts readings. I'm
not working at Redhat, so please correct me if I'm wrong.
>
> We are using thin-provisioned block storage LUNs (Equallogic), on which
oVirt is creating numerous Logical Volumes, and we're very happy with it.
> When oVirt is removing a virtual disk, the SAN is not informed, because
the LVM layer is not sending the "issue_discard" flag.
>
> /etc/lvm/lvm.conf is not the natural place to try to change this
parameter, as VDSM is not using it.
>
> Efforts are presently made to include issue_discard setting support
directly into vdsm.conf, first on a datacenter scope (4.0.x), then per
storage domain (4.1.x) and maybe via a web GUI check-box. Part of the
effort is to make sure every bit of a planned to be removed LV get wiped
out. Part is to inform the block storage side about the deletion, in case
of thin provisioned LUNs.

Our implementation will be independent of the LVM setting issue_discard,
will not be based on it and it won't be needed.
Y.

>
> https://bugzilla.redhat.com/show_bug.cgi?id=1342919
> https://bugzilla.redhat.com/show_bug.cgi?id=981626
>
> --
> Nicolas ECARNOT
>
> On Mon, Oct 3, 2016 at 2:24 PM, Nicolas Ecarnot 
wrote:
>>
>> Yaniv,
>>
>> As a pure random way of web surfing, I found that you posted on twitter
an information about DISCARD support. (
https://twitter.com/YanivKaul/status/773513216664174592)
>>
>> I did not dig any further, but has it any relation with the fact that so
far, oVirt did not reclaim lost storage space amongst its logical volumes
of its storage domains?
>>
>> A BZ exist about this, but one was told no work would be done about it
until 4.x.y, so now we're there, I was wondering if you knew more?
>
>
> Feel free to send such questions on the mailing list (ovirt users or
devel), so other will be able to both chime in and see the response.
> We've supported a custom hook for enabling discard per disk (which is
only relevant for virtio-SCSI and IDE) for some versions now (3.5 I
believe).
> We are planning to add this via a UI and API in 4.1.
> In addition, we are looking into discard (instead of wipe after delete,
when discard is also zero'ing content) as well as discard when removing LVs.
> See:
>
http://www.ovirt.org/develop/release-management/features/storage/pass-discard-from-guest-to-underlying-storage/
>
http://www.ovirt.org/develop/release-management/features/storage/wipe-volumes-using-blkdiscard/
>
http://www.ovirt.org/develop/release-management/features/storage/discard-after-delete/
>
> Y.
>
>>
>>
>> Best,
>>
>> --
>> Nicolas ECARNOT
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
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/7Q3ELZKWWMMHCK2V3A3LWVU42FT6IOZY/


[ovirt-users] Re: libvirt-v2v error

2019-05-14 Thread Yaniv Kaul
If you are not using oVirt for this task (which you should, as it hides
all/most/some of those details from you), then I suggest asking in the
libguestfs mailing list - libgues...@redhat.com
Y.

On Wed, Oct 5, 2016 at 9:34 AM, Saman Bandara 
wrote:

> Dear sir,
>
> I'm getting following error while trying to convert a VMWare RHEL6 server
> to kvm.
> Please give any suggestion to resolve this.
>
> [root@kvm16 ~]# virt-v2v ic esx://10.16.32.12/?no_verify=1 -o rhev -os
> 10.16.32.16:/vm-images/export_domain --network rhevm "10.16.32.36-db-
> slcloudcontrol"
> virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
> message: authentication failed: Failed to step SASL negotiation: -7
> (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)
>
> --
>
> *Saman K. Bandara,** Database Administrator*
>
> *ShipXpres Technologies (Pvt) Ltd.*
>
> 2300 Marsh Point Road, Suite 101 || Neptune Beach, FL 32266
>
> Phone: +94 71 8135485 <%2B94%20718135485> | +94  <%2B94%20777522730>76
> 6014001
>
> *Company Website * || *LinkedIn
>  *|| *Facebook
> * || *Twitter
> *
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
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/S5RCRGIXOVWJY7GJ443WGMIRTECG3GZJ/


[ovirt-users] Re: Storage domain mount error: Lustre file system (Posix compliant FS)

2018-10-29 Thread Yaniv Kaul
On Thu, Oct 25, 2018 at 7:25 AM  wrote:

> Hi.
> I am an ovirt user in Korea. I am working on VDI. It's a pleasure to meet
> you, the ovirt specialists.
> (I do not speak English well... Thank you for your understanding!)
>
> I am testing Lustre File System in Ovirt or RH(E)V environment.
> (The reason is simple: glusterfs and nfs have limit of performance, SAN
> Storage and excellent Software Defined Storage are quite expensive.)
>

Please re-test Gluster with latest 4.2.7, where we have improved
performance nicely specifically for Gluster based storage.


> Testing for file system performance was successful.
> As expected, luster showed amazing performance.
> However, there was an error adding luster storage to the storage domain as
> Posix compliant FS.
>
>
> Domain Function : Data
> Storage Type : POSIX compliant FS
> Host to Use : [SPM_HOSTNAME]
> Name : [STORAGE_DOMAIN_NAME]
> Path : 10.10.10.15@tcp:/lustre/vmstore
> VFS Type : lustre
> Mount Options :
>
> The vdsm debug logs are shown below.
>
>
> 2018-10-25 12:46:58,963+0900 INFO  (jsonrpc/2) [storage.xlease] Formatting
> index for lockspace u'c0ef7ee6-1da9-4eef-9e03-387cd3a24445' (version=1)
> (xlease:653)
> 2018-10-25 12:46:58,971+0900 DEBUG (jsonrpc/2) [root] /usr/bin/dd
> iflag=fullblock 
> of=/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases
> oflag=direct,seek_bytes seek=1048576 bs=256512 count=1
> conv=notrunc,nocreat,fsync (cwd None) (commands:65)
> 2018-10-25 12:46:58,985+0900 DEBUG (jsonrpc/2) [root] FAILED:  =
> "/usr/bin/dd: error writing 
> '/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases':
> Invalid argument\n1+0 records in\n0+0 records out\n0 bytes (0 B) copied,
> 0.000943896 s, 0.0 kB/s\n";  = 1 (commands:86)
> 2018-10-25 12:46:58,985+0900 INFO  (jsonrpc/2) [vdsm.api] FINISH
> createStorageDomain error=Command ['/usr/bin/dd', 'iflag=fullblock',
> u'of=/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases',
> 'oflag=direct,seek_bytes', 'seek=1048576', 'bs=256512', 'count=1',
> 'conv=notrunc,nocreat,fsync'] failed with rc=1 out='[suppressed]'
> err="/usr/bin/dd: error writing 
> '/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases':
> Invalid argument\n1+0 records in\n0+0 records out\n0 bytes (0 B) copied,
> 0.000943896 s, 0.0 kB/s\n" from=:::192.168.161.104,52188,
> flow_id=794bd395, task_id=c9847bf3-2267-483b-9099-f05a46981f7f (api:50)
> 2018-10-25 12:46:58,985+0900 ERROR (jsonrpc/2) [storage.TaskManager.Task]
> (Task='c9847bf3-2267-483b-9099-f05a46981f7f') Unexpected error (task:875)
> Traceback (most recent call last):  File
> "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in _run
>   return fn(*args, **kargs)  File "", line 2, in createStorageDomain
>   File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in
> method
> ret = func(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 2591,
> in createStorageDomain
> storageType, domVersion)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/nfsSD.py", line 87,
> in create
> remotePath, storageType, version)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/fileSD.py", line
> 465, in _prepareMetadata
> cls.format_external_leases(sdUUID, xleases_path)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 1200,
> in format_external_leases
> xlease.format_index(lockspace, backend)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/xlease.py", line
> 661, in format_index
> index.dump(file)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/xlease.py", line
> 761, in dump
> file.pwrite(INDEX_BASE, self._buf)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/xlease.py", line
> 994, in pwrite
> self._run(args, data=buf[:])
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/xlease.py", line
> 1011, in _run
> raise cmdutils.Error(args, rc, "[suppressed]", err)
> Error: Command ['/usr/bin/dd', 'iflag=fullblock',
> u'of=/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases',
> 'oflag=direct,seek_bytes', 'seek=1048576', 'bs=256512', 'count=1',
> 'conv=notrunc,nocreat,fsync'] failed with rc=1 out='[suppressed]'
> err="/usr/bin/dd: error writing 
> '/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases':
> Invalid argument\n1+0 records in\n0+0 records out\n0 bytes (0 B) copied,
> 0.000943896 s, 0.0 kB/s\n"
> 2018-10-25 12:46:58,986+0900 DEBUG (jsonrpc/2) [storage.TaskManager.Task]
> (Task='c9847bf3-2267-483b-9099-f05a46981f7f') Task._run:
> c9847bf3-2267-483b-9099-f05a46981f7f (6,
> u'c0ef7ee6-1da9-4eef-9e03-387cd3a24445', u'vmstore', 
> u'10.10.10.15@tcp:/lustre/vmstore',
> 1, u'4') {} failed - stopping task (task:894)
> 

[ovirt-users] Re: Ovirt cluster unstable; gluster to blame (again)

2018-07-08 Thread Yaniv Kaul
On Sat, Jul 7, 2018 at 8:45 AM, Jim Kusznir  wrote:

> So, I'm still at a loss...It sounds like its either insufficient ram/swap,
> or insufficient network.  It seems to be neither now.  At this point, it
> appears that gluster is just "broke" and killing my systems for no
> descernable reason.  Here's detals, all from the same system (currently
> running 3 VMs):
>
> [root@ovirt3 ~]# w
>  22:26:53 up 36 days,  4:34,  1 user,  load average: 42.78, 55.98, 53.31
> USER TTY  FROM LOGIN@   IDLE   JCPU   PCPU WHAT
> root pts/0192.168.8.90 22:262.00s  0.12s  0.11s w
>
> bwm-ng reports the highest data usage was about 6MB/s during this test
> (and that was combined; I have two different gig networks.  One gluster
> network (primary VM storage) runs on one, the other network handles
> everything else).
>
> [root@ovirt3 ~]# free -m
>   totalusedfree  shared  buff/cache
>  available
> Mem:  31996   13236 232  18   18526
>  18195
> Swap: 163831475   14908
>
> top - 22:32:56 up 36 days,  4:41,  1 user,  load average: 17.99, 39.69,
> 47.66
>

That is indeed a high load average. How many CPUs do you have, btw?


> Tasks: 407 total,   1 running, 405 sleeping,   1 stopped,   0 zombie
> %Cpu(s):  8.6 us,  2.1 sy,  0.0 ni, 87.6 id,  1.6 wa,  0.0 hi,  0.1 si,
> 0.0 st
> KiB Mem : 32764284 total,   228296 free, 13541952 used, 18994036 buff/cache
> KiB Swap: 16777212 total, 15246200 free,  1531012 used. 18643960 avail Mem
>

Can you check what's swapping here? (a tweak to top output will show that)


>
>   PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
> COMMAND
>
> 30036 qemu  20   0 6872324   5.2g  13532 S 144.6 16.5 216:14.55
> /usr/libexec/qemu-kvm -name guest=BillingWin,debug-threads=on -S -object
> secret,id=masterKey0,format=raw,file=/v+
> 28501 qemu  20   0 5034968   3.6g  12880 S  16.2 11.7  73:44.99
> /usr/libexec/qemu-kvm -name guest=FusionPBX,debug-threads=on -S -object
> secret,id=masterKey0,format=raw,file=/va+
>  2694 root  20   0 2169224  12164   3108 S   5.0  0.0   3290:42
> /usr/sbin/glusterfsd -s ovirt3.nwfiber.com --volfile-id
> data.ovirt3.nwfiber.com.gluster-brick2-data -p /var/run/+
>

This one's certainly taking quite a bit of your CPU usage overall.


> 14293 root  15  -5  944700  13356   4436 S   4.0  0.0  16:32.15
> /usr/sbin/glusterfs --volfile-server=192.168.8.11
> --volfile-server=192.168.8.12 --volfile-server=192.168.8.13 --+
>

I'm not sure what the sorting order is, but doesn't look like Gluster is
taking a lot of memory?


> 25100 vdsm   0 -20 6747440 107868  12836 S   2.3  0.3  21:35.20
> /usr/bin/python2 /usr/share/vdsm/vdsmd
>
> 28971 qemu  20   0 2842592   1.5g  13548 S   1.7  4.7 241:46.49
> /usr/libexec/qemu-kvm -name guest=unifi.palousetech.com,debug-threads=on
> -S -object secret,id=masterKey0,format=+
> 12095 root  20   0  162276   2836   1868 R   1.3  0.0   0:00.25 top
>
>
>  2708 root  20   0 1906040  12404   3080 S   1.0  0.0   1083:33
> /usr/sbin/glusterfsd -s ovirt3.nwfiber.com --volfile-id
> engine.ovirt3.nwfiber.com.gluster-brick1-engine -p /var/+
> 28623 qemu  20   0 4749536   1.7g  12896 S   0.7  5.5   4:30.64
> /usr/libexec/qemu-kvm -name guest=billing.nwfiber.com,debug-threads=on -S
> -object secret,id=masterKey0,format=ra+
>

The VMs I see here and above together account for most? (5.2+3.6+1.5+1.7 =
12GB) - still plenty of memory left.


>10 root  20   0   0  0  0 S   0.3  0.0 215:54.72
> [rcu_sched]
>
>  1030 sanlock   rt   0  773804  27908   2744 S   0.3  0.1  35:55.61
> /usr/sbin/sanlock daemon
>
>  1890 zabbix20   0   83904   1696   1612 S   0.3  0.0  24:30.63
> /usr/sbin/zabbix_agentd: collector [idle 1 sec]
>
>  2722 root  20   0 1298004   6148   2580 S   0.3  0.0  38:10.82
> /usr/sbin/glusterfsd -s ovirt3.nwfiber.com --volfile-id
> iso.ovirt3.nwfiber.com.gluster-brick4-iso -p /var/run/gl+
>  6340 root  20   0   0  0  0 S   0.3  0.0   0:04.30
> [kworker/7:0]
>
> 10652 root  20   0   0  0  0 S   0.3  0.0   0:00.23
> [kworker/u64:2]
>
> 14724 root  20   0 1076344  17400   3200 S   0.3  0.1  10:04.13
> /usr/sbin/glusterfs -s localhost --volfile-id gluster/glustershd -p
> /var/run/gluster/glustershd/glustershd.pid -+
> 22011 root  20   0   0  0  0 S   0.3  0.0   0:05.04
> [kworker/10:1]
>
>
> Not sure why the system load dropped other than I was trying to take a
> picture of it :)
>
> In any case, it appears that at this time, I have plenty of swap, ram, and
> network capacity, and yet things are still running very sluggish; I'm still
> getting e-mails from servers complaining about loss of communication with
> something or another; I still get e-mails from the engine about bad engine
> status, then recovery, etc.
>

1g isn't good enough for Gluster. It doesn't help that you have SSD,
because network is certainly your 

[ovirt-users] Re: [ovirt-devel] Re: oVirt HCI point-to-point interconnection

2018-06-29 Thread Yaniv Kaul
On Fri, Jun 29, 2018 at 12:24 PM, Stefano Zappa 
wrote:

> Hi Alex,
> I have evaluated this approach using the latest version of oVirt Node.
>
> In principle I would like to follow the guidelines of oVirt development
> team, and adopt its best practices, trying to limit excessive
> customizations.
>
> So I installed oVirt Node on 3 hosts and I manually configured the two
> additional interfaces for the point-to-point interconnections on which then
> I configured Gluster.
> This was done very easily, and it works!
>

Sounds like an interesting item for ovirt.org blog!
Y.


>
> I know that SDN is supported by oVirt, even if by default it is bridging
> to the outside.
> I have no experience with the SDN, but I realized that the VxLAN or maybe
> Geneve was the way to go, and now I also have your confirmation.
> Creating Geneve L3 point-to-point tunnels between the nodes, on which then
> configure an L2 overlay network shared by oVirt pool hosts and on which
> then move all internal oVirt communications.
>
> In first analysis this intervention seems structural, not trivial, I think
> it would be better to evaluate it carefully, and if interesting, write a
> best practice or better integrate the functionality in the solution.
> At the end the system must be stable and above all upgradable with
> traditional procedures.
>
> Stefano.
>
>
>
>
> Stefano Zappa
> IT Specialist CAE - TT-3
> Technical Department
>
> Industrie Saleri Italo S.p.A.
> Phone:+39 0308250480
> Fax:+39 0308250466
>
> This message contains confidential information and is intended only for
> rightkickt...@gmail.com, yk...@redhat.com, de...@ovirt.org,
> users@ovirt.org, sab...@redhat.com, sbona...@redhat.com,
> stira...@redhat.com. If you are not rightkickt...@gmail.com,
> yk...@redhat.com, de...@ovirt.org, users@ovirt.org, sab...@redhat.com,
> sbona...@redhat.com, stira...@redhat.com you should not disseminate,
> distribute or copy this e-mail. Please notify stefano.za...@saleri.it
> immediately by e-mail if you have received this e-mail by mistake and
> delete this e-mail from your system. E-mail transmission cannot be
> guaranteed to be secure or error-free as information could be intercepted,
> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
> Stefano Zappa therefore does not accept liability for any errors or
> omissions in the contents of this message, which arise as a result of
> e-mail transmission. If verification is required please request a hard-copy
> version.
> 
> Da: Alex K 
> Inviato: giovedì 28 giugno 2018 21:34
> A: Stefano Zappa
> Cc: Yaniv Kaul; devel; users@ovirt.org
> Oggetto: Re: [ovirt-users] Re: [ovirt-devel] Re: oVirt HCI point-to-point
> interconnection
>
> Hi,
>
> Network virtualization is already here and widely used. I am still not
> sure what is the gain of this approach. You can do the same with VxLANs or
> Geneve. And how do you scale this? Is it only for 3 node clusters?
>
> Alex
>
> On Thu, Jun 28, 2018, 11:47 Stefano Zappa  stefano.za...@saleri.it>> wrote:
> Hi Yaniv,
> no, the final purpose is not to save a couple of ports.
>
> The benefit is the trend to convergence and consolidation of the
> networking, as already done for the storage.
> The external interconnection is a critical element of the HCI solution, a
> configuration without switches would give more soundness and more
> independence.
>
> If we think about HCI as the transition of IT infrastructure from
> hardware-defined to software-defined, the first step was virtualization of
> the servers, the second step was storage virtualization, the third step
> will be virtualization of networking.
>
> Of course this also has an economic benefit, reduce the total cost of
> ownership and traditional data-center inefficiencies.
>
> We suppose a very traditional and simple external uplink, we can use the
> interfaces integrated into the motherboard.
> This will not be critical for the integrity of the our HCI solution, this
> will not require broad bandwidth and low latency, this will be used
> exclusively to interconnect the solution with the outside world, then with
> a traditional ethernet switch.
>
> We suppose to give more attention to the point-to-point interconnection of
> the three nodes, using 100 or 200 GbE cards for direct interconnection
> without switches.
> The hypothetical purchase of these 3 cards will not be cheaper, sure, but
> it will be twenty times less than introducing expensive switches that will
> certainly have more ports than necessary.
>
> Thanks for your attention,
> Stefano.
>
>
>
>
> Stefano Zappa
> IT Specialist CAE - TT-3
> Techn

[ovirt-users] Re: [ovirt-devel] Re: oVirt HCI point-to-point interconnection

2018-06-27 Thread Yaniv Kaul
On Wed, Jun 27, 2018 at 11:26 AM, Stefano Zappa 
wrote:

> The final purpose is strictly targeted to your HCI solution with 3-node
> gluster replication.
>

Can you explain to me what the benefit is? You need a switch anyway (for
uplink), so the 'cost saving' is that you can use a 4 port (?) switch and
do not need 6 ports?
Y.


>
>
>
>
> Stefano Zappa
> IT Specialist CAE - TT-3
> Technical Department
>
> Industrie Saleri Italo S.p.A.
> Phone:+39 0308250480
> Fax:+39 0308250466
>
> This message contains confidential information and is intended only for
> sab...@redhat.com, sbona...@redhat.com, stira...@redhat.com,
> users@ovirt.org, de...@ovirt.org. If you are not sab...@redhat.com,
> sbona...@redhat.com, stira...@redhat.com, users@ovirt.org, de...@ovirt.org
> you should not disseminate, distribute or copy this e-mail. Please notify
> stefano.za...@saleri.it immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system. E-mail
> transmission cannot be guaranteed to be secure or error-free as information
> could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses. Stefano Zappa therefore does not accept
> liability for any errors or omissions in the contents of this message,
> which arise as a result of e-mail transmission. If verification is required
> please request a hard-copy version.
> 
> Da: Sahina Bose 
> Inviato: mercoledì 27 giugno 2018 10:15
> A: Sandro Bonazzola
> Cc: Stefano Zappa; Simone Tiraboschi; users@ovirt.org; de...@ovirt.org
> Oggetto: Re: [ovirt-users] oVirt HCI point-to-point interconnection
>
> The point to point interconnect is something we have not explored - I
> think this limits the solution from scaling out to more nodes.
>
> On Wed, Jun 27, 2018 at 1:22 PM, Sandro Bonazzola  > wrote:
> Simone, Sahina, can you please have a look?
>
> 2018-06-07 9:59 GMT+02:00 Stefano Zappa  stefano.za...@saleri.it>>:
>
> Good morning,
> I would like to kindly ask you a question about the feasibility of
> defining a point-to-point interconnection between three ovirt nodes.
>
> Initially with the idea of optimizing the direct communications between
> the nodes and especially the gluster communications, and so it would seem
> quite easy, then evaluating a more complex configuration, assuming to
> create an overlay L2 network on the three L3 point-to-point, using
> techniques like geneve, of which at the moment I have no mastery.
>
> If the direct routing of three nodes to interconnect the public network
> with the private overlay network was not easily doable, we could leave the
> private overlay network isolated from the outside world and connect the VM
> hosted engine directly to the two networks with two adapters.
>
> This layout with direct interconnection of the nodes without switches and
> a shared L2 overlay network between the nodes may in future be contemplated
> in future releases of your HCI solution?
>
> Thank you for your attention, have a nice day!
>
> Stefano Zappa.
>
>
> [cid:609f1f14-f74e-489f-b86d-08647efc6d1c]
>
>
>
>
> Stefano Zappa
>
> IT Specialist CAE - TT-3
>
>
>
> Industrie Saleri Italo S.p.A.
>
> Phone:  +39 0308250480
> Fax:+39 0308250466
>
>
>
> This message contains confidential information and is intended only for
> users@ovirt.org, in...@ovirt.org ovirt.org>, de...@ovirt.org. If you are not
> users@ovirt.org, in...@ovirt.org ovirt.org>, de...@ovirt.org you should not
> disseminate, distribute or copy this e-mail. Please notify
> stefano.za...@saleri.it immediately by
> e-mail if you have received this e-mail by mistake and delete this e-mail
> from your system. E-mail transmission cannot be guaranteed to be secure or
> error-free as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses. Stefano Zappa therefore does
> not accept liability for any errors or omissions in the contents of this
> message, which arise as a result of e-mail transmission. If verification is
> required please request a hard-copy version.
>
> PRIVACY INFORMATION ART. 13 EU REG. 2016/679
> We inform you that the personal data contained in the present and
> subsequent electronic communications will be processed in compliance with
> the EU Regulation 2016/679, for the purpose of and only for the time
> necessary to allow the sender to carry out the activities connected to the
> existing commercial relationships.
> The provision of personal data is not mandatory. However, failure to
> provide them determines the impossibility of achieving the aforementioned
> purpose.
> With regard to these data, is allowed the exercise of the rights set out
> in art. 13 and from the articles from 15 to 22 of EU Regulation 2016/679
> and in 

[ovirt-users] Re: remote-viewer Spice Problem on MacOS

2018-06-22 Thread Yaniv Kaul
+Spice devel mailing list.

On Thu, Jun 21, 2018, 11:57 PM John Florian  wrote:

>
> On 2018-06-21 08:20, Michal Skrivanek wrote:
> > Any connectivity issue should no really be dependent on what you do in
> guest
> Agreed
> > Still, please bring that up to SPICE team -
> https://www.spice-space.org/support.html
>
> I was just trying to do so myself.  If I do a Simple Search at
> https://bugs.freedesktop.org/query.cgi I can choose the "Spice" product,
> but I found nothing.  So I attempted to file a new bug and I must pick a
> product on which to enter the bug, but there "Spice" is not an option.
> Huh?
> ___
> 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/ZZKIRK3CHZTJ6AAEQAOZOSXFFAGLIRE4/
>
___
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/4HGRF4L76LA4YWTCTF4JFPLTZRD5Y3J7/


[ovirt-users] Re: OVA export/import

2018-06-14 Thread Yaniv Kaul
On Wed, Jun 13, 2018, 4:05 PM RabidCicada  wrote:

> All,
> I recently tried to used the OVA export/import functionality.  It
> seems I misunderstood the intentions.  I expected OVA export/import to
> be reciprocal functionalities.  I expected what we export as OVA to be
> importable as OVA in ovirt.
>
> What I have found is the following:
>
> * It seems OVA export does export an OVA, though the format is not
> spec compliant
>

Which spec?

  * We use 'disk/' in the HostResource xml field instead of '/disk/'
> for example in the ovf.
>

Who's 'we'?

* It seems OVA import is intended specifically for VMWare OVA's?
>

That's a common case, but we can look at other OVAs. The problem is that
the spec is quite loose.
Y.

* I thought I read about export domains being deprecated, and
> incorrectly assumed the recently added OVA export/import was to make
> things better for one off import/export.
>
>
> Can anyone clarify the following:
> * Is OVA import really just VMWare OVA's?
> * Are we really not spec compliant with the OVA/OVF format as my
> example above shows?  OR do I misunderstand something?
> * After spending my time yesterday, I recall now that the deprecation
> of export domain is in favor of detaching and re-attaching ANY data
> domain.
> * What is the purpose of our OVA export if we ourselves indeed cannot
> import our own OVA?  Or can you tell me how we import our own if I'm
> wrong.
>
> Please feel free to overshare details :), as any context will help
> prevent more confusion on my part.
>
> ~Kyle
> ___
> 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/MYWHJF4ZJS4VSJ2RWBSYDPPOWTI6VWW5/
>
___
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/SP2FJP64PJMDWMXYV4ECZV74WOMAGXZE/


[ovirt-users] Re: oVirt Metrics

2018-06-11 Thread Yaniv Kaul
On Mon, Jun 11, 2018, 9:13 PM Karli Sjöberg  wrote:

>
>
> On Jun 11, 2018 19:00, Yaniv Kaul  wrote:
>
>
>
> On Mon, Jun 11, 2018, 6:59 PM Karli Sjöberg  wrote:
>
>
>
> On Jun 11, 2018 13:59, Shirly Radco  wrote:
>
> Dear users,
>
> I would love to get some feedback if someone has tried to install and use
> the oVirt metrics store, released in 4.2, for collecting metrics and logs,
> based on Elasticsearch, Kibana, Collectd and Fluentd on top of OpenShift.
>
> https://www.ovirt.org/develop/release-management/features/metrics/metrics-store/
>
> How did the installation go? Are you actively using it?
> And any other feedback would be much appreciated.
>
> Best regards,
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/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/3G2M3Q35UQZLOHDRAEBMX2INPDAQCOHO/
>
>
> I have, and while I can say that it works, it was far from easy! I can't
> remember all of the gotchas I had to go through but most of them stemmed
> from the fact that I tested it all on a three node oVirt HCI cluster that
> was actually VM's with nested virtualization, which meant fairly limited
> resources but eventually got it working.
>
> Being completely new to OpenShift, a guide that needs more work is the
> single sign on from oVirt to OS. The instructions are way too unclear for
> me, and wrapping your head around how the login and permissions system
> works in OS took a while, to create an equal 'admin' account to log in with.
>
> Second, isn't OS just an above layer of kubernetes under it, or is that a
> misunderstanding on my part? If it is though, where is the administration
> page for Kubernetes in all of that? I'm thinking in the sense of how you
> can add more nodes to continue building a larger cluster for containers.
>
>
> OpenShift is much more than just Kubernetes, but specifically this
> instance should be used solely for metrics and logging and is therefore
> specifically installed as an all-in-one installation.
> Y.
>
>
> OK, yeah, for sure! But is there no Kubernetes console in this all-in-one
> installation?
>

The oc command is available, Cockpit interface as well.
Y.


> /K
>
>
>
> But once everything was setup and able to log in to the Kibana interface
> and loading up the dashboards you've made, I was really impressed with how
> much data you got visualized for free. Thumbs up!
>
> /K
> ___
> 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/CWMPCP3ZRT2CR56IVNG6JS7EMNVFSN3W/
>
>
>
___
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/JYAUC3SZ54TCHS5YISFC7ZAZKNDPUD6Z/


[ovirt-users] Re: oVirt Metrics

2018-06-11 Thread Yaniv Kaul
On Mon, Jun 11, 2018, 6:59 PM Karli Sjöberg  wrote:

>
>
> On Jun 11, 2018 13:59, Shirly Radco  wrote:
>
> Dear users,
>
> I would love to get some feedback if someone has tried to install and use
> the oVirt metrics store, released in 4.2, for collecting metrics and logs,
> based on Elasticsearch, Kibana, Collectd and Fluentd on top of OpenShift.
>
> https://www.ovirt.org/develop/release-management/features/metrics/metrics-store/
>
> How did the installation go? Are you actively using it?
> And any other feedback would be much appreciated.
>
> Best regards,
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel 
> 
> 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/3G2M3Q35UQZLOHDRAEBMX2INPDAQCOHO/
>
>
> I have, and while I can say that it works, it was far from easy! I can't
> remember all of the gotchas I had to go through but most of them stemmed
> from the fact that I tested it all on a three node oVirt HCI cluster that
> was actually VM's with nested virtualization, which meant fairly limited
> resources but eventually got it working.
>
> Being completely new to OpenShift, a guide that needs more work is the
> single sign on from oVirt to OS. The instructions are way too unclear for
> me, and wrapping your head around how the login and permissions system
> works in OS took a while, to create an equal 'admin' account to log in with.
>
> Second, isn't OS just an above layer of kubernetes under it, or is that a
> misunderstanding on my part? If it is though, where is the administration
> page for Kubernetes in all of that? I'm thinking in the sense of how you
> can add more nodes to continue building a larger cluster for containers.
>

OpenShift is much more than just Kubernetes, but specifically this instance
should be used solely for metrics and logging and is therefore specifically
installed as an all-in-one installation.
Y.


> But once everything was setup and able to log in to the Kibana interface
> and loading up the dashboards you've made, I was really impressed with how
> much data you got visualized for free. Thumbs up!
>
> /K
> ___
> 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/CWMPCP3ZRT2CR56IVNG6JS7EMNVFSN3W/
>
___
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/3R63OCU5M6FXTPMS4JEPTBA53BGRDAOC/


[ovirt-users] Re: Storage IO

2018-06-05 Thread Yaniv Kaul
On Mon, Jun 4, 2018, 11:20 PM Thomas Fecke  wrote:

> Hey Juan,
>
>
>
> That would be perfect. Ill searching for weeks now and can´t find the
> Bottleneck
>
>
>
> The Storage is attached to an 10 gig switch
>
> Storage:
>
>
>
> 1HE 19'' Chassis mit 4 hot-swap Einschüben
>
> 600W Platinum PSU
>
> Intel Xeon E5-2620 v4 CPU
>
> 16GB DDR4-2400 regECC RAM (2x8)
>
> 4x 1TB SATA3 SSD (Samsung Pro)
>
> LSI3108 Raidcontroller
>
> 2x Intel 10G-BaseT LAN
>
> 1x ded. KVM Port (IPMI2.0)
>
>
>
>
>
> The Storage is attached to an 10 gig Switch. Just our Hypervisors are
> connected aswell to that switch. I don’t know the Switch Model, its rented
> from our Hoster ( like the Hardware ).
>
>
>
> The Data Domain is shared via NFS.
>
>
>
> We are working a lot with Templates – so a single Template gets deployed
> like 20 Times. Dunno if its important. The Guests running Win 10 and Win
> Server 2016 – Guest tools are installed.
>
>
>
> “Iotop” show about 100 MB/Sec
>
>
>
> “Io sta”t show Storage Timeouts
>
>
>
> dd if=/dev/zero of=/root/testfile bs=1G count=1 oflag=sync
>

oflag=direct , bs=1m and bs=1000 makes a lot more sense.
/root/testfile is on that storage? So where's the network medium?

1+0 Datensätze ein
>
> 1+0 Datensätze aus
>
> 1073741824 Bytes (1,1 GB) kopiert, 10,7527 s, 99,9 MB/s
>

Can you verify your 10g did not by mistake auto-negotiated to 1g?
Y.


>
> DD ist way to low. When I reboot the Server its up to 800-900 MB/s. It
> drops slowly to under 100 in about 5 Minutes. Like a Cache that is filling
> up.
>
>
>
> RAM and CPU are fine ( maximum 50% system load – average 30% ).
>
>
>
> File system is XFS – Raid 4 is used
>
>
>
>
>
>
>
> *From:* Juan Pablo 
> *Sent:* Montag, 4. Juni 2018 21:10
> *To:* Thomas Fecke 
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] Storage IO
>
>
>
> Hi Thomas, so you are seeing high load on your storage and you are asking
> 'why'? an answer with the facts you give would be: you are using your
> storage, so, you have storage IO.
>
>
>
> so, if you want to dive deeper:
>
> -which storage are you using, specs would be nice.
>
> -which host model are you using?
>
> -network specs? card model, etc. switch model, etc.
>
>
>
> hows your setup made? iscsi? nfs? gluster?
>
>
>
> based on the former, we might get a better idea and after this some tests
> could be made if needed to find if there's a bottleneck or if the
> environment is working as expected..
>
>
>
> regards,
>
>
>
>
>
> 2018-06-04 14:29 GMT-03:00 Thomas Fecke :
>
> Hey Guys,
>
>
>
> sorry i need to ask again.
>
>
>
> We got 2 Hypervisor with about 50 running VM´s and a single Storage with
> 10 Gig connection.
>
>
>
>
>
> Device: rrqm/s   wrqm/s r/s w/srkB/swkB/s avgrq-sz
> avgqu-sz   await r_await w_await  svctm  %util
>
> sda   3,00   694,00 1627,00  947,00 103812,00 61208,00
> 128,22 6,782,632,133,49   0,39  99,70
>
>
>
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>
>0,000,003,70   31,370,00   64,93
>
>
>
> Device: rrqm/s   wrqm/s r/s w/srkB/swkB/s avgrq-sz
> avgqu-sz   await r_await w_await  svctm  %util
>
> sda   1,00   805,00  836,00  997,00 43916,00 57900,00
> 111,09 6,003,271,874,44   0,54  99,30
>
>
>
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>
>0,000,003,54   29,960,00   66,50
>
>
>
> Device: rrqm/s   wrqm/s r/s w/srkB/swkB/s avgrq-sz
> avgqu-sz   await r_await w_await  svctm  %util
>
> sda   2,00   822,00 1160,00 1170,00 46700,00 52176,00
> 84,87 5,682,441,573,30   0,43  99,50
>
>
>
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>
>0,000,005,05   31,460,00   63,50
>
>
>
> Device: rrqm/s   wrqm/s r/s w/srkB/swkB/s avgrq-sz
> avgqu-sz   await r_await w_await  svctm  %util
>
> sda   3,00  1248,00 2337,00 1502,00 134932,00 48536,00
> 95,58 6,591,721,532,01   0,26  99,30
>
>
>
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>
>0,000,003,95   31,790,00   64,26
>
>
>
> Device: rrqm/s   wrqm/s r/s w/srkB/swkB/s avgrq-sz
> avgqu-sz   await r_await w_await  svctm  %util
>
> sda   0,00   704,00  556,00 1292,00 19908,00 72600,00
> 100,12 5,502,991,833,48   0,54  99,50
>
>
>
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>
>0,000,003,03   28,900,00   68,07
>
>
>
> Device: rrqm/s   wrqm/s r/s w/srkB/swkB/s avgrq-sz
> avgqu-sz   await r_await w_await  svctm  %util
>
> sda   0,00   544,00  278,00 1095,00  7848,00 66124,00
> 107,75 5,313,871,494,47   0,72  99,10
>
>
>
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>
>0,000,003,03   29,320,00   67,65
>
>
>
> Device: rrqm/s   wrqm/s r/s w/s

[ovirt-users] Re: What are the steps to upgrade the 4.1 to 4.2?

2018-06-04 Thread Yaniv Kaul
On Mon, Jun 4, 2018, 3:10 PM Arman Khalatyan  wrote:

> Hello everybody,
>
> I wondered if one could first upgrade the engine machine before
> upgrading the hosts.
>

Yes.

Is the engine 4.2.x is backwards compatible with 4.1.x?
>

Yes.
Y.


>
> Thanks,
> Arman.
> ___
> 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/UXSD5ACG7ZTF6JK6AEY4XKMBK7FDW6PQ/
>
___
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/7FGNSMFKKTUEZ232I36FXG7NN4ERE3Z3/


[ovirt-users] Re: engine UI add user failed

2018-06-03 Thread Yaniv Kaul
On Fri, Jun 1, 2018, 2:53 PM  wrote:

> Hi,
> why don't add a function that create usres using the web UI,  has the
> engine API for create users in web UI
>

Please feel free to contribute code to provide the above functionality.
oVirt is an open source project and improved user management interface
sounds like a contribution the community will be happy to have.
Y.


> we want to create users using the web ui, can you give me some advise?
> - Original Message -
> From: Andrej Krejcir 
> To: dhy...@sina.com
> Cc: users 
> Subject: Re: [ovirt-users] engine UI add user failed
> Date: 2018-06-01 17:22
>
> Hi,
>
> Users are not created using the UI. Ovirt can be connected to various
> external user domains.
> The UI can then be used to assign permissions to existing users or groups.
>
> Here is the documentation:
> https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles/
>
> The 'ovirt-aaa-jdbc-tool' can be used to create users locally.
>
>
> Andrej
>
> On 1 June 2018 at 09:46,  wrote:
>
> Hi
>  I want to add user by engine UI,but failed.  is it need other soft
> package, or should I do ?
>
> ___
> 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/E37HA64XX7ZPJGI4E4K6R3TSMXOMGAXB/
>
>
> ___
> 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/IAYBDVQ4KBE567ZW6JZGARC2B76FR5VB/
>
___
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/4F55VLW6IF6FGIAF62KIBK5DMGMACU7P/


[ovirt-users] Re: oVirt 4.2 and CLI options

2018-06-02 Thread Yaniv Kaul
On Thu, May 31, 2018, 10:08 PM Simon Coter  wrote:

> Hi,
>
> what is the best choice for a CLI interface vs oVirt 4.2 ?
>

While I recommend looking at Ansible, https://github.com/fbacchella/ovirtcmd
is also an interesting option.

I've looked for it and I saw that ovirt-shell is already deprecated.
>

Correct.
Y.

Thanks
>
> Simon
> ___
> 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/IUSAU6HO776435P7DZ36CJ2AVHZLDGDW/
>
___
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/L2UZCZGCD7U75UOB6D35XYWXD4V3JTB4/


[ovirt-users] Re: [ovirt-announce] CVE-2018-3639 - Important - oVirt - Speculative Store Bypass

2018-05-28 Thread Yaniv Kaul
On Mon, May 28, 2018 at 3:40 PM, Nathanaël Blanchet 
wrote:

> XP has reached is end of life in may 14 and Microsoft decided to release
> an exceptionnal update because of a critical leak last year... so all is
> possible when it is about criticity!
>

All is indeed possible. We always welcome contribution to the oVirt
project, and you can send patches that backport the 4.2 patches to 4.1 and
build it.
Y.

> https://www.microsoft.com/en-us/download/details.aspx?id=18770
>
> Le 28/05/2018 à 14:23, Sandro Bonazzola a écrit :
>
>
>
> 2018-05-28 14:07 GMT+02:00 Nathanaël Blanchet :
>
>> Hello,
>>
>> Will a 4.1.9.x security update be released for those who can't migrate to
>> 4.2.3.7 for any reasons?
>>
> No. oVirt 4.1 reached end of life with 4.1.9 https://lists.ovirt.org/
> pipermail/announce/2018-January/000383.html
> Please consider updating to 4.2 as soon as practical / possible.
>
>
>
>>
>> Le 23/05/2018 à 16:57, Sandro Bonazzola a écrit :
>>
>> As you may have already heard, an industry-wide issue was found in the
>> way many modern microprocessor designs have implemented speculative
>> execution of Load & Store instructions.
>> This issue is well described by CVE-2018-3639 announce available at
>> https://access.redhat.com/security/cve/cve-2018-3639.
>>
>> oVirt team has released right now an update of ovirt-engine to version
>> 4.2.3.7 which add support for SSBD CPUs in order to mitigate the security
>> issue.
>>
>> If you are running oVirt on Red Hat Enterprise Linux, please apply
>> updates described in https://access.redhat.com/security/cve/cve-2018-3639
>> .
>>
>> If you are running oVirt on CentOS Linux please apply updated described
>> by:
>> CESA-2018:1629 Important CentOS 7 kernel Security Update
>> 
>>
>> CESA-2018:1632 Important CentOS 7 libvirt Security Update
>> 
>> CESA-2018:1649 Important CentOS 7 java-1.8.0-openjdk Security Update
>> 
>>
>> CESA-2018:1648 Important CentOS 7 java-1.7.0-openjdk Security Update
>> 
>>
>>
>> An update for qemu-kvm-ev has been also tagged for release and announced
>> with
>> CESA-2018:1655 Important: qemu-kvm-ev security update
>> 
>> but due to some issues in CentOS release process for Virt SIG content, it
>> is not yet available on mirrors.
>> We are working with CentOS community to get the packages signed and
>> published as soon as possible.
>> In the meanwhile you can still get the update package by enabling the
>> test repository https://buildlogs.centos.org/centos/7/virt/x86_64
>> /kvm-common/ on your systems or manually installing the package from the
>> repository.
>>
>> If you're running oVirt on a different Linux distribution, please check
>> with your vendor for available updates.
>>
>> Please note that to fully mitigate this vulnerability, system
>> administrators must apply both hardware “microcode” updates and software
>> patches that enable new functionality.
>> At this time, microprocessor microcode will be delivered by the
>> individual manufacturers.
>>
>> The oVirt team recommends end users and systems administrator to apply
>> any available updates as soon as practical.
>>
>> Thanks,
>> --
>>
>> SANDRO BONAZZOLA
>>
>> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>>
>> Red Hat EMEA 
>>
>> sbona...@redhat.com
>> 
>> 
>>
>>
>> ___
>> Announce mailing list -- annou...@ovirt.org
>> To unsubscribe send an email to announce-le...@ovirt.org
>>
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala 
>> 
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>
>>
>
>
> --
>
> SANDRO BONAZZOLA
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
> 
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
>
> ___
> 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: 

[ovirt-users] Re: cache and viodiskcache parameters in documentation

2018-05-28 Thread Yaniv Kaul
On Mon, May 28, 2018 at 5:18 PM,  wrote:

> Hi,
>
> on chapter 6.13.1 "Live Migration Prerequisites" [1] of the RHV 4.2
> Virtual Machine Management Guide, there is written:
> 
>
> At a minimum, for successful live migration of virtual machines to be
> possible:
> [...]
> The migrating virtual machine must not have the cache!=none custom
> property set.
> 
>
> However I can't find any custom property called "cache" under Edit Virtual
> Machine --> Custom Properties but only "viodiskcache". As a matter of fact,
> Appendix A of the same guide [2] reports the following statement: "If
> viodiskcache is enabled, the virtual machine cannot be live migrated" that
> suggest viodiskcache as the correct parameter.
>
> Are the two statements contradictory?
>

cache != none is a developer terminology for stating that it has to be
none. So if it's defined to anything, migration is not possible. So they
are the same.
Y.


>
> Thank you.
> Stefano Stagnaro
>
> [1] https://access.redhat.com/documentation/en-us/red_hat_
> virtualization/4.2/html/virtual_machine_management_
> guide/sect-migrating_virtual_machines_between_hosts#Live_
> migration_prerequisites
> [2] https://access.redhat.com/documentation/en-us/red_hat_
> virtualization/4.2/html/virtual_machine_management_
> guide/appe-reference_settings_in_administration_portal_and_
> user_portal_windows#Virtual_Machine_Custom_Properties_settings_explained
> ___
> 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/4N3MS5TRH3GTSREOCH2MIXY2IUXGY35H/
>
___
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/OIU6S4225WW53LTIU47YFG43FJPSMHYH/


[ovirt-users] Re: SSH into guest VM

2018-05-27 Thread Yaniv Kaul
On Fri, May 25, 2018 at 10:39 AM, 03CE 007 <03ce...@gmail.com> wrote:

> Thank you, I am using cloud-init module as suggested, but the VM that
> starts on engineVM does not seem to have ip or nic assigned.
>
> below is my ansible task -
>
> - name: "Create VM {{ current_vm.name }}"
>   ovirt_vms:
> auth: "{{ ovirt_auth }}"
> name: "{{ current_vm.name }}"
> template: "{{ current_vm.profile.template | default(omit) }}"
>

Does the template contain a NIC definition?


> cluster: "{{ current_vm.profile.cluster | default(omit) }}"
> memory: "{{ current_vm.profile.memory | default(omit) }}"
> high_availability: "{{ current_vm.profile.high_availability |
> default(omit) }}"
> cpu_cores: "{{ current_vm.profile.cores | default(omit) }}"
> cpu_sockets: "{{ current_vm.profile.sockets | default(omit) }}"
> storage_domain: "{{ current_vm.profile.storage_domain | default(omit)
> }}"
> timeout: "{{ vm_infra_create_single_timeout }}"
> operating_system: rhel_7x64
> memory_guaranteed: "{{ current_vm.profile.memory_guaranteed |
> default(omit) }}"
> cloud_init:
>  * host_name: "{{ current_vm.name <http://current_vm.name>
> }}.test.dw"*
>   nic_boot_protocol: static
>   nic_ip_address: 10.90.x.z
>   nic_netmask: 255.255.255.0
>   nic_gateway: 10.90.x.y
>   nic_name: eth1
>

I assume more than one NIC is defined for the VM?


>   nic_on_boot: true
>   custom_script: |
> write_files:
>  - content: |
>  Hello, world!
>path: /tmp/greeting.txt
>permissions: '0644'
>   user_name: root
>   root_password: super_password
> cloud_init_persist: true
>   changed_when: false
>   async: "{{ vm_infra_create_single_timeout }}"
>   poll: 0
>   register: added_vm
>
>
>
> I use ovirt4.py to check the vm overview, but I see below only (shouldn't
> the devices dic be populated with above nic details?, nor I see the
> hostname updated from h*ypervisor-ovirt.dw* to *mytest-vm.test.dw*
>

Can you ensure you are running with CentOS / RHEL 7.5? There was a bug in
cloud-init where it did not set the hostname due to some race. What do you
see in the cloud-init logs on the VM?
Y.


>
> mytest-vm": {
> "affinity_groups": [],
> "affinity_labels": [],
> "ansible_host": null,
> "cluster": "Default",
> "description": null,
>* "devices": {}*,
>* "fqdn": null,*
> "host": "hypervisor-ovirt.dw",
> "id": "0c1f6a11-0ca2-4d2e-b05f-0d3bdc70d4af",
> "name": "mytest-vm",
> "os_type": "rhel_7x64",
> "statistics": {
>   "cpu.current.guest": 0.72,
>   "cpu.current.hypervisor": 0.33,
>   "cpu.current.total": 1.1,
>   "memory.buffered": 0.0,
>   "memory.cached": 0.0,
>   "memory.free": 0.0,
>   "memory.installed": 68719476736.0,
>   "memory.used": 0.0,
>   "migration.progress": 0.0
> },
> "status": "up",
> "tags": [],
> "template": "Blank"
>   }
> }
>
>
> is anything missing in my setup, I use rhel_7x64 as operating_system.
>
> Thank you.
>
>
>
> On 24 May 2018 at 13:43, Yaniv Kaul <yk...@redhat.com> wrote:
>
>>
>>
>> On Wed, May 23, 2018 at 5:43 PM, <03ce...@gmail.com> wrote:
>>
>>> I have self-hosted-engine (4.2) deployed successfully on cento (7.4)
>>> server.
>>>
>>> The physical server has 'ovirt' as hostname and the self-hosted engineVM
>>> deployed
>>> and running on it has 'engine.ovirt' as fdqn.
>>>
>>> I can successfully create new VM using the oVirt.vm-infra example
>>> playbook. But what other config/var i need to add in them so that I can ssh
>>> into this new VM. Some example, tips, hints would be helpful.
>>>
>>
>> I think that you'd want (via cloud-init) to set the SSH keys for the root
>> user (or the password), etc.
>> Y.
>>
>>
>>>
>>> Thank you.
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>>
>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Hosted Engine failed

2018-05-24 Thread Yaniv Kaul
On Thu, May 24, 2018, 8:07 PM  wrote:

> I am hosting ovirt node as VM under VMware. when try to run engine setup,
> it getting fails and error
>

Are you trying to install hosted-engine in a VM under VMware? Why would you
do that? Have you enabled nested virt and enough resources?
Y.


> [ INFO ] TASK [Create cloud init user-data and meta-data files]
> [ INFO ] TASK [Create ISO disk]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [Create local VM]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [Get local VM IP]
> [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true,
> "cmd": "virsh -r net-dhcp-leases default | grep -i 00:16:3E:6A:7A:F9 | awk
> '{ print $5 }' | cut -f1 -d'/'", "delta": "0:00:00.095336", "end":
> "2018-05-25 00:52:21.390980", "rc": 0, "start": "2018-05-25
> 00:52:21.295644", "stderr": "", "stderr_lines": [], "stdout": "",
> "stdout_lines": []}
> [ INFO ] TASK [include_tasks]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [Remove local vm dir]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [Notify the user about a failure]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The
> system may not be provisioned according to the playbook results: please
> check the logs for the issue, fix accordingly or re-deploy from scratch.\n"}
>
> ANYONE CAN HELP ME ??
>
> -SHAMZ
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: SSH into guest VM

2018-05-24 Thread Yaniv Kaul
On Wed, May 23, 2018 at 5:43 PM, <03ce...@gmail.com> wrote:

> I have self-hosted-engine (4.2) deployed successfully on cento (7.4)
> server.
>
> The physical server has 'ovirt' as hostname and the self-hosted engineVM
> deployed
> and running on it has 'engine.ovirt' as fdqn.
>
> I can successfully create new VM using the oVirt.vm-infra example
> playbook. But what other config/var i need to add in them so that I can ssh
> into this new VM. Some example, tips, hints would be helpful.
>

I think that you'd want (via cloud-init) to set the SSH keys for the root
user (or the password), etc.
Y.


>
> Thank you.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: ovirt with multiple engines

2018-05-21 Thread Yaniv Kaul
On Fri, May 18, 2018 at 4:04 PM, Michael Watters <watte...@watters.ws>
wrote:

>
> On 05/17/2018 09:06 AM, Yaniv Kaul wrote:
>
>
>
> On Wed, May 16, 2018 at 7:26 PM, Michael Watters <watte...@watters.ws>
> wrote:
>
>> Is it possible to have multiple engines with different versions of ovirt
>> running in the same cluster?  I am working on a plan to upgrade our
>> ovirt cluster to the 4.2 release however we would like to have a
>> rollback plan in case there are issues with the new engine.
>>
>
> If this is on a production-level setup, you anyway should have a
> contingency plan if anything goes bad to the engine.
> I recommend automated engine setup along with regular engine backup.
>
>
> We run backups every night.  My concern is that once ovirt 4.2 is
> installed there isn't an easy way to roll back to ovirt 4.1.
>

Correct. Some split their whole setups for two complete system to be able
to step upgrade.
Y.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: ovirt with multiple engines

2018-05-17 Thread Yaniv Kaul
On Wed, May 16, 2018 at 7:26 PM, Michael Watters 
wrote:

> Is it possible to have multiple engines with different versions of ovirt
> running in the same cluster?  I am working on a plan to upgrade our
> ovirt cluster to the 4.2 release however we would like to have a
> rollback plan in case there are issues with the new engine.
>

If this is on a production-level setup, you anyway should have a
contingency plan if anything goes bad to the engine.
I recommend automated engine setup along with regular engine backup.
You can then take a backup prior to upgrade.

Y.


> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: vGPU VM not starting

2018-05-17 Thread Yaniv Kaul
It'd be easier if you could share the complete vdsm log.
Perhaps file a bug and we can investigate it?
Y.

On Thu, May 17, 2018 at 11:25 AM, Callum Smith  wrote:

> Some information that appears to be from around the time of installation
> to the cluster:
>
> WARNING: COMMAND_FAILED: '/usr/sbin/ebtables --concurrent -t nat -X
> libvirt-O-vnet0' failed: Chain 'libvirt-O-vnet0' doesn't exist.
> firewalld
> WARNING: COMMAND_FAILED: '/usr/sbin/ebtables --concurrent -t nat -F
> libvirt-O-vnet0' failed: Chain 'libvirt-O-vnet0' doesn't exist.
> firewalld
> WARNING: COMMAND_FAILED: '/usr/sbin/ebtables --concurrent -t nat -L
> libvirt-O-vnet0' failed: Chain 'libvirt-O-vnet0' doesn't exist.
> firewalld
> WARNING: COMMAND_FAILED: '/usr/sbin/ebtables --concurrent -t nat -D
> POSTROUTING -o vnet0 -j libvirt-O-vnet0' failed: Illegal target name
> 'libvirt-O-vnet0'.
> firewalld
> WARNING: COMMAND_FAILED: '/usr/sbin/ip6tables -w2 -w -X HI-vnet0' failed:
> ip6tables: No chain/target/match by that name.
> firewalld
> WARNING: COMMAND_FAILED: '/usr/sbin/ip6tables -w2 -w -F HI-vnet0' failed:
> ip6tables: No chain/target/match by that name.
> firewalld
> WARNING: COMMAND_FAILED: '/usr/sbin/ip6tables -w2 -w -X FI-vnet0' failed:
> ip6tables: No chain/target/match by that name.
> firewalld
> WARNING: COMMAND_FAILED: '/usr/sbin/ip6tables -w2 -w -F FI-vnet0' failed:
> ip6tables: No chain/target/match by that name.
> firewalld
>
> Regards,
> Callum
>
> --
>
> Callum Smith
> Research Computing Core
> Wellcome Trust Centre for Human Genetics
> University of Oxford
> e. cal...@well.ox.ac.uk
>
> On 17 May 2018, at 09:20, Callum Smith  wrote:
>
> PS. some other WARN's that come up on the host:
>
> WARN File: /var/lib/libvirt/qemu/channels/1bc9dae8-a0ea-44b3-
> 9103-5805100648d0.org.qemu.guest_agent.0 already removed
> vdsm
> WARN Attempting to remove a non existing net user:
> ovirtmgmt/1bc9dae8-a0ea-44b3-9103-5805100648d0
> vdsm
> WARN Attempting to remove a non existing network:
> ovirtmgmt/1bc9dae8-a0ea-44b3-9103-5805100648d0
> vdsm
> WARN File: /var/lib/libvirt/qemu/channels/1bc9dae8-a0ea-44b3-
> 9103-5805100648d0.ovirt-guest-agent.0 already removed
> vdsm
> WARN Attempting to add an existing net user: ovirtmgmt/1bc9dae8-a0ea-44b3-
> 9103-5805100648d0
> vdsm
>
> Regards,
> Callum
>
> --
>
> Callum Smith
> Research Computing Core
> Wellcome Trust Centre for Human Genetics
> University of Oxford
> e. cal...@well.ox.ac.uk
>
> On 17 May 2018, at 09:16, Callum Smith  wrote:
>
> OVN Network provider is used, and the node is running 4.2.3 (specifically
> 2018051606 clean install last night).
>
> Regards,
> Callum
>
> --
>
> Callum Smith
> Research Computing Core
> Wellcome Trust Centre for Human Genetics
> University of Oxford
> e. cal...@well.ox.ac.uk
>
> On 17 May 2018, at 07:47, Ales Musil  wrote:
>
>
>
> On Thu, May 17, 2018 at 12:01 AM, Callum Smith 
> wrote:
>
>> Dear All,
>>
>> Our vGPU installation is progressing, though the VM is failing to start.
>>
>> 2018-05-16 22:57:34,328+0100 ERROR (vm/1bc9dae8) [virt.vm]
>> (vmId='1bc9dae8-a0ea-44b3-9103-5805100648d0') The vm start process
>> failed (vm:943)
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 872, in
>> _startUnderlyingVm
>> self._run()
>>   File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2872, in
>> _run
>> dom.createWithFlags(flags)
>>   File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py",
>> line 130, in wrapper
>> ret = f(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line
>> 92, in wrapper
>> return func(inst, *args, **kwargs)
>>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1099, in
>> createWithFlags
>> if ret == -1: raise libvirtError ('virDomainCreateWithFlags()
>> failed', dom=self)
>> libvirtError: Cannot get interface MTU on '': No such device
>>
>> That's the specific error, some other information. It seems the GPU
>> 'allocation' of uuid against the nvidia-xx mdev type is proceeding
>> correctly, and the device is being created by the VM instantiation but the
>> VM does not succeed in going up with this error. Any other logs or
>> information relevant to help diagnose?
>>
>> Regards,
>> Callum
>>
>> --
>>
>> Callum Smith
>> Research Computing Core
>> Wellcome Trust Centre for Human Genetics
>> University of Oxford
>> e. cal...@well.ox.ac.uk
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>>
>>
> Hi Callum,
>
> can you share your version of the setup?
>
> Also do you use OVS switch type in the cluster?
>
> Regards,
> Ales.
>
>
> --
> ALES MUSIL
> INTERN - rhv network
> Red Hat EMEA 
>
> amu...@redhat.com   IM: amusil
> 
>
> 

[ovirt-users] Re: VM interface bonding (LACP)

2018-05-15 Thread Yaniv Kaul
On Mon, May 14, 2018 at 11:25 PM, Christopher Cox 
wrote:

> In the ideal case, what you'd have:
>
>| Single virtio virtual interface
>|
>  VM  Host  Switch stack
>  |
>  |--- 4x 1Gbit interfaces bonded over LACP
>
> The change: virtio instead of "1 Gbit"
>
> You can't get blood from a stone, that is, you can't manufacture bandwidth
> that isn't there.  If you need more than gigabit speed, you need something
> like 10Gbit.  Realize that usually, we're talking about a system created to
> run more than one VM.  If just one, you'll do better with dedicated
> hardware.  If more than one VM, then there sharing going on, though you
> might be able to use QoS (either in oVirt or outside). Even so, if just one
> VM on 10Gbit, you won't necessarily get full 10Gbit out of virtio.  But at
> the same  time bonding should help in the case of multiple VMs.
>

Jumbo frames may help in some workloads and give ~5% boost or so.
Y.


>
> Now, back to the suggestion at hand.  Multiple virtual NICs.  If the
> logical networks presented via oVirt are such that each (however many)
> logical network has it's own "pipe", then defining a vNIC on each of those
> networks gets you the same sort of "gain" with respect to bonding.  That
> is, no magic bandwidth increase for a particular connection, but more pipes
> available for multiple connections (essentially what you'd expect).
>
> Obviously up to you how you want to do this.  I think you might do better
> to consider a better underlying infrastructure to oVirt rather than trying
> to bond vNICs.  Pretty sure I'm right about that.  Would think the idea of
> bonding at the VM level might be best for simulating something rather than
> something you do because it's right/best.
>
>
>
> On 05/14/2018 03:03 PM, Doug Ingham wrote:
>
>> On 14 May 2018 at 15:35, Juan Pablo  pablo.localh...@gmail.com>> wrote:
>>
>> so you have lacp on your host, and you want lacp also on your vm...
>> somehow doesn't sounds correct.
>> there are several lacp modes. which one are you using on the host?
>>
>>
>>   Correct!
>>
>>   | Single 1Gbit virtual interface
>>   |
>> VM  Host  Switch stack
>> |
>> |--- 4x 1Gbit interfaces bonded over LACP
>>
>> The traffic for all of the VMs is distributed across the host's 4 bonded
>> links, however each VM is limited to the 1Gbit of its own virtual
>> interface. In the case of my proxy, all web traffic is routed through it,
>> so its single Gbit interface has become a bottleneck.
>>
>> To increase the total bandwidth available to my VM, I presume I will need
>> to add multiple Gbit VIFs & bridge them with a bonding mode.
>> Balance-alb (mode 6) is one option, however I'd prefer to use LACP (mode
>> 4) if possible.
>>
>>
>> 2018-05-14 16:20 GMT-03:00 Doug Ingham:
>>
>> On 14 May 2018 at 15:03, Vinícius Ferrão wrote:
>>
>> You should use better hashing algorithms for LACP.
>>
>> Take a look at this explanation:
>> https://www.ibm.com/developerworks/community/blogs/
>> storageneers/entry/Enhancing_IP_Network_Performance_with_LACP?lang=en
>> > storageneers/entry/Enhancing_IP_Network_Performance_with_LACP?lang=en>
>>
>> In general only L2 hashing is made, you can achieve better
>> throughput with L3 and multiple IPs, or with L4 (ports).
>>
>> Your switch should support those features too, if you’re
>> using one.
>>
>> V.
>>
>>
>> The problem isn't the LACP connection between the host & the
>> switch, but setting up LACP between the VM & the host. For
>> reasons of stability, my 4.1 cluster's switch type is currently
>> "Linux Bridge", not "OVS". Ergo my question, is LACP on the VM
>> possible with that, or will I have to use ALB?
>>
>> Regards,
>>   Doug
>>
>>
>>
>> On 14 May 2018, at 15:16, Doug Ingham wrote:
>>
>> Hi All,
>>   My hosts have all of their interfaces bonded via LACP to
>> maximise throughput, however the VMs are still limited to
>> Gbit virtual interfaces. Is there a way to configure my VMs
>> to take full advantage of the bonded physical interfaces?
>>
>> One way might be adding several VIFs to each VM & using ALB
>> bonding, however I'd rather use LACP if possible...
>>
>> Cheers,
>> --
>> Doug
>>
>>
>> -- Doug
>>
>>
>>
>>
>> --
>> Doug
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>>
>> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an 

[ovirt-users] Re: VM interface bonding (LACP)

2018-05-14 Thread Yaniv Kaul
On Mon, May 14, 2018, 11:33 PM Chris Adams  wrote:

> Once upon a time, Doug Ingham  said:
> >  Correct!
> >
> >  | Single 1Gbit virtual interface
> >  |
> > VM  Host  Switch stack
> >|
> >|--- 4x 1Gbit interfaces bonded over LACP
> >
> > The traffic for all of the VMs is distributed across the host's 4 bonded
> > links, however each VM is limited to the 1Gbit of its own virtual
> > interface. In the case of my proxy, all web traffic is routed through it,
> > so its single Gbit interface has become a bottleneck.
>
> It was my understanding that the virtual interface showing up as 1 gig
> was just a reporting thing (something has to be put in the speed field).
> I don't think the virtual interface is actually limited to 1 gig, the
> server will just pass packets as fast as it can.
>

Absolutely right.
Y.


> --
> Chris Adams 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: oVirt 4.2.3 on RHEL/CentOS 7.5

2018-05-14 Thread Yaniv Kaul
On Mon, May 14, 2018 at 10:35 AM, Stefano Stagnaro <
stefa...@prismatelecomtesting.com> wrote:

> Hello,
>
> since oVirt 4.2.3 release notes still indicates the availability for EL
> 7.4, I would like to know if the release has been tested for EL 7.5 yet and
> it's safe to install the VDSM on it (instead of oVirt Node).
>

It was tested with 7.5.
Y.


>
> Thank you.
> --
> Stefano Stagnaro
>
> Prisma Telecom Testing S.r.l.
> Via Petrocchi, 4
> 20127 Milano – Italy
>
> Tel. 02 26113507 int 339
> e-mail: stefa...@prismatelecomtesting.com
> skype: stefano.stagnaro
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: oVirt 4.2 Upgrade

2018-05-13 Thread Yaniv Kaul
On Thu, May 10, 2018 at 7:57 AM, KSNull Zero  wrote:

> Hello!
> Let's assume that we have 2 clusters in a shared Datacenter running
> version 4.1.
> Is it possible to have one cluster running v4.2 and another one running
> v4.1 in the same Datacenter (what version will it be, by the way ?) during
> transitioning to oVirt 4.2 ?
>

Yes.

The way to upgrade is first upgrade the hosts, then the clusters, then the
DC. So you could have a 4.2 host in a 4.1 cluster, then when all hosts are
4.2 you can upgrade the cluster to 4.2, and so on.
Y.

Thank you.
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


Re: [ovirt-users] oVirt messages from engine to vdsm

2018-05-05 Thread Yaniv Kaul
I feel it's a question more suitable for the devel list.
In any way, perhaps setting the Engine in debug mode would suffice?
Y.

On Sat, May 5, 2018 at 1:07 PM, Anastasiya Ruzhanskaya <
anastasiya.ruzhansk...@frtk.ru> wrote:

> Hello everyone!
> Currently I want to determine what information is included in messages
> passing from oVirt engine to VDSM on ovirt-node.
>
> I made up a really simple configuration with one VM representing engine,
> another - node, a managed to successfully  launch a single VM on this node.
> However, I have chosen to configure everything automatically. Currently
> traffic is encrypted with default certificates.
> So, there are three options for me and no one of them really works.
>
> 1) Find the format of messages ( what the fields are, session id for
> example) in docs, but I didn't  manage to find it;
> 2) Use wireshark to decrypt the traffic and the apply maybe a json
> -dissector to the decrypted data. I have tried many solutions ( thanks god
> I have rsa private and public keys but there is another session key which
> is generated every time engine starts to communicate with vdsm, which I
> cannot get with the help of sslkeylog file or ld_preload technology.
> Maybe someone knows the exact methodology how to do this correctly?
>
> 3) Turn off ssl in oVirt. It is simple to do that for vdsm, but for
> engine, according to answers on oVirt site, I should do 2 requests to the
> database. I was really surprised that psql was not installed by oVirt on my
> system. How did it then created a default database? ( I have chosen to
> create all locally and with default configurations).
> I mean these two commands : https://www.ovirt.org/develop/
> developer-guide/vdsm/connecting-development-vdsm-to-engine/ . I have a
> following error there :
> psql: FATAL: Peer authentication failed for user "engine"
>
> Could you please guide my what method is the best and how should I correct
> my faults there?
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Remote DB: How do you set server_version?

2018-05-03 Thread Yaniv Kaul
On Wed, May 2, 2018 at 11:26 PM, Jamie Lawrence 
wrote:

>
> I've been down this road. Postgres won't lie about its version for you.
> If you want to do this, you have to patch the Ovirt installer[1]. I stopped
> trying to use my PG cluster at some point -  the relationship between the
> installer and the product combined with the overly restrictive requirements
> baked into the installer[2]) makes doing so  an ongoing hassle. So I treat
> Ovirt's PG as an black box; disappointing, considering that we are a very
> heavy PG shop with a lot of expertise and automation I can't use with Ovirt.
>
>
Patches are welcome to improve the way oVirt uses Postgresql, supports
various versions, etc.
Can you give examples for some of the things you'd do differently?

If nothing has changed (my notes are from a few versions ago), everything
> you need to correct is in
>
> /usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_
> common/constants.py
>
> Aside from the version, you'll also have to make the knobs for vacuuming
> match those of your current installation, and I think there was another
> configurable for something else I'm not remembering right now.
>
> Be aware that doing so is accepting an ongoing commitment to monkeying
> with the installer a lot. At one time I thought doing so was the right
> tradeoff, but it turns out I  was wrong.
>

At least we can start with documenting their location and default values -
if that's not the case already, and when/why change them.
An ovirt.org blog entry would be welcome too.
Y.


> -j
>
> [1] Or you could rebuild PG with a fake version. That option was
> unavailable here.
> [2] Not criticizing, just stating a technical fact. How folks apportion
> their QA resources is their business.
>
> > On May 2, 2018, at 12:49 PM, ~Stack~  wrote:
> >
> > Greetings,
> >
> > Exploring hosting my engine and ovirt_engine_history db's on my
> > dedicated PostgreSQL server.
> >
> > This is a 9.5 install on a beefy box from the postgresql.org yum repos
> > that I'm using for other SQL needs too. 9.5.12 to be exact. I set up the
> > database just as the documentation says and I'm doing a fresh install of
> > my engine-setup.
> >
> > During the install, right after I give it the details for the remote I
> > get this error:
> > [ ERROR ] Please set:
> >  server_version = 9.5.9
> > in postgresql.conf on 'None'. Its location is usually
> > /var/lib/pgsql/data , or somewhere under /etc/postgresql* .
> >
> > Huh?
> >
> > Um. OK.
> > $ grep ^server_version postgresql.conf
> > server_version = 9.5.9
> >
> > $ systemctl restart postgresql-9.5.service
> >
> > LOG:  syntax error in file "/var/lib/pgsql/9.5/data/postgresql.conf"
> > line 33, n...n ".9"
> > FATAL:  configuration file "/var/lib/pgsql/9.5/data/postgresql.conf"
> > contains errors
> >
> >
> > Well that didn't work. Let's try something else.
> >
> > $ grep ^server_version postgresql.conf
> > server_version = 9.5.9
> >
> > $ systemctl restart postgresql-9.5.service
> > LOG:  parameter "server_version" cannot be changed
> > FATAL:  configuration file "/var/lib/pgsql/9.5/data/postgresql.conf"
> > contains errors
> >
> > Whelp. That didn't work either. I can't seem to find anything in the
> > oVirt docs on setting this.
> >
> > How am I supposed to do this?
> >
> > Thanks!
> > ~Stack~
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted-engine --deploy Failed

2018-05-01 Thread Yaniv Kaul
Can you provide other logs, vdsm log, for example?
The installation of the Engine seem to have succeeded, then it tried to add
the host. It was waiting for quite some time to get the host into 'Up'
state.
If, for example, it was installing packages, and the yum repo was very
slow, that may be a reason.
But there may be many other reasons as well.
Y.

On Tue, May 1, 2018 at 2:43 PM, Paul.LKW  wrote:

> Dear All:
> Recently I just make a try to create a Self-Hosted Engine oVirt but
> unfortunately both two of my box also failed with bad deployment
> experience, first of all the online documentation is wrong under "oVirt
> Self-Hosted Engine Guide" section, it says the deployment script
> "hosted-engine --deploy" will asking for Storage configuration immediately
> but it is not true any more, also on both of my 2 box one is configured
> with bond interface and one not but also failed, in order to separate the
> issue I think better I post the bonded interface one log for all your to
> Ref. first, the script runs at "TASK [Wait for the host to be up]" for long
> long time then give me the Error
>
> [ ERROR ] fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_hosts":
> []}, "attempts": 120, "changed": false}
> [ INFO  ] TASK [include_tasks]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [Remove local vm dir]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [Notify the user about a failure]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The
> system may not be provisioned according to the playbook results: please
> check the logs for the issue, fix accordingly or re-deploy from scratch.\n"}
> [ ERROR ] [DEPRECATION WARNING]: Using tests as filters is deprecated.
> Instead of using
> [ ERROR ] `result|succeeded` instead use `result is succeeded`. This
> feature will be
> [ ERROR ] removed in version 2.9. Deprecation warnings can be disabled by
> setting
> [ ERROR ] deprecation_warnings=False in ansible.cfg.
> [ ERROR ] [DEPRECATION WARNING]: Using tests as filters is deprecated.
> Instead of using
> [ ERROR ] `result|succeeded` instead use `result is succeeded`. This
> feature will be
> [ ERROR ] removed in version 2.9. Deprecation warnings can be disabled by
> setting
> [ ERROR ] deprecation_warnings=False in ansible.cfg.
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
> [ INFO  ] Stage: Clean up
> [ INFO  ] Cleaning temporary resources
> [ INFO  ] TASK [Gathering Facts]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [include_tasks]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [Remove local vm dir]
> [ INFO  ] ok: [localhost]
> [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-
> setup/answers/answers-20180501190540.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed: please check the logs for the
> issue, fix accordingly or re-deploy from scratch.
>   Log file is located at /var/log/ovirt-hosted-engine-s
> etup/ovirt-hosted-engine-setup-20180501184459-4v6ctw.log
>
> Attached is the so long LOG.
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Image I/O

2018-04-24 Thread Yaniv Kaul
On Tue, Apr 24, 2018 at 10:35 AM, Николаев Алексей <
alexeynikolaev.p...@yandex.ru> wrote:

> Thx for answer.
>
> But in admin UI from menu "Storage -> Disks -> Upload" I can only select
> the local file. There I can use URL to upload?
>

Not from the UI.
This can be achieved from Ansible, though.
See
https://github.com/oVirt/ovirt-ansible-image-template/blob/master/README.md
Y.



>
>
>
> 23.04.2018, 19:57, "Michal Skrivanek" :
>
>
>
>
> On 23 Apr 2018, at 16:25, Николаев Алексей 
> wrote:
>
> Hi community!
>
> Is it possible to Upload ISO or disk image from URL as specified
> https://ovirt.org/develop/release-management/features/
> storage/image-upload/?
>
>
> yes, it is
>
> Thanks,
> michal
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How much improvement has been made with GlusterFS handling small files?

2018-04-20 Thread Yaniv Kaul
On Fri, Apr 20, 2018, 4:11 PM Jayme  wrote:

> I'm very strongly leaning toward an oVirt hyperconverged setup.  I plan on
> using fairly robust hardware (ssds, lots of ram, 10gb network) as per the
> guides, however I am worried about one thing which is glusterFS performance
> in regards to its handling of many small files.  I've read various forum
> posts and other tidbits of info on this subject I've come across in my
> research but in many cases the information is from several years ago and
> I'm not sure how relevant it is today.
>
> The amount of VMs won't be high and most servers I'll be running will be
> fairly light weight Linux servers, however a handful of them will be used
> to deal with some decent sized github repos so at times there could be
> interaction with directories that have a lot of small files (including
> rsyncing those directories for off-site backups as well).  Is oVirt
> hyperconverged still a viable solution in such a case or should I be
> considering other VM storage options instead?
>

I suspect you either have a misunderstanding of the layering of storage -
or I misunderstood what you plan to achieve.
VM disks are hosted on Gluster and as such, are fairly large files. They
may be sharded for smaller chunks, but these are still pretty big files.
Or are you planning to expose Gluster to the VMs?
Y.


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


Re: [ovirt-users] libzbxovirt - zabbix module for oVirt (proof-of-concept)

2018-04-20 Thread Yaniv Kaul
On Fri, Apr 20, 2018, 1:25 AM Peter Hudec  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Hi,
>
> I just wanted to share my work to get oVirt monitored by Zabbix. It
> could be good start for future work.
>
> If interested, please see https://github.com/hudecof/libzbxovirt


Before we look at this, can you clarify under which license it is?
Y.


>
> There is still a lot of work on this, so any help is welcome.
>
> regards
> Peter
>
> - --
> *Peter Hudec*
> Infraštruktúrny architekt
> phu...@cnc.sk 
>
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2  35 000 100
>
> Mobil:+421 905 997 203
> *www.cnc.sk* 
>
> -BEGIN PGP SIGNATURE-
>
> iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlrZFzYACgkQQnvVWOJ3
> 5BBd2A/9FrRa9Yq75iqBksjk1+KsinjVXCwoxT8FDpsUWg2wjx4TvOlDFJ7e8z7c
> QRtauYsXPlertCKTnWTRl9dyKfk9qQxe90TxuZUDyeuH9/8on7fBlHT14S+lvh+6
> lJ9Q2S4nGqPPS2tcH3gdZ7Zs1MF+tj4B0snAIrQG0/kARUHBeM1ez52EZRK/N/5J
> QAtNHLz2R4Ownpc7M28on/a1qGN3QUrSeWaeugvOD27ARBGTaaoHk3Q7lp+Z9VTX
> 4b2wI0n9rbZSvEeiqtkRzQqDY1GtpsS/g9h3cTT0fYHiWkTd50yo2/p69xRpUCfB
> 4j+rgVQqhFDXxAB3PBNahfWD2sNYOht6MIQnzexLgm5DY/RuqsLHfdX8ZKnGJJdm
> l25n+er6sciPfCDPo7Ola96J0jqGO7zR1IAV7K20e3RVage7cBEfXbsZRszhfDfr
> bwWj/MRBBVbnpjob8TzIdUiLRnJdkHyZNiICDC8dTleWIfgnYASa/ljAssrWuZYF
> VYnKrUG/tORlxcn5P/kzUThUASXpyO0bTx+IwY79ruDAgnumKHK+zs8r8Nimrn/G
> NxYWhC4FyWfyqb5vpaYI0jeeuVAKy+6HCZk66xqdtHO5kBYmtizLZVkfu0++Ji7F
> 6QTfu8OImx0q25uvsBZxX0mfHy0Rs7QVkQjUvK+CWqvK9mjSoQo=
> =m7tM
> -END PGP SIGNATURE-
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Postgresql tables

2018-04-20 Thread Yaniv Kaul
May I ask what are you trying to achieve? Why not use the oVirt REST API?
Y.

On Fri, Apr 20, 2018, 8:57 AM Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> How frequently is the 'disk_all table' is updated with new statistics?
>
> On Fri, Apr 20, 2018 at 11:15 AM, Hari Prasanth Loganathan <
> hariprasant...@msystechnologies.com> wrote:
>
>> How is the disk id mapped to this table : disk_image_dynamic table?
>>
>> If I need statistics of all the disk, How can I get it?
>>
>> On Thu, Apr 19, 2018 at 10:15 PM, Benny Zlotnik 
>> wrote:
>>
>>> It is in the disk_image_dynamic table
>>>
>>> On Thu, Apr 19, 2018 at 3:36 PM, Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
 Hi Team,

 I am trying to get the disk level statistics using oVirt with the
 following API,

 /ovirt-engine/api/disks/{unique_disk_id}/statistics/


 *and I get this response : *
  {
 "statistic": [
 {
 "kind": "gauge",
 "type": "decimal",
 "unit": "bytes_per_second",
 "values": {
 "value": [
 {
 "datum": 0
 }
 ]
 },
 "disk": {
 "href":
 "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
 "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
 },
 *"name": "data.current.read",*
 "description": "Read data rate",
 "href":
 "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
 "id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
 },
 {
 "kind": "gauge",
 "type": "decimal",
 "unit": "bytes_per_second",
 "values": {
 "value": [
 {
 "datum": 0
 }
 ]
 },
 "disk": {
 "href":
 "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
 "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
 },
* "name": "data.current.write",*
 "description": "Write data rate",
 "href":
 "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
 "id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
 },
 {
 "kind": "gauge",
 "type": "decimal",
 "unit": "seconds",
 "values": {
 "value": [
 {
 "datum": 0
 }
 ]
 },
 "disk": {
 "href":
 "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
 "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
 },
  *   "name": "disk.read.latency",*
 "description": "Read latency",
 "href":
 "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statistics/3a7b3f72-d035-3bb9-b196-e86a4eb34993",
 "id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
 },
 {
 "kind": "gauge",
 "type": "decimal",
 "unit": "seconds",
 "values": {
 "value": [
 {
 "datum": 0
 }
 ]
 },
 "disk": {
 "href":
 "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
 "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
 },
   *  "name": "disk.write.latency",*
 "description": "Write latency",
 "href":
 "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c/statistics/b1e75c7b-cea4-37d2-8459-f7d68efc69a3",
 "id": "b1e75c7b-cea4-37d2-8459-f7d68efc69a3"
 },
 {
 "kind": "gauge",
 "type": "decimal",
 "unit": "seconds",
 "values": {
 "value": [
 {
 "datum": 0
 }
 ]
 },
 "disk": {
 "href":
 "/ovirt-engine/api/disks/a570a8a4-d4ff-4826-bc39-50bb0b42785c",
 "id": "a570a8a4-d4ff-4826-bc39-50bb0b42785c"
 },
 "name": "disk.flush.latency",
 

Re: [ovirt-users] oVirt non-self-hosted HA

2018-04-15 Thread Yaniv Kaul
On Sun, Apr 15, 2018 at 4:26 AM, TomK <tomk...@mdevsys.com> wrote:

> On 4/5/2018 8:59 AM, Tom wrote:
>
>>
>>
>> Sent from my iPhone
>>
>> On Apr 5, 2018, at 5:29 AM, Yaniv Kaul <yk...@redhat.com > yk...@redhat.com>> wrote:
>>
>>
>>>
>>> On Thu, Apr 5, 2018 at 9:08 AM, TomK <tomk...@mdevsys.com >> tomk...@mdevsys.com>> wrote:
>>>
>>> On 4/4/2018 3:11 AM, Yaniv Kaul wrote:
>>>
>>>
>>>
>>> On Wed, Apr 4, 2018 at 12:39 AM, Tom <t...@mdevsys.com
>>> <mailto:t...@mdevsys.com> <mailto:t...@mdevsys.com
>>> <mailto:t...@mdevsys.com>>> wrote:
>>>
>>>
>>>
>>> Sent from my iPhone
>>>
>>> On Apr 3, 2018, at 9:32 AM, Yaniv Kaul <yk...@redhat.com
>>> <mailto:yk...@redhat.com>
>>> <mailto:yk...@redhat.com <mailto:yk...@redhat.com>>> wrote:
>>>
>>>
>>>
>>> On Tue, Apr 3, 2018 at 3:12 PM, TomK
>>> <tomk...@mdevsys.com <mailto:tomk...@mdevsys.com>
>>> <mailto:tomk...@mdevsys.com
>>>
>>> <mailto:tomk...@mdevsys.com>>> wrote:
>>>
>>> Hey Guy's,
>>>
>>> If I'm looking to setup the oVirt engine in an HA
>>> configuration off the physical servers hosting my
>>> VM's (non
>>> self hosted), what are my options here?
>>>
>>> I want to setup two to four active oVirt engine
>>> instances
>>> elsewhere and handle the HA via something like
>>> haproxy /
>>> keepalived to keep the entire experience seamless
>>> to the user.
>>>
>>>
>>> You will need to set up the oVirt engine service as
>>> well as the PG
>>> database (and ovirt-engine-dwhd service and any other
>>> service we
>>> run next to the engine) as highly available module.
>>> In pacemaker[1], for example.
>>> You'll need to ensure configuration is also sync'ed
>>> between nodes,
>>> etc.
>>> Y.
>>>
>>>
>>> So already have one ovirt engine setup separately on a vm
>>> that
>>> manages two remote physical hosts.  So familiar with the
>>> single host
>>> approach which I would simply replicate.  At least that’s
>>> the idea
>>> anyway.  Could you please expand a bit on the highly
>>> available
>>> module and  syncing the config between hosts?
>>>
>>>
>>> That's a different strategy, which is also legit - you treat
>>> this VM as a highly available resource. Now you do not need to
>>> sync the config - just the VM disk and config.
>>>
>>>
>>> I think there's a postgres component too and if oVirt engine keeps
>>> all it's date on the postgres tables, then synchronizing this
>>> piece might be all I need?  I'm not sure how the separate oVirt
>>> engines sitting on various separate physical hosts keep their
>>> settings in sync about the rest of the physicals in an oVirt
>>> environment. (Assume we may have 100 oVirt physicals for example.)
>>>
>>>
>>> There's more than just the database, although it contains 99% of what
>>> you need. See the content of the result of 'engine-backup' command.
>>> I think you might be somewhat confusing between the number of oVirt
>>> hypervisors (we support hundreds) and the Engine - the management, which is
>>> single - and with hosted-engine, it's a single, but highly available
>>> virtual machine - that can run on one of several (I suggest 3-8) of those
>>> hypervisors.
>>> Y.
>>>
>>
>> Yah, still very new to much of this.  Thank you again.
>>
>> I’ll take that away and do some reading.
>>
>> Cheers,
>> Tom
>>
>>
> "that can run on one of several (I suggest 3-8) of those hypervisors."
> To clarify.  So if I have 3-8 copies of the oVirt Engine in a self-hosted
> config, only on

Re: [ovirt-users] New Install Issues

2018-04-12 Thread Yaniv Kaul
On Thu, Apr 12, 2018, 9:21 PM Alexander Wels  wrote:

> On Thursday, April 12, 2018 1:33:20 PM EDT Talk Jesus wrote:
> > Having some strange issues.
> >
> > First: Admin panel loads very slow using subdomain.mydomain.com
> >
> > However, this is a brand new server with 64GB RAM, SSD disks and dual
> octo
> > core Xeons.
> >
> > Second: I get this.
> >
> > [ INFO  ] Stage: Setup validation
> > [WARNING] Cannot validate host name settings, reason: resolved host does
> not
> > match any of the local addresses
> >   During execution engine service will be stopped (OK, Cancel)
> [OK]:
> >
> > Third: when admin panel finally loads, I use admin@internal plus my root
> > password set during installation setup. I get this:
> >
> > Unable to log in. Verify your login information or contact the system
> > administrator.
> >
>
> This is highly likely a DNS issue, the engine tries to resolve itself and
> if
> it can't, it takes a long time to load the webadmin (Not sure why it does
> this, but fixing the DNS will fix the slow loading).
>

I agree.
It happens because of the TLS layer validation.
Y.


> >
> > ---
> > This email has been checked for viruses by Avast antivirus software.
> > https://www.avast.com/antivirus
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How it is oVirt used in your Department?

2018-04-09 Thread Yaniv Kaul
On Sun, Apr 8, 2018 at 5:33 PM, ~Stack~  wrote:

> On 03/28/2018 05:31 AM, Fedele Stabile Nuovo Server wrote:
> > My question is mainly addressed at those of you who use oVirt not only
> > for creating services on virtual machines.
> > What is your experience and what did you made?
>
> Still consider myself an oVirt newb. Only been using it for a few months
> but I'm liking it so far. I don't have the hardware specs in front of me
> but I have a 4 node Hypervisor setup with a physical Engine host. All
> running on Scientific Linux 7.
>
> > Is there anyone who virtualized an HPC cluster?
>
> I'm still not convinced that virtualized HPC is a good idea for those
> who need compute performance. Though it is getting better than when I
> first heard someone say they were doing it at Supercomputing14!
>
> > What is for you the advantage on virtualizing a cluster?
>
> Um. As a 14year HPC admin, I still say none for compute. However, I am
> using oVirt to support a ton of my infrastructure services: Frontends,
> Log-ins, Scheduler, Database, LDAP, ect.
>
> I'm still learning how to set up something where my users can click a
> button on a webpage and get a VM spun up for a Graphical session on
> oVirt. I'm also still debating on the pros/cons for setting up oVirt
> VM's for things like JupyterNotebooks/RStudio Server/ect for the "I just
> want a web page to develop my code on and will submit to the cluster for
> the job run" crowd.
>

Few options to consider:
1. oVirt user portal (with VM pools perhaps?)
2.  vagrant with the oVirt provider
3. ManageIQ service portal
4. Ansible playbooks - a simple rule could suffice for most tasks.


> It is a huge learning process for me. Most of the tools I've been using
> have worked great for years, but it is time to update and refresh those
> skills. Most of the provisioning tools I've used in the past don't work
> so well with oVirt. So now I'm exploring other tools.
>
> Foreman is and overcomplicated buggy headache, IMO. Every time I or a
> coworker has tried to get it going it has been a massive
> time-suck-crash-and-burn. Add to it that my current security team has
> HUGE issues with Puppet (don't get me started - I like Puppet) and
> building Foreman by hand with Salt is just an awful awful awful
> experience I wouldn't wish on an enemy...just no. :-)
> DigitalRebar was looking SUPER promising, but they recently went to a
> model that MUST chat out to the Internet or it breaks itself (a complete
> no-go for me). A complete shame.
> So I'm back to Cobbler which is simple and works fantastically well, but
> doesn't really have any integrations into oVirt (that I'm aware of). I'm
> probably going to have to write something with the two API's.
>

Provisioning VMs and customizing them using cloud-init may be a viable
option.
Y.


>
>
> > Or, having a class with PC or Raspberry is better to use LTSP or PiNet
> > or virtualize desktops?
> Can't say. Don't mess with Raspberry Pi's much.
>
> ~Stack~
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hardware critique

2018-04-06 Thread Yaniv Kaul
On Fri, Apr 6, 2018, 12:39 AM Jayme  wrote:

> Vincent,
>
> I've been back and forth on SSDs vs HDDs and can't really get a clear
> answer.  You are correct though, it would only equal 4TB usable in the end
> which is pretty crazy but that amount of 7200 RPM HDDs equals about the
> same cost as 3 2TB ssds would.  I actually posted a question to this list
> not long ago asking how GlusterFS might perform with a small amount of
> disks such as one 2TB SSD per host and some glusterFS users commented
> stating that network would be the bottleneck long before the disks and a
> small amount of SSDs could bottleneck at RPC layer.   Also, I believe at
> this time GlusterFS is not exactly developed to take full advantage of SSDs
> (but I believe there has been strides being made in that regard, I could be
> wrong here).
>

Coming real soon now are some very cool features that will make decisions
somewhat harder: dedup+compression (from VDO) and lvmcache setup.


> As for replica 3 being overkill that may be true as well but from what
> I've read on Ovirt and GlusterFS list archives people typically feel safer
> with replica 3 and run in to less disaster scenarios and can provide easier
> recovery.  I'm not sold on Replica 3 either, Rep 3 Arbiter 1 may be more
> than fine but I wanted to err on the side of caution as this setup may host
> production servers sometime in the future.
>
> I really wish I could get some straight answers on best configuration for
> Ovirt + GlusterFS but thus far it has been a big question mark.  I don't
> know if Raid is better than JBOD and I don't know if a smaller number of
> SSDs would perform any better/worse than larger number of spinning disks in
> raid 10.
>

RAID is better than JBOD in terms of availability and most likely
performance.
It's also more expensive and requires initial setup.
SSD will perform better than HDD.
It's also more expensive than HDD.

No one but you can provide what works best for your requirements.
Y.


> On Thu, Apr 5, 2018 at 5:38 PM, Vincent Royer 
> wrote:
>
>> Jayme,
>>
>> I'm doing a very similar build, the only difference really is I am using
>> SSDs instead of HDDs.   I have similar questions as you regarding expected
>> performance. Have you considered JBOD + NFS?   Putting a Gluster Replica 3
>> on top of RAID 10 arrays sounds very safe, but my gosh the capacity takes a
>> massive hit.  Am I correct in saying you will only get 4TB total usable
>> capacity out of 24TB worth of disks?  The cost per TB in that sort of
>> scenario is immense.
>>
>> My plan is two 2TB SSDs per server in JBOD with a caching raid card, with
>> replica 3.  I would end up with the same 4TB total capacity using 12TB of
>> SSDs.
>>
>> I think Replica 3 is safe enough that you could forgo the RAID 10. But
>> I'm talking from zero experience...  Would love others to chime in with
>> their opinions on both these setups.
>>
>> *Vincent Royer*
>> *778-825-1057*
>>
>>
>> 
>> *SUSTAINABLE MOBILE ENERGY SOLUTIONS*
>>
>>
>>
>>
>> On Thu, Apr 5, 2018 at 12:22 PM, Jayme  wrote:
>>
>>> Thanks for your feedback.  Any other opinions on this proposed setup?
>>> I'm very torn over using GlusterFS and what the expected performance may
>>> be, there seems to be little information out there.  Would love to hear any
>>> feedback specifically from ovirt users on hyperconverged configurations.
>>>
>>> On Thu, Apr 5, 2018 at 2:56 AM, Alex K  wrote:
>>>
 Hi,

 You should be ok with the setup.
 I am running around 20 vms (linux and windows, small and medium size)
 with the half of your specs. With 10G network replica 3 is ok.

 Alex

 On Wed, Apr 4, 2018, 16:13 Jayme  wrote:

> I'm spec'ing hardware for a 3-node oVirt build (on somewhat of a
> budget).  I plan to do 20-30 Linux VMs most of them very light weight + a
> couple of heavier hitting web and DB servers with frequent rsync backups.
> Some have a lot of small files from large github repos etc.
>
> 3X of the following:
>
> Dell PowerEdge R720
> 2x 2.9 GHz 8 Core E5-2690 (SR0L0)
> 256GB RAM
> PERC H710
> 2x10GB Nic
>
> Boot/OS will likely be two cheaper small sata/ssd in raid 1.
>
> Gluster bricks comprised of 4x2TB WD Gold 7200RPM SATA HDDs in RAID 10
> per server.  Using a replica 3 setup (and I'm thinking right now with no
> arbiter for extra redundancy, although I'm not sure what the performance
> hit may be as a result).  Will this allow for two host failure or just 
> one?
>
> I've been really struggling with storage choices, it seems very
> difficult to predict the performance of glusterFS due to the variance in
> hardware (everyone is using something different).  I'm not sure if the
> performance will be adequate enough for my needs.
>
> I will be using an all 

Re: [ovirt-users] Hardware critique

2018-04-06 Thread Yaniv Kaul
On Thu, Apr 5, 2018, 11:39 PM Vincent Royer  wrote:

> Jayme,
>
> I'm doing a very similar build, the only difference really is I am using
> SSDs instead of HDDs.   I have similar questions as you regarding expected
> performance. Have you considered JBOD + NFS?   Putting a Gluster Replica 3
> on top of RAID 10 arrays sounds very safe, but my gosh the capacity takes a
> massive hit.  Am I correct in saying you will only get 4TB total usable
> capacity out of 24TB worth of disks?  The cost per TB in that sort of
> scenario is immense.
>
> My plan is two 2TB SSDs per server in JBOD with a caching raid card, with
> replica 3.  I would end up with the same 4TB total capacity using 12TB of
> SSDs.
>

I'm not sure I see the value in RAID card if you don't use RAID and I'm not
sure you really need caching on the card.
Y.


> I think Replica 3 is safe enough that you could forgo the RAID 10. But I'm
> talking from zero experience...  Would love others to chime in with their
> opinions on both these setups.
>
> *Vincent Royer*
> *778-825-1057*
>
>
> 
> *SUSTAINABLE MOBILE ENERGY SOLUTIONS*
>
>
>
>
> On Thu, Apr 5, 2018 at 12:22 PM, Jayme  wrote:
>
>> Thanks for your feedback.  Any other opinions on this proposed setup?
>> I'm very torn over using GlusterFS and what the expected performance may
>> be, there seems to be little information out there.  Would love to hear any
>> feedback specifically from ovirt users on hyperconverged configurations.
>>
>> On Thu, Apr 5, 2018 at 2:56 AM, Alex K  wrote:
>>
>>> Hi,
>>>
>>> You should be ok with the setup.
>>> I am running around 20 vms (linux and windows, small and medium size)
>>> with the half of your specs. With 10G network replica 3 is ok.
>>>
>>> Alex
>>>
>>> On Wed, Apr 4, 2018, 16:13 Jayme  wrote:
>>>
 I'm spec'ing hardware for a 3-node oVirt build (on somewhat of a
 budget).  I plan to do 20-30 Linux VMs most of them very light weight + a
 couple of heavier hitting web and DB servers with frequent rsync backups.
 Some have a lot of small files from large github repos etc.

 3X of the following:

 Dell PowerEdge R720
 2x 2.9 GHz 8 Core E5-2690 (SR0L0)
 256GB RAM
 PERC H710
 2x10GB Nic

 Boot/OS will likely be two cheaper small sata/ssd in raid 1.

 Gluster bricks comprised of 4x2TB WD Gold 7200RPM SATA HDDs in RAID 10
 per server.  Using a replica 3 setup (and I'm thinking right now with no
 arbiter for extra redundancy, although I'm not sure what the performance
 hit may be as a result).  Will this allow for two host failure or just one?

 I've been really struggling with storage choices, it seems very
 difficult to predict the performance of glusterFS due to the variance in
 hardware (everyone is using something different).  I'm not sure if the
 performance will be adequate enough for my needs.

 I will be using an all ready existing Netgear XS716T 10GB switch for
 Gluster storage network.

 In addition I plan to build another simple glusterFS storage server
 that I can use to georeplicate the gluster volume to for DR purposes and
 use existing hardware to build an independent standby oVirt host that is
 able to start up a few high priority VMs from the georeplicated glusterFS
 volume if for some reason the primary oVirt cluster/glusterFS volume ever
 failed.

 I would love to hear any advice or critiques on this plan.

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

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


Re: [ovirt-users] Hardware critique

2018-04-06 Thread Yaniv Kaul
On Thu, Apr 5, 2018, 11:51 PM FERNANDO FREDIANI 
wrote:

> I always found replica 3 a complete overkill. Don't know people made that
> up that was necessary. Just looks good and costs a lot with little benefit.
>

It's not very easy to solve split brain with only 2.
You can use 2+arbiter.
Y.


> Normally when using magnetic disks 2 copies are fine for most scenarios,
> but if using SSDs for similar scenarios depending on the configuration of
> each node disks it is possible to have a RAID 5/6 ish.
> Fernando
>
> 2018-04-05 17:38 GMT-03:00 Vincent Royer :
>
>> Jayme,
>>
>> I'm doing a very similar build, the only difference really is I am using
>> SSDs instead of HDDs.   I have similar questions as you regarding expected
>> performance. Have you considered JBOD + NFS?   Putting a Gluster Replica 3
>> on top of RAID 10 arrays sounds very safe, but my gosh the capacity takes a
>> massive hit.  Am I correct in saying you will only get 4TB total usable
>> capacity out of 24TB worth of disks?  The cost per TB in that sort of
>> scenario is immense.
>>
>> My plan is two 2TB SSDs per server in JBOD with a caching raid card, with
>> replica 3.  I would end up with the same 4TB total capacity using 12TB of
>> SSDs.
>>
>> I think Replica 3 is safe enough that you could forgo the RAID 10. But
>> I'm talking from zero experience...  Would love others to chime in with
>> their opinions on both these setups.
>>
>> *Vincent Royer*
>> *778-825-1057*
>>
>>
>> 
>> *SUSTAINABLE MOBILE ENERGY SOLUTIONS*
>>
>>
>>
>>
>> On Thu, Apr 5, 2018 at 12:22 PM, Jayme  wrote:
>>
>>> Thanks for your feedback.  Any other opinions on this proposed setup?
>>> I'm very torn over using GlusterFS and what the expected performance may
>>> be, there seems to be little information out there.  Would love to hear any
>>> feedback specifically from ovirt users on hyperconverged configurations.
>>>
>>> On Thu, Apr 5, 2018 at 2:56 AM, Alex K  wrote:
>>>
 Hi,

 You should be ok with the setup.
 I am running around 20 vms (linux and windows, small and medium size)
 with the half of your specs. With 10G network replica 3 is ok.

 Alex

 On Wed, Apr 4, 2018, 16:13 Jayme  wrote:

> I'm spec'ing hardware for a 3-node oVirt build (on somewhat of a
> budget).  I plan to do 20-30 Linux VMs most of them very light weight + a
> couple of heavier hitting web and DB servers with frequent rsync backups.
> Some have a lot of small files from large github repos etc.
>
> 3X of the following:
>
> Dell PowerEdge R720
> 2x 2.9 GHz 8 Core E5-2690 (SR0L0)
> 256GB RAM
> PERC H710
> 2x10GB Nic
>
> Boot/OS will likely be two cheaper small sata/ssd in raid 1.
>
> Gluster bricks comprised of 4x2TB WD Gold 7200RPM SATA HDDs in RAID 10
> per server.  Using a replica 3 setup (and I'm thinking right now with no
> arbiter for extra redundancy, although I'm not sure what the performance
> hit may be as a result).  Will this allow for two host failure or just 
> one?
>
> I've been really struggling with storage choices, it seems very
> difficult to predict the performance of glusterFS due to the variance in
> hardware (everyone is using something different).  I'm not sure if the
> performance will be adequate enough for my needs.
>
> I will be using an all ready existing Netgear XS716T 10GB switch for
> Gluster storage network.
>
> In addition I plan to build another simple glusterFS storage server
> that I can use to georeplicate the gluster volume to for DR purposes and
> use existing hardware to build an independent standby oVirt host that is
> able to start up a few high priority VMs from the georeplicated glusterFS
> volume if for some reason the primary oVirt cluster/glusterFS volume ever
> failed.
>
> I would love to hear any advice or critiques on this plan.
>
> Thanks!
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

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


Re: [ovirt-users] Is compatibility level change required for upgrading from 4.0 to 4.2?

2018-04-05 Thread Yaniv Kaul
On Thu, Apr 5, 2018, 5:31 PM Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> Hello,
>
> we're planning an upgrade of an old 4.0 setup to 4.2, going through 4.1.
>
> What we found out is that when upgrading from major to major, cluster
> and datacenter compatibility upgrade has to be done at the end of the
> upgrade.
> This means that we also require to restart our VMs for adapting the
> compatibility level.
>
> Do we require to upgrade the compatibility level to 4.1 before
> starting the upgrade to 4.2?
>

No.
Y.


> We have more than 400 vms and only few of them can be restarted at our
> convenience.
>
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
> lorenzetto.l...@gmail.com>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Why RAW images when using GlusterFS?

2018-04-05 Thread Yaniv Kaul
On Thu, Apr 5, 2018, 2:33 PM Nicolas Ecarnot  wrote:

> Hello,
>
> Amongst others, I have one 3.6 DC working very well since years and all
> based on GlusterFS.
> When having a close look (qemu-img info) on the images, I see their
> format is all RAW and not QCOW2.
>

Raw sparse.


> I never noticed or bothered before, but I'm wondering :
> - is it by design?
>

Yes, for performance reasons.

- it is something we can change (I'd prefer qcow2)
>

No.

- it there some limitations?
>

Not that I know.


> And finally, I have the same questions about NFS storage domains.
>

Same as Gluster, and other file-based storage.
Y.


> Thank you.
>
> --
> Nicolas ECARNOT
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt non-self-hosted HA

2018-04-05 Thread Yaniv Kaul
On Thu, Apr 5, 2018 at 9:08 AM, TomK <tomk...@mdevsys.com> wrote:

> On 4/4/2018 3:11 AM, Yaniv Kaul wrote:
>
>>
>>
>> On Wed, Apr 4, 2018 at 12:39 AM, Tom <t...@mdevsys.com > t...@mdevsys.com>> wrote:
>>
>>
>>
>>     Sent from my iPhone
>>
>> On Apr 3, 2018, at 9:32 AM, Yaniv Kaul <yk...@redhat.com
>> <mailto:yk...@redhat.com>> wrote:
>>
>>
>>>
>>> On Tue, Apr 3, 2018 at 3:12 PM, TomK <tomk...@mdevsys.com
>>> <mailto:tomk...@mdevsys.com>> wrote:
>>>
>>> Hey Guy's,
>>>
>>> If I'm looking to setup the oVirt engine in an HA
>>> configuration off the physical servers hosting my VM's (non
>>> self hosted), what are my options here?
>>>
>>> I want to setup two to four active oVirt engine instances
>>> elsewhere and handle the HA via something like haproxy /
>>> keepalived to keep the entire experience seamless to the user.
>>>
>>>
>>> You will need to set up the oVirt engine service as well as the PG
>>> database (and ovirt-engine-dwhd service and any other service we
>>> run next to the engine) as highly available module.
>>> In pacemaker[1], for example.
>>> You'll need to ensure configuration is also sync'ed between nodes,
>>> etc.
>>> Y.
>>>
>>
>> So already have one ovirt engine setup separately on a vm that
>> manages two remote physical hosts.  So familiar with the single host
>> approach which I would simply replicate.  At least that’s the idea
>> anyway.  Could you please expand a bit on the highly available
>> module and  syncing the config between hosts?
>>
>>
>> That's a different strategy, which is also legit - you treat this VM as a
>> highly available resource. Now you do not need to sync the config - just
>> the VM disk and config.
>>
>
> I think there's a postgres component too and if oVirt engine keeps all
> it's date on the postgres tables, then synchronizing this piece might be
> all I need?  I'm not sure how the separate oVirt engines sitting on various
> separate physical hosts keep their settings in sync about the rest of the
> physicals in an oVirt environment. (Assume we may have 100 oVirt physicals
> for example.)


There's more than just the database, although it contains 99% of what you
need. See the content of the result of 'engine-backup' command.
I think you might be somewhat confusing between the number of oVirt
hypervisors (we support hundreds) and the Engine - the management, which is
single - and with hosted-engine, it's a single, but highly available
virtual machine - that can run on one of several (I suggest 3-8) of those
hypervisors.
Y.


>
>
> Perhaps something like https://www.unixarena.com/2015
>> /12/rhel-7-pacemaker-configuring-ha-kvm-guest.html .
>>
>> But if you are already doing that, I'm not sure why you'd prefer this
>> over hosted-engine setup.
>>
>
> I'm comparing both options.  I really don't want to ask too many specific
> until I have the chance to read into the details of both.
>
> Y.
>>
>
> Cheers,
> Tom
>
>
>>
>> Cheers,
>> Tom
>>
>>
>>> [1] https://clusterlabs.org/quickstart-redhat.html
>>> <https://clusterlabs.org/quickstart-redhat.html>
>>>
>>>
>>> From what I've seen in oVirt, that seems to be possible
>>> without the two oVirt engines even knowing each other's
>>> existence but is it something anyone has ever done?  Any
>>> recommendations in this case?
>>>
>>> Having settings replicated would be a bonus but I would be
>>> comfortable if they weren't and I handle that myself.
>>>
>>> -- Cheers,
>>> Tom K.
>>> 
>>> -
>>>
>>> Living on earth is expensive, but it includes a free trip
>>> around the sun.
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org <mailto:Users@ovirt.org>
>>> http://lists.ovirt.org/mailman/listinfo/users
>>> <http://lists.ovirt.org/mailman/listinfo/users>
>>>
>>>
>>>
>>
>
> --
> Cheers,
> Tom K.
> 
> -
>
> Living on earth is expensive, but it includes a free trip around the sun.
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt non-self-hosted HA

2018-04-04 Thread Yaniv Kaul
On Wed, Apr 4, 2018 at 12:39 AM, Tom <t...@mdevsys.com> wrote:

>
>
> Sent from my iPhone
>
> On Apr 3, 2018, at 9:32 AM, Yaniv Kaul <yk...@redhat.com> wrote:
>
>
>
> On Tue, Apr 3, 2018 at 3:12 PM, TomK <tomk...@mdevsys.com> wrote:
>
>> Hey Guy's,
>>
>> If I'm looking to setup the oVirt engine in an HA configuration off the
>> physical servers hosting my VM's (non self hosted), what are my options
>> here?
>>
>> I want to setup two to four active oVirt engine instances elsewhere and
>> handle the HA via something like haproxy / keepalived to keep the entire
>> experience seamless to the user.
>>
>
> You will need to set up the oVirt engine service as well as the PG
> database (and ovirt-engine-dwhd service and any other service we run next
> to the engine) as highly available module.
> In pacemaker[1], for example.
> You'll need to ensure configuration is also sync'ed between nodes, etc.
> Y.
>
>
> So already have one ovirt engine setup separately on a vm that manages two
> remote physical hosts.  So familiar with the single host approach which I
> would simply replicate.  At least that’s the idea anyway.  Could you please
> expand a bit on the highly available module and  syncing the config between
> hosts?
>

That's a different strategy, which is also legit - you treat this VM as a
highly available resource. Now you do not need to sync the config - just
the VM disk and config.
Perhaps something like
https://www.unixarena.com/2015/12/rhel-7-pacemaker-configuring-ha-kvm-guest.html
.

But if you are already doing that, I'm not sure why you'd prefer this over
hosted-engine setup.
Y.

>
> Cheers,
> Tom
>
>
> [1] https://clusterlabs.org/quickstart-redhat.html
>
>>
>> From what I've seen in oVirt, that seems to be possible without the two
>> oVirt engines even knowing each other's existence but is it something
>> anyone has ever done?  Any recommendations in this case?
>>
>> Having settings replicated would be a bonus but I would be comfortable if
>> they weren't and I handle that myself.
>>
>> --
>> Cheers,
>> Tom K.
>> 
>> -
>>
>> Living on earth is expensive, but it includes a free trip around the sun.
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt snapshot issue

2018-04-03 Thread Yaniv Kaul
On Sun, Apr 1, 2018 at 9:04 PM, Alex K  wrote:

> Checking further the logs I see this error given from libvirt of the host
> that has the guest VM running:
>
> Apr  1 17:53:41 v0 libvirtd: 2018-04-01 17:53:41.298+: 1862: warning :
> qemuDomainObjBeginJobInternal:3847 : Cannot start job (query, none) for
> domain Data-Server; current job is (async nested, snapshot) owned by (1863
> remoteDispatchDomainSnapshotCreateXML, 1863 
> remoteDispatchDomainSnapshotCreateXML)
> for (39s, 41s)
> Apr  1 17:53:41 v0 libvirtd: 2018-04-01 17:53:41.299+: 1862: error :
> qemuDomainObjBeginJobInternal:3859 : Timed out during operation: cannot
> acquire state change lock (held by remoteDispatchDomainSnapshotCreateXML)
> Apr  1 17:53:57 v0 journal: vdsm Executor WARN Worker blocked:  name=jsonrpc/3 running  u'vmID': u'6bdb3d02-cc33-4019-97cd-7447aecc1e02', u'snapDrives':
> [{u'baseVolumeID': u'adfabed5-451b-4f46-b22a-45f720b06110', u'domainID':
> u'2c4b8d45-3d05-4619-9a36-1ecd199d3056', u'volumeID':
> u'cc0d0772-924c-46db-8ad6-a2b0897c313f', u'imageID':
> u'7eeadedc-f247-4a31-840d-4de622bf3541'}, {u'baseVolumeID':
> u'0d960c12-3bcf-4918-896d-bd8e68b5278b', u'domainID':
> u'2c4b8d45-3d05-4619-9a36-1ecd199d3056', u'volumeID':
> u'590a6bdd-a9e2-444e-87bc-721c5f8586eb', u'imageID':
> u'da0e4111-6bbe-43cb-bf59-db5fbf5c3e38'}]}, 'jsonrpc': '2.0', 'method':
> u'VM.snapshot', 'id': u'be7912e6-ba3d-4357-8ba1-abe40825acf1'} at
> 0x3bf84d0> timeout=60, duration=60 at 0x3bf8050> task#=416 at 0x20d7f90>
>
>
> Immediately after above the engine reports the VM as unresponsive.
>

If it's reproducible, it'd be great if you could:
1. Run libvirt with debug logs
2. Get a dump of libvirt when this happens (with gstack for example).
3. File a bug on libvirt.

Thanks,
Y.


> The SPM host does not log any issues.
>
> In the same time, the 3 hosts are fairly idle with only one running guest
> VM. The gluster traffic is dedicated to a separate Gbit NIC of the servers
> (dedicated VLAN) while the management network is on a separate network. The
> gluster traffic does not exceed 40 Mbps during the snapshot operation.
> Can't understand why libvirt is logging timeout.
>
> Alex
>
> On Thu, Mar 29, 2018 at 9:42 PM, Alex K  wrote:
>
>> Any idea with this issue?
>> I am still trying to understand what may be causing this issue.
>>
>> Many thanx for any assistance.
>>
>> Alex
>>
>> On Wed, Mar 28, 2018 at 10:06 AM, Yedidyah Bar David 
>> wrote:
>>
>>> On Tue, Mar 27, 2018 at 3:38 PM, Sandro Bonazzola 
>>> wrote:
>>>


 2018-03-27 14:34 GMT+02:00 Alex K :

> Hi All,
>
> Any idea on the below?
>
> I am using oVirt Guest Tools 4.2-1.el7.centos for the VM.
> The Window 2016 server VM (which it the one with the relatively big
> disks: 500 GB) it is consistently rendered unresponsive when trying to get
> a snapshot.
> I amy provide any other additional logs if needed.
>

 Adding some people to the thread

>>>
>>> Adding more people for this part.
>>>
>>>



>
> Alex
>
> On Sun, Mar 25, 2018 at 7:30 PM, Alex K 
> wrote:
>
>> Hi folks,
>>
>> I am facing frequently the following issue:
>>
>> On some large VMs (Windows 2016 with two disk drives, 60GB and 500GB)
>> when attempting to create a snapshot of the VM, the VM becomes
>> unresponsive.
>>
>> The errors that I managed to collect were:
>>
>> vdsm error at host hosting the VM:
>> 2018-03-25 14:40:13,442+ WARN  (vdsm.Scheduler) [Executor] Worker
>> blocked: > {u'frozen': False, u'vmID': u'a5c761a2-41cd-40c2-b65f-f3819293e8a4',
>> u'snapDrives': [{u'baseVolumeID': 
>> u'2a33e585-ece8-4f4d-b45d-5ecc9239200e',
>> u'domainID': u'888e3aae-f49f-42f7-a7fa-76700befabea', u'volumeID':
>> u'e9a01ebd-83dd-40c3-8c83-5302b0d15e04', u'imageID':
>> u'c75b8e93-3067-4472-bf24-dafada224e4d'}, {u'baseVolumeID':
>> u'3fb2278c-1b0d-4677-a529-99084e4b08af', u'domainID':
>> u'888e3aae-f49f-42f7-a7fa-76700befabea', u'volumeID':
>> u'78e6b6b1-2406-4393-8d92-831a6d4f1337', u'imageID':
>> u'd4223744-bf5d-427b-bec2-f14b9bc2ef81'}]}, 'jsonrpc': '2.0',
>> 'method': u'VM.snapshot', 'id': u'89555c87-9701-4260-9952-789965261e65'}
>> at 0x7fca4004cc90> timeout=60, duration=60 at 0x39d8210> task#=155842 at
>> 0x2240e10> (executor:351)
>> 2018-03-25 14:40:15,261+ INFO  (jsonrpc/3)
>> [jsonrpc.JsonRpcServer] RPC call VM.getStats failed (error 1) in 0.01
>> seconds (__init__:539)
>> 2018-03-25 14:40:17,471+ WARN  (jsonrpc/5) [virt.vm]
>> (vmId='a5c761a2-41cd-40c2-b65f-f3819293e8a4') monitor became
>> unresponsive (command timeout, age=67.910001) (vm:5132)
>>
>> engine.log:
>> 2018-03-25 14:40:19,875Z WARN  [org.ovirt.engine.core.dal.dbb
>> 

Re: [ovirt-users] oVirt non-self-hosted HA

2018-04-03 Thread Yaniv Kaul
On Tue, Apr 3, 2018 at 3:12 PM, TomK  wrote:

> Hey Guy's,
>
> If I'm looking to setup the oVirt engine in an HA configuration off the
> physical servers hosting my VM's (non self hosted), what are my options
> here?
>
> I want to setup two to four active oVirt engine instances elsewhere and
> handle the HA via something like haproxy / keepalived to keep the entire
> experience seamless to the user.
>

You will need to set up the oVirt engine service as well as the PG database
(and ovirt-engine-dwhd service and any other service we run next to the
engine) as highly available module.
In pacemaker[1], for example.
You'll need to ensure configuration is also sync'ed between nodes, etc.
Y.

[1] https://clusterlabs.org/quickstart-redhat.html

>
> From what I've seen in oVirt, that seems to be possible without the two
> oVirt engines even knowing each other's existence but is it something
> anyone has ever done?  Any recommendations in this case?
>
> Having settings replicated would be a bonus but I would be comfortable if
> they weren't and I handle that myself.
>
> --
> Cheers,
> Tom K.
> 
> -
>
> Living on earth is expensive, but it includes a free trip around the sun.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Resilient Storage for Ovirt

2018-04-02 Thread Yaniv Kaul
On Sat, Mar 24, 2018 at 3:55 AM, Vincent Royer 
wrote:

> Hi,
>
> I have a 2 node cluster with Hosted Engine attached to a storage Domain
> (NFS share) served by WS2016.  I run about a dozen VMs.
>
> I need to improve availability / resilience of the storage domain, and
> also the I/O performance.
>
> Anytime we need to reboot the Windows Server, its a nightmare for the
> cluster, we have to put it all into maintenance and take it down.  When the
> Storage server crashes (has happened once) or Windows decides to install an
> update and reboot (has happened once), the storage domain obviously goes
> down and sometimes the hosts have a difficult time re-connecting.
>
> I can afford a second bare metal server and am looking for input in the
> best way to provide a highly available storage domain.  Ideally I'd like to
> be able to reboot either storage server without disrupting Ovirt. Should I
> be looking at clustering with Windows Server, or moving to a different OS?
>
> I currently run the Storage in RAID10 (spinning discs) and have the option
> of adding CacheCade to the array w/ SSD.  Would that help I/O for small
> random R/W?
>
> What are the suggested options for this scenario?
>

The easiest suggestion would be to move away from NFS. While NFS can be
made highly available (using pNFS and friends) and it's not that easy (nor
intuitive from oVirt).
iSCSI or FC are much better suited for the task, with multipathing and
iSCSI bonding (poor choice of terminology here).

You would need to use bonding (this time network bonding) and
highly-available NFS server (with a floating IP between the nodes most
likely) to succeed.
Y.


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


Re: [ovirt-users] Which hardware are you using for oVirt

2018-03-30 Thread Yaniv Kaul
On Mon, Mar 26, 2018, 7:04 PM Christopher Cox  wrote:

> On 03/24/2018 03:33 AM, Andy Michielsen wrote:
> > Hi all,
> >
> > Not sure if this is the place to be asking this but I was wondering
> which hardware you all are using and why in order for me to see what I
> would be needing.
> >
> > I would like to set up a HA cluster consisting off 3 hosts to be able to
> run 30 vm’s.
> > The engine, I can run on an other server. The hosts can be fitted with
> the storage and share the space through glusterfs. I would think I will be
> needing at least 3 nic’s but would be able to install ovn. (Are 1gb nic’s
> sufficient ?)
>
> Just because you asked, but not because this is helpful to you
>
> But first, a comment on "3 hosts to be able to run 30 VMs".  The SPM
> node shouldn't run a lot of VMs.  There are settings (the setting slips
> my mind) on the engine to give it a "virtual set" of VMs in order to
> keep VMs off of it.
>
> With that said, CPU wise, it doesn't require a lot to run 30 VM's.  The
> costly thing is memory (in general).  So while a cheap set of 3 machines
> might handle the CPU requirements of 30 VM's, those cheap machines might
> not be able to give you the memory you need (depends).  You might be
> fine.  I mean, there are cheap desktop like machines that do 64G (and
> sometimes more).  Just something to keep in mind.  Memory and storage
> will be the most costly items.  It's simple math.  Linux hosts, of
> course, don't necessarily need much memory (or storage).  But Windows...
>
> 1Gbit NIC's are "ok", but again, depends on storage.  Glusterfs is no
> speed demon.  But you might not need "fast" storage.
>
> Lastly, your setup is just for "fun", right?  Otherwise, read on.
>
>
> Running oVirt 3.6 (this is a production setup)
>
> ovirt engine (manager):
> Dell PowerEdge 430, 32G
>
> ovirt cluster nodes:
> Dell m1000e 1.1 backplane Blade Enclosure
> 9 x M630 Blades (2xE5-2669v3, 384GB), 4 iSCSI paths, 4 bonded LAN, all
> 10GbE, CentOS 7.2
> 4 x MXL 10/40GbE (2x40Gbit LAN, 2x40Gbit iSCSI SAN to the S4810's)
>
> 120 VM's, CentOS 6, CentOS 7, Windows 10 Ent., Windows Server 2012
> We've run on as few as 3 nodes.
>
> Network, SAN and Storage (for ovirt Domains):
> 2 x S4810 (part is used for SAN, part for LAN)
> Equallogic dual controller (note: passive/active) PS6610S (84 x 4TB 7.2K
> SAS)
> Equallogic dual controller (note: passive/active) PS6610X (84 x 1TB 10K SAS
>
> ISO and Export Domains are handled by:
> Dell PE R620, 32G, 2x10Gbit LAN, 2x10Gbit iSCSI to the SAN (above),
> CentOS 7.4, NFS
>
> What I like:
> * Easy setup.
> * Relatively good network and storage.
>
> What I don't like:
> * 2 "effective" networks, LAN and iSCSI.  All networking uses the same
> effective path.  Would be nice to have more physical isolation for mgmt
> vs motion vs VMs.  QoS is provided in oVirt, but still, would be nice to
> have the full pathways.
> * Storage doesn't use active/active controllers, so controller failover
> is VERY slow.
> * We have a fast storage system, and somewhat slower storage system
> (matter of IOPS),  neither is SSD, so there isn't a huge difference.  No
> real redundancy or flexibility.
> * vdsm can no longer respond fast enough for the amount of disks defined
> (in the event of a new Storage Domain add).  We have raised vdsTimeout,
> but have not tested yet.
>

We have substantially changed and improved VDSM for better scale since 3.6.
How many disks are defined, in how many storage domains and LUNs?
(also the OS itself has improved).


> I inherited the "style" above.  My recommendation of where to start for
> a reasonable production instance, minimum (assumes the S4810's above,
> not priced here):
>
> 1 x ovirt manager/engine, approx $1500
>

What about high availability for the engine?

4 x Dell R620, 2xE5-2660, 768G, 6x10GbE (LAN, Storage, Motion), approx $42K
> 3 x Nexsan 18P 108TB, approx $96K
>

Alternatively, how many reasonable SSDs can you buy? Samsing 860 EVO, 4TB
costs in Amazon (US) $1300. You could buy tens (70+) of those and be left
with some change.
Can you instead use them in a fast storage setup?
https://www.backblaze.com/blog/open-source-data-storage-server/ for example
is interesting.


> While significantly cheaper (by 6 figures), it provides active/active
> controllers, storage reliability and flexibility and better network
> pathways.  Why 4 x nodes?  Need at least N+1 for reliability.  The extra
> 4th node is merely capacity.  Why 3 x storage?  Need at least N+1 for
> reliability.
>

Are they running in some cluster?


> Obviously, you'll still want to back things up and test the ability to
> restore components like the ovirt engine from scratch.
>

+1.
Y.


> Btw, my recommended minimum above is regardless of hypervisor cluster
> choice (could be VMware).
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

Re: [ovirt-users] Host affinity rule

2018-03-30 Thread Yaniv Kaul
On Thu, Mar 29, 2018, 4:14 AM Colin Coe  wrote:

> Hi all
>
> I suspect one of our hypervisors is faulty but at this stage I can't prove
> it.
>
> We're running RHV 4.1.7 (about to upgrade to v4.1.10 in a few days).
>
> I'm planning on create a negative host affinity rule to prevent all
> current existing VMs from running on the suspect host.  Afterwards I'll
> create a couple of test VMs and put them in a positive host affinity rule
> so they only run on the suspect host.
>
> There are about 150 existing VMs, are there any known problems with host
> affinity rules and putting 150 or so VMs in the group?
>
> This is production so I need to be careful.
>

Why not move it to maintenance, then create a new test cluster for it and
use it for testing?
Y.


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


Re: [ovirt-users] Bad volume specification

2018-03-23 Thread Yaniv Kaul
On Fri, Mar 23, 2018 at 3:20 PM,  wrote:

> El 2018-03-23 12:16, Sandro Bonazzola escribió:
>
>> 2018-03-21 13:37 GMT+01:00 :
>>
>> Hi,
>>>
>>> We're running oVirt 4.1.9, today I put a host on maintenance, I saw
>>> one of the VMs was taking too long to migrate so I shut it down. It
>>> seems that just in that moment the machine ended migrating, but the
>>> shutdown did happen as well.
>>>
>>
>> I would suggest to update to 4.2 as soon as possible since 4.1 is not
>> supported anymore now that 4.2 is available
>>
>>
> We have 2 oVirt infrastructures. One is migrated to 4.2, we can't migrate
> the other one since most of the user portal features in 4.1 are not present
> in 4.2 and our users do a massive usage of this portal to create/tune VMs.
> I know several issues were created on Github to implement missing features,
> but we cannot upgrade until they are implemented.
>

Have you checked the latest oVirt 4.2.2 RC? We have brought back several
features to the user portal.
Y.


>
> Thanks.
>
>
>>
>> Now, when I try to start the VM I'm getting the following error:
>>>
>>> 2018-03-21 12:31:02,309Z ERROR
>>>
>>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>>
>>> (DefaultQuartzScheduler3) [7985a4e2] EVENT_ID: VM_DOWN_ERROR(119),
>>> Correlation ID: null, Call Stack: null, Custom ID: null, Custom
>>> Event ID: -1, Message: VM openmaint.iaas.domain.com [1] is down with
>>> error. Exit message: Bad volume specification {'index': '0',
>>> u'domainID': u'04cb5bd0-d94e-4d14-a71a-e63a669e11b9', 'reqsize':
>>> '0', u'format': u'cow', u'optional': u'false', u'address':
>>> {u'function': u'0x0', u'bus': u'0x00', u'domain': u'0x',
>>> u'type': u'pci', u'slot': u'0x06'}, u'volumeID':
>>> u'68ee7a04-ceff-49f0-bf91-256870543921', 'apparentsize':
>>> '3221225472', u'imageID': u'9d087e6b-0832-46db-acb0-16d5131afa0c',
>>> u'discard': False, u'specParams': {}, u'readonly': u'false',
>>> u'iface': u'virtio', u'deviceId':
>>> u'9d087e6b-0832-46db-acb0-16d5131afa0c', 'truesize': '3221225472',
>>> u'poolID': u'75bf8f48-970f-42bc-8596-f8ab6efb2b63', u'device':
>>> u'disk', u'shared': u'false', u'propagateErrors': u'off', u'type':
>>> u'disk'}.
>>>
>>> It looks quite bad... I'm attaching the engine.log since the moment
>>> I start the VM.
>>>
>>> Is there anything I can do to recover the VM? oVirt says the disk
>>> is OK in the 'Disks' tab.
>>>
>>
>> Adding some people who may be able to help. Once solved, please
>> consider upgrade.
>>
>>
>>
>> Thanks.
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users [2]
>>>
>>
>> --
>>
>> SANDRO BONAZZOLA
>>
>> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>>
>> Red Hat EMEA [3]
>>
>> sbona...@redhat.com
>>
>>  [4]
>>
>>  [5]
>>
>>
>>
>> Links:
>> --
>> [1] http://openmaint.iaas.domain.com
>> [2] http://lists.ovirt.org/mailman/listinfo/users
>> [3] https://www.redhat.com/
>> [4] https://red.ht/sig
>> [5] https://redhat.com/summit
>>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Juniper vSRX Cluster on oVirt/RHEV

2018-03-22 Thread Yaniv Kaul
On Wed, Mar 21, 2018 at 10:37 PM, Charles Kozler 
wrote:

> Hi All -
>
> Recently did this and thought it would be worth documenting. I couldnt
> find any solid information on vsrx with kvm outside of flat KVM. This
> outlines some of the things I hit along the way and how to fix. This is my
> one small way of giving back to such an incredible open source tool
>
> https://ckozler.net/vsrx-cluster-on-ovirtrhev/
>

Thanks for sharing!
Why didn't you just upload the qcow2 disk via the UI/API though?
There's quite a bit of manual work that I hope is not needed?
Y.

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


Re: [ovirt-users] Any monitoring tool provided?

2018-03-22 Thread Yaniv Kaul
On Thu, Mar 22, 2018 at 5:41 AM, Terry hey  wrote:

> Dear all,
>
> Now, we can just read how many storage used, cpu usage on ovirt dashboard.
> But is there any monitoring tool for monitoring virtual machine time to
> time?
> If yes, could you guys give me the procedure?
>

https://ovirt.org/blog/2017/12/ovirt-metrics-store/ might be helpful.
Y.


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


Re: [ovirt-users] Ovirt nodes NFS connection

2018-03-21 Thread Yaniv Kaul
On Wed, Mar 21, 2018 at 12:41 PM, Tal Bar-Or  wrote:

> Hello All,
>
> I am about to deploy a new Ovirt platform, the platform  will consist 4
> Ovirt nodes including management, all servers nodes and storage will have
> the following config:
>
> *nodes server*
> 4x10G ports network cards
> 2x10G will be used for VM network.
> 2x10G will be used for storage connection
> 2x1Ge 1xGe for nodes management
>
>
> *Storage *4x10G ports network cards
> 3 x10G for NFS storage mount Ovirt nodes
>
> Now given above network configuration layout, what is best practices in
> terms of nodes for storage NFS connection, throughput and path resilience
> suggested to use
> First option each node 2x 10G lacp and on storage side 3x10G lacp?
>

I'm not sure how you'd get more throughout than you can get in a single
physical link. You will get redundancy.

Of course, on the storage side you might benefit from multiple bonded
interfaces.


> The second option creates 3 VLAN's assign each node on that 3 VLAN's
> across 2 nic, and on storage, side assigns 3 nice across 3 VLANs?
>

Interesting - but I assume it'll still stick to a single physical link.
Y.

Thanks
>
>
>
>
>
> --
> Tal Bar-or
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM has been paused due to NO STORAGE SPACE ERROR ?!?!?!?!

2018-03-18 Thread Yaniv Kaul
On Fri, Mar 16, 2018 at 1:25 PM, Enrico Becchetti <
enrico.becche...@pg.infn.it> wrote:

>   Dear All,
> Does someone had seen that error ? When I run this command from my virtual
> machine:
>
> # time dd if=/dev/zero of=enrico.dd bs=4k count=1000
>

I don't think it's a very interesting test case for IO performance, but in
any case, it may cause the VM to try to write faster than its thin
provisioned disk can be extended.
A simple workaround would be to change in VDSM the threshold of when it
gets extended and by how much.
For example:
[irs]
volume_utilization_percent = 15
volume_utilization_chunk_mb = 4048

Y.


> VM was paused due to kind a storage error/problem. Strange message
> because tell about "no storage space error" but ovirt puts virtual machine
> in
> a paused state.
>
> Inside events  from  ovirt web interface  I see this:
>
> "VM has been paused due to lack of storage space"
>
> but no ERROR found in /var/log/vdsm.log.
>
> My oVirt enviroment 4.2.1 has three hypervivosr with FC storage and before
> now
> I haven't see any other problem during the normal functioning of the vm ,
> it's seem
> that this error occurs only when there is massive I/O.
>
> Any ideas ?
> Thanks a lot.
> Best Regards
> Enrico
>
>
> --
> ___
>
> Enrico BecchettiServizio di Calcolo e Reti
>
> Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
> Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
> Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
> __
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.2.2.2-1 Starting hosted engine on all hosts

2018-03-16 Thread Yaniv Kaul
On Mar 15, 2018 9:21 PM, "Maton, Brett"  wrote:

Ok cool, glad you already have enough information as it's trashed my
hosted-engine beyond recovery...


Why did it trash it?
Y.


On 15 March 2018 at 17:47, Gianluca Cecchi 
wrote:

>
> Il 15 Mar 2018 6:34 PM, "Simone Tiraboschi"  ha
> scritto:
>
>
>
> On Thu, Mar 15, 2018 at 8:18 AM, Yedidyah Bar David 
> wrote:
>
>> On Thu, Mar 15, 2018 at 8:50 AM, Maton, Brett 
>> wrote:
>> > The last three 4.2.2 release candidates that I've tried have been
>> starting
>> > self hosted engine all all physical hosts at the same time.
>> >
>> > Same with the latest RC, what logs  do you need to investigate the
>> problem?
>>
>
> It was this one: https://bugzilla.redhat.com/show_bug.cgi?id=1547479
>
> It got fixed today but still not available in RC4.
>
>
>>
>> /var/log/ovirt-hosted-engine-ha/*
>> /var/log/sanlock.log
>> /var/log/vdsm/*
>>
>> Adding Martin.
>>
>> Thanks and best regards,
>> --
>> Didi
>> __
>
>
> If I understood correctly, this kind of risk is not present in 4.1.x and
> in 4.2.y for every x and for y <= 1?
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>

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


Re: [ovirt-users] Ovirt VMS backup

2018-03-14 Thread Yaniv Kaul
On Wed, Mar 14, 2018 at 5:19 PM, Alex K  wrote:

> This link was working.
> Can someone check this to restore access?
>

Surprisingly, you can go to http://blog.infratic.com/ and just scroll down
to the blog entry.
Y.


>
> Thanx,
> Alex
>
> On Tue, Mar 13, 2018 at 1:57 PM, Nathanaël Blanchet 
> wrote:
>
>> sorry, but your link is broken
>>
>> Le 12/03/2018 à 19:33, Victor José Acosta Domínguez a écrit :
>>
>> http://blog.infratic.com/blog/2017/07/07/create-ovirtrhevs-vm-backup/
>>
>> Victor Acosta
>>
>> RHCE - RHCSA - RHCVA - VCA-DCV
>>
>>
>> ___
>> Users mailing 
>> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques
>> 227 avenue Professeur-Jean-Louis-Viala
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to log-on to a VM from Centos atomic template

2018-03-14 Thread Yaniv Kaul
On Tue, Mar 13, 2018 at 6:31 PM, Niv Gal Weizer  wrote:

> On Ovirt 4.2:
> - click on the left Storage tab
> - click on Domains
> - choose Centos 7 Automic Host imge v1711 for X86_64 , and clic import
> - enable the Import as Template
> - Click OK
>
> Now use this template to create a new VM.
> After this VM is created run it and open a console to it.
>
>
> -How to log in to this VM?
> There is no way to change the password from the VM create menu, or change
> the password after it was created.
>

Have you tried to set credentials / SSH keys via cloud-init?
Y.


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


Re: [ovirt-users] Quick question about oVirt 3.6 and vdsm log in DEBUG mode (apprently by default??)

2018-03-14 Thread Yaniv Kaul
On Mar 13, 2018 11:48 PM, "Christopher Cox"  wrote:

We're running oVirt 3.6 on 9 Dell Blades but with just two fairly fat
fabrics, one for LAN stuff, ovirtmgmt and one for iSCSI to the storage
domains.

15 VM Storage Domains
iSCSI has 4 paths going through a 40Gbit i/o blade to switch

115 VMs or thereabouts
9 VLANS, sharing an i/o blade with ovirtmgmt 40Gbit to switch
500+ virtual disks

What we are seeing more and more is that if we do an operation like expose
a new LUN and configure a new storage domain, that all of the hyervisors go
"red triangle" and "Connecting..." and it takes a very long time (all day)
to straighten out.

My guess is that there's too much to look at vdsm wise and so it's waiting
a short(er) period of time for a completed response than what vdsm is going
to us, and it just cycles over and over until it just happens to work.


Please upgrade. We have solved issues and improved performance and scale
substantially since 3.6.
You may also wish to apply lvm filters.
Y.


I'm thinking that vdsm having DEBUG enabled isn't helping the latency, but
as far as I know it came this way be default.  Can we safely disable DEBUG
on the hypervisor hosts for vdsm?  Can we do this while things are roughly
in a steady state?  Remember, just doing the moves could throw everything
into vdsm la-la-land (actually, that might not be true, might take a new
storage thing to do that).

Just thinking out loud... can we safely turn off DEBUG logging on the
vdsms? Can we do this "live" through bouncing of the vdsm if everything is
"steady state"?  Do you think this might help the problems we're having
with storage operations? (I can see all the blades logging in iSCSI wise,
but ovirt engine does the whole red triangle connecting thing, for many,
many, many hours).

Thanks,
Christopher


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


Re: [ovirt-users] ovirt-system-tests hackathon report

2018-03-13 Thread Yaniv Kaul
On Mar 13, 2018 6:27 PM, "Sandro Bonazzola" <sbona...@redhat.com> wrote:

4 people accepted calendar invite:
- Devin A. Bougie
- Francesco Romani
- Jiri Belka
- suporte, logicworks

4 people tentatively accepted calendar invite:
- Amnon Maimon
- Andreas Bleischwitz
- Arnaud Lauriou
- Stephen Pesini

2 mailing lists accepted calendar invite: users@ovirt.org, de...@ovirt.org
(don't ask me how) so I may have missed someone in above list


4 patches got merged:
Add check for host update to the 1st host. <https://gerrit.ovirt.org/88767>
Merged Yaniv Kaul
<https://gerrit.ovirt.org/#/q/owner:ykaul%2540redhat.com+status:merged>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
(add_upgrade_check)
<https://gerrit.ovirt.org/#/q/status:merged+project:ovirt-system-tests+branch:master+topic:add_upgrade_check>
4:10
PM
basic-suite-master: add vnic_profile_mappings to register vm
<https://gerrit.ovirt.org/87438> Merged Eitan Raviv
<https://gerrit.ovirt.org/#/q/owner:eraviv%2540redhat.com+status:merged>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
(register-template-vnic-mapping)
<https://gerrit.ovirt.org/#/q/status:merged+project:ovirt-system-tests+branch:master+topic:register-template-vnic-mapping>
2:50
PM
Revert "ovirt-4.2: Skipping 002_bootstrap.update_default_cluster"
<https://gerrit.ovirt.org/1> Merged Eyal Edri
<https://gerrit.ovirt.org/#/q/owner:eedri%2540redhat.com+status:merged>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
<https://gerrit.ovirt.org/#/q/status:merged+project:ovirt-system-tests+branch:master>
11:36
AM
seperate 4.2 tests and utils from master <https://gerrit.ovirt.org/88878>
Merged Eyal Edri
<https://gerrit.ovirt.org/#/q/owner:eedri%2540redhat.com+status:merged>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
<https://gerrit.ovirt.org/#/q/status:merged+project:ovirt-system-tests+branch:master>
11:35
AM

13 patches has been pushed / reviewed / rebased

Add gdeploy to ovirt-4.2.repo <https://gerrit.ovirt.org/88929>
Daniel Belenky
<https://gerrit.ovirt.org/#/q/owner:dbelenky%2540redhat.com+status:open>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
<https://gerrit.ovirt.org/#/q/status:open+project:ovirt-system-tests+branch:master>
4:53
PM
Cleanup of test code - next() replaced with any()
<https://gerrit.ovirt.org/88928>
Martin Sivák
<https://gerrit.ovirt.org/#/q/owner:msivak%2540redhat.com+status:open>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
<https://gerrit.ovirt.org/#/q/status:open+project:ovirt-system-tests+branch:master>
4:51
PM
Add network queues custom property and use it in the vnic profile for VM0
<https://gerrit.ovirt.org/88829>
Yaniv Kaul
<https://gerrit.ovirt.org/#/q/owner:ykaul%2540redhat.com+status:open>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
(multi_queue_config)
<https://gerrit.ovirt.org/#/q/status:open+project:ovirt-system-tests+branch:master+topic:multi_queue_config>
4:49
PM
new suite: he-basic-iscsi-suite-master <https://gerrit.ovirt.org/85838>
Yuval Turgeman
<https://gerrit.ovirt.org/#/q/owner:yturgema%2540redhat.com+status:open>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
(he-basic-iscsi-suite-master)
<https://gerrit.ovirt.org/#/q/status:open+project:ovirt-system-tests+branch:master+topic:he-basic-iscsi-suite-master>
4:47
PM
Collect host-deploy bundle from the engine <https://gerrit.ovirt.org/88925>
Yedidyah Bar David
<https://gerrit.ovirt.org/#/q/owner:didi%2540redhat.com+status:open>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
<https://gerrit.ovirt.org/#/q/status:open+project:ovirt-system-tests+branch:master>
4:41
PM
network-suite-master: Make openstack_client_config fixture available to all
... <https://gerrit.ovirt.org/88029> Merge Conflict Marcin Mirecki
<https://gerrit.ovirt.org/#/q/owner:mmirecki%2540redhat.com+status:open>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
<https://gerrit.ovirt.org/#/q/status:open+project:ovirt-system-tests+branch:master>
3:39
PM
new suite: he-basic-ng-ansible-suite-master <https://gerrit.ovirt.org/88901>
Sandro Bonazzola
<https://gerrit.ovirt.org/#/q/owner:sbonazzo%2540redhat.com+status:open>
ovirt-system-tests
<https://gerrit.ovirt.org/#/projects/ovirt-system-tests,dashboards/default>
master
(he-bas

Re: [ovirt-users] Ovirt VMS backup

2018-03-13 Thread Yaniv Kaul
On Mon, Mar 12, 2018 at 8:33 PM, Victor José Acosta Domínguez <
vic.a...@gmail.com> wrote:

> http://blog.infratic.com/blog/2017/07/07/create-ovirtrhevs-vm-backup/
>

The code referred to in this blog, https://github.com/vacosta94/VirtBKP,
has no license associated with it.
Can you please add an open source license to it?
Y.


> Victor Acosta
>
> RHCE - RHCSA - RHCVA - VCA-DCV
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Limitation in using Ovirt SSO Token

2018-03-08 Thread Yaniv Kaul
On Mar 8, 2018 7:35 PM, "Hari Prasanth Loganathan" <
hariprasant...@msystechnologies.com> wrote:

Hi Yaniv,

To give an example, We are planning to create and manage our VM's using
oVirt.
Instead of managing oVirt using UI, We will be writing the script which
hits the oVirt engine periodically for different functionality.


May I suggest Ansible, or any of our SDKs?
It'll surely make your work more productive and quite likely higher
performance (as it's already quite built for performance, with pipelining,
multiplexing, compression and connection management).

so We would like to take a benchmark to finalise the number of hits to
ovirt.


Hits for which functionality exactly?


This is what we are trying to achieve.


I suspect you focus too much on synthetic benchmark rather than a real use
case.
Y.


Coming to my query,
What is the difference between sso token and session maintance in oVirt, If
I have a token timeout of 4 days, How the concept of session plays a role
in oVirt?

Thanks,
Hari


DISCLAIMER

The information in this e-mail is confidential and may be subject to legal
privilege. It is intended solely for the addressee. Access to this e-mail
by anyone else is unauthorized. If you have received this communication in
error, please address with the subject heading "Received in error," send to
i...@msystechnologies.com,  then delete the e-mail and destroy any copies of
it. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. The views, opinions, conclusions and
other information expressed in this electronic mail and any attachments are
not given or endorsed by the company unless otherwise indicated by an
authorized representative independent of this message.
MSys cannot guarantee that e-mail communications are secure or error-free,
as information could be intercepted, corrupted, amended, lost, destroyed,
arrive late or incomplete, or contain viruses, though all reasonable
precautions have been taken to ensure no viruses are present in this e-mail.
As our company cannot accept responsibility for any loss or damage arising
from the use of this e-mail or attachments we recommend that you subject
these to your virus checking procedures prior to use
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Limitation in using Ovirt SSO Token

2018-03-08 Thread Yaniv Kaul
On Mar 8, 2018 3:53 PM, "Hari Prasanth Loganathan" <
hariprasant...@msystechnologies.com> wrote:

Hi Team,

I would like to know, Is there any limitation in using the same sso token
for multiple request.


Are you reusing it or abusing it? Are you actually using it in a single
session, to avoid reauthentication, or just sharing between multiple
sessions? While I'd still would not want to see the engine affected by such
abuse, the latter is quite atypical use case.

Can you share engine and server logs?

And again, it'd be very helpful if you could share what you'd like to
achieve and we'll gladly assist.
Y.


I observe that when I use the same sso token for more than 900 HTTP Rest
request, the application went down. Is there any limitation in using same
SSO token? I could see that my status is showing as ACTIVE and memory and
CPU seem fine. Still, the oVirt is not reachable and I need to restart it
to access again.

sudo systemctl status ovirt-engine.service -l
● ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled;
vendor preset: disabled)
   Active: active (running) since Thu 2018-03-08 19:15:10 IST; 30s ago
 Main PID: 10370 (ovirt-engine.py)
   CGroup: /system.slice/ovirt-engine.service
   ├─10370 /usr/bin/python /usr/share/ovirt-engine/
services/ovirt-engine/ovirt-engine.py --redirect-output --systemd=notify
start
   └─10423 ovirt-engine -server -XX:+TieredCompilation -Xms5961M
-Xmx5961M -Djava.awt.headless=true -Dsun.rmi.dgc.client.gcInterval=360
-Dsun.rmi.dgc.server.gcInterval=360 -Djsse.enableSNIExtension=false
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/ovirt-engine/dump
-Djava.util.logging.manager=org.jboss.logmanager
-Dlogging.configuration=file:///var/lib/ovirt-engine/jboss_
runtime/config/ovirt-engine-logging.properties
-Dorg.jboss.resolver.warning=true
-Djboss.modules.system.pkgs=org.jboss.byteman
-Djboss.server.default.config=ovirt-engine
-Djboss.home.dir=/usr/share/ovirt-engine-wildfly
-Djboss.server.base.dir=/usr/share/ovirt-engine
-Djboss.server.data.dir=/var/lib/ovirt-engine
-Djboss.server.log.dir=/var/log/ovirt-engine
-Djboss.server.config.dir=/var/lib/ovirt-engine/jboss_runtime/config
-Djboss.server.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp
-Djboss.controller.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp -jar
/usr/share/ovirt-engine-wildfly/jboss-modules.jar -mp
/usr/share/ovirt-engine/modules/common:/usr/share/
ovirt-engine-extension-aaa-jdbc/modules:/usr/share/ovirt-engine-wildfly/modules
-jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -c
ovirt-engine.xml

Mar 08 19:15:10 ovirtengine.localdomain systemd[1]: Starting oVirt Engine...
Mar 08 19:15:10 ovirtengine.localdomain ovirt-engine.py[10370]: 2018-03-08
19:15:10,228+0530 ovirt-engine: INFO _detectJBossVersion:187 Detecting
JBoss version. Running: /usr/lib/jvm/jre/bin/java ['ovirt-engine-version',
'-server', '-XX:+TieredCompilation', '-Xms5961M', '-Xmx5961M',
'-Djava.awt.headless=true', '-Dsun.rmi.dgc.client.gcInterval=360',
'-Dsun.rmi.dgc.server.gcInterval=360', '-Djsse.enableSNIExtension=false',
'-XX:+HeapDumpOnOutOfMemoryError',
'-XX:HeapDumpPath=/var/log/ovirt-engine/dump',
'-Djava.util.logging.manager=org.jboss.logmanager',
'-Dlogging.configuration=file:///var/lib/ovirt-engine/jboss_
runtime/config/ovirt-engine-logging.properties',
'-Dorg.jboss.resolver.warning=true',
'-Djboss.modules.system.pkgs=org.jboss.byteman',
'-Djboss.server.default.config=ovirt-engine',
'-Djboss.home.dir=/usr/share/ovirt-engine-wildfly',
'-Djboss.server.base.dir=/usr/share/ovirt-engine',
'-Djboss.server.data.dir=/var/lib/ovirt-engine',
'-Djboss.server.log.dir=/var/log/ovirt-engine', '-Djboss.server.config.dir=/
var/lib/ovirt-engine/jboss_runtime/config', '-Djboss.server.temp.dir=/var/
lib/ovirt-engine/jboss_runtime/tmp', '-Djboss.controller.temp.dir=/
var/lib/ovirt-engine/jboss_runtime/tmp', '-jar',
'/usr/share/ovirt-engine-wildfly/jboss-modules.jar',
'-mp', '/usr/share/ovirt-engine/modules/common:/usr/share/
ovirt-engine-extension-aaa-jdbc/modules:/usr/share/ovirt-engine-wildfly/modules',
'-jaxpmodule', 'javax.xml.jaxp-provider', 'org.jboss.as.standalone', '-v']
Mar 08 19:15:10 ovirtengine.localdomain ovirt-engine.py[10370]: 2018-03-08
19:15:10,668+0530 ovirt-engine: INFO _detectJBossVersion:207 Return code:
1,  | stdout: '[u'WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final)'],
| stderr: '[]'
Mar 08 19:15:10 ovirtengine.localdomain systemd[1]: Started oVirt Engine.


Anyhelp would be Appreaciated.

Thanks,
Hari

DISCLAIMER

The information in this e-mail is confidential and may be subject to legal
privilege. It is intended solely for the addressee. Access to this e-mail
by anyone else is unauthorized. If you have received this communication in
error, please address with the subject heading "Received in error," send to
i...@msystechnologies.com,  then delete the e-mail and destroy any copies of
it. If you are not the intended 

Re: [ovirt-users] Failure to upgrade Cluster Compatibility Version

2018-03-08 Thread Yaniv Kaul
On Thu, Mar 8, 2018 at 10:55 AM, Jonathan Mathews 
wrote:

> Hi , this has now become really urgent.
>

It's not clear to me why it's urgent.
Please look at past replies and provide more information so we can assist
you.
Y.



>
> Everything I try, I am unable to get the Cluster Compatibility Version to
> change.
>
> The entire platform is running the latest 3.6 release.
>
> On Tue, Mar 6, 2018 at 4:20 PM, Jonathan Mathews 
> wrote:
>
>> Any chance of getting feedback on this?
>>
>> It is becoming urgent.
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Pre-snapshot scripts to run before live snapshot

2018-03-08 Thread Yaniv Kaul
On Thu, Mar 8, 2018 at 12:47 AM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

> On Tue, Mar 6, 2018 at 7:54 PM, Yaniv Kaul <yk...@redhat.com> wrote:
>
>>
>>
>> On Mar 6, 2018 7:02 PM, "Gianluca Cecchi" <gianluca.cec...@gmail.com>
>> wrote:
>>
>> Hello,
>> this thread last year (started by me... ;-) was very useful in different
>> aspects involved
>>
>> http://lists.ovirt.org/pipermail/users/2017-March/080322.html
>>
>> We did cover memory save or not and fsfreeze automatically done by guest
>> agent if installed inside the VM.
>> What about pre-snapshot scripts/operations to run inside guest, to have
>> application consistency?
>> Eg if I have a database inside the VM and I have scripted my backup job
>> involving live-snapshot (eg with the backup.py utility of the thread)
>>
>>
>> https://github.com/guillon/qemu-plugins/blob/master/scripts/
>> qemu-guest-agent/fsfreeze-hook.d/mysql-flush.sh.sample
>>
>>
>>
> Hello Yaniv,
> thanks for the information and the example file link.
> So I have understood that the freeze-hook script is run with the "freeze"
> option before snapshot and again but with the "thaw" option after the
> snapshot.
> So I can manage what to do, parsing the argument given
> So far so good.
> I have tested with a Fedora 27 guest and all is ok there.
>
> Now I would like to do something similar for a Windows 2008 R2 x64 VM.
>

Windows is somewhat different. In fact, it's a bit better than Linux (ARGH!
but it's true) with its support for VSS - an API for applications to
register to events such as backup.
You should have the QEMU guest agent VSS provider installed (Note: need to
see where's the latest bits - I found[1]).

Then, if your application supports VSS, you are all good (I believe).
Y.

[1]
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-7.4.5-1/

I see that the qemu-guest-agent has been installed under
> C:\Programs\qemu-ga and that the "QEMU Guest Agent" service is run as
> "C:\Program Files\qemu-ga\qemu-ga.exe" -d
>
> In fact I see I have a registry key in
>
> HKLM\SYSTEM\CurrentControlSet\services\QEMU-GA
>
> with the same value above for ImagePath ;
> "C:\Program Files\qemu-ga\qemu-ga.exe" -d
>
> What should I do to enable a freeze-hook script on Windows now?
>
> BTW: searching around while trying to understand more, I found that:
>
> on hypervisor running the VM I have
>
> # vdsClient -s 0 getVmStats vm_guid
>
> that works and gives me information that confirms agent seems to
> communicate and I get also
> appsList = [ , 'QEMU guest agent', ...]
>
> Also, the dump of the dynamic xml for the guest contains
>
> # virsh -r dumpxml VM_NAME
>
> 
>   
>state='connected'/>
>   
>   
> 
>
> I tried to get its settings from qemu guest agent using socat and unix
> domain sockets but I don't receive answer
>
> # socat unix-connect:/var/lib/libvirt/qemu/channels/420e5014-9b26-
> a4c0-9d79-ed9b123304de.org.qemu.guest_agent.0 readline
>
> and then in the interactive prompt
>
> {"execute":"guest-info"}
>
> to get and verify information about fsfreeze, something like
> , {"enabled": true, "name": "guest-fsfreeze-freeze"}, ... ,
> {"enabled": true, "name": "guest-fsfreeze-thaw"}, ...
>
> But I didn't get any line
> Is this communication from OS disabled by design out of oVirt mgmt?
>
> Thanks again for any info to configure freeze-hook in Windows guest.
>
> Gianluca
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] New oVirt blog - Your Container Volumes Served By oVirt

2018-03-07 Thread Yaniv Kaul
When running a virtualization workload on oVirt, a VM disk is 'natively' a
disk somewhere on your network-storage.
Entering containers world, on Kubernetes(k8s) or OpenShift, there are many
options specifically because the workload can be totally stateless, i.e
they are stored on a host supplied disk and can be removed when the
container is terminated. The more interesting case is *stateful workloads* i.e
apps that persist data (think DBs, web servers/services, etc).
k8s/OpenShift designed an API to dynamically provision the container
storage (volume in k8s terminology).

In this post I want to cover how oVirt can provide volumes for containers
running on k8s/OpenShift cluster.


Read more @
https://ovirt.org/blog/2018/02/your-container-volumes-served-by-ovirt/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Pre-snapshot scripts to run before live snapshot

2018-03-06 Thread Yaniv Kaul
On Mar 6, 2018 7:02 PM, "Gianluca Cecchi"  wrote:

Hello,
this thread last year (started by me... ;-) was very useful in different
aspects involved

http://lists.ovirt.org/pipermail/users/2017-March/080322.html

We did cover memory save or not and fsfreeze automatically done by guest
agent if installed inside the VM.
What about pre-snapshot scripts/operations to run inside guest, to have
application consistency?
Eg if I have a database inside the VM and I have scripted my backup job
involving live-snapshot (eg with the backup.py utility of the thread)


https://github.com/guillon/qemu-plugins/blob/master/scripts/qemu-guest-agent/fsfreeze-hook.d/mysql-flush.sh.sample

Y.


Can I leverage this kind of functionality with the oVirt guest agent?
Or is it mandatory to consider a remote connection to the VM (via ssh or
what for windows?) and execute the script/command/bat file?

What are you curently doing in this respect?

Thanks,

Gianluca

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


Re: [ovirt-users] Any Kind of Storage IO Limitation?

2018-03-05 Thread Yaniv Kaul
On Mon, Mar 5, 2018 at 1:25 PM, Thomas Fecke <thomas.fe...@eset.de> wrote:

> Hey Yaniv,
>
>
>
> thanks in advance
>
>
>
> ethtool eno2 | grep Speed
>
>
>
> always brings up 10.000. So i tought there is maybe a config File in ovirt
> that change it or something.
>
>
>
> Or will it use the OS information direct?
>

Correct. I assume you have not put any capping on the performance.


>
>
> Im not sure why the VM´s are getting slow. But when I run an Monitor tool
> to check the Bandwith it never excet 1000. Maybe he just don’t need more
> for the Copy Job
>

We'll need more details on the VM configuration. I assume you are using raw
(and not qcow2), using virtio or virtio-SCSI, enabled IO threads, etc.
What are you using the measure the performance?


>
>
> I have no explanation
>
>
>
> fact ist – when I deploy the same Template about 10-15 Times they are
> getting rly slow.
>

We'll need to understand how you deploy them.


>
>
> The RAM and CPU is morgen then 70% Free.
>
>
>
>
>
>
>
> Ill tried to Stress the Storage a bit.
>
>
>
> Opened nload and created some VM´s, created Templates, created Pools and
> and and
>
>
>
> An I was wrong:
>
>
>
> Max: 8.09 GBit/s
>

That's unlikely. What storage is providing you with 8GB/s?
That needs to be a very very very high end storage
Y.


>
>
> I can life with that. The Performance issues sees to be Gone for now.
> Maybe it was just the 4.2 Upgrade. I have no idea
>
>
>
> But everything seems to work fine. Sorry for wasting your tim e
>
>
>
>
>
>
>
>
>
> *From:* Yaniv Kaul [mailto:yk...@redhat.com]
> *Sent:* Montag, 5. März 2018 11:08
> *To:* Thomas Fecke <thomas.fe...@eset.de>
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] Any Kind of Storage IO Limitation?
>
>
>
>
>
>
>
> On Mon, Mar 5, 2018 at 8:24 AM, Thomas Fecke <thomas.fe...@eset.de> wrote:
>
> Hey Guys,
>
>
>
> I got a kind of strange Question:
>
>
>
> We got some Hypervisors connected to an x86 Storage ( NFS )
>
>
>
> The Machines are connected via 10 Gbit with that Storage. When I try to
> rsync some Files we reach almost the Maximum Bandwidth.
>
>
>
> But, when I copy some VM´s, Templates or do something Stroage related in
> Ovirt I just can reach 1000 M/bit.
>
>
>
> Is there any kind of “Config Limitation”?
>
>
>
> My biggest Problem:
>
>
>
> We work a lot with Templates. When I deploy 10 VM´s based on one Template
> the VM´s are getting very slow and the Storage seems to be the Problem
>
>
>
> Please verify all your hosts, and especially the SPM, are connected with
> 10g (and have negotiated with 10g and not 1g, etc.)
>
> Y.
>
>
>
>
>
> Thanks a lot
>
>
>
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.2.x and ManageIQ : Adding 'cfme' credentials

2018-03-04 Thread Yaniv Kaul
On Thu, Mar 1, 2018 at 4:50 PM, Nicolas Ecarnot <nico...@ecarnot.net> wrote:

> Le 01/03/2018 à 15:00, Yaniv Kaul a écrit :
>
>>
>>
>> On Thu, Mar 1, 2018 at 2:13 PM, Nicolas Ecarnot <nico...@ecarnot.net
>> <mailto:nico...@ecarnot.net>> wrote:
>>
>> Hello,
>>
>> As for my 4 previous oVirt DCs, I'm trying to add them to ManageIQ
>> providers.
>>
>> I tried to follow this guide :
>>
>> https://access.redhat.com/documentation/en-us/red_hat_cloudf
>> orms/4.6/html-single/deployment_planning_guide/#data_
>> collection_for_rhev_33_34
>> <https://access.redhat.com/documentation/en-us/red_hat_cloud
>> forms/4.6/html-single/deployment_planning_guide/#data_
>> collection_for_rhev_33_34>
>>
>> But when trying to run psql, the shell tells me the command is not
>> found.
>>
>>
>>
> Hello Yanniv,
>
> Thank you for answering.
>
> Because you are probably on PG 9.5 SCL, I assume?
>>
>
> I've never heard about that before today.
> I installed a bare-metal CentOS 7.4 on which I installed oVirt 4.2.
> I saw no reference to SCL nowhere, neither during the setup, neither in
> the oVirt install documentation.
>
> How an average user is supposed to behave in such a situation?
> (In my case, as usual, I read and read again)
>

An average user does not touch the database. But you are right, we should
mention it somewhere.


>
> Couldn't the Redhat documentation mentioned above be more accurate?


Red Hat did not release 4.2 yet.


>
>
> Something like 'scl enable rh-postgrsql95' should help.
>>
>
> Not that much...
>
> root@serv-mvm-prds01:/etc/ovirt-engine-setup.conf.d# cd /tmp
> root@serv-mvm-prds01:/tmp# su - postgres
> Dernière connexion : jeudi  1 mars 2018 à 15:42:40 CET sur pts/2
> -bash-4.2$ scl enable rh-postgrsql95
> Need at least 3 arguments.
> Run scl --help to get help.
>
>
https://www.softwarecollections.org/en/scls/rhscl/rh-postgresql95/ provide
better information than I do...
Y.


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


Re: [ovirt-users] oVirt 4.2.x and ManageIQ : Adding 'cfme' credentials

2018-03-01 Thread Yaniv Kaul
On Thu, Mar 1, 2018 at 2:13 PM, Nicolas Ecarnot  wrote:

> Hello,
>
> As for my 4 previous oVirt DCs, I'm trying to add them to ManageIQ
> providers.
>
> I tried to follow this guide :
>
> https://access.redhat.com/documentation/en-us/red_hat_cloudf
> orms/4.6/html-single/deployment_planning_guide/#data_collect
> ion_for_rhev_33_34
>
> But when trying to run psql, the shell tells me the command is not found.
>

Because you are probably on PG 9.5 SCL, I assume?
Something like 'scl enable rh-postgrsql95' should help.
Y.




>
> I made a very simple setup : when running engine-setup, I answered the
> default question about DWH, so the DB is local.
>
> When viewing (with pgAdmin) the roles of this new PostgreSQL DB, I see
> there is no 'cfme' user.
> Do I have to re-run the setup and answer different things to ensure other
> packages and setup are made?
>
> I saw https://access.redhat.com/documentation/en-us/red_hat_virtua
> lization/4.1/html-single/data_warehouse_guide/#Overview_of_C
> onfiguring_Data_Warehouse telling me to re-run.
>
> But I see that :
> rpm -qa|grep -i dwh
> ovirt-engine-dwh-4.2.1.2-1.el7.centos.noarch
> ovirt-engine-dwh-setup-4.2.1.2-1.el7.centos.noarch
>
> so I thought it was already enough... ?
>
> --
> Nicolas ECARNOT
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] API endpoint for a VM to fetch metadata about itself

2018-02-28 Thread Yaniv Kaul
On Tue, Feb 27, 2018 at 3:04 AM, Geoff Sweet  wrote:

> OK, that's a great place for me to start. However the problem is that all
> my post-install tooling is now running on a VM that knows nothing about
> itself (having been installed via pxe and kickstart) like it's {vm_id}.
> Can the API be used to query for a VM and it's attributes based on
> something like a MAC address or the IP itself?
>

If you want its ID, you can get it via dmidecode:
dmidecode |grep UUID

Y.

>
> -Geoff
>
> On Sun, Feb 25, 2018 at 11:05 PM, Ondra Machacek 
> wrote:
>
>> We don't have any such resource. We have those information in different
>>  places of the API. For example to find the information about devices of
>> the VM, like network device information (IP address, MAC, etc), you can
>> query:
>>
>>  /ovirt-engine/api/vms/{vm_id}/reporteddevices
>>
>> The FQDN is listed right in the basic information of the VM quering the
>> VM itself:
>>
>>   /ovirt-engine/api/vms/{vm_id}
>>
>> You can find all the information about specific attributes returned by
>> the API here in the documentation:
>>
>>  http://ovirt.github.io/ovirt-engine-api-model/4.2/#types/vm
>>
>> On 02/25/2018 03:13 AM, Geoff Sweet wrote:
>>
>>> Is there an API endpoint that VM's can query to discover it's oVirt
>>> metadata? Something similar to AWS's http://169.254.169.254/latest/
>>> meta-data/  query in EC2? I'm
>>> trying to stitch a lot of automation workflow together and so far I have
>>> had great luck with oVirt. But the next small hurdle is to figure out how
>>> all the post-install setup stuff can figure out who the VM is so it can the
>>> appropriate configurations.
>>>
>>> Thanks!
>>> -Geoff
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Q: VM disk speed penalty NFS vs Local data center storage

2018-02-26 Thread Yaniv Kaul
On Mon, Feb 26, 2018 at 1:30 PM, Andrei Verovski 
wrote:

> Hi,
>
> Since oVirt doesn’t support more then 1 host in data center with local
> storage domain as described here:
> http://lists.ovirt.org/pipermail/users/2018-January/086118.html
>
> I have to setup NFS server on node with VMs (on same node) access via NFS.
> 10 GB shared storage is in the future plans yet right now have only 2
> nodes with local RAID on each.
>
> Q: What is VM disk speed penalty (approx %)  NFS vs Local RAID in oVirt
> data center storage?
> Currently I have 2 VMs running our accounting/inventory control system
> which are critical to storage performance limits.
> 2 other VMs have very low disk activity.
>

I don't know, but please remember there's both latency and throughput, both
of which are somewhat affected. Throughput will benefit from jumbo frames,
for example. Unfortunately it may affect latency a bit.
There was an interesting patch that if the NFS was local, bypassed the
NFS[1]. It was never completed and merged.
Lastly, chapter 6 at hyper-converged guide (should be available in few
hours) might be an interesting idea for you to consider - a single Gluster
that can later expand.
Y.

[1] https://gerrit.ovirt.org/#/c/68822/
[2]
https://ovirt.org/documentation/gluster-hyperconverged/Gluster_Hyperconverged_Guide/



>
> Thanks in advance
> Andrei Verovski
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] problem adding new host to ovirt 4.2

2018-02-25 Thread Yaniv Kaul
On Sat, Feb 24, 2018 at 9:32 AM, Joop van de Wege  wrote:

> On February 24, 2018 7:10:00 AM GMT+01:00, Aristos Vasiliou <
> aris...@aristos.net> wrote:
> >Hi,
> >
> >
> >
> >I've set up a couple of machines to test out ovirt.
> >
> >
> >
> >1.   centos 7 machine running ovirt 4.2 (kvm-manager)
> >
> >2.   centos 7 machine running libvirt (kvm-server)
> >
> >
> >
> >Using the ovirt web interface, I am trying to add a host (machine
> >number 2).
> >I define the IP, user, pass, click OK, and again OK, confirming I don't
> >want
> >to use power management. The status of the new host is now "Installing"
> >and
> >after a few seconds becomes "Install failed"
> >
> >
> >
> >I have a couple of error messages in the Events tab:
> >
> >
> >
> >-  An error has occurred during installation of Host
> >kvm-server:
> >Failed to execute stage 'Setup validation': Cannot locate ovirt-host
> >package, possible cause is incorrect channels.
> >
> >-  Host kvm-server installation failed. Command returned
> >failure
> >code 1 during SSH session 'r...@kvm-server.home.local'.
> >
> Looks like it's missing the ovirt repo on the kvm server.
>

Correct. I'm wondering if there's an easy way to check for an existence of
a repo, thus providing a more concrete error message to the user.
I think yum repolist might be useful, but I don't like it use of a free
text (instead of the URL or some canonical ID for a repo...)
Y.


>
> Regards,
>
> Jooo
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Confused by logical networks

2018-02-22 Thread Yaniv Kaul
On Feb 22, 2018 5:26 PM, "Paul-Erik Törrönen"  wrote:

I'm not sure how the logical networks should work and would appreciate if
someone could shed some light into the matter, I've tried reading the
documentation¹ but have not become any wiser :-/

For the sake of argument, I have two hosts in the same cluster/DC, They
both have 2 network devices each (let's call them eth0 and eth1). On both
hosts the ovirtmgmgt is connected to eth0 and uses the 10.0.0.0/8-network.
Host 1 is 10.0.0.1 and host 2 is 10.0.0.2. All four network devices are
connected to one switch.

Then I create a logical network, mylogic which should be 192.168.1.0/24,
which I assign to eth1 on each host, but define only for host 1 an
ip-address, 192.168.1.1, host 2 has also the network assigned to eth1, but
withouth an ip address.


There's no reason really to assign IPs to hosts on the logical network.
oVirt provides layer 2 (L2) connectivity to VMs. Whatever DHCP, DNS or
gateway is on that network, they'll use. It should not be one of the hosts.
Their interfaces just bridge the VM traffic over to the designated network,
nothing more.
Y.


Next I create vm1 on host 1, give it a single virtual network connection to
mylogic, and configure the guest to use 192.168.1.2 with gw 192.168.1.1.
Obviously I can from the guest ping 192.168.1.1 which is the host address
on the logical network as the guest is running on the same hardware where
the host ip address is defined.

However, and this is where my confusion lies, if I now create another vm,
vm2, on host 2, attach its network device to the mylogic network and
configure it to use 192.168.1.3 with gw 192.168.1.1, I can not ping neither
192.168.1.1 nor 192.168.1.2.

My understanding is that vm2 should be able to ping the wm1 as well as the
gateway address defined on host 1. However this does not seem to be the
case.

What have I missed here?

TIA,

Poltsi

¹ https://www.ovirt.org/documentation/admin-guide/chap-Logical_Networks/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM with "a lot" of disks : OK ?

2018-02-21 Thread Yaniv Kaul
On Wed, Feb 21, 2018 at 4:38 PM,  wrote:

> Hi,
> Is there any kind of penalty or risk using something like a dozen of
> separate disks for a VM stored on a NFS datastore ?
>

No.
However, note that I believe in some cases NFS performance is slower than
iSCSI (which can use multipathing and multiple connections).
Y.


> Regards
>
> --
> FreeMail powered by mail.fr
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] CPU queues on ovirt hosts.

2018-02-21 Thread Yaniv Kaul
On Tue, Feb 20, 2018 at 3:09 PM, Endre Karlson 
wrote:

> Hi guys, is there a way to have CPU queues go down when having a java app
> on a ovirt hosT ?
>
> we have a idm app where the cpu queue is constantly 2-3 when we are doing
> things with the configuration but on esx on a similar host it is much faster
>

Your question is not clear to me and lacks a lot of details. I think what
you are asking is 'why is application X running faster on ESX?' - am I
reading it right?
Please provide much needed background information. What version of oVirt
and hosts you are using, the configuration of the VM, the type of workload
(IO bound? CPU bound? etc.).
Is that a Windows (based on the terminology 'CPU queues') or Linux VM? If
it's Windows, have you installed all relevant virtio drivers? Is your
workload using some kind of random data, perhaps (and then virtio-rng is
quite useful to have)? etc.

Y.


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


Re: [ovirt-users] Unable to add Hosts to Cluster

2018-02-20 Thread Yaniv Kaul
On Tue, Feb 20, 2018 at 12:52 PM, Mark Steele <mste...@telvue.com> wrote:

> ​Is it possible that the HostedEngine became corrupted somehow and that is
> preventing us from adding hosts?
>

I doubt that.
I still suspect the libvirt auth. issue.
Nevertheless, as commented more than once, you are running on somewhat old
version with a recent CentOS version. Not sure this combination is tested
or anyone's running it.


>
> Is creating a new hosted engine an option?
>

You could backup and restore to a new HE.
Y.


>
>
> ***
> *Mark Steele*
> CIO / VP Technical Operations | TelVue Corporation
> TelVue - We Share Your Vision
> 16000 Horizon Way, Suite 100 | Mt. Laurel, NJ 08054
> <https://maps.google.com/?q=16000+Horizon+Way,+Suite+100+%7C+Mt.+Laurel,+NJ+08054=gmail=g>
> 800.885.8886 x128 <(800)%20885-8886> | mste...@telvue.com | http://
> www.telvue.com
> twitter: http://twitter.com/telvue | facebook: https://www.
> facebook.com/telvue
>
> On Mon, Feb 19, 2018 at 9:55 AM, Mark Steele <mste...@telvue.com> wrote:
>
>> At this point I'm wondering if there is anyone in the community that
>> freelances and would be willing to provide remote support to resolve this
>> issue?
>>
>> We are running with 1/2 our normal hosts, and not being able to add
>> anymore back into the cluster is a serious problem.
>>
>> Best regards,
>>
>>
>> ***
>> *Mark Steele*
>> CIO / VP Technical Operations | TelVue Corporation
>> TelVue - We Share Your Vision
>> 16000 Horizon Way, Suite 100 | Mt. Laurel, NJ 08054
>> <https://maps.google.com/?q=16000+Horizon+Way,+Suite+100+%7C+Mt.+Laurel,+NJ+08054=gmail=g>
>> 800.885.8886 x128 <(800)%20885-8886> | mste...@telvue.com | http://
>> www.telvue.com
>> twitter: http://twitter.com/telvue | facebook: https://www.facebook
>> .com/telvue
>>
>> On Sat, Feb 17, 2018 at 12:53 PM, Mark Steele <mste...@telvue.com> wrote:
>>
>>> Yaniv,
>>>
>>> I have one of my developers assisting me and we are continuing to run
>>> into issues. This is a note from him:
>>>
>>> Hi, I'm trying to add a host to ovirt, but I'm running into package
>>> dependency problems. I have existing hosts that are working and integrated
>>> properly, and inspecting those, I am able to match the packages between the
>>> new host and the existing, but when I then try to add the new host to
>>> ovirt, it fails on reinstall because it's trying to install packages that
>>> are later versions. does the installation run list from ovirt-release35
>>> 002-1 have unspecified versions? The working hosts use libvirt-1.1.1-29,
>>> and vdsm-4.16.7, but it's trying to install vdsm-4.16.30, which requires a
>>> higher version of libvirt, at which point, the installation fails. is there
>>> some way I can specify which package versions the ovirt install procedure
>>> uses? or better yet, skip the package management step entirely?
>>>
>>>
>>> ***
>>> *Mark Steele*
>>> CIO / VP Technical Operations | TelVue Corporation
>>> TelVue - We Share Your Vision
>>> 16000 Horizon Way, Suite 100 | Mt. Laurel, NJ 08054
>>> <https://maps.google.com/?q=16000+Horizon+Way,+Suite+100+%7C+Mt.+Laurel,+NJ+08054=gmail=g>
>>> 800.885.8886 x128 <(800)%20885-8886> | mste...@telvue.com | http://
>>> www.telvue.com
>>> twitter: http://twitter.com/telvue | facebook: https://www.facebook
>>> .com/telvue
>>>
>>> On Sat, Feb 17, 2018 at 2:32 AM, Yaniv Kaul <yk...@redhat.com> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Feb 16, 2018 at 11:14 PM, Mark Steele <mste...@telvue.com>
>>>> wrote:
>>>>
>>>>> We are using CentOS Linux release 7.0.1406 (Core) and  oVirt Engine
>>>>> Version: 3.5.0.1-1.el6
>>>>>
>>>>
>>>> You are seeing https://bugzilla.redhat.com/show_bug.cgi?id=126 ,
>>>> which is a result of a default change of libvirt and was fixed in later
>>>> versions of oVirt than the one you are using.
>>>> See patch https://gerrit.ovirt.org/#/c/76934/ for how it was fixed,
>>>> you can probably configure it manually.
>>>> Y.
>>>>
>>>>
>>>>>
>>>>> We have four other hosts that are running this same configuration
>>>>> already. I took one host out of the cluster (forcefully) that was working
>>>>> and now it will not add back in either - throwing the same SASL error.
>>>>&

Re: [ovirt-users] Unable to add Hosts to Cluster

2018-02-16 Thread Yaniv Kaul
On Fri, Feb 16, 2018 at 11:14 PM, Mark Steele <mste...@telvue.com> wrote:

> We are using CentOS Linux release 7.0.1406 (Core) and  oVirt Engine
> Version: 3.5.0.1-1.el6
>

You are seeing https://bugzilla.redhat.com/show_bug.cgi?id=126 , which
is a result of a default change of libvirt and was fixed in later versions
of oVirt than the one you are using.
See patch https://gerrit.ovirt.org/#/c/76934/ for how it was fixed, you can
probably configure it manually.
Y.


>
> We have four other hosts that are running this same configuration already.
> I took one host out of the cluster (forcefully) that was working and now it
> will not add back in either - throwing the same SASL error.
>
> We are looking at downgrading libvirt as I've seen that somewhere else -
> is there another version of RH I should be trying? I have a host I can put
> it on.
>
>
>
> ***
> *Mark Steele*
> CIO / VP Technical Operations | TelVue Corporation
> TelVue - We Share Your Vision
> 16000 Horizon Way, Suite 100 | Mt. Laurel, NJ 08054
> <https://maps.google.com/?q=16000+Horizon+Way,+Suite+100+%7C+Mt.+Laurel,+NJ+08054=gmail=g>
> 800.885.8886 x128 <(800)%20885-8886> | mste...@telvue.com | http://
> www.telvue.com
> twitter: http://twitter.com/telvue | facebook: https://www.
> facebook.com/telvue
>
> On Fri, Feb 16, 2018 at 3:31 PM, Yaniv Kaul <yk...@redhat.com> wrote:
>
>>
>>
>> On Feb 16, 2018 6:47 PM, "Mark Steele" <mste...@telvue.com> wrote:
>>
>> Hello all,
>>
>> We recently had a network event where we lost access to our storage for a
>> period of time. The Cluster basically shut down all our VM's and in the
>> process we had three HV's that went offline and would not communicate
>> properly with the cluster.
>>
>> We have since completely reinstalled CentOS on the hosts and attempted to
>> install them into the cluster with no joy. We've gotten to the point where
>> we generally get an error message in the web gui:
>>
>>
>> Which EL release and which oVirt release are you using? My guess would be
>> latest EL, with an older oVirt?
>> Y.
>>
>>
>> Stage: Misc Configuration
>> Host hv-ausa-02 installation failed. Command returned failure code 1
>> during SSH session 'root@10.1.90.154'.
>>
>> the following is what we are seeing in the messages log:
>>
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: libvirt: XML-RPC error :
>> authentication failed: authentication failed
>> Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.761+: 15231:
>> error : virNetSASLSessionListMechanisms:390 : internal error: cannot
>> list SASL mechanisms -4 (SASL(-4): no mechanism available: Internal Error
>> -4 in server.c near line 1757)
>> Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.761+: 15231:
>> error : remoteDispatchAuthSaslInit:3411 : authentication failed:
>> authentication failed
>> Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.761+: 15226:
>> error : virNetSocketReadWire:1808 : End of file while reading data:
>> Input/output error
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: libvirt: XML-RPC error :
>> authentication failed: authentication failed
>> Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.962+: 15233:
>> error : virNetSASLSessionListMechanisms:390 : internal error: cannot
>> list SASL mechanisms -4 (SASL(-4): no mechanism available: Internal Error
>> -4 in server.c near line 1757)
>> Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.963+: 15233:
>> error : remoteDispatchAuthSaslInit:3411 : authentication failed:
>> authentication failed
>> Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.963+: 15226:
>> error : virNetSocketReadWire:1808 : End of file while reading data:
>> Input/output error
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: libvirt: XML-RPC error :
>> authentication failed: authentication failed
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: Traceback (most recent call last):
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File "/usr/bin/vdsm-tool", line
>> 219, in main
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: return
>> tool_command[cmd]["command"](*args)
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File "/usr/lib/python2.7/site-packa
>> ges/vdsm/tool/upgrade_300_networks.py", line 83, in upgrade_networks
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: networks = netinfo.networks()
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File 
>> "/usr/lib/python2.7/site-packages/vdsm/netinfo.py",
>> line 112, in networks
>> Feb 16 11:39:53 hv-ausa-02 vdsm-tool: 

Re: [ovirt-users] Unable to add Hosts to Cluster

2018-02-16 Thread Yaniv Kaul
On Feb 16, 2018 6:47 PM, "Mark Steele"  wrote:

Hello all,

We recently had a network event where we lost access to our storage for a
period of time. The Cluster basically shut down all our VM's and in the
process we had three HV's that went offline and would not communicate
properly with the cluster.

We have since completely reinstalled CentOS on the hosts and attempted to
install them into the cluster with no joy. We've gotten to the point where
we generally get an error message in the web gui:


Which EL release and which oVirt release are you using? My guess would be
latest EL, with an older oVirt?
Y.


Stage: Misc Configuration
Host hv-ausa-02 installation failed. Command returned failure code 1 during
SSH session 'root@10.1.90.154'.

the following is what we are seeing in the messages log:

Feb 16 11:39:53 hv-ausa-02 vdsm-tool: libvirt: XML-RPC error :
authentication failed: authentication failed
Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.761+: 15231:
error : virNetSASLSessionListMechanisms:390 : internal error: cannot list
SASL mechanisms -4 (SASL(-4): no mechanism available: Internal Error -4 in
server.c near line 1757)
Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.761+: 15231:
error : remoteDispatchAuthSaslInit:3411 : authentication failed:
authentication failed
Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.761+: 15226:
error : virNetSocketReadWire:1808 : End of file while reading data:
Input/output error
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: libvirt: XML-RPC error :
authentication failed: authentication failed
Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.962+: 15233:
error : virNetSASLSessionListMechanisms:390 : internal error: cannot list
SASL mechanisms -4 (SASL(-4): no mechanism available: Internal Error -4 in
server.c near line 1757)
Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.963+: 15233:
error : remoteDispatchAuthSaslInit:3411 : authentication failed:
authentication failed
Feb 16 11:39:53 hv-ausa-02 libvirtd: 2018-02-16 16:39:53.963+: 15226:
error : virNetSocketReadWire:1808 : End of file while reading data:
Input/output error
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: libvirt: XML-RPC error :
authentication failed: authentication failed
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: Traceback (most recent call last):
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File "/usr/bin/vdsm-tool", line 219,
in main
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: return tool_command[cmd]["command"](*
args)
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File "/usr/lib/python2.7/site-
packages/vdsm/tool/upgrade_300_networks.py", line 83, in upgrade_networks
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: networks = netinfo.networks()
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File
"/usr/lib/python2.7/site-packages/vdsm/netinfo.py",
line 112, in networks
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: conn = libvirtconnection.get()
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File "/usr/lib/python2.7/site-
packages/vdsm/libvirtconnection.py", line 159, in get
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: conn = _open_qemu_connection()
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File "/usr/lib/python2.7/site-
packages/vdsm/libvirtconnection.py", line 95, in _open_qemu_connection
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: return utils.retry(libvirtOpen,
timeout=10, sleep=0.2)
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File
"/usr/lib/python2.7/site-packages/vdsm/utils.py",
line 1108, in retry
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: return func()
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: File
"/usr/lib64/python2.7/site-packages/libvirt.py",
line 105, in openAuth
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: if ret is None:raise
libvirtError('virConnectOpenAuth()
failed')
Feb 16 11:39:53 hv-ausa-02 vdsm-tool: libvirtError: authentication failed:
authentication failed
Feb 16 11:39:53 hv-ausa-02 systemd: vdsm-network.service: control process
exited, code=exited status=1
Feb 16 11:39:53 hv-ausa-02 systemd: Failed to start Virtual Desktop Server
Manager network restoration.
Feb 16 11:39:53 hv-ausa-02 systemd: Dependency failed for Virtual Desktop
Server Manager.
Feb 16 11:39:53 hv-ausa-02 systemd: Job vdsmd.service/start failed with
result 'dependency'.
Feb 16 11:39:53 hv-ausa-02 systemd: Unit vdsm-network.service entered
failed state.
Feb 16 11:39:53 hv-ausa-02 systemd: vdsm-network.service failed.
Feb 16 11:40:01 hv-ausa-02 systemd: Started Session 10 of user root.
Feb 16 11:40:01 hv-ausa-02 systemd: Starting Session 10 of user root.
Feb 16 11:40:01 hv-ausa-02 systemd: Started Session 11 of user root.
Feb 16 11:40:01 hv-ausa-02 systemd: Starting Session 11 of user root.

Can someone point me in the right direction to resolve this - it seems to
be a SASL issue perhaps?

***
*Mark Steele*
CIO / VP Technical Operations | TelVue Corporation
TelVue - We Share Your Vision
16000 Horizon Way, Suite 100 | Mt. Laurel, NJ 08054
800.885.8886 x128 <(800)%20885-8886> | mste...@telvue.com | http://
www.telvue.com
twitter: 

Re: [ovirt-users] Unable to put Host into Maintenance mode

2018-02-16 Thread Yaniv Kaul
On Feb 15, 2018 7:35 PM, "Christopher Cox"  wrote:

On 02/15/2018 11:10 AM, Michal Skrivanek wrote:
..snippity... with regards to oVirt 3.5


> that’s a really old version….
>

I know I'll catch heat for this, but by "old" you mean like December of
2015?  Just trying put things into perspective.  Thus it goes with the
ancient and decrepit Red Hat Ent. 7.1 days, right?

I know, I know, FOSS... the only thing worse than running today's code is
running yesterday's.

We still run a 3.5 oVirt in our dev lab, btw.  But I would not have set
that up (not that I would have recommended oVirt to begin with), preferring
3.4 at the time.  I would have waited for 3.6.

With that said, 3.5 isn't exactly on the "stable line" to Red Hat
Virtualization, that was 3.4 and then 3.6.


Red Hat doesn't support 3.x anymore, unless its 3.6 with specific
subscription that extends its support.


Some people can't afford major (downtime) upgrades every 3-6 months or so.
But, arguably, maybe we shouldn't be running oVirt.  Maybe it's not
designed for "production".


3.4,5,6 are minor releases of 3.x.
The same way that 4.1 and 4.2 are minor releases of 4.x.
I agree that with lots of changing landscape (for example, the move from
EL6 to EL7) and with the number of features introduced, they don't seem
that minor. But there's an ongoing effort to both keep backwards
compatibility as well continously improve quality - which regretfully,
requires updating from time to time.


I guess oVirt isn't really for production by definition, but many of us are
doing so.

So... not really a "ding" against oVirt developers, it's just a rapidly
moving target with the normal risks that come with that.  People just need
to understand that.

And with that said, the fact that many of us are running those ancient
decrepit evil versions of oVirt in production today, is actually a
testimony to its quality.  Good job devs!


Or a warning sign that upgrade is not yet easy as it should be. I believe
we've improved the experience and quality of the upgrade flow over time,
but we can certainly do a better job.

I also think there are two additional factors :
1. Don't fix what ain't broken - it works, why bother? Not much the oVirt
community can do here.
2. Newer versions do not provide enough incentive to upgrade. This is a
tougher one - I believe they do, both in terms of quality as well as new
features that bring value to different use-cases. However, we may not be
doing enough 'marketing' work around them, or they are not documented well
enough, etc.
Y.




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


Re: [ovirt-users] Ovirt 3.6 to 4.2 upgrade

2018-02-11 Thread Yaniv Kaul
On Fri, Feb 9, 2018 at 4:06 PM, Gary Lloyd  wrote:

> Hi
>
> Is it possible/supported to upgrade from Ovirt 3.6 straight to Ovirt 4.2 ?
>

No, you go through 4.0, 4.1.


> Does live migration still function between the older vdsm nodes and vdsm
> nodes with software built against Ovirt 4.2 ?
>

Yes, keep the cluster level at 3.6.


>
> We changed a couple of the vdsm python files to enable iscsi multipath on
> direct luns.
> (It's a fairly simple change to a couple of the python files).
>

Nice!
Can you please contribute those patches to oVirt?
Y.


>
> We've been running it this way since 2012 (Ovirt 3.2).
>
> Many Thanks
>
> *Gary Lloyd*
> 
> I.T. Systems:Keele University
> Finance & IT Directorate
> Keele:Staffs:IC1 Building:ST5 5NB:UK
> +44 1782 733063 <%2B44%201782%20733073>
> 
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Maximum time node can be offline.

2018-02-11 Thread Yaniv Kaul
On Sat, Feb 10, 2018 at 5:47 PM, Thomas Letherby  wrote:

> That's exactly what I needed to know, thanks all.
>
> I'll schedule a script for the nodes to reboot and patch once every week
> or two and then I can let it run without me needing to worry about it.
>

An example on how to check for updates is available @
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upgrade_host.py
Y.


> Thomas
>
> On Fri, Feb 9, 2018, 2:26 AM Martin Sivak  wrote:
>
>> Hi,
>>
>> the hosts are almost stateless and we set up most of what is needed
>> during activation. Hosted engine has some configuration stored
>> locally, but that is just the path to the storage domain.
>>
>> I think you should be fine unless you change the network topology
>> significantly. I would also install security updates once in while.
>>
>> We can even shut down the hosts for you when you configure two cluster
>> scheduling properties: EnableAutomaticPM and HostsInReserve.
>> HostsInReserve should be at least 1 though. It behaves like this, as
>> long as the reserve host is empty, we shut down all the other empty
>> hosts. And we boot another host once a VM does not fit on other used
>> hosts and is places on the running reserve host. That would save you
>> the power of just one host, but it would still be highly available (if
>> hosted engine and storage allows that too).
>>
>> Bear in mind that single host cluster is not highly available at all.
>>
>> Best regards
>>
>> Martin Sivak
>>
>> On Fri, Feb 9, 2018 at 8:25 AM, Gianluca Cecchi
>>  wrote:
>> > On Fri, Feb 9, 2018 at 2:30 AM, Thomas Letherby 
>> wrote:
>> >>
>> >> Thanks, that answers my follow up question! :)
>> >>
>> >> My concern is that I could have a host off-line for a month say, is
>> that
>> >> going to cause any issues?
>> >>
>> >> Thanks,
>> >>
>> >> Thomas
>> >>
>> >
>> > I think that if in the mean time you don't make any configuration
>> changes
>> > and you don't update anything, there is no reason to have problems.
>> > In case of changes done, it could depend on what they are: are you
>> thinking
>> > about any particular scenario?
>> >
>> >
>> > ___
>> > Users mailing list
>> > Users@ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>> >
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Info about windows guest performance

2018-02-11 Thread Yaniv Kaul
On Sat, Feb 10, 2018 at 8:41 PM, Gianluca Cecchi 
wrote:

> On Fri, Feb 9, 2018 at 4:32 PM, Gianluca Cecchi  > wrote:
>
>>
>>
>> If I edit the VM, in general settings I see "Other OS" as operating
>> system.
>> In General subtab after selecting the VM  in "Virtual Machines" tab I
>> again see "Other OS" in "Operating System" and the field "Origin" filled
>> with the value "VMware"
>>
>> During virt-v2v it seems it was recognized as Windows 2008 though...
>>
>> libguestfs: trace: v2v: hivex_value_utf8 = "Windows Server 2008 R2
>> Enterprise"
>> libguestfs: trace: v2v: hivex_value_key 11809408
>>
>> I can send all the log if it can help.
>> Thanks,
>> Gianluca
>>
>
>
> So it seems it has been a problem with virt-v2v conversion, because if I
> shutdown the VM and set it to Windows 2008 R2 x86_64 and optimized for
> server and I run it, I get this flag for the cpu:
>

A new virt-v2v was just released, worth testing it. It has some nice
features, and perhaps fixes the above too.
For example:
   Virt-v2v now installs Windows 10 / Windows Server 2016 virtio block
   drivers correctly (Pavel Butsykin, Kun Wei).

   Virt-v2v now installs virtio-rng, balloon and pvpanic drivers, and
   correctly sets this in the target hypervisor metadata for hypervisors
   which support that (Tomáš Golembiovský).

   Virt-v2v now installs both legacy and modern virtio keys in the
Windows
   registry (Ladi Prosek).



>
> -cpu Westmere,vmx=on,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff
>
> BTW: what are the other flags for:
>
>
> hv_spinlocks=0x1fff
> hv_relaxed
> hv_vapic
> ?
>

These are the enlightenment that allow Windows guests to run faster (hv =
hyper-v).
See[1]
Y.

[1]
http://blog.wikichoon.com/2014/07/enabling-hyper-v-enlightenments-with-kvm.html



> Complete command is:
>
> /usr/libexec/qemu-kvm
> -name guest=testmig,debug-threads=on
> -S
> -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/
> qemu/domain-15-testmig/master-key.aes
> -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off,dump-guest-core=off
> -cpu Westmere,vmx=on,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff
> -m size=4194304k,slots=16,maxmem=16777216k
> -realtime mlock=off
> -smp 2,maxcpus=16,sockets=16,cores=1,threads=1
> -numa node,nodeid=0,cpus=0-1,mem=4096
> -uuid XXX
> -smbios type=1,manufacturer=oVirt,product=oVirt Node,version=7-4.1708.el7.
> centos,serial=XXX,uuid=YYY
> -no-user-config
> -nodefaults
> -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-
> 15-testmig/monitor.sock,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control
> -rtc base=2018-02-10T18:32:22,driftfix=slew
> -global kvm-pit.lost_tick_policy=delay
> -no-hpet
> -no-shutdown
> -boot strict=on
> -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2
> -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x5
> -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.
> 0,addr=0x4
> -drive if=none,id=drive-ide0-1-0,readonly=on
> -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
> -drive file=/rhev/data-center/ef17cad6-7724-4cd8-96e3-
> 9af6e529db51/fa33df49-b09d-4f86-9719-ede649542c21/images/
> 2de93ee3-7d6e-4a10-88c4-abc7a11fb687/a9f4e35b-4aa0-
> 45e8-b775-1a046d1851aa,format=qcow2,if=none,id=drive-scsi0-
> 0-0-1,serial=2de93ee3-7d6e-4a10-88c4-abc7a11fb687,cache=
> none,werror=stop,rerror=stop,aio=native
> -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=1,drive=drive-
> scsi0-0-0-1,id=scsi0-0-0-1,bootindex=1
> -drive file=/rhev/data-center/ef17cad6-7724-4cd8-96e3-
> 9af6e529db51/fa33df49-b09d-4f86-9719-ede649542c21/images/
> f821da0a-cec7-457c-88a4-f83f33404e65/0d0c4244-f184-
> 4eaa-b5bf-8dc65c7069bb,format=raw,if=none,id=drive-scsi0-0-
> 0-0,serial=f821da0a-cec7-457c-88a4-f83f33404e65,cache=none,
> werror=stop,rerror=stop,aio=native
> -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-
> scsi0-0-0-0,id=scsi0-0-0-0
> -netdev tap,fd=30,id=hostnet0
> -device e1000,netdev=hostnet0,id=net0,mac=00:50:56:9d:c9:29,bus=pci.
> 0,addr=0x3
> -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/
> 421d6f1b-58e3-54a4-802f-fb52f7831369.com.redhat.rhevm.vdsm,server,nowait
> -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=
> charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
> -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/
> 421d6f1b-58e3-54a4-802f-fb52f7831369.org.qemu.guest_agent.0,server,nowait
> -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=
> charchannel1,id=channel1,name=org.qemu.guest_agent.0
> -chardev spicevmc,id=charchannel2,name=vdagent
> -device virtserialport,bus=virtio-serial0.0,nr=3,chardev=
> charchannel2,id=channel2,name=com.redhat.spice.0
> -spice tls-port=5900,addr=10.4.192.32,x509-dir=/etc/pki/vdsm/
> libvirt-spice,tls-channel=default,tls-channel=main,tls-
> channel=display,tls-channel=inputs,tls-channel=cursor,tls-
> 

Re: [ovirt-users] Issue with 4.2.1 RC and SSL

2018-02-11 Thread Yaniv Kaul
On Sun, Feb 11, 2018 at 2:43 AM, ~Stack~  wrote:

> On 02/08/2018 06:42 AM, Petr Kotas wrote:
> > Hi Stack,
>
> Greetings Petr
>
> > have you tried it on other linux distributions? Scientific is not
> > officially supported.
>
> No, but SL isn't really any different than CentOS. If anything, we've
> found it adheres closer to RH than CentOS does.
>
> > My guess based on your log is there are somewhere missing certificates,
> > maybe different path?.
> > You can check the paths by the documentation:
> > https://www.ovirt.org/develop/release-management/features/
> infra/pki/#vdsm
> >
> > Hope this helps.
>
>
> Thanks for the suggestion. It took a while but we dug into it and I
> *think* the problem was because I may have over-written the wrong cert
> file in one of my steps. I'm only about 80% certain of that, but it
> seems to match what we found when we were digging through the log files.
>
> We decided to just start from scratch and my coworker watched and
> confirmed every step. It works! No problems at all this time. Further
> evidence that I goofed _something_ up the first time.
>

We should really have an Ansible role that performs the conversion to
self-signed certificates.
That would make the conversion easier and safer.
Y.


>
> Thank you for the suggestion!
> ~Stack~
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Live migration of VM(0 downtime) while Hypervisor goes down in ovirt

2018-02-09 Thread Yaniv Kaul
On Fri, Feb 9, 2018 at 9:25 PM, ranjithsp...@yahoo.com <
ranjithsp...@yahoo.com> wrote:

> Hi,
> Anyone can suggest how to setup VM Live migration (without restart vm)
> while Hypervisor goes down in ovirt?
>

I think there are two parts to achieving this:
1. Have a script that migrates VMs off a specific host. This should be easy
to write using the Python/Ruby/Java SDK, Ansible or using REST directly.
2. Having this script run as a service when a host shuts down, in the right
order - well before libvirt and VDSM shut down, and would be fast enough
not to be terminated by systemd.
This is a bit more challenging.

Who's shutting down the hypervisor? (Or perhaps it is shutdown externally,
due to overheating or otherwise?)
Y.


> Using glusterfs is it possible? Then how?
>
> Thanks & Regards
> Ranjith
>
> Sent from Yahoo Mail on Android
> 
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] qcow2 images corruption

2018-02-08 Thread Yaniv Kaul
On Feb 7, 2018 7:08 PM, "Nicolas Ecarnot" <nico...@ecarnot.net> wrote:

Hello,

TL; DR : qcow2 images keep getting corrupted. Any workaround?

Long version:
This discussion has already been launched by me on the oVirt and on
qemu-block mailing list, under similar circumstances but I learned further
things since months and here are some informations :

- We are using 2 oVirt 3.6.7.5-1.el7.centos datacenters, using CentOS
7.{2,3} hosts
- Hosts :
  - CentOS 7.2 1511 :
- Kernel = 3.10.0 327
- KVM : 2.3.0-31
- libvirt : 1.2.17
- vdsm : 4.17.32-1
  - CentOS 7.3 1611 :
- Kernel 3.10.0 514
- KVM : 2.3.0-31
- libvirt 2.0.0-10
- vdsm : 4.17.32-1


All are somewhat old releases. I suggest upgrading to the latest RHEL and
qemu-kvm bits.

Later on, upgrade oVirt.
Y.

- Our storage is 2 Equallogic SANs connected via iSCSI on a dedicated
network
- Depends on weeks, but all in all, there are around 32 hosts, 8 storage
domains and for various reasons, very few VMs (less than 200).
- One peculiar point is that most of our VMs are provided an additional
dedicated network interface that is iSCSI-connected to some volumes of our
SAN - these volumes not being part of the oVirt setup. That could lead to a
lot of additional iSCSI traffic.

>From times to times, a random VM appears paused by oVirt.
Digging into the oVirt engine logs, then into the host vdsm logs, it
appears that the host considers the qcow2 image as corrupted.
Along what I consider as a conservative behavior, vdsm stops any
interaction with this image and marks it as paused.
Any try to unpause it leads to the same conservative pause.

After having found (https://access.redhat.com/solutions/1173623) the right
logical volume hosting the qcow2 image, I can run qemu-img check on it.
- On 80% of my VMs, I find no errors.
- On 15% of them, I find Leaked cluster errors that I can correct using
"qemu-img check -r all"
- On 5% of them, I find Leaked clusters errors and further fatal errors,
which can not be corrected with qemu-img.
In rare cases, qemu-img can correct them, but destroys large parts of the
image (becomes unusable), and on other cases it can not correct them at all.

Months ago, I already sent a similar message but the error message was
about No space left on device (https://www.mail-archive.com/
qemu-bl...@gnu.org/msg00110.html).

This time, I don't have this message about space, but only corruption.

I kept reading and found a similar discussion in the Proxmox group :
https://lists.ovirt.org/pipermail/users/2018-February/086750.html

https://forum.proxmox.com/threads/qcow2-corruption-after-
snapshot-or-heavy-disk-i-o.32865/page-2

What I read similar to my case is :
- usage of qcow2
- heavy disk I/O
- using the virtio-blk driver

In the proxmox thread, they tend to say that using virtio-scsi is the
solution. Having asked this question to oVirt experts (
https://lists.ovirt.org/pipermail/users/2018-February/086753.html) but it's
not clear the driver is to blame.

I agree with the answer Yaniv Kaul gave to me, saying I have to properly
report the issue, so I'm longing to know which peculiar information I can
give you now.

As you can imagine, all this setup is in production, and for most of the
VMs, I can not "play" with them. Moreover, we launched a campaign of
nightly stopping every VM, qemu-img check them one by one, then boot.
So it might take some time before I find another corrupted image.
(which I'll preciously store for debug)

Other informations : We very rarely do snapshots, but I'm close to imagine
that automated migrations of VMs could trigger similar behaviors on qcow2
images.

Last point about the versions we use : yes that's old, yes we're planning
to upgrade, but we don't know when.

Regards,

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


Re: [ovirt-users] Slow conversion from VMware in 4.1

2018-02-06 Thread Yaniv Kaul
On Feb 6, 2018 11:06 AM, "Luca 'remix_tj' Lorenzetto" <
lorenzetto.l...@gmail.com> wrote:

On Mon, Feb 5, 2018 at 11:13 PM, Richard W.M. Jones 
wrote:
> http://libguestfs.org/virt-v2v.1.html#vmware-vcenter-resources
>
> You should be able to run multiple conversions in parallel
> to improve throughput.
>
> The only long-term solution is to use a different method such as VMX
> over SSH.  vCenter is just fundamentally bad.

4 conversions in parallel works, but each one is very slow. But i
think i've to blame vcenter cpu which is stuck at 100%.


I assume its network interfaces are also a bottleneck as well. Certainly if
they are 1g.
Y.


Thank you for the directions and suggestions,

Luca

--
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
lorenzetto.l...@gmail.com>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] qemu-kvm images corruption

2018-02-06 Thread Yaniv Kaul
On Feb 6, 2018 11:09 AM, "Nicolas Ecarnot"  wrote:

Hello,

On our two 3.6 DCs, we're still facing qcow2 corruptions, even on freshly
installed VMs (CentOS7, win2012, win2008...).


Please provide complete information on the issue. When, how often, which
storage, etc.


(We are still hoping to find some time to migrate all this to 4.2, but it's
a big work and our one-person team - me - is overwhelmed.)


Understood. Note that we have some scripts that can assist somewhat.


My workaround is described in my previous thread below, but it's just a
workaround.

Reading further, I found that :

https://forum.proxmox.com/threads/qcow2-corruption-after-
snapshot-or-heavy-disk-i-o.32865/page-2

There are many things I don't know or understand, and I'd like your opinion
:

- Is "virtio" is synonym of "virtio-blk"?


Yes.

- Is it true that the development of virtio-scsi is active and the one of
virtio is stopped?


No.

- People in the proxmox forum seem to say that no qcow2 corruption occurs
when using IDE (not an option for me) neither virtio-scsi.


Anecdotal evidence or properly reproduced?
Have they filed an issue?

Does any Redhat people ever heard of this?


I'm not aware of an existing corruption issue.

- Is converting all my VMs to use virtio-scsi a guarantee against further
corruptions?


No.

- What is the non-official but nonetheless recommended driver oVirt devs
recommend in the sense of future, development and stability?


Depends. I like virtio-scsi for its features (DISCARD mainly), but in some
workloads virtio-blk may be somewhat faster (supposedly lower overhead).
Both interfaces are stable.

We should focus on properly reporting the issue so the qemu folks can look
at this.
Y.


Regards,

-- 
Nicolas ECARNOT


Le 15/09/2017 à 14:06, Nicolas Ecarnot a écrit :

> TL;DR:
> How to avoid images corruption?
>
>
> Hello,
>
> On two of our old 3.6 DC, a recent series of VM migrations lead to some
> issues :
> - I'm putting a host into maintenance mode
> - most of the VM are migrating nicely
> - one remaining VM never migrates, and the logs are showing :
>
> * engine.log : "...VM has been paused due to I/O error..."
> * vdsm.log : "...Improbable extension request for volume..."
>
> After digging amongst the RH BZ tickets, I saved the day by :
> - stopping the VM
> - lvchange -ay the adequate /dev/...
> - qemu-img check [-r all] /rhev/blahblah
> - lvchange -an...
> - boot the VM
> - enjoy!
>
> Yesterday this worked for a VM where only one error occurred on the qemu
> image, and the repair was easily done by qemu-img.
>
> Today, facing the same issue on another VM, it failed because the errors
> were very numerous, and also because of this message :
>
> [...]
> Rebuilding refcount structure
> ERROR writing refblock: No space left on device
> qemu-img: Check failed: No space left on device
> [...]
>
> The PV/VG/LV are far from being full, so I guess I don't where to look at.
> I tried many ways to solve it but I'm not comfortable at all with qemu
> images, corruption and solving, so I ended up exporting this VM (to an NFS
> export domain), importing it into another DC : this had the side effect to
> use qemu-img convert from qcow2 to qcow2, and (maybe?) to solve some
> errors???
> I also copied it into another qcow2 file with the same qemu-img convert
> way, but it is leading to another clean qcow2 image without errors.
>
> I saw that on 4.x some bugs are fixed about VM migrations, but this is not
> the point here.
> I checked my SANs, my network layers, my blades, the OS (CentOS 7.2) of my
> hosts, but I see nothing special.
>
> The real reason behind my message is not to know how to repair anything,
> rather than to understand what could have lead to this situation?
> Where to keep a keen eye?
>
>

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


Re: [ovirt-users] ovirt and gateway behavior

2018-02-06 Thread Yaniv Kaul
On Feb 5, 2018 2:21 PM, "Alex K"  wrote:

Hi all,

I have a 3 nodes ovirt 4.1 cluster, self hosted on top of glusterfs. The
cluster is used to host several VMs.
I have observed that when gateway is lost (say the gateway device is down)
the ovirt cluster goes down.


Is the cluster down, or just the self-hosted engine?


It seems a bit extreme behavior especially when one does not care if the
hosted VMs have connectivity to Internet or not.


Are the VMs down?
The hosts?
Y.


Can this behavior be disabled?

Thanx,
Alex

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


Re: [ovirt-users] oVirt DR: ansible with 4.1, only a subset of storage domain replicated

2018-02-05 Thread Yaniv Kaul
On Feb 5, 2018 5:00 PM, "Luca 'remix_tj' Lorenzetto" <
lorenzetto.l...@gmail.com> wrote:

Hello,

i'm starting the implementation of our disaster recovery site with RHV
4.1.latest for our production environment.

Our production setup is very easy, with self hosted engine on dc
KVMPDCA, and virtual machines both in KVMPDCA and KVMPD dcs. All our
setup has an FC storage backend, which is EMC VPLEX/VMAX in KVMPDCA
and EMC VNX8000. Both storage arrays supports replication via their
own replication protocols (SRDF, MirrorView), so we'd like to delegate
to them the replication of data to the remote site, which is located
on another remote datacenter.

In KVMPD DC we have some storage domains that contains non critical
VMs, which we don't want to replicate to remote site (in case of
failure they have a low priority and will be restored from a backup).
In our setup we won't replicate them, so will be not available for
attachment on remote site. Can be this be an issue? Do we require to
replicate everything?
What about master domain? Do i require that the master storage domain
stays on a replicated volume or can be any of the available ones?

I've seen that since 4.1 there's an API for updating OVF_STORE disks.
Do we require to invoke it with a frequency that is the compatible
with the replication frequency on storage side. We set at the moment
RPO to 1hr (even if planned RPO requires 2hrs). Does OVF_STORE gets
updated with the required frequency?

I've seen a recent presentation by Maor Lipchuk that is showing the
"automagic" ansible role for disaster recovery:

https://www.slideshare.net/maorlipchuk/ovirt-dr-site-tosite-using-ansible

It's also related with some youtube presentations demonstrating a real
DR plan execution.

But what i've seen is that Maor is explicitly talking about 4.2
release. Does that role works only with >4.2 releases or can be used
also on earlier (4.1) versions?


Releases before 4.2 do not store complete information on the OVF store to
perform such comprehensive failover. I warmly suggest 4.2!
Y.


I've tested a manual flow of replication + recovery through Import SD
followed by Import VM and worked like a charm. Using a prebuilt
ansible role will reduce my effort on creating a new automation for
doing this.

Anyone has experiences like mine?

Thank you for the help you may provide, i'd like to contribute back to
you with all my findings and with an usable tool (also integrated with
storage arrays if possible).

Luca

(Sorry for duplicate email, ctrl-enter happened before mail completion)


--
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
lorenzetto.l...@gmail.com>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt backups lead to unresponsive VM

2018-02-03 Thread Yaniv Kaul
On Feb 3, 2018 3:24 PM, "Alex K"  wrote:

Hi All,

I have reproduced the backups failure. The VM that failed is named
Win-FileServer and is a Windows 2016 server 64bit with 300GB of disk.
During the cloning step the VM went unresponsive and I had to stop/start
it.
I am attaching the logs.I have another VM with same OS (named DC-Server
within the logs) but with smaller disk (60GB) which does not give any error
when it is cloned.
I see a line:

EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), Correlation ID: null, Call
Stack: null, Custom ID: null, Custom Event ID: -1, Message: VDSM
v2.sitedomain command SnapshotVDS failed: Message timeout which can be
caused by communication issues


I suggest adding relevant vdsm.log as well.
Y.


I appreciate any advise why I am facing such issue with the backups.

thanx,
Alex

On Tue, Jan 30, 2018 at 12:49 AM, Alex K  wrote:

> Ok. I will reproduce and collect logs.
>
> Thanx,
> Alex
>
> On Jan 29, 2018 20:21, "Mahdi Adnan"  wrote:
>
> I have Windows VMs, both client and server.
> if you provide the engine.log file we might have a look at it.
>
>
> --
>
> Respectfully
> *Mahdi A. Mahdi*
>
> --
> *From:* Alex K 
> *Sent:* Monday, January 29, 2018 5:40 PM
> *To:* Mahdi Adnan
> *Cc:* users
> *Subject:* Re: [ovirt-users] Ovirt backups lead to unresponsive VM
>
> Hi,
>
> I have observed this logged at host when the issue occurs:
>
> VDSM command GetStoragePoolInfoVDS failed: Connection reset by peer
>
> or
>
> VDSM host.domain command GetStatsVDS failed: Connection reset by peer
>
> At engine logs have not been able to correlate.
>
> Are you hosting Windows 2016 server and Windows 10 VMs?
> The weird is that I have same setup on other clusters with no issues.
>
> Thanx,
> Alex
>
> On Sun, Jan 28, 2018 at 9:21 PM, Mahdi Adnan 
> wrote:
>
> Hi,
>
> We have a cluster of 17 nodes, backed by GlusterFS storage, and using this
> same script for backup.
> we have no issues with it so far.
> have you checked engine log file ?
>
>
> --
>
> Respectfully
> *Mahdi A. Mahdi*
>
> --
> *From:* users-boun...@ovirt.org  on behalf of
> Alex K 
> *Sent:* Wednesday, January 24, 2018 4:18 PM
> *To:* users
> *Subject:* [ovirt-users] Ovirt backups lead to unresponsive VM
>
> Hi all,
>
> I have a cluster with 3 nodes, using ovirt 4.1 in a self hosted setup on
> top glusterfs.
> On some VMs (especially one Windows server 2016 64bit with 500 GB of
> disk). Guest agents are installed at VMs. i almost always observe that
> during the backup of the VM the VM is rendered unresponsive (dashboard
> shows a question mark at the VM status and VM does not respond to ping or
> to anything).
>
> For scheduled backups I use:
>
> https://github.com/wefixit-AT/oVirtBackup
>
> The script does the following:
>
> 1. snapshot VM (this is done ok without any failure)
>
> 2. Clone snapshot (this steps renders the VM unresponsive)
>
> 3. Export Clone
>
> 4. Delete clone
>
> 5. Delete snapshot
>
>
> Do you have any similar experience? Any suggestions to address this?
>
> I have never seen such issue with hosted Linux VMs.
>
> The cluster has enough storage to accommodate the clone.
>
>
> Thanx,
>
> Alex
>
>
>
>
>
>

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


Re: [ovirt-users] GUI trouble when adding FC datadomain

2018-02-02 Thread Yaniv Kaul
On Feb 2, 2018 1:09 PM, "Roberto Nunin" <robnu...@gmail.com> wrote:

Hi Yaniv

Currently Engine is 4.2.0.2-1 on CentOS7.4
I've used  using oVirt Node image 4.2-2017122007.iso

LUN I need is certainly empty. (the second one in the list).


Please file a bug with logs, so we can understand the issue better.
Y.




2018-02-02 13:01 GMT+01:00 Yaniv Kaul <yk...@redhat.com>:

> Which version are you using? Are you sure the LUNs are empty?
> Y.
>
>
> On Feb 2, 2018 11:19 AM, "Roberto Nunin" <robnu...@gmail.com> wrote:
>
>> Hi all
>>
>> I'm trying to setup ad HE cluster, with FC domain.
>> HE is also on FC.
>>
>> When I try to add the first domain in the datacenter, I've this form:
>>
>> [image: Immagine incorporata 1]
>>
>> So I'm not able to choose any of the three volumes currently masked
>> towards the chosen host.
>> I've tried all browser I've: Firefox 58, Chrome 63, IE 11, MS Edge, with
>> no changes.
>>
>> Tried to click in the rows, scrolling etc.  with no success.
>>
>> Someone has found the same issue ?
>> Thanks in advance
>>
>> --
>> Roberto Nunin
>>
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>


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


Re: [ovirt-users] GUI trouble when adding FC datadomain

2018-02-02 Thread Yaniv Kaul
Which version are you using? Are you sure the LUNs are empty?
Y.


On Feb 2, 2018 11:19 AM, "Roberto Nunin"  wrote:

> Hi all
>
> I'm trying to setup ad HE cluster, with FC domain.
> HE is also on FC.
>
> When I try to add the first domain in the datacenter, I've this form:
>
> [image: Immagine incorporata 1]
>
> So I'm not able to choose any of the three volumes currently masked
> towards the chosen host.
> I've tried all browser I've: Firefox 58, Chrome 63, IE 11, MS Edge, with
> no changes.
>
> Tried to click in the rows, scrolling etc.  with no success.
>
> Someone has found the same issue ?
> Thanks in advance
>
> --
> Roberto Nunin
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] New oVirt blog post - oVirt 4.2.2 web admin UI browser bookmarks

2018-02-01 Thread Yaniv Kaul
oVirt web admin UI now allows the user to bookmark all entities and
searches using their browser.

Full blog post @ https://ovirt.org/blog/2018/01/ovirt-admin-bookmarks/

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


Re: [ovirt-users] Q: Core Reservation on Hyperthreaded CPU

2018-01-29 Thread Yaniv Kaul
On Mon, Jan 22, 2018 at 1:46 PM, Andrei V  wrote:

> Hi,
>
>
> I’m currently running node on HP ProLiant with 2 x Xeon with 4 core each.
> Because of hyperthreading each physical core is being seen as 2.
> How KVM/oVirt reserves cores if for example I allocate 4 CPU cores for VM ?
> Does it allocates 4 real CPU cores, or 2 cores with 2 threads each ?
>

Depends on how you've configured the host and the VM.


>
> Each VM consumes very low CPU resources.
> What happens if # of used cores consumed by VMs will exceed real count of
> physical CPU cores ?
>

If they are really consumed, the VM might be slowing down considerably.
Y.


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


Re: [ovirt-users] disk copy exception

2018-01-27 Thread Yaniv Kaul
On Jan 26, 2018 2:13 PM, "Donny Davis"  wrote:

So when I run a copy operation it is successful. Move and export do not
work.


Can you please file a bug with all details, such as logs and version used?
Thanks,
Y.



On Fri, Jan 26, 2018 at 6:57 AM, Donny Davis  wrote:

> When I try to do it via the API I get a more descriptive response
> Cannot export Virtual Disk. Disk configuration (${volumeFormat}
> ${volumeType}) is incompatible with the storage domain type.
>
> Makes sense, it was imported from 4.1
>
> So now the question is how can I fix this storage domain
>
> On Fri, Jan 26, 2018 at 6:43 AM, Donny Davis  wrote:
>
>> I am trying to copy a disk that was from a storage domain that was
>> imported from 4.1 to a newer storage domain and this exception is thrown in
>> the UI
>>
>>
>> Uncaught exception occurred. Please try reloading the page. Details:
>> Exception caught: (TypeError) : Cannot read property 'g' of null
>> Please have your administrator check the UI logs
>>
>
>

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


Re: [ovirt-users] Has meltdown impacted glusterFS performance?

2018-01-27 Thread Yaniv Kaul
On Jan 26, 2018 7:52 PM, "Arman Khalatyan"  wrote:

I believe about 50% overhead or even  more...


Where are you getting these numbers from?
We've seen much lower numbers.

It is processor dependent, so newer are less affected as older CPUs.
Also, keep in mimd that additional patches are expected that will bring
back some of the performance.
Y.



Am 26.01.2018 7:40 nachm. schrieb "Christopher Cox" :

> Does it matter?  This is just one of those required things.  IMHO, most
> companies know there will be impact, and I would think they would accept
> any informational measurement after the fact.
>
> There are probably only a few cases where timing is so limited to where a
> skew would matter.
>
> Just saying...
>
>
> On 01/26/2018 11:48 AM, Jayme wrote:
>
>> I've been considering hyperconverged oVirt setup VS san/nas but I wonder
>> how the meltdown patches have affected glusterFS performance since it is
>> CPU intensive.  Has anyone who has applied recent kernel updates noticed a
>> performance drop with glusterFS?
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

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


Re: [ovirt-users] Ovirt 4.2 - Help adding VM to numa node via python SDK

2018-01-26 Thread Yaniv Kaul
On Wed, Jan 24, 2018 at 11:18 PM, Don Dupuis  wrote:

> I am able to create a vm using the sdk with nic and disks using the python
> sdk, but having trouble understanding how to assign it to virtual numanode
> onto the physical numanode via python sdk. Any help in this area would be
> greatly appreciated
>

Please see line 165 @ [1], I think it's what you are looking for.
Y.

[1]
https://gerrit.ovirt.org/#/c/86715/3/basic-suite-master/test-scenarios/004_basic_sanity.py


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


Re: [ovirt-users] Storage Hardware for Hyperconverged oVirt: Gluster best practice

2018-01-26 Thread Yaniv Kaul
On Fri, Jan 26, 2018 at 4:58 PM,  wrote:

> Yaniv,
>
> You bring up a valid point.
>
> I asked about RAID since I was concerned about drive failures &
> performance.
> Since Gluster will handle data replication, using HBA seems like a better
> choice?
>

Without local node replication (RAID), a failed disk == a failed node. This
may or may not be acceptable.
Y.


> From Yaniv:
>>>
>> I think there are two interesting questions here:
> 1. Why would you want RAID? Your data is replicated already on other
> Gluster nodes. RAID writes will wear out the SSDs earlier and RAID 'wastes'
> additional space. The reason may be because you don't want the node to go
> down in case of a single disk malfunction. Fair - but is that the case?
> 2. I think HW RAID should be higher performing, but that's about it.
> Y.
>
> On 2018-01-10 12:05, Roberto Nunin wrote:
>
>> Il 10 Gen 2018 20:40,  ha scritto:
>>
>> oVirt + Gluster (hyperconverged) RAID question:
>>> I have 3 nodes of SuperMicro hardware, each node has 1x SATADOM
>>> (boot drive for o/s install) and 6x 1TB SSD (to be used for
>>> Gluster).
>>> For the SSDs, is hardware or software RAID preferred or do I use an
>>> HBA?
>>> The RedHat docs seem to suggest hardware RAID, others on the forum
>>> say HBA  or software RAID.
>>>
>>> What are other folks using?
>>>
>>
>> I'm using hardware raid.
>>
>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users [1]
>>>
>>
>>
>>
>> Links:
>> --
>> [1] http://lists.ovirt.org/mailman/listinfo/users
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Found some bugs with NFS.

2018-01-23 Thread Yaniv Kaul
On Tue, Jan 23, 2018 at 6:47 PM, Sergey Kulikov  wrote:

>
> Or maybe somebody can point me to the right place for submitting this?
> Thanks. :)
>
> CentOS have a bugtracker[1], but I think it's worthwhile understanding if
it is reproducible with other OS. Fedora, for example.
Y.

[1] https://bugs.centos.org/main_page.php

> ---
>
>
>
>  Monday, January 22, 2018, 14:10:53:
>
> > This is test environment, running Centos 7.4, oVirt 4.2.0, kernel
> 3.10.0-693.11.6.el7.x86_64 (3.10.0-693.11.1 and 3.10.0-693 have same bugs)
> >
> >
> > 1. Can't force NFS to 4.0.
> > Some time ago, I've set my NFS version for all storage domains to V4,
> because there was a bug with Netapp data ontap 8.x
> > and RHEL, using NFS 4.1(NFS mount started to hang after a while, STATEID
> problems) v4 on centos 7.2 and 7.3 was mounting NFS as 4.0,
> > so there were no problems related to NFS, after some time Centos 7.4 was
> released, and I've noticed that mount points started to hang again,
> > NFS was mounted with vers=4.1, and it's not possible to change to 4.0,
> both options "V4" and "V4.1" mounts as 4.1. Looks like V4 option is
> > system default version for 4.X, and as I know it was changed in Centos
> 7.4 from 4.0 to 4.1, maybe 4.0 option should be added
> > to force 4.0 version? because adding vers=/nfsvers= in "Additional mount
> options" is denied by ovirt.
> > I know, I can turn it off on netapp side, but there may be situations
> where storage is out of control. And 4.0 version can't be
> > set on ovirt side.
> >
> > 2. This bug isn't directly related to ovirt, but affects it.
> > Don't really shure that this is right place to report.
> > As I've said before there were bug with NFS 4.1, Netapp data ontap 8 and
> RHEL 7.x, but it was fixed in otap 9.x,
> > Now we have 9.x ONTAP on Netapp and it brought new bugs with RHEL 7.4 :D
> > After updating to centos 7.4 nfs domains in ovirt started to hang\lock
> again, This happens randomly, on random hosts, after few
> > days of uptime, entire datacenter goes offline, hosts down, storage
> domains down, some vms in UP and some in unknown state, but
> > actually VMs are working, HostedEngine also working, but I can't control
> the environment.
> > There are many hanging ioprocess(>1300) and vdsm processes(>1300) on
> some hosts, also there are some dd commands, that are checking
> > storage hanging:
> > ├─vdsmd─┬─2*[dd]
> > │   ├─1304*[ioprocess───{ioprocess}]
> > │   ├─12*[ioprocess───4*[{ioprocess}]]
> > │   └─1365*[{vdsmd}]
> > vdsm 19470  0.0  0.0   4360   348 ?D<   Jan21   0:00
> /usr/bin/dd if=/rhev/data-center/mnt/10.xx.xx.xx:_test__nfs__sas_iso/
> 6cd147b4-8039-4f8a-8aa7-5fd54d81/dom_md/metadata of=/dev/null bs=4096
> count=1 iflag=direct
> > vdsm 40707  0.0  0.0   4360   348 ?D<   00:44   0:00
> /usr/bin/dd if=/rhev/data-center/mnt/10.xx.xx.xx:_test__nfs__sas_
> export/58d9e2c2-8fef-4abc-be13-a273d6af320f/dom_md/metadata of=/dev/null
> bs=4096 count=1 iflag=direct
> >
> > vdsm is hanging at 100% cpu load
> > If I'll try to ls this files ls will hang.
> >
> > I've made some dump of traffic, so looks like problem with STATID, I've
> found 2 issues on RedHat web site, but they aren't
> > publically available, so i can't read the solution:
> > https://access.redhat.com/solutions/3214331   (in my case I have
> STATEID test)
> > https://access.redhat.com/solutions/3164451   (in my case there is no
> manager thread)
> > But it looks' that I've another issue with stateid,
> > According to dumps my hosts are sending: TEST_STATEID
> > netapp reply is: Status: NFS4ERR_BAD_STATEID (10025)
> > After this host sends: Network File System, Ops(5): SEQUENCE, PUTFH,
> OPEN, ACCESS, GETATTR
> > Reply: V4 Reply (Call In 17) OPEN StateID: 0xa205
> > Request: V4 Call (Reply In 22) READ StateID: 0xca5f Offset: 0 Len: 4096
> > Reply: V4 Reply (Call In 19) READ Status: NFS4ERR_BAD_STATEID
> >
> >
> > Entire conversaion looks like:
> > No. Time   Source Destination   Protocol
> Length Info
> >   1 0.00   10._host_  10._netapp_NFS
> 238V4 Call (Reply In 2) TEST_STATEID
> >   2 0.000251   10._netapp_10._host_  NFS
> 170V4 Reply (Call In 1) TEST_STATEID (here is Status:
> NFS4ERR_BAD_STATEID (10025))
> >   3 0.000352   10._host_  10._netapp_NFS
> 338V4 Call (Reply In 4) OPEN DH: 0xa2c3ad28/
> >   4 0.000857   10._netapp_10._host_  NFS
> 394V4 Reply (Call In 3) OPEN StateID: 0xa205
> >   5 0.000934   10._host_  10._netapp_NFS
> 302V4 Call (Reply In 8) READ StateID: 0xca5f Offset: 0 Len: 4096
> >   6 0.000964   10._host_  10._netapp_NFS
> 302V4 Call (Reply In 9) READ StateID: 0xca5f Offset: 0 Len: 4096
> >   7 0.001133   10._netapp_10._host_  TCP
> 70 2049 → 683 [ACK] Seq=425 Ack=901 Win=10240 

  1   2   3   4   5   6   7   >