[Users] moving an unplugged/offline disk on a running vm creates snapshots

2014-02-21 Thread Ernest Beinrohr
Imho, when the disk is offline, it should be movable directly without 
the need for snapshots.


this is on ovirt 3.3

btw: any chance of thin-preallocated procedure?

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.5 planning

2014-02-24 Thread Ernest Beinrohr

Dn(a 25.02.2014 02:55, Maurice James wrote / napísal(a):

External authentication that does not require the use of Kerberos in the
environment :)


This has my vote too. And my axe.

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.5 planning

2014-02-25 Thread Ernest Beinrohr

Dn(a 24.02.2014 17:59, Itamar Heim wrote / napísal(a):
with oVirt 3.4 getting close to GA with many many great features, time 
to collect requests for 3.5...


multiple ISO domains.


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.5 planning

2014-02-26 Thread Ernest Beinrohr

Dn(a 24.02.2014 17:59, Itamar Heim wrote / napísal(a):
with oVirt 3.4 getting close to GA with many many great features, time 
to collect requests for 3.5...


Admin portal: customize columns: memory, cpus, disks and sorting would 
be very welcome. If this info would be visible in sub-tabs like hosts 
tab and its VMs view, that would be awesome.


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.5 planning

2014-03-17 Thread Ernest Beinrohr

Dn(a 24.02.2014 17:59, Itamar Heim wrote / napísal(a):
with oVirt 3.4 getting close to GA with many many great features, time 
to collect requests for 3.5...




Please add the possibility to modify description and other minor info 
for VM, disk, storage even when they are running.


thanks
--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.5 planning

2014-03-18 Thread Ernest Beinrohr

Dn(a 18.03.2014 13:24, Federico Alberto Sayd wrote / napísal(a):

On 24/02/14 13:59, Itamar Heim wrote:
with oVirt 3.4 getting close to GA with many many great features, 
time to collect requests for 3.5...


Add progress bar to task tab to indicate the progress percent of 
snapshot creation, vm clonation, migration, etc.


I needed this a long time ago, so i hacked this together. You shoud run 
it on the SPM host. Also, i only use iscsi storage.



#!/bin/bash

SECS=1
PROC=${1:-qemu-img}
PID=`pidof $PROC`

if [ x$PID == x ]
then
echo No $PROC running
exit 1
fi

LV=$(ls -l /dev/mapper/ | grep `ls -l /proc/$PID/fd/|grep dm- | cut -f 3 
-d/ | head -n1` | gawk '{print $9}' | sed -e 's/--/XX/g' -e 's/-/\//g' 
-e 's/XX/-/g' -e 's/^/\/dev\//g')


SIZE=$(/sbin/lvs --noheadings --unquoted --options lv_size --units b $LV 
| sed -e 's/B//g' )


LAST=0
while [[ -e /proc/$PID/fd/ ]] ;
do
CUR=$(grep rchar /proc/$PID/io | cut -f 2 -d  )
PERC=$(echo $CUR*100/$SIZE | bc)
SPEED=$(echo \($CUR-$LAST\)/1024/1024 | bc)
SIZE2=$(echo $SIZE / 1024 / 1024 / 1024| bc)
echo $SIZE2 GB / $CUR B [$PERC%] - $SPEED MB/s
sleep $SECS;
LAST=$CUR
done

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [RFI] GUI Changes for oVirt 4.0

2014-03-18 Thread Ernest Beinrohr

Dn(a 18.03.2014 11:29, Itamar Heim wrote / napísal(a):

Hi,

we are brainstorming on what should we change in the oVirt UI for 4.0.
for current brainstorming phase, anything goes - i.e., I'd like us 
to ignore current limitations and flows, and envision/fantasize the 
perfect solution.


SO - what do YOU think we should consider for 4.0 UI concept, flows, etc.


I'd love to see this in the UI:

- auto-refreshed screenshots from the VMs consoles.
- some improved tagging/grouping
- customizable columns with sorting/filtering (tags ?)
- cpu/disk/net utilization column like virt-manger has them
- embedded serial console
- disk operations and migration status with progress bar and ETA.
- console access from client-engine-host. Most of the time we do not 
have direct access to the hosts.
- ability to define exclude entities ( aka these 2 vms may never run on 
the same storage and host )



--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] el6 live snapshots and storage migration

2014-03-20 Thread Ernest Beinrohr

Dn(a 19.03.2014 19:15, R P Herrold wrote / napísal(a):

On Wed, 19 Mar 2014, Sven Kieske wrote:


forwarding to the List as this may be interesting for others:
This may be another option:

wget
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm

sha256sum qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm
# check with http://rhn.redhat.com/errata/RHBA-2014-0248.html

yum-builddep /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm

rpmbuild --rebuild /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm

seemingly untested.  Not sure if it is a missing BR, or a
patch is needed.   The build fails thus here:


Works ok on my centos 6.5.

these are my packages, so maybe a BuildRequired is missing in the src.rpm

$ rpm -qa \*usb\*
libusb1-devel-1.0.9-0.6.rc1.el6.x86_64
libusb1-1.0.9-0.6.rc1.el6.x86_64
rt73usb-firmware-1.8-7.el6.noarch
usbutils-003-4.el6.x86_64
usbredir-devel-0.5.1-1.el6.x86_64
libertas-usb8388-firmware-5.110.22.p23-3.1.el6.noarch
usbredir-0.5.1-1.el6.x86_64
libusb-0.1.12-23.el6.x86_64

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] centralized Logging engine and hypervisor

2014-03-20 Thread Ernest Beinrohr

Dňa 19.03.2014 17:12, Sven Kieske wrote / napísal(a):

Hi,

I got a question regarding centralized logging:

I guess in order to make the engine log to /dev/log

I have to manipulate /etc/ovirt-engine/engine-config/log4j.xml ?

I think these tutorials might fit somehow?

https://blog.trifork.com/2010/01/14/logging-to-the-syslog-from-a-java-application/
http://help.papertrailapp.com/discussions/questions/86-how-to-make-jboss-log-to-syslog

for vdsm I'll just have to change:

/etc/vdsm/svdsm.logger.conf and /etc/vdsm/logger.conf

to:

handlers=syslog

Am I on the right track for the engine-log?



Don't forget to backup the file, it's not marked as a config, so a new 
update will replace it :)


$ rpm -q --qf '[%{filenames}: %{fileflags}\n]' -f 
/etc/ovirt-engine/engine-config/log4j.xml | grep log4j.xml

/etc/ovirt-engine/engine-config/log4j.xml: 0
/etc/ovirt-engine/engine-manage-domains/log4j.xml: 0
/etc/ovirt-engine/notifier/log4j.xml: 1


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] iscsi multipath active on hosts even after Maintentance/Detach/Delete

2014-03-24 Thread Ernest Beinrohr

Hi, I have removed some of my older storage devices in the engine.
I put the storage into maintenance, then detached it and finally
removed it from the engine completely.

However, the LVM VGs and multipath and iscsi are still connected
to all my hosts and i need to restart them in maintenance to
deactivate the storage completely.

This seems wrong, the engine should disable the VGs, stop the
multipath device for that storage and logout from all iscsi targets.


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Logs using syslog

2014-03-27 Thread Ernest Beinrohr

Dn(a 27.03.2014 01:08, Yair Zaslavsky wrote / napísal(a):

Hi Eduardo,
We have an open RFE for that -

https://bugzilla.redhat.com/show_bug.cgi?id=1078738


You could use logstash to ship logs to your central syslog.
--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM-List gone after upgrade to 3.4

2014-04-01 Thread Ernest Beinrohr

Dn(a 01.04.2014 14:35, Stefan Wendler wrote / napísal(a):

Yup. It is just showing the three loading dots forever. But there should be
around 60 vms listed there.



I often have similar issues with my 3.3 setup, but with the Disks tab. 
Only solution I've found is to restart the engine :(


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Video]: New Live Migration Progess Bar for oVirt

2014-06-30 Thread Ernest Beinrohr

Dn(a 30.06.2014 15:38, Brian Proffitt wrote / napísal(a):

Michal Skrivanek has contributed a new video to the oVirt YouTube channel[1]: a 
quick peek at the new live migration progress bar coming in oVirt 3.5[2]!

Great, looking forward to it. How about disk operations ? those take 
forever ... :-)



--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603

icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org

I've often compared Open Source development vs proprietary development 
to science vs witchcraft. Linus Torvalds 
https://lkml.org/lkml/2006/9/27/191
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Moving a disk from a ex-pool machine?

2014-08-19 Thread Ernest Beinrohr
Hi, I have ovirt 3.4 and I cannot move one disk to another storage. The 
machine was part of a pool and is detached already and offline. I still 
cannot move the disk to another storage.


Is there any way of moving that disk?

PS: except adding another disk and 'dd'-ing of course.
PS2: i need to do this for 30+ vms :(

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Real time network usages and IO usages of VM

2014-09-02 Thread Ernest Beinrohr

Dn(a 29.08.2014 07:08, Shanil S wrote / napísal(a):

Hi All,

Is there any api methods to get the real time network usages and IO 
usages os of each vm ? I tried it by using api/vms/$id/statistics but 
its not getting the network and IO usages. Is it possible to get these 
details using the api calls ?


I had to make my own based on the hosts cgroups info. I feed the data to 
mrtg to plot cpu and IO graphs. No network though.


I run something like this on each hypervisor periodically via mrtg:

vms=`find /cgroup/blkio/libvirt/qemu/ -maxdepth 1 -mindepth 1 -type d 
-printf %f\n`

IGNORED_REGEX=ignore
for vm in $vms
do
(
echo -n $HOST:$vm:
egrep -v $IGNORED_REGEX 
/cgroup/blkio/libvirt/qemu/$vm/blkio.throttle.io_serviced | grep 
^253:.*Read | cut -f3 -d   | paste -sd+ | bc

echo -n :
egrep -v $IGNORED_REGEX 
/cgroup/blkio/libvirt/qemu/$vm/blkio.throttle.io_serviced | grep 
^253:.*Write | cut -f3 -d   | paste -sd+ | bc

echo -n :
egrep -v $IGNORED_REGEX 
/cgroup/blkio/libvirt/qemu/$vm/blkio.throttle.io_service_bytes | grep 
^253:.*Read | cut -f3 -d   | paste -sd+ | bc

echo -n :
egrep -v $IGNORED_REGEX 
/cgroup/blkio/libvirt/qemu/$vm/blkio.throttle.io_service_bytes | grep 
^253:.*Write | cut -f3 -d   | paste -sd+ | bc

echo -n :
cat /cgroup/cpuacct/libvirt/qemu/$vm/cpuacct.usage
) | tr -d '\n'
echo 
done

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] disabling generic-receive-offload (gro) and large-receive-offload ?

2014-11-19 Thread Ernest Beinrohr
Hi, is there a way of setting eth parameters for hypervisors? My freebsd 
instance has terrible performance when these are enabled. Currently I 
run these on all hypervisors manually.


ethtool –K vnet0 gro off
ethtool –K vnet2 gro off
ethtool –K vnet0 lro off
ethtool –K vnet2 lro off


as per: 
http://support.citrix.com/proddocs/topic/netscaler-vpx-10-5/ns-vpx-install-prereqkvm-ref.html


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Is it possible to change the DB password for local postgresql?

2013-03-13 Thread Ernest Beinrohr
(ovirt 3.2) I have changed it in /etc/ovirt-engine/.pgpass and for the
'postgres' and 'engine' users in the database but after starting the
engine my logs are full of

FATAL: password authentication failed for user engine

Any tips on changing the password?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Is it possible to change the DB password for local postgresql?

2013-03-13 Thread Ernest Beinrohr
On 13.03.2013 11:57, Alon Bar-Lev wrote:
 You need to change the /etc/sysconfig/ovirt-engine password as well.
 You have a script to encode it at /etc/pki/ovirt-engine/encryptpasswd.sh or 
 similar.

Thank you, that worked.

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


Re: [Users] Is it possible to change the DB password for local postgresql?

2013-03-14 Thread Ernest Beinrohr
On 13.03.2013 11:57, Alon Bar-Lev wrote:
 You need to change the /etc/sysconfig/ovirt-engine password as well.
 You have a script to encode it at /etc/pki/ovirt-engine/encryptpasswd.sh or 
 similar.

Worked: I also created a simple page of the change process:

http://www.ovirt.org/Postgresql_changing_db_pass


-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.” ― Oscar Wilde
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Custom columns in VM list (engine admin) ?

2013-03-28 Thread Ernest Beinrohr
Hi, is it possible to add columns to the VM list view in
ovirt-engine administrator? I'd like to add a memory
columns (max, current) and also some IO stats and.


In RHEL 5 virt-manager show something like this:
http://i.imgur.com/e18DJtf.png

-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.” ― Oscar Wilde
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Does anyone run the engine on a VM in the cluster itself?

2013-03-29 Thread Ernest Beinrohr
I have to maintan a separate VM environment just for the engine.
If it were running on one of the hypervisors, how can I start it if
the engine itself is off?

thanks.
-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.” ― Oscar Wilde
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Unable to save host networking: Network address must be specified when using static ip

2013-04-24 Thread Ernest Beinrohr
Hi, I have a couple of hypervisors running 3.2 on centos6 and have set
up the bridges and VLANs by myself. Everything works, my VMs run, but
for some reason i cant save my Setup Host Networks. Every vlan and
bridge interface has a network specified in
/etc/sysconfig/networks-scripts/ifcfg-* and some do not have an IP address.


This is the error I get:


Error:

finwe:

  * Network address must be specified when using static ip



-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.” ― Oscar Wilde
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Nagios monitoring plugin check_rhev3 1.2 released

2013-05-16 Thread Ernest Beinrohr
On 16.05.2013 16:31, René Koch wrote:
 I'm happy to announce version 1.2 of check_rhev3.



Thank you, this is quite useful for us.


-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.” ― Oscar Wilde
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] How to add another @internal user

2013-05-20 Thread Ernest Beinrohr
I'd like to add another user to my ovirt engine 3.2, but all means fail
somehow. I installed the engine from
http://www.dreyou.org/ovirt/ovirt-engine32/ on centos6 and created a
local pgsql database, no IPA.

How can I add another user?

SO far I have tried:

engine-manage-domains -action=add -domain=internal -user=admin@internal
-provider=RHDS -interactive
engine-manage-domains -action=add -domain=internal -provider='RHDS'
-user='nagios' -interactive
engine-manage-domains -action=add -domain=axonpro.sk -user=nagios
-provider=LDAP -interactive -addPermissions


PS: we have a separate LDAP server for our domain, Ideally i'd like to
use the credentials from that, but local users is OK too.
-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.” ― Oscar Wilde
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] CentOs client

2013-05-21 Thread Ernest Beinrohr
On 21.05.2013 15:36, Ryan Wilkinson wrote:
 Trying to make CentOS 6.4 work as an ovirt client.  Installed
 spice-xpi and spice-client via yum but spice client not launching..


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


Better install virt-viewer too ;-) and check ~/.spice/ logs

-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.” ― Oscar Wilde
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] collecting IO stats per VM ?

2013-06-10 Thread Ernest Beinrohr
Hi, I noticed that ovirt uses cgroups for accounting. Has one of you
maybe a tool for collecting this information? I'd like to graph the
information with rrd/mrtg.

thanks

-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Incorrect disk size after storage live migration

2013-06-10 Thread Ernest Beinrohr
I moved my 8 GB disk image live to another storage with ovirt 3.2.
Afterwards I removed the migration snapshot and suddenly my Actual
disk size is incorrent (1GB). Virtual size shows the correct 12 GB.

The physical disk (lv) is the correct size, as is my data.

$ rpm -q vdsm libvirt
vdsm-4.10.3-0.36.23.el6.x86_64
libvirt-0.10.2-18.el6_4.2.x86_64

-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] collecting IO stats per VM ?

2013-06-10 Thread Ernest Beinrohr
On 10.06.2013 15:26, Richard W.M. Jones wrote:
 On Mon, Jun 10, 2013 at 03:00:28PM +0200, Ernest Beinrohr wrote:
 Hi, I noticed that ovirt uses cgroups for accounting. Has one of you
 maybe a tool for collecting this information? I'd like to graph the
 information with rrd/mrtg.
 virt-top?


Virt-top cannot track a vm as it migrates on different hypervisors.
Somehow the engine could/should collect these stats. I already begun a
simple bash script which will provide stats for MRTG.


-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] collecting IO stats per VM ?

2013-06-12 Thread Ernest Beinrohr
On 10.06.2013 16:36, Dan Yasny wrote:
 Why not use the built-in reporting engine?

So I have installed the reports and did not find anything converning IO
in it. I even looked at the collected data in postgres but didn't find
much either.

Is there a way to start collecting the cgroup accounting stats and
create a custom report?

-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Migration of engine

2013-06-13 Thread Ernest Beinrohr
On 13.06.2013 09:40, Tom Brown wrote:
 Hi

 We use 3.1 on centos 6 and have the need to migrate the engine due to
 hardware issues. Looking at

 http://wiki.ovirt.org/Backup_engine_d
 http://wiki.ovirt.org/Backup_engine_dbb

 Are there any other files apart from the db that might be needed or
 once the db is migrated into a freshly installed engine with the same
 IP and hostname as the original all will be well?

Why not just clone the server? Or just run it as a virtual with p2v.

-- 
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE
http://www.beinrohr.sk/rhce.php, RHCVA
http://www.beinrohr.sk/rhce.php, LPIC
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work,
jabber:oer...@jabber.org

“For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How can I modify the vm template?

2013-10-01 Thread Ernest Beinrohr

Dn(a 01.10.2013 15:52, hackxay wrote / napísal(a):
I want to modify the vm template and I can start the vm from the 
modified template.So,can I realize it?




I do not recommend this, but:

I ensure, that the template is not being used (engine off ;) enable the 
lv on one of the hypervisors and access the templates disk directly. 
Then umount, disable the lv.


--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360 
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How can I modify the vm template?

2013-10-01 Thread Ernest Beinrohr

Dňa 01.10.2013 17:07, hackxay wrote / napísal(a):

thank you!
I want to change something about template, for example, the proagrams 
in the templates, and then, the vms has created from the template will 
have synchronous change.




No, the template change will only affect new systems from the template.

--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, +421-2--6241-0360 
callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Is there any way of prohibiting 2 vms to run on the same hv ?

2013-11-21 Thread Ernest Beinrohr

I have 2 vms in ha cluster and now they are running
on the same hypervisor (out of 5). Is there any way
ovirt can help preventing such an situation?

thank you

--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Guest Agent

2013-11-25 Thread Ernest Beinrohr

Dn(a 25.11.2013 10:15, Vinzenz Feenstra wrote / napísal(a):

I have just pushed the first EPEL5 release for the ovirt-guest-agent.

@Thomas: I would be glad if you could test it :-)

https://admin.fedoraproject.org/updates/ovirt-guest-agent-1.0.8-3.el5


I have tried on centos 5.10 and got this error

  -- ovirt-guest-agent conflicts with selinux-policy
Error: ovirt-guest-agent conflicts with selinux-policy

$ rpm -q selinux-policy
selinux-policy-2.4.6-346.el5


PS: the recompiled rhev-agent-2.3.16-3.el5.src.rpm works btw.
--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] How to backup thin provisioned qcow2 disks?

2013-11-25 Thread Ernest Beinrohr

Hi, I'm currently looking for ways to backup my disks.
Live storage migration converted my disks from
preallocated to thin provisioning. Preallocated disk
backups are working from a simple dd from a snapshot,
but the thin qcow2 disks are a problem. I seems it uses
multiple logical volumes (3 in my case). Also they
are combined MUCH bigger than the preallocated:
8GB raw vs thin: 31 GB - 1 snapshot.

So I have two questions:
- how would you backup these thin disks?
- is it possible to convert thin to preallocated and
   discard the snapshots


thanks

--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Guest Agent

2013-11-27 Thread Ernest Beinrohr

Dn(a 26.11.2013 12:20, Vinzenz Feenstra wrote / napísal(a):

On 11/25/2013 06:36 PM, Thomas Suckow wrote:
 Why not just reuse the rhev-agent username, it is what it is 
reserved as? Then just add a conflict with the rhev RPM so they 
cannot be installed together.


Actually, looking at the spec file. The user is added with the -o 
option (Allow non-unique). If you added -o to groupadd then the 
problem should go away and was probably the original intent of the 
spec file writer.


getent group ovirtagent /dev/null || groupadd -r -g 175 ovirtagent
to
getent group ovirtagent /dev/null || groupadd -r -g 175 -o ovirtagent
https://admin.fedoraproject.org/updates/ovirt-guest-agent-1.0.8-6.el5 
contains this fix.



Seems like a missing dependency:

 /etc/init.d/ovirt-guest-agent start

Stopping ovirt-guest-agent:[ZLYHALO]
Spustenie ovirt-guest-agent: Traceback (most recent call last):
  File /usr/share/ovirt-guest-agent/ovirt-guest-agent.py, line 25, in ?
from GuestAgentLinux2 import LinuxVdsAgent
  File /usr/share/ovirt-guest-agent/GuestAgentLinux2.py, line 25, in ?
from OVirtAgentLogic import AgentLogicBase, DataRetriverBase
  File /usr/share/ovirt-guest-agent/OVirtAgentLogic.py, line 25, in ?
from VirtIoChannel import VirtIoChannel
  File /usr/share/ovirt-guest-agent/VirtIoChannel.py, line 34, in ?
json = import_json()
  File /usr/share/ovirt-guest-agent/VirtIoChannel.py, line 32, in 
import_json

import simplejson
ImportError: No module named simplejson


$ rpm -qa centos*release
centos-release-5-10.el5.centos

After installing python-simplejson ovirt-agent started ok.
--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Where do you run the engine?

2013-11-27 Thread Ernest Beinrohr
Just curious, where/how you run the engine. I run it in libvirt/kvm on 
one of my storage domains.



--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Is it possible to limit migration speed and number of concurrent migrations?

2013-11-29 Thread Ernest Beinrohr
I want to put some of my hvs to maintenance, but that causes a migration 
storm, which causes an temporary unavailability of the hv and ovirt 
fences it, while migrations are still running.


So I have to migrate one-by-one manually and then put the hv to maintenance.

Is it possible to limit migration speed and number of concurrent migrations?

--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman


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


Re: [Users] How to backup thin provisioned qcow2 disks?

2013-12-04 Thread Ernest Beinrohr

Dňa 04.12.2013 15:57, Allon Mureinik wrote / napísal(a):


Hi, I'm currently looking for ways to backup my disks.
Live storage migration converted my disks from
preallocated to thin provisioning. Preallocated disk
backups are working from a simple dd from a snapshot,
but the thin qcow2 disks are a problem. I seems it uses
multiple logical volumes (3 in my case).

For one snapshot? Are you sure?

Not anymore, i've deleted the host and its disks :(


Also they
are combined MUCH bigger than the preallocated:
8GB raw vs thin: 31 GB - 1 snapshot.

What version are you using?
And on what storage?
3.3 on iscsi. And I am talking about the LVM lv sizes. No idea how much 
of that space the qcow actually occupies.




So I have two questions:
- how would you backup these thin disks?

You could just copy all three of your volumes.
A more robust way, though, would probably be to export the disk to an 
export domain.
The problem was, that i didn't know WHICH volumes to copy, but that was 
probably due a wrong sql query.



--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] External authentication

2013-12-05 Thread Ernest Beinrohr

Dn(a 06.12.2013 08:34, Yair Zaslavsky wrote / napísal(a):


- Original Message -

From: Maurice James midnightst...@msn.com
To: users@ovirt.org
Sent: Friday, December 6, 2013 3:13:34 AM
Subject: [Users] External authentication

Does anyone know how to get external authentication to 389-ds without
Kerberos support. I am quite happy with LDAPS and would prefer not to
introduce more complexity.

No option at the moment,
Juan Hernandez (CC'ed) is working on authentication refactor that will allow developing 
authentication plugins in an easier manner (and also will break the tight 
coupling between authentication and directory services information retrieval)


Just confirming our interest in ldap without kerberos.
--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Ovirt Engine Memory usage going crazy since 3.3 Upgrade

2013-12-16 Thread Ernest Beinrohr

Dňa 15.12.2013 10:07, squadra wrote / napísal(a):
same here, still everything running smooth and flawless after several 
days and memory usage still at a normal level. no more lags, no more 
filled 8gb swap partition. again, a huge thanks to Sahina :)



Same here, workaround helped.



just for the record, this is the workaround from 
https://bugzilla.redhat.com/show_bug.cgi?id=1028966 :


The workaround is to disable the PKCS#11 provider modifying the 
$JAVA_HOME/lib/security/java.security file as follows:

#security.provider.1=sun.security.pkcs11.SunPKCS11 
${java.home}/lib/security/nss.cfg
security.provider.1=sun.security.provider.Sun
security.provider.2=sun.security.provider.Sun
security.provider.3=sun.security.rsa.SunRsaSign
security.provider.4=sun.security.ec.SunEC
security.provider.5=com.sun.net.ssl.internal.ssl.Provider
security.provider.6=com.sun.crypto.provider.SunJCE
security.provider.7=sun.security.jgss.SunProvider
security.provider.8=com.sun.security.sasl.Provider
security.provider.9=org.jcp.xml.dsig.internal.dom.XMLDSigRI
security.provider.10=sun.security.smartcardio.SunPCSC


--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] iso domain in maintenance and VMs cannot start

2013-12-20 Thread Ernest Beinrohr

It is obvious that when an VM has a iso attached
and the iso domain is in maintenance the VM
cannot start.

When I try to start such an VM the engine only
reports that it cannot be started (failed to run VM
on hv1, hv2, hv3) with no further error. I looked
at engine.log and vdsm.log and there is also no
specific error, that the ISO isn't accessible.


PS:
- ovirt 3.3
- detaching the iso allows the vm to start of course.
--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Replacing ISO domain

2014-01-09 Thread Ernest Beinrohr

Dn(a 09.01.2014 12:06, Eli Mesika wrote / napísal(a):

 From webadmin UI

1) Go to Data Center TAB
2) select the DC
3) From the Storage TAB in the bottom select the old ISO
4) Press the Maintenance button
5) Press the Detach button

Now you can attach a new ISO
This (detach) does not work if the old ISO domain is unavailable, like 
mine :(



--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled. Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ssd cache

2014-12-08 Thread Ernest Beinrohr

Dňa 08.12.2014 o 12:26 yao xu napísal(a):

Hi ! Everyone!

   Is anyone tried to add an ssd cache to node using bcache or flashcache?

   It seemed that we have to change the procedure when adding a 
storage domain .


   Maybe it can be done in serveral days , but sync the cache between 
nodes seemed a little tricky.


   Do you have any idea?



I use dm-cache on rhel7 on one of my storages. It works. It has nothing 
to do with ovirt however, everything is managed by the storage server.


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ssd cache

2014-12-08 Thread Ernest Beinrohr

Dňa 09.12.2014 o 03:57 yao xu napísal(a):

do you use iscsi ?



Yes, the storage present itselft as iscsi to ovirt. The tgtd iscsi 
target which runs on rhel7 does NOT know about the cache, it simply 
shares an LVM block device. I created the cache using this tutorial:


http://blog.kylemanna.com/linux/2013/06/30/ssd-caching-using-dmcache-tutorial/ 
(or this, but you need a subscrition: 
https://access.redhat.com/solutions/912953 )


tgtd.conf:

target iqn.2014-05.sk.axonpro.sk:BigCachedPool
scsi_id STORAGE_BigCachedPool
vendor_id AXONPRO
product_id scsi-target-utils
scsi_sn 42fbb7c1-99d4-4247-a55b-222e5abe13aa
backing-store /dev/rhel/BigCachedPool
incominguser ovirt 
/target

lvs:

  LV VG   Attr   LSize   Pool Origin
Data%  Move Log Cpy%Sync Convert

  BigCachedPool  rhel Cwi-aoC---  21,00t lv_cache [BigCachedPool_corig]
  lv_cache   rhel Cwi-a-C--- 100,00g

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM disk tab doesn't show storage name after 3.5 upgrade

2014-12-15 Thread Ernest Beinrohr
Before 3.5 in VM disk tab, there was the name of the storage on which 
the disks resides. After the upgrade to 3.5 this information is missing.



PS: as a workaround I have to edit the disk to see where it it. I have 
7 storages so this info is important for me.


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM disk tab doesn't show storage name after 3.5 upgrade

2014-12-17 Thread Ernest Beinrohr

Dňa 16.12.2014 o 14:28 Nir Soffer napísal(a):

- Original Message -



Just to let you know, there had been some changes in the disks tab and 
this works:



the default display was changed to show all disks instead of images thus 
omitting
the info specific to image disks, you can easily switch between the views by
clicking on the Images radio button instead of the All and see all storage
data for image disks.


(from BZ https://bugzilla.redhat.com/show_bug.cgi?id=1174788)


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't remove snapshot due to low disk space on storage domain?

2015-02-11 Thread Ernest Beinrohr

Dňa 11.02.2015 o 14:18 Elad Ben Aharon napísal(a):
It will require an available size according to the disk snapshot 
you're attempting to remove.




Be warned: the downtime will be as long as it will take your storage to 
copy the full size of the disk for each snaphot. Our server with a few 
snaps on 1TB disk took more than a day of downtime!


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Is it possible to limit the number and speed of paralel STORAGE migrations?

2015-04-21 Thread Ernest Beinrohr
Ovirt uses dd and qemu-img for live migration. Is it possible to limit 
the number of concurrent live storage moves or limit the bandwidth used?



I'd like to move about 30 disks to another storage during the night, but 
each takes about 30 minutes each and if more than one runs, it chokes my 
storage.


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Is it possible to limit the number and speed of paralel STORAGE migrations?

2015-04-22 Thread Ernest Beinrohr

Dňa 22.04.2015 o 13:09 Juan Hernández napísal(a):

# Iterate the disks of the VM and for each of them move it
# to the target storage domain:
for disk in vm.disks.list():
 # Start moving the disk. Note that this is an asynchronous
 # operation, so once the move method returns you will
 # have to wait for the actual movement to finish.
 print(Moving disk \%s\ ... % disk.get_alias())
 disk.move(
 params.Action(
 storage_domain=sd
 )
 )

This works nicely, thank you.

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Is it possible to limit the number and speed of paralel STORAGE migrations?

2015-04-22 Thread Ernest Beinrohr

Dňa 21.04.2015 o 17:33 Dan Yasny napísal(a):
Why not just script them to migrate one after the other? The CLI is 
nice and simple, and the SDK is even nicer
Well I gave it a try, but I'm quite new to python and this does not work 
as expected:


for vm in vms:
  print vm.name
  for disk in vm.disks.list( ):
print  disk:  + disk.name
sd = api.storagedomains.get('newstorage')
disk.move(params.Disk(storage_domains=params.StorageDomains(storage_domain=[sd])))


status: 500
reason: Internal Server Error
detail: HTTP Status 500 - Bad arguments passed to public abstract 
javax.ws.rs.core.Response 
org.ovirt.engine.api.resource.MovableResource.move(org.ovirt.engine.api.model.Action) 
( org.ovirt.engine.api.model.Disk org.ovirt.engine.api.model.Disk@6a0db58b )


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] how to enable spanning tree with parameters with ovirt 3.5 ?

2015-04-24 Thread Ernest Beinrohr
Hi, on my hosts I use 2 interfaces with 2 switches and bonding with 
active-backup config. Ovirt sets STP=off on all bridge networks and it 
is creating problems. Is it possible to set STP somehow?



--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] multipath.conf changes removed on host activation

2015-05-06 Thread Ernest Beinrohr

Dňa 06.05.2015 o 10:30 Rik Theys napísal(a):

Hi,

I have some specific device settings in multipath.conf for my storage 
box as it's not yet in the default settings of multipath for this device.


Upon activation of my host, the multipath.conf file is always replaced 
by the default version and my changes are lost.


How can I either prevent vdsm from touching the file, or merge my 
configuration?


This first line in multipath.conf prevents an update from vdsm on our 
systems:

# RHEV REVISION 1.1

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-agent: is it possible to run specific actions when taking snapshots?

2015-05-12 Thread Ernest Beinrohr
It would be nice, if ovirt snapshots were more safe. When a VM has the 
ovirt-agent installed, ovirt could tell the agent to run site-speficic 
actions. What I have in mind is:


linux vms:
- sync
- echo 3  /proc/sys/vm/drop_caches
- zerofill empty space (this takes long but saves precious backup space)

databases:
- prepare databases for snapshot (flush,write-lock)
- send snapshot-complete and unlock


--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 3.5.2 Hypervisor crash, guest VMs not migrating

2015-04-16 Thread Ernest Beinrohr

Dňa 17.04.2015 o 02:01 Ron V napísal(a):

Hello,

I am testing guest VM migration in the event of a host crash, and I am 
surprised to see that guests that are selected to be highly available 
do not migrate when a host is forcibly turned off.


I have a 2 host cluster using iSCSI for storage, and when one of the 
hosts, either the SPM or normal, is forcibly turned off, although the 
engine sees the host as non-responsive, the VMs that were running on 
it remain on that crashed host, and a question mark (?) appears next 
to them.  Other than checking highly available, is there another 
step that needs to be made for a VM to be restarted on a working host 
should the host it is running on fail?


Migration does not work when the host crashes. If you have fencing 
enabled, the engine can restart the dead host and start the vms on 
another host. This works for us. But you have to have power management 
for the hosts.

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Can I somehow disable vdsms restore_nets ?

2015-04-09 Thread Ernest Beinrohr
I use quite a lot of my own config and vdsm restores his version of 
/etc/sysconfig/network-scripts/ifcfg-* on each start. Can the 
restore_nets be disabled somehow?



--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Huge, unrotated /var/log/glusterfs/cli.log

2015-05-20 Thread Ernest Beinrohr

Does anyone else has these on their HVs?

I just dropped a new logrotate config, but I think ovirt need to lower 
the loglevel for gluster.



--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] how to pause a VM from rest-api?

2015-05-21 Thread Ernest Beinrohr
I'd like to pause a VM from rest-api. But the docs are not mentioning 
pause, only suspend. This works: URL/api/vms/ID/suspend and pause 
doesn't. Pausing from vdsClient works however, but I'd like to use rest-api:

  vdsClient -s host1 pause ID



--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] how to pause a VM from rest-api?

2015-05-21 Thread Ernest Beinrohr

Dňa 21.05.2015 o 16:07 Michal Skrivanek napísal(a):

As I do not have live-merge (iscsi  el6) I do my own backups. Now I 
wanted to emulate snapshots without creating them in ovirt. For that 
pause is essential.



is using vdsClient -s host1 pause ID safe?

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issue with kernel 2.6.32-573.3.1.el6.x86_64?

2015-11-30 Thread Ernest Beinrohr

On 23.10.2015 09:47, Giorgio Bersano wrote:

Hi Michael,
if you have the possibility to test with
kernel-2.6.32-504.16.2.el6.x86_64 and
kernel-2.6.32-504.23.4.el6.x86_64 please do it.


I have similar VLAN problems with kernels 573.7.1 and 573.8.1. On 2 of 
my hosts VLANs are not working. I use bonding and VLANs over the bond0. 
The problematic hosts use the "igb" network driver with "Intel 
Corporation I350 Gigabit Network Connection". Other hosts have working 
VLANs.


With .504. kernels everything works.


PS: https://www.centos.org/forums/viewtopic.php?f=16=54330
--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE 
<http://www.beinrohr.sk/rhce.php>, RHCVA 
<http://www.beinrohr.sk/rhce.php>, LPIC 
<http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] capture all serial output of all vms?

2016-01-29 Thread Ernest Beinrohr

Hi, is it possible to capture all serial output
and still have access to the serial console?

Our serial is made with the vdsm hook:
http://www.ovirt.org/Features/Serial_Console_in_CLI

and this is how we access it:
virsh -c qemu+tls://$HOST/system console $VM

--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE 
<http://www.beinrohr.sk/rhce.php>, RHCVA 
<http://www.beinrohr.sk/rhce.php>, LPIC 
<http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Monitoring disk I/O

2017-01-19 Thread Ernest Beinrohr

On 19.01.2017 21:42, Michael Watters wrote:

Does ovirt have any way to monitor disk I/O for each VM or disk in a
storage pool?  I am receiving disk latency warnings and would like to
know which VMs are causing the most disk I/O.

We have a homebrew IO vm monitoring, libvirt uses cgroups which record 
CPU and IO stats for each VM. It's a little tricky to follow the VM 
while it migrates, but once done, we have cpu and IO graphs for each VM.


Basicly for each hypervisor we periodicky poll cgroup info for all its VMs:

for vm in $vms
do
(
echo -n "$HOST:$vm:"
vm=${vm/-/x2d}
egrep -v "$IGNORED_REGEX" 
/sys/fs/cgroup/blkio/machine.slice/machine-qemu*$vm*/blkio.throttle.io_serviced 
| grep ^253:.*Read | cut -f3 -d " " | paste -sd+ | bc

echo -n ":"
egrep -v "$IGNORED_REGEX" 
/sys/fs/cgroup/blkio/machine.slice/machine-qemu*$vm*/blkio.throttle.io_serviced 
| grep ^253:.*Write | cut -f3 -d " " | paste -sd+ | bc

echo -n ":"
egrep -v "$IGNORED_REGEX" 
/sys/fs/cgroup/blkio/machine.slice/machine-qemu*$vm*/blkio.throttle.io_service_bytes 
| grep ^253:.*Read | cut -f3 -d " " | paste -sd+ | bc

echo -n ":"
egrep -v "$IGNORED_REGEX" 
/sys/fs/cgroup/blkio/machine.slice/machine-qemu*$vm*/blkio.throttle.io_service_bytes 
| grep ^253:.*Write | cut -f3 -d " " | paste -sd+ | bc

echo -n ":"
cat /sys/fs/cgroup/cpuacct/machine.slice/*$vm*/cpuacct.usage
) | tr -d '\n'
echo ""
done

and then we MRTG it.
--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE 
<http://www.beinrohr.sk/rhce.php>, RHCVA 
<http://www.beinrohr.sk/rhce.php>, LPIC 
<http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot change Cluster Compatibility Version when a VM is active

2016-09-23 Thread Ernest Beinrohr

On 23.09.2016 16:49, Bruckner, Simone wrote:


Hi all,

  I am trying to upgrade an oVirt installation (3.6.7.5-1.el6) to 4.0. 
My datacenters and clusters have 3.5 compatibility settings.


I just finished this. Only took about 2 weeks for 8 hosts ;) I had to do 
this:


3.5 -> 3.6

- upgrade engine to 3.6
- create a new cluster with CL 3.6
- for each host:
  - maintenance
  - reinstall to el7 + RPMs (yay for puppet)
  - add to new 3.6 cluster
  - activate
  - migrate some machines to new cluster (no way back!)
- elevate CL of old (empty) cluster to 3.6
- migrate everything back for each host

3.6 -> 4.0
- for each host:
  - maintenance
  - upgrade RPMS to 4.0
  - activate
- elevate CL to 4.0 (can be done with running VMs)

--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE 
<http://www.beinrohr.sk/rhce.php>, RHCVA 
<http://www.beinrohr.sk/rhce.php>, LPIC 
<http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] quick way to see total RAM and CPU count on VM listing

2016-10-25 Thread Ernest Beinrohr

On 29.09.2016 16:46, Nelson Lameiras wrote:

Hello oVirt community,

When listing virtual machines, is there a quick way to see how much 
RAM/CPU each machine has?


In oVirt 4.0.4, I can see ram/cpu usage in a very nice way, but I can 
not access easily the total RAM and number of CPUs.
The only way to find this information in GUI is to edit a vm and see 
the system tab (and that's when the "edit" context menu is available, 
which is not always)


Am I missing something?
This information is very usefull and sometimes critical (when 
migrating VM to hosts which are already low on free RAM, specially 
when balloning is involved)


I would like to see this information always on screen, like a 
(un)checkable column... does it seem doable ?
Maybe it would be possible to show it while hoovering the memory/cpu 
information with the mouse ?

You can vote for custom columns :)
https://bugzilla.redhat.com/show_bug.cgi?id=1021338

--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE 
<http://www.beinrohr.sk/rhce.php>, RHCVA 
<http://www.beinrohr.sk/rhce.php>, LPIC 
<http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backups take sooo long, how can I improve the situation, where is the bottleneck?

2017-01-08 Thread Ernest Beinrohr

On 05.01.2017 18:26, Florian Nolden wrote:

Hallo everyone,

I would like to update my Ovirt installation but, before that I would 
like to create proper VM backups. Currently I try to automate the 
backups and I use the implementation of the following project.

https://github.com/wefixit-AT/oVirtBackup

The problem is that ovirt does not support exporting from a snapshot. 
Because of that, the data is copied twice, first for the VM and then for 
export. you can wait for ovirt to support direct export. Or hack it like 
I have, and export the data yourself directly from the SPM via lvm.

--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE 
<http://www.beinrohr.sk/rhce.php>, RHCVA 
<http://www.beinrohr.sk/rhce.php>, LPIC 
<http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Bulk move vm disks?

2017-03-24 Thread Ernest Beinrohr

On 24.03.2017 11:11, gflwqs gflwqs wrote:

Hi list,
I need to move 600+ vms:from one data domain to another, however from 
what i can see in the GUI i can only move one vm disk at the time 
which would be very time consuming.


I there any way i can bulk move those vm disks?
By the way, I can't stop the vms they have to be online during the 
migration..



This is my python program:

# ... API init

vms= api.vms.list(query = 'vmname')

for vm in vms:
  print vm.name
  for disk in vm.disks.list( ):
print " disk: " + disk.name + " " + disk.get_alias()
sd = api.storagedomains.get('NEWSTORAGE')

try:
  disk.move(params.Action(storage_domain=sd))

  disk_id = disk.get_id()
  while True:
  print("Waiting for movement to complete ...")
  time.sleep(10)
  disk = vm.disks.get(id=disk_id)
  if disk.get_status().get_state() == "ok":
  break

except:
  print "Cannot move."

api.disconnect()



--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE 
<http://www.beinrohr.sk/rhce.php>, RHCVA 
<http://www.beinrohr.sk/rhce.php>, LPIC 
<http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Unable to start VM after 4.2 upgrade

2018-05-17 Thread Ernest Beinrohr
Hi, I updated my engine and 1 host to 4.2 from 4.1 and now I cannot 
start a VM and get this error:


"UnsupportedType: Unsupported {} for ioTune".

My other 6 4.1 hosts are able to start VM normally with the new 4.2 engine.


My VM has this inside: total_bytes_sec="0" total_iops_sec="0" write_bytes_sec="0" 
write_iops_sec="100"/>


error:

1.
   2018-05-17 14:30:38,006+0200 ERROR (vm/0d53dd5d) [virt.vm]
   (vmId='0d53dd5d-ef16-4763-bbdc-2dc173087bf5') The vm start process
   failed (vm:943)
2.
   Traceback (most recent call last):
3.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line
   872, in _startUnderlyingVm
4.
    self._run()
5.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line
   2882, in _run
6.
    self._domDependentInit()
7.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line
   2458, in _domDependentInit
8.
    self._vmDependentInit()
9.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line
   2495, in _vmDependentInit
10.
    self._sync_metadata()
11.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line
   5158, in _sync_metadata
12.
    self._md_desc.dump(self._dom)
13.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 509, in dump
14.
    md_xml = self._build_xml()
15.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 721, in _build_xml
16.
    md_elem = self._build_tree(namespace, namespace_uri)
17.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 711, in _build_tree
18.
    dev_elem = _dump_device(metadata_obj, data)
19.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 800, in _dump_device
20.
    elems.append(_dump_device_spec_params(md_obj, value))
21.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 866, in _dump_device_spec_params
22.
    spec_params_elem = md_obj.dump(_SPEC_PARAMS, **value)
23.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 229, in dump
24.
    _keyvalue_to_elem(self._add_ns(key), value, elem)
25.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 916, in _keyvalue_to_elem
26.
    raise UnsupportedType(key, value)
27.
   UnsupportedType: Unsupported {} for ioTune
28.
   2018-05-17 14:30:38,006+0200 INFO (vm/0d53dd5d) [virt.vm]
   (vmId='0d53dd5d-ef16-4763-bbdc-2dc173087bf5') Changed state to Down:
   Unsupported {} for ioTune (code=1) (vm:1683)
29.
   2018-05-17 14:30:38,007+0200 ERROR (vm/0d53dd5d) [root] FINISH
   thread  failed
   (concurrent:201)
30.
   Traceback (most recent call last):
31.
  File
   "/usr/lib/python2.7/site-packages/vdsm/common/concurrent.py", line
   194, in run
32.
    ret = func(*args, **kwargs)
33.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line
   944, in _startUnderlyingVm
34.
    self.setDownStatus(ERROR, vmexitreason.GENERIC_ERROR, str(e))
35.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line
   1685, in setDownStatus
36.
    self._update_metadata()
37.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line
   5145, in _update_metadata
38.
    self._sync_metadata()
39.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line
   5158, in _sync_metadata
40.
    self._md_desc.dump(self._dom)
41.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 509, in dump
42.
    md_xml = self._build_xml()
43.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 721, in _build_xml
44.
    md_elem = self._build_tree(namespace, namespace_uri)
45.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 711, in _build_tree
46.
    dev_elem = _dump_device(metadata_obj, data)
47.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 800, in _dump_device
48.
    elems.append(_dump_device_spec_params(md_obj, value))
49.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 866, in _dump_device_spec_params
50.
    spec_params_elem = md_obj.dump(_SPEC_PARAMS, **value)
51.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 229, in dump
52.
    _keyvalue_to_elem(self._add_ns(key), value, elem)
53.
  File "/usr/lib/python2.7/site-packages/vdsm/virt/metadata.py",
   line 916, in _keyvalue_to_elem
54.
    raise UnsupportedType(key, value)
55.
   UnsupportedType: Unsupported {} for ioTune
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Unable to start VM after 4.2 upgrade

2018-05-21 Thread Ernest Beinrohr

Filed under https://bugzilla.redhat.com/show_bug.cgi?id=1579909



On 18.05.2018 11:55, Francesco Romani wrote:

On 05/17/2018 02:58 PM, Ernest Beinrohr wrote:

Hi, I updated my engine and 1 host to 4.2 from 4.1 and now I cannot
start a VM and get this error:

"UnsupportedType: Unsupported {} for ioTune".

My other 6 4.1 hosts are able to start VM normally with the new 4.2
engine.

Please file a bug about this, make sure to report the error below.


--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE 
<http://www.beinrohr.sk/rhce.php>, RHCVA 
<http://www.beinrohr.sk/rhce.php>, LPIC 
<http://www.beinrohr.sk/lpic.php>, +421-2--6241-0360 
, +421-903--482-603 
icq:28153343, skype:oernii-work , 
jabber:oer...@jabber.org
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Hosts force fencing after engine upgrade 4.3->4.4

2022-11-21 Thread ernest . beinrohr
Hi, I was in the process of upgrading 4.3 to 4.4. First I upgraded the engine 
and the hosts are still 4.3. The engine has started fencing my hosts as there 
has been 1 (one) connection problem to VDSM on the host. I Basically, the 
engine at some random time connects to vdsm, this crashes (didnt on e4.3) and 
after a few seconds the engine issues a fencing and all my VMs are taken down 


This happend with multiple hosts at random times. Can this be attributed to the 
unmatched hosts? Or should I consider an engine restore to 4.3?


Engine ovirt-engine-4.4.10.7-1.el8.noarch:
2022-11-21 10:40:05,788+01 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.UploadStreamVDSCommand] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-16) 
[258de39e] Command 'UploadStreamVDSCommand(HostName = galador, 
UploadStreamVDSCommandParameters:{hostId='146456e8-02fd-4
ce0-9140-13032d9a52ca'})' execution failed: java.net.SocketException: 
Connection reset by peer (Write failed)


HOST vdsm-4.30.46-1.el7.x86_64:
2022-11-21 10:40:05,785+0100 ERROR (Reactor thread) [vds.dispatcher] uncaptured 
python exception, closing channel  (:object of type 'NoneType' has no len() [/usr>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FZFHGJLDVT4K2WBBW3OFFYT6FKJ3LDBM/


[ovirt-users] Is it possible to auto-start VMs on single LocalStorage host without the engine?

2022-11-25 Thread ernest . beinrohr
I currently use KVM/virsh for my DNS. I would like it to ovirt, but I need DNS 
started for the engine to work. So I need to start the DNS vm before the 
engine. Is that possible with ovirt? I was thinking I could use the same 
mechanism as hosted engine, as that would autostart.

In my current KVM setup I needed only to symlink /etc/libvirtd/qemu/dns.xml to 
/etc/libvirtd/qemu/autostart/ to get it to run. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JPREYFWDOYKCPIBL75QGSHCNNS333KMJ/


[ovirt-users] Re: TR: Re: [IMPORTANT] Upgrade to postgresql-jdbc-42.2.14-1 breaks oVirt Engine 4.4/4.5

2022-11-21 Thread ernest . beinrohr
I use RockyLinux for the engine. I had to use and versionlock this: 
https://vault.centos.org/centos/8/AppStream/aarch64/os/Packages/postgresql-jdbc-42.2.3-3.el8_2.noarch.rpm
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KP2XRDOZI5M3EYTUVZ3BCNBVYWO4VSIH/