[ovirt-users] Re: oVirt and Windows NFS

2019-05-14 Thread Pavel Gashev
Ron,

It works for preallocated disks only. So if you have a Microsoft powered 
storage, it's better to use Microsoft iSCSI.

Related links:
https://docs.microsoft.com/en-us/windows/desktop/fileio/sparse-files
https://bugzilla.redhat.com/1301713

On 14/05/2019, 01:31, "r...@prgstudios.com"  wrote:

Hi Everyone - Greetings from Detroit Michigan!

Has anyone had any luck with using oVirt to connect to a Windows Server 
running an NFS service?

I've made several attempts so far and am having problems getting the two to 
work together.  I was hoping someone had some hints (besides the obvious "use 
Linux" bit).

Thanks!

Ron
___
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/BH4KT3ODZYEGT5S6FGCPUZGZIGSAEQE4/


___
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/MGZVIQ3KVYOIL6QN6ERQNHP74AMQ6KJC/


[ovirt-users] Re: VM hangs after live migration

2018-10-13 Thread Pavel Gashev
 I believe there is an issue with online migration from qemu 2.6.0. I hit it 
too. Online migration from latest 2.6.0 to latest 2.9.0 worked with no random 
VM hangs for me.

On 11/10/2018, 07:58, "t HORIKOSHI"  wrote:

Hi, I'm using RHV.
When live migration of guest VM (CentOS 6) from RHV Host 4.0 to RHV Host 
4.2.6, it hung up immediately after migration.
When ssh login to the RHV Host and executing the top command, the CPU usage 
rate of the qemu - kvm process of the corresponding VM was close to 400%. (I 
assigned 4 CPUs to this VM)
To solve this hangup, there was only power off.
This problem has already occurred at 5 VM(kernel-2.6.32-504.3.3.el6, 
kernel-2.6.32-504.el6, kernel-2.6.32-358.14.1.el6, kernel-2.6.32-642.15.1.el6 
*2 )
This problem does not occur in guest OS VM, CentOS 7, ubuntu. 

Why does this problem occur?


[[Migration source host]]
OS Version: RHEL - 4.0 - 7.1.el7
OS Description: Red Hat Virtualization Host 4.0 (el7.3)
Kernel Version: 3.10.0 - 514.10.2.el7.x86_64
KVM Version: 2.6.0 - 28.el7_3.6
LIBVIRT Version: libvirt-2.0.0-10.el7_3.5
VDSM Version: vdsm-4.18.24-3.el7ev
SPICE Version: 0.12.4 - 20.el7_3
GlusterFS Version: [N/A]
CEPH Version: librbd1-0.94.5-1.el7
Kernel Features: N/A

CPU model: Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz
CPU Type: Intel Broadwell-noTSX Family

[[Migration destination host]]
OS Version: RHEL - 7.5 - 6.2.el7
OS Description: Red Hat Virtualization Host 4.2.6 (el7.5)
Kernel Version: 3.10.0 - 862.14.4.el7.x86_64
KVM Version: 2.10.0 - 21.el7_5.4
LIBVIRT Version: libvirt-3.9.0-14.el7_5.7
VDSM Version: vdsm-4.20.39.1-1.el7ev
SPICE Version: 0.14.0 - 2.el7_5.4
GlusterFS Version: glusterfs-3.8.4-54.15.el7rhgs
CEPH Version: librbd1-0.94.5-2.el7
Kernel Features: RETP: 1, IBRS: 0, PTI: 1

CPU model: Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz
CPU Type: Intel Broadwell-noTSX-IBRS Family

[[ /var/log/libvirt/qemu/web-001.log]]
2018-10-10 03:56:04.828+: starting up libvirt version: 3.9.0, package: 
14.el7_5.7 (Red Hat, Inc. , 
2018-07-27-12:56:56, x86-037.build.eng.bos.redhat.com), qemu version: 
2.10.0(qemu-kvm-rhev-2.10.0-21.el7_5.4), hostname: host-04
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin 
QEMU_AUDIO_DRV=spice /usr/libexec/qemu-kvm -name guest=web-001,debug-threads=on 
-S -object 
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-13-xyxon_verify_web-001/master-key.aes
 -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off,dump-guest-core=off -cpu 
SandyBridge -m size=12582912k,slots=16,maxmem=4294967296k -realtime mlock=off 
-smp 4,maxcpus=16,sockets=16,cores=1,threads=1 -numa 
node,nodeid=0,cpus=0-3,mem=12288 -uuid 9b038cf5-1913-42a1-adfe-3b1eb06d4611 
-smbios 'type=1,manufacturer=Red Hat,product=RHEV 
Hypervisor,version=7.2-20160711.0.el7ev,serial=7602B47E-E827-11E3-B8AB-6CAE8B08B02B,uuid=9b038cf5-1913-42a1-adfe-3b1eb06d4611'
 -no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-13-web-001/monitor.sock,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc 
base=2018-10-10T03:56:05,driftfix=slew -global kvm-pit.lost_tick_policy=delay 
-no-hpet -no-shutdo
 wn -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=0x4 -device 
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 -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,bootindex=2 -drive 
file=/rhev/data-center/0001-0001-0001-0001-0383/450774af-11c3-4ea0-9d42-845809159f51/images/36a3d651-6b37-4dab-b4aa-911dcf0218ad/9e89f573-6931-4beb-937b-d50e8af67aa6,format=qcow2,if=none,id=drive-virtio-disk0,serial=36a3d651-6b37-4dab-b4aa-911dcf0218ad,cache=none,werror=stop,rerror=stop,aio=native
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -netdev tap,fd=56,id=hostnet0,vhost=on,vhostfd=58 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:70,bus=pci.0,addr=0x3 
-netdev tap,fd=59,id=hostnet1,vhost=on,vhostfd=60 -device 
virtio-net-pci,netdev=hostnet1,id=net1,mac=00:1a:4a:16:01
 :71,bus=pci.0,addr=0x8 -chardev 
socket,id=charserial0,path=/var/run/ovirt-vmconsole-console/9b038cf5-1913-42a1-adfe-3b1eb06d4611.sock,server,nowait
 -device isa-serial,chardev=charserial0,id=serial0 -chardev 
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/9b038cf5-1913-42a1-adfe-3b1eb06d4611.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/9b038cf5-1913-42a1-adfe-3b1eb06d4611.org.qemu.guest_agent.0,server,nowait
 -device 

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

2018-03-04 Thread Pavel Gashev
Andrei,

You could try pNFS. It allows to access a data on a local storage directly 
bypassing NFS and even FS level.
Unfortunately, it requires SCSI Persistent Reservation feature so would not 
work all RAID controllers.

From:  on behalf of Yaniv Kaul 
Date: Monday, 26 February 2018 at 14:49
To: Andrei Verovski 
Cc: Ovirt Users 
Subject: Re: [ovirt-users] Q: VM disk speed penalty NFS vs Local data center 
storage



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] Ovirt 4.0 and EL 7.4

2017-10-05 Thread Pavel Gashev
Full /etc/sasl2/libvirt.conf:
mech_list: digest-md5
sasldb_path: /etc/libvirt/passwd.db

Also note that VDSM has to be patched to work on 7.4 with no issues. oVirt 3.6 
and 4.1 have required fixes, but oVirt 4.0 doesn’t. 

On 04/10/2017, 18:44, "users-boun...@ovirt.org on behalf of Alan Griffiths" 
 wrote:

That didn't seem to make any difference.

I can make it work by disabling authentication

auth_unix_rw="none"  in /etc/libvirt/libvirtd.conf

On 4 October 2017 at 15:05, VONDRA Alain  wrote:
> Hi,
> Did you modify your /etc/sasl2/libvirt.conf, because the update has 
modify the way to authenticate from md5 to gssapi.
>
> If not just change this line :
> mech_list: gssapi
> to
> mech_list: digest-md5
>
> And restart services
>
> As mentioned in the libvirt.conf file :
>
> # NB, previously DIGEST-MD5 was set as the default mechanism for
> # libvirt. Per RFC 6331 this is vulnerable to many serious security
> # flaws and should no longer be used. Thus GSSAPI is now the default.
> #
> # To use GSSAPI requires that a libvirtd service principal is
> # added to the Kerberos server for each host running libvirtd.
> # This principal needs to be exported to the keytab file listed below
>
> Alain
>
>
>
> Alain VONDRA
>
> Chargé d'Exploitation et de Sécurité des Systèmes d'Information
> Direction Administrative et Financière
> +33 1 44 39 77 76
>
> UNICEF France
> 3 rue Duguay Trouin  75006
> PARIS
> www.unicef.fr
> -Message d'origine-
> De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part 
de Alan Griffiths
> Envoyé : mercredi 4 octobre 2017 15:50
> À : Ovirt Users 
> Objet : [ovirt-users] Ovirt 4.0 and EL 7.4
>
> Hi,
>
> Is 4.0 supported/known to work on CentOS 7.4?
>
> I've just tried to upgrade one of the hosts in my lab from 7.3 to 7.4 and 
now vdsm-network fails to start with
>
> vdsm-tool: libvirt: XML-RPC error : authentication failed: authentication 
failed
>
> To even get this far I had to exclude gluster packages as 7.4 introduces 
3.8 but ovirt 4.0 repo is still on 3.7.
>
> So, more generally. If I'm on ovirt 4.0, gluster 3.7 and EL 7.3. What is 
the best ordering for getting to ovirt 4.1 and EL 7.4?
>
> Thanks,
>
> Alan
> ___
> 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] deprecating export domain?

2017-10-03 Thread Pavel Gashev
Shubham,

I hope you’re going to keep the Export feature at least as “Clone to another 
storage domain”. In the real life, the copy-in/copy-out is required for 
backups. Moving disks between Data SD and Backup SD is not a way to backup or 
restore. It’s often required to keep VM runnable during backing up, and it’s 
often required to keep a backup during restoring. Typical backup storage is not 
designed for running VMs directly. SSDs are not cheap enough for storing 
backups, and there are HDDs especially designed for storing cold data [1]. 
Thus, the disaster recovery scenario is a great feature, but it can’t be a 
recommended way to recover.

And I hope you are going to show VMs on backup storages in a separate list 
(“Backups” instead of “Virtual Machines”).

[1] http://www.seagate.com/enterprise-storage/hard-disk-drives/archive-hdd/

I hope this helps.

From: shubham dubey <sdubey...@gmail.com>
Date: Monday, 2 October 2017 at 19:10
To: Pavel Gashev <p...@acronis.com>
Cc: Maor Lipchuk <mlipc...@redhat.com>, "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] deprecating export domain?

Yes, I just gave an example case. If you want to use vms with a backup, then 
you can just copy that vm or disk into another domain and make it as backup 
domain as you do it in export domain.
In simple language, main aim of creating backup domain is just to use all the 
features available in export domain without creating a dedicated export domain.
Hope you understand now:)



On 2 Oct 2017 8:55 pm, "Pavel Gashev" 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Shubham,

I don’t really understand the process you described. If I need to backup the 
whole datacenter, you say I have to turn off all VMs, and make them 
non-runnable. It doesn’t look like a backing up. It looks like an archiving. 
But what if I need to keep my VMs running?


From: shubham dubey <sdubey...@gmail.com<mailto:sdubey...@gmail.com>>
Date: Monday, 2 October 2017 at 15:55
To: Charles Kozler <ckozler...@gmail.com<mailto:ckozler...@gmail.com>>
Cc: Pavel Gashev <p...@acronis.com<mailto:p...@acronis.com>>, users 
<users@ovirt.org<mailto:users@ovirt.org>>, Maor Lipchuk 
<mlipc...@redhat.com<mailto:mlipc...@redhat.com>>
Subject: Re: [ovirt-users] deprecating export domain?

Hi,
The backup storage domain is quite like export storage domain but with easy 
usability.
Since you can change any data domain into backup domain any time, you not need 
to create a dedicated
export storage domain for backup or disaster recovery purpose. Altough its 
working is same as export sd.
The process of backup can be as simple as this:
1) turn off all the vms in your storage domain
2) select backup flag to convert that into backup domain.
Once the domain is used for backup, you cannot make any changes to its vms, 
disk etc as mentioned by maor.
And yes, you can convert export sd to data domain using cli script but it is 
not required anymore.
If in future export storage domain get deprecated, you not need to be worry 
about that much since you can convert all your
export sd into data domain anytime and start using backup feature instead.
Regards,
Shubham


On Mon, Oct 2, 2017 at 6:04 PM, Charles Kozler 
<ckozler...@gmail.com<mailto:ckozler...@gmail.com>> wrote:
Thank you for clearing this up for me everyone. My concern that something like 
the export domain wasnt going to exist and it was just going to be deprecated 
with no alternative. Glad to hear all the news of the SD

On Mon, Oct 2, 2017 at 8:31 AM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Maor,

Could you please clarify, what would be the process of making backup of a 
running VM to an existing backup storage domain?

I’m asking because it looks like the process is going to be quite the same:
1. Clone VM from a snapshot
2. Move the cloned VM to a backup storage domain

An ability of choosing destination storage for cloned VMs would increase backup 
efficiency. On the other hand, an ability of exporting VM from a snapshot would 
increase the efficiency in the same way even without creating new entity.

Indeed, Backup SDs would increase efficiency of disaster recovery. But the same 
would be achieved by converting Export SDs to Data SDs using a small CLI 
utility.


On 01/10/2017, 15:32, "users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
on behalf of Maor Lipchuk" 
<users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on behalf of 
mlipc...@redhat.com<mailto:mlipc...@redhat.com>> wrote:

On Sun, Oct 1, 2017 at 2:50 PM, Nir Soffer 
<nsof...@redhat.com<mailto:nsof...@redhat.com>> wrote:
>
> Attaching and detaching data domain was not designed for backing up vms.
> How would you use it for backup?
>
> How do you ensure that a backup clone of a vm is no

Re: [ovirt-users] deprecating export domain?

2017-10-02 Thread Pavel Gashev
Shubham,

I don’t really understand the process you described. If I need to backup the 
whole datacenter, you say I have to turn off all VMs, and make them 
non-runnable. It doesn’t look like a backing up. It looks like an archiving. 
But what if I need to keep my VMs running?


From: shubham dubey <sdubey...@gmail.com>
Date: Monday, 2 October 2017 at 15:55
To: Charles Kozler <ckozler...@gmail.com>
Cc: Pavel Gashev <p...@acronis.com>, users <users@ovirt.org>, Maor Lipchuk 
<mlipc...@redhat.com>
Subject: Re: [ovirt-users] deprecating export domain?

Hi,
The backup storage domain is quite like export storage domain but with easy 
usability.
Since you can change any data domain into backup domain any time, you not need 
to create a dedicated
export storage domain for backup or disaster recovery purpose. Altough its 
working is same as export sd.
The process of backup can be as simple as this:
1) turn off all the vms in your storage domain
2) select backup flag to convert that into backup domain.
Once the domain is used for backup, you cannot make any changes to its vms, 
disk etc as mentioned by maor.
And yes, you can convert export sd to data domain using cli script but it is 
not required anymore.
If in future export storage domain get deprecated, you not need to be worry 
about that much since you can convert all your
export sd into data domain anytime and start using backup feature instead.
Regards,
Shubham


On Mon, Oct 2, 2017 at 6:04 PM, Charles Kozler 
<ckozler...@gmail.com<mailto:ckozler...@gmail.com>> wrote:
Thank you for clearing this up for me everyone. My concern that something like 
the export domain wasnt going to exist and it was just going to be deprecated 
with no alternative. Glad to hear all the news of the SD

On Mon, Oct 2, 2017 at 8:31 AM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Maor,

Could you please clarify, what would be the process of making backup of a 
running VM to an existing backup storage domain?

I’m asking because it looks like the process is going to be quite the same:
1. Clone VM from a snapshot
2. Move the cloned VM to a backup storage domain

An ability of choosing destination storage for cloned VMs would increase backup 
efficiency. On the other hand, an ability of exporting VM from a snapshot would 
increase the efficiency in the same way even without creating new entity.

Indeed, Backup SDs would increase efficiency of disaster recovery. But the same 
would be achieved by converting Export SDs to Data SDs using a small CLI 
utility.


On 01/10/2017, 15:32, "users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
on behalf of Maor Lipchuk" 
<users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on behalf of 
mlipc...@redhat.com<mailto:mlipc...@redhat.com>> wrote:

On Sun, Oct 1, 2017 at 2:50 PM, Nir Soffer 
<nsof...@redhat.com<mailto:nsof...@redhat.com>> wrote:
>
> Attaching and detaching data domain was not designed for backing up vms.
> How would you use it for backup?
>
> How do you ensure that a backup clone of a vm is not started by mistake,
> changing the backup contents?

That is a good question.
We recently introduced a new feature called "backup storage domain"
which you can mark the storage domain as backup storage domain.
That can guarantee that no VMs will run with disks/leases reside on
the storage domain.
The feature should already exist in oVirt 4.2 (despite a bug that
should be handled with this patch https://gerrit.ovirt.org/#/c/81290/)
You can find more information on this here:
  
https://github.com/shubham0d/ovirt-site/blob/41dcb0f1791d90d1ae0ac43cd34a399cfedf54d8/source/develop/release-management/features/storage/backup-storage-domain.html.md

Basically the OVF that is being saved in the export domain should be
similar to the same one that is being saved in the OVF_STORE disk in
the storage domain.
If the user manages replication on that storage domain it can be
re-used for backup purposes by importing it to a setup.
Actually it is much more efficient to use a data storage domain than
to use the copy operation to/from the export storage domain.

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



___
Users mailing list
Users@ovirt.org<mailto: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] deprecating export domain?

2017-10-02 Thread Pavel Gashev
Maor,

Could you please clarify, what would be the process of making backup of a 
running VM to an existing backup storage domain?

I’m asking because it looks like the process is going to be quite the same:
1. Clone VM from a snapshot
2. Move the cloned VM to a backup storage domain

An ability of choosing destination storage for cloned VMs would increase backup 
efficiency. On the other hand, an ability of exporting VM from a snapshot would 
increase the efficiency in the same way even without creating new entity. 

Indeed, Backup SDs would increase efficiency of disaster recovery. But the same 
would be achieved by converting Export SDs to Data SDs using a small CLI 
utility.


On 01/10/2017, 15:32, "users-boun...@ovirt.org on behalf of Maor Lipchuk" 
 wrote:

On Sun, Oct 1, 2017 at 2:50 PM, Nir Soffer  wrote:
>
> Attaching and detaching data domain was not designed for backing up vms.
> How would you use it for backup?
>
> How do you ensure that a backup clone of a vm is not started by mistake,
> changing the backup contents?

That is a good question.
We recently introduced a new feature called "backup storage domain"
which you can mark the storage domain as backup storage domain.
That can guarantee that no VMs will run with disks/leases reside on
the storage domain.
The feature should already exist in oVirt 4.2 (despite a bug that
should be handled with this patch https://gerrit.ovirt.org/#/c/81290/)
You can find more information on this here:
  
https://github.com/shubham0d/ovirt-site/blob/41dcb0f1791d90d1ae0ac43cd34a399cfedf54d8/source/develop/release-management/features/storage/backup-storage-domain.html.md

Basically the OVF that is being saved in the export domain should be
similar to the same one that is being saved in the OVF_STORE disk in
the storage domain.
If the user manages replication on that storage domain it can be
re-used for backup purposes by importing it to a setup.
Actually it is much more efficient to use a data storage domain than
to use the copy operation to/from the export storage domain.

>
> Nir
___
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] Different link speeds in LACP LAG?

2017-09-15 Thread Pavel Gashev
Chris,

Each network reconfiguration step would require some downtime. It makes sense 
to add 10G and remove 1G in single step.

On 14/09/2017, 01:21, "users-boun...@ovirt.org on behalf of Chris Adams" 
 wrote:

I have a small oVirt setup for one customer, with two servers each
connected to a two-switch stack with 1G links.  Now the customer would
like to upgrade the server links to 10G.  My question is this: can I add
a 10G NIC and do this with minimal "fuss" by just adding the 10G links
to the same LAG, then removing the 1G links?  I would have the host in
maintenance mode no matter what.

I haven't checked the switch to see if it'll support that yet, figured
I'd start on the oVirt side.

-- 
Chris Adams 
___
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] CBT question

2017-09-12 Thread Pavel Gashev
The dirty bitmap is already working well enough in QEMU 2.6. It can be used via 
LibVirt qemu-monitor-command. The only issue is that dirty bitmaps do not 
sustain VM restarts, snapshot creating/deleting, and VM live migration. 
However, this is not a big issue if you perform backups often than these 
operations. Since backups are in the qcow2 format, they can be placed on the 
Export storage, and restored directly from oVirt.

It would be relative simple to implement third-party backup solution, if disk 
locking mechanics was accessible via oVirt API. Implement this directly in 
oVirt would be even simpler as a Live Export feature, since dirty bitmaps work 
exactly like snapshots, and oVirt already has most of required logic.


From:  on behalf of Yaniv Kaul 
Date: Monday, 11 September 2017 at 17:14
To: Demeter Tibor 
Cc: users 
Subject: Re: [ovirt-users] CBT question



On Mon, Sep 11, 2017 at 4:17 PM, Demeter Tibor 
> wrote:
Dear Listmembers,

Somebody know when will be available the CBT (changed block tracking) feature 
in ovirt/rhev?

It has to be implemented first in QEMU - where it is still being worked on.
We plan to take advantage of it after it is ready in QEMU (and libvirt of 
course).

We looking for an usable backup solution for our ovirt guests, but I've see, 
there are some API limitation yet.

But nevertheless there are various backup solutions that can be used today, 
even if not as efficient as CBT.
Y.


Thanks in advance,
R

Tibor

___
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] Good practices

2017-08-08 Thread Pavel Gashev
Fernando,

I agree that RAID is not required here by common sense. The only point to setup 
RAID is a lack of manageability of GlusterFS. So you just buy manageability for 
extra hardware cost and write performance in some scenarios. That is it.

On 08/08/2017, 16:24, "users-boun...@ovirt.org on behalf of FERNANDO FREDIANI" 
 wrote:

That's something on the way RAID works, regardless what most 
'super-ultra' powerfull hardware controller you may have. RAID 5 or 6 
will never have the same write performance as a RAID 10 o 0 for example. 
Writeback caches can deal with bursts well but they have a limit 
therefore there will always be a penalty compared to what else you could 
have.

If you have a continuous stream of data (a big VM deployment or a large 
data copy) there will be a continuous write and that will likely fill up 
the cache making the disks underneath the bottleneck.
That's why on some other scenarios, like ZFS people have multiple groups 
of RAID 6 (called RAIDZ2) so it improves the write speeds for these type 
of scenarios.

In the scenario given in this thread with just 3 servers, each with a 
RAID 6 there will be a bare limit on the write performance specially for 
streammed data for most powerfull your hardware controller can do 
write-back.

Also I agree the 40Gb NICs may not be used fully and 10Gb can do the job 
well, but if they were available at the begining, why not use them.

Fernando


On 08/08/2017 03:16, Fabrice Bacchella wrote:
>> Le 8 août 2017 à 04:08, FERNANDO FREDIANI  a 
écrit :
>> Even if you have a Hardware RAID Controller with Writeback cache you 
will have a significant performance penalty and may not fully use all the 
resources you mentioned you have.
>>
> Nope again,from my experience with HP Smart Array and write back cache, 
write, that goes in the cache, are even faster that read that must goes to the 
disks. of course if the write are too fast and to big, they will over overflow 
the cache. But on todays controller they are multi-gigabyte cache, you must 
write a lot to fill them. And if you can afford 40Gb card, you can afford 
decent controller.
>
>
>

___
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] Host stuck unresponsive after Network Outage

2017-07-18 Thread Pavel Gashev
Anthony,

Output of “systemctl status -l vdsm-network” would help.


From:  on behalf of "Anthony.Fillmore" 

Date: Tuesday, 18 July 2017 at 18:13
To: "users@ovirt.org" 
Cc: "Brandon.Markgraf" , "Sandeep.Mendiratta" 

Subject: [ovirt-users] Host stuck unresponsive after Network Outage

Hey Ovirt Users and Team,

I have a host that I am unable to recover post a network outage.  The host is 
stuck in unresponsive mode, even though the host is on the network, able to SSH 
and seems to be healthy.  I’ve tried several things to recover the host in 
Ovirt, but have had no success so far.  I’d like to reach out to the community 
before blowing away and rebuilding the host.

Environment: I have an Ovengine server with about 26 Datacenters, with 2 to 3 
hosts per Datacenter.  My Ovengine server is hosted centrally, with my hosts 
being bare-metal and distributed throughout my environment.Ovengine is 
version 4.0.6.

What I’ve tried: put into maintenance mode, rebooted the host.  Confirmed host 
was rebooted and tried to active, goes back to unresponsive.   Attempted a 
reinstall, which fails.

Checking from the host perspective, I can see the following problems:

[boxname~]# systemctl status vdsmd
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
preset: enabled)
   Active: inactive (dead)

Jul 14 12:34:28 boxname systemd[1]: Dependency failed for Virtual Desktop 
Server Manager.
Jul 14 12:34:28 boxname systemd[1]: Job vdsmd.service/start failed with result 
'dependency'.

Going a bit deeper, the results of journalctl –xe:

[root@boxname ~]# journalctl -xe
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit libvirtd.service has begun shutting down.
Jul 18 09:07:31 boxname systemd[1]: Stopped Virtualization daemon.
-- Subject: Unit libvirtd.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit libvirtd.service has finished shutting down.
Jul 18 09:07:31 boxname systemd[1]: Reloading.
Jul 18 09:07:31 boxname systemd[1]: Binding to IPv6 address not available since 
kernel does not support IPv6.
Jul 18 09:07:31 boxname systemd[1]: [/usr/lib/systemd/system/rpcbind.socket:6] 
Failed to parse address value, ignoring: [::
Jul 18 09:07:31 boxname systemd[1]: Started Auxiliary vdsm service for running 
helper functions as root.
-- Subject: Unit supervdsmd.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit supervdsmd.service has finished starting up.
--
-- The start-up result is done.
Jul 18 09:07:31 boxname systemd[1]: Starting Auxiliary vdsm service for running 
helper functions as root...
-- Subject: Unit supervdsmd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit supervdsmd.service has begun starting up.
Jul 18 09:07:31 boxname systemd[1]: Starting Virtualization daemon...
-- Subject: Unit libvirtd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit libvirtd.service has begun starting up.
Jul 18 09:07:32 boxname systemd[1]: Started Virtualization daemon.
-- Subject: Unit libvirtd.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit libvirtd.service has finished starting up.
--
-- The start-up result is done.
Jul 18 09:07:32 boxname systemd[1]: Starting Virtual Desktop Server Manager 
network restoration...
-- Subject: Unit vdsm-network.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit vdsm-network.service has begun starting up.
lines 2751-2797/2797 (END)

Does the community have suggestions on what can be done next to recover this 
host within Ovirt?  I can provide additional log dumps as needed, please inform 
with what you need to assist further.

Thank you,
Tony

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


Re: [ovirt-users] Hosted Engine/NFS Troubles

2017-07-18 Thread Pavel Gashev
Phillip,

The relevant lines from the vdsm logs are the following:

jsonrpc.Executor/6::INFO::2017-07-17 
14:24:41,005::logUtils::49::dispatcher::(wrapper) Run and protect: 
connectStorageServer(domType=1, spUUID=u'----', 
conList=[{u'protocol
_version': 3, u'connection': u'192.168.1.21:/srv/ovirt', u'user': u'kvm', 
u'id': u'dbeb8ab4-849f-4728-8ee9-f891bb84ce2f'}], options=None)
jsonrpc.Executor/6::DEBUG::2017-07-17 
14:24:41,006::fileUtils::209::Storage.fileUtils::(createdir) Creating 
directory: /rhev/data-center/mnt/192.168.1.21:_srv_ovirt mode: None
jsonrpc.Executor/6::DEBUG::2017-07-17 
14:24:41,007::fileUtils::218::Storage.fileUtils::(createdir) Using existing 
directory: /rhev/data-center/mnt/192.168.1.21:_srv_ovirt
jsonrpc.Executor/6::INFO::2017-07-17 
14:24:41,007::mount::226::storage.Mount::(mount) mounting 
192.168.1.21:/srv/ovirt at /rhev/data-center/mnt/192.168.1.21:_srv_ovirt
jsonrpc.Executor/6::ERROR::2017-07-17 
14:26:46,098::hsm::2403::Storage.HSM::(connectStorageServer) Could not connect 
to storageServer
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/hsm.py", line 2400, in connectStorageServer
conObj.connect()
  File "/usr/share/vdsm/storage/storageServer.py", line 456, in connect
return self._mountCon.connect()
  File "/usr/share/vdsm/storage/storageServer.py", line 238, in connect
six.reraise(t, v, tb)
  File "/usr/share/vdsm/storage/storageServer.py", line 230, in connect
self._mount.mount(self.options, self._vfsType, cgroup=self.CGROUP)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 229, in 
mount
timeout=timeout, cgroup=cgroup)
  File "/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 53, in 
__call__
return callMethod()
  File "/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 51, in 

**kwargs)
  File "", line 2, in mount
  File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in 
_callmethod
raise convert_to_error(kind, result)
MountError: (32, ';mount.nfs: Connection timed out\n')


From:  on behalf of Phillip Bailey 

Date: Tuesday, 18 July 2017 at 13:48
To: Luca 'remix_tj' Lorenzetto 
Cc: users 
Subject: Re: [ovirt-users] Hosted Engine/NFS Troubles

On Mon, Jul 17, 2017 at 3:34 PM, Luca 'remix_tj' Lorenzetto 
> wrote:
On Mon, Jul 17, 2017 at 9:05 PM, Phillip Bailey 
> wrote:
> Hi,
>
> I'm having trouble with my hosted engine setup (v4.0) and could use some
> help. The problem I'm having is that whenever I try to add additional hosts
> to the setup via webadmin, the operation fails due to storage-related
> issues.
>
> webadmin shows the following error messages:
>
> "Host  cannot access the Storage Domain(s) hosted_storage
> attached to the Data Center Default. Setting Host state to Non-Operational.
> Failed to connect Host ovirt-node-1 to Storage Pool Default"
>

Hi Phillip,

your hosted engine storage is on nfs, right? Did you test if you can
mount manually on each host?
Hi Luca,

Yes, both storage domains are on NFS (v3) and I am able to successfully mount 
them manually on the hosts.

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 , 
>

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


Re: [ovirt-users] Bizzare oVirt network problem

2017-07-13 Thread Pavel Gashev
Fernando,

The issue can be triggered by a packet with the same source MAC address as VM 
has. If it’s received by network equipment from some different port, your VM 
could stop receiving network traffic.

There are two options. Either there is a network topology issue, or there is 
another VM with the same MAC address. The last is possible if you have another 
oVirt installation (testing? staging?) in the same network segment.


From: Fernando Frediani <fernando.fredi...@upx.com.br> on behalf of FERNANDO 
FREDIANI <fernando.fredi...@upx.com>
Date: Wednesday, 12 July 2017 at 23:10
To: Pavel Gashev <p...@acronis.com>, "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] Bizzare oVirt network problem


Hello Pavel

What you mean by another oVirt instance ? In one Datacenter it has 2 different 
clusters (or Datacenter in oVirt way of orrganizing things), but in the other 
Datacenter the oVirt Node is standlone.

Let me know.

Fernando

On 12/07/2017 16:49, Pavel Gashev wrote:
Fernando,

It looks like you have another oVirt instance in the same network segment(s). 
Don’t you?


From: <users-boun...@ovirt.org><mailto:users-boun...@ovirt.org> on behalf of 
FERNANDO FREDIANI <fernando.fredi...@upx.com><mailto:fernando.fredi...@upx.com>
Date: Wednesday, 12 July 2017 at 16:21
To: "users@ovirt.org"<mailto:users@ovirt.org> 
<users@ovirt.org><mailto:users@ovirt.org>
Subject: [ovirt-users] Bizzare oVirt network problem

Hello.

I am facing a pretty bizzare problem in two of my Nodes running oVirt. A given 
VM running a few hundred Mbps of traffic simply stops passing traffic and only 
recovers after a reboot. Checking the bridge with 'brctl showmacs BRIDGE' I see 
the VM's MAC address missing during this event.

It seems the bridge simply unlearn the VM's mac address which only returns when 
the VM is rebooted.
This problems happened in two different Nodes running in different hardware, in 
different datacenter, in different network architecture, different switch 
vendors and different bonding modes.

The main differences these Nodes have compared to others I have and which don't 
show this problem are:
- The CentOS 7 installed is a Minimal installation instead of oVirt-NG
- The Kernel used is 4.12 (elrepo) instead of the default 3.10
- The ovirtmgmt network is used also for the Virtual Machine showing this 
problem.

Has anyone have any idea if it may have anything to do with oVirt (any filters) 
or any of the components different from a oVirt-NG installation ?

Thanks
Fernando




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


Re: [ovirt-users] Bizzare oVirt network problem

2017-07-12 Thread Pavel Gashev
Fernando,

It looks like you have another oVirt instance in the same network segment(s). 
Don’t you?


From:  on behalf of FERNANDO FREDIANI 

Date: Wednesday, 12 July 2017 at 16:21
To: "users@ovirt.org" 
Subject: [ovirt-users] Bizzare oVirt network problem

Hello.

I am facing a pretty bizzare problem in two of my Nodes running oVirt. A given 
VM running a few hundred Mbps of traffic simply stops passing traffic and only 
recovers after a reboot. Checking the bridge with 'brctl showmacs BRIDGE' I see 
the VM's MAC address missing during this event.

It seems the bridge simply unlearn the VM's mac address which only returns when 
the VM is rebooted.
This problems happened in two different Nodes running in different hardware, in 
different datacenter, in different network architecture, different switch 
vendors and different bonding modes.

The main differences these Nodes have compared to others I have and which don't 
show this problem are:
- The CentOS 7 installed is a Minimal installation instead of oVirt-NG
- The Kernel used is 4.12 (elrepo) instead of the default 3.10
- The ovirtmgmt network is used also for the Virtual Machine showing this 
problem.

Has anyone have any idea if it may have anything to do with oVirt (any filters) 
or any of the components different from a oVirt-NG installation ?

Thanks
Fernando

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


Re: [ovirt-users] Dell firmware update problem

2017-06-23 Thread Pavel Gashev
This is a multipath issue. I’d suggest to stop multipathd service before 
applying Dell updates. This will not affect currently running multipath devices.

On 23/06/2017, 13:32, "users-boun...@ovirt.org on behalf of Davide Ferrari" 
 wrote:

Hello


I'm trying to update the BIOS firmware on a Dell PowerEdge with CentOS 
(just upgraded to 7.3) running oVirt 4.0 and it fails with an error

mount: /dev/sdb is already mounted or /tmp/SECUPD busy

The problem is acknoleged by Red Hat and there is a solution for it

https://access.redhat.com/solutions/2671581

but well, I have no RH subscriptions :( Has anyone here encountered the 
same problem with CentOS and oVirt? Any hint?


Thanks!

-- 

Davide

___
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] Migrating oVirt cluster from 4.0 to 4.1

2017-06-12 Thread Pavel Gashev
Karli,

Almost everything can be updated without system reboot. Even kernel, see 
http://KernelCare.com/


From: Karli Sjöberg <ka...@inparadise.se>
Date: Monday, 12 June 2017 at 20:35
To: Pavel Gashev <p...@acronis.com>
Cc: Tomas Jelinek <tjeli...@redhat.com>, users <users@ovirt.org>
Subject: Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1



Den 12 juni 2017 6:31 em skrev Pavel Gashev <p...@acronis.com>:

Tomas,



Since the restart is not actually required in my case, what if I set 
compatibility version in the DB directly to make the engine happy?



I have no plans to restart my VMs in this year.

Sorry for butting in, this has nothing to do with the subject but are you 
seriously _not_ going to the restart your VM's this year?

If so, then how are you handling patching/upgrading of them? Because if you 
aren't, you are going to have bigger problems than we can help you with:)

Just my two cents

/K


And I don’t want to block online updating of VM parameters by the “next run 
configuration”.





From: Tomas Jelinek <tjeli...@redhat.com>
Date: Monday, 12 June 2017 at 16:42
To: Pavel Gashev <p...@acronis.com>
Cc: James <ja...@jloh.co>, users <users@ovirt.org>
Subject: Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1







On Mon, Jun 12, 2017 at 2:12 PM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:

Can I update VMs compatibility version without restarting VMs?



yes, but it will be applied only after restart.





According to the source code, restarting is required during upgrading to 4.1 
only if a VM uses random generator device. If it doesn’t, a restart is not 
really required.



right, but the VM will still be marked with this "next run configuration" and 
will be set to have the old compatibility version.







From: <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>> on behalf of 
Tomas Jelinek <tjeli...@redhat.com<mailto:tjeli...@redhat.com>>
Date: Monday, 12 June 2017 at 14:15
To: James <ja...@jloh.co<mailto:ja...@jloh.co>>
Cc: users <users@ovirt.org<mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1







On Mon, Jun 12, 2017 at 12:17 PM, James <ja...@jloh.co<mailto:ja...@jloh.co>> 
wrote:

We recently moved our oVirt cluster from 4.0 to 4.1 and have migrated
all the hosts. The datacenter currently has a compatability setting of
4.1 but the cluster is still on 4.0. As cross-cluster migrations has
been removed (no option anymore?) we aren't 100% sure how to get the
cluster onto 4.1 whilst keeping the VMs online. Do we just change the
compatibility version live and it "just works" or do we have to have
downtime?



yes, you just change the compatibility version. The VMs which are down will be 
automatically updated and work with the new cluster, the running ones will be 
marked with a "triangle" icon and will be automatically updated on restart of 
them.



Any info would be great!

Regards,
James
___
Users mailing list
Users@ovirt.org<mailto: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] Migrating oVirt cluster from 4.0 to 4.1

2017-06-12 Thread Pavel Gashev
Tomas,

Since the restart is not actually required in my case, what if I set 
compatibility version in the DB directly to make the engine happy?

I have no plans to restart my VMs in this year. And I don’t want to block 
online updating of VM parameters by the “next run configuration”.


From: Tomas Jelinek <tjeli...@redhat.com>
Date: Monday, 12 June 2017 at 16:42
To: Pavel Gashev <p...@acronis.com>
Cc: James <ja...@jloh.co>, users <users@ovirt.org>
Subject: Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1



On Mon, Jun 12, 2017 at 2:12 PM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Can I update VMs compatibility version without restarting VMs?

yes, but it will be applied only after restart.


According to the source code, restarting is required during upgrading to 4.1 
only if a VM uses random generator device. If it doesn’t, a restart is not 
really required.

right, but the VM will still be marked with this "next run configuration" and 
will be set to have the old compatibility version.



From: <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>> on behalf of 
Tomas Jelinek <tjeli...@redhat.com<mailto:tjeli...@redhat.com>>
Date: Monday, 12 June 2017 at 14:15
To: James <ja...@jloh.co<mailto:ja...@jloh.co>>
Cc: users <users@ovirt.org<mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1



On Mon, Jun 12, 2017 at 12:17 PM, James <ja...@jloh.co<mailto:ja...@jloh.co>> 
wrote:
We recently moved our oVirt cluster from 4.0 to 4.1 and have migrated
all the hosts. The datacenter currently has a compatability setting of
4.1 but the cluster is still on 4.0. As cross-cluster migrations has
been removed (no option anymore?) we aren't 100% sure how to get the
cluster onto 4.1 whilst keeping the VMs online. Do we just change the
compatibility version live and it "just works" or do we have to have
downtime?

yes, you just change the compatibility version. The VMs which are down will be 
automatically updated and work with the new cluster, the running ones will be 
marked with a "triangle" icon and will be automatically updated on restart of 
them.


Any info would be great!

Regards,
James
___
Users mailing list
Users@ovirt.org<mailto: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] Migrating oVirt cluster from 4.0 to 4.1

2017-06-12 Thread Pavel Gashev
Can I update VMs compatibility version without restarting VMs?

According to the source code, restarting is required during upgrading to 4.1 
only if a VM uses random generator device. If it doesn’t, a restart is not 
really required.


From:  on behalf of Tomas Jelinek 
Date: Monday, 12 June 2017 at 14:15
To: James 
Cc: users 
Subject: Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1



On Mon, Jun 12, 2017 at 12:17 PM, James > 
wrote:
We recently moved our oVirt cluster from 4.0 to 4.1 and have migrated
all the hosts. The datacenter currently has a compatability setting of
4.1 but the cluster is still on 4.0. As cross-cluster migrations has
been removed (no option anymore?) we aren't 100% sure how to get the
cluster onto 4.1 whilst keeping the VMs online. Do we just change the
compatibility version live and it "just works" or do we have to have
downtime?

yes, you just change the compatibility version. The VMs which are down will be 
automatically updated and work with the new cluster, the running ones will be 
marked with a "triangle" icon and will be automatically updated on restart of 
them.


Any info would be great!

Regards,
James
___
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 storage domains to Node Hosted Engine

2017-05-30 Thread Pavel Gashev
I believe the deadlock described in the article is nearly impossible when VM 
disk caching is disabled (by default).

Anyway, there is a solution to avoid loopback NFS:
https://gerrit.ovirt.org/#/c/68822/10

On 30/05/2017, 17:55, "users-boun...@ovirt.org on behalf of Derek Atkins" 
 wrote:

Hi,

Simone Tiraboschi  writes:

> 5. When I install Hosted Engine from the Node web interface, I select 
NFS4
> for the storage and provide the correct host:/path.  Other than that, 
and
> setting up static network details and email details, I follow the 
default
> prompts of the Hosted Engine setup.
>
> AFAIK loopback mount an NFS share could lead to deadlocks: 
> https://lwn.net/Articles/595652/

This article is from 2014.  Are you saying that this issue hasn't been
fixed in the intervening three years?

FWIW I'm running with Loopback NFS on my single-host Ovirt 4.0.6 system
and it's been running happily for a while now.  I would have happily
used a local filesystem, but the hosted-engine code wouldn't let me.
Setting up loopback NFS was easier than trying to learn GlusterFS and
figure out how to loopback Gluster.

On the other hand, my system does have 256GB of RAM, with only about 50%
being used, so that also might work in my favor.

-derek
-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
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 redundancy in Ovirt

2017-04-18 Thread Pavel Gashev
On Tue, 2017-04-18 at 17:19 +, Nir Soffer wrote:
On Tue, Apr 18, 2017 at 12:23 AM Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:

Nir,

A process can chdir into mount point and then lazy umount it. Filesystem 
remains mounted while the process exists and current directory is on mounted 
filesystem.

# struncate -s 1g masterfs.img
# mkfs.ext4 masterfs.img
# mkdir masterfs
# mount -o loop masterfs.img masterfs
# cd masterfs
# umount -l .
# touch file
# ls
# cd ..
# ls masterfs

Interesting idea!

The only issue I see if not having a way to tell if the file system was actually
unmounted. Does process termination guarantee that the file system was
unmounted?

You can double check that by deactivating underlying LV. It should not be busy.

As I understand it unmounts FS as soon as all inodes are closed. Since killing 
of process is closing all open inodes, you can be sure that file system is 
unmounted if there are no other processes. Of course this is a place for race 
conditions. For example, unmounting can be stuck some time if underlying 
storage is unresponsive. Multipath should drop all IOs with EIO. VDSM has to 
wait enough time after acquiring the lock before mounting masterfs.

Do you know if the behaviour is documented somewhere?

umount(8):

-l, --lazy
Lazy unmount.  Detach the filesystem from the filesystem hierarchy now, and 
cleanup all references to the filesystem as soon as it is not busy anymore.  
(Requires kernel 2.4.11 or later.)


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


Re: [ovirt-users] massive simultaneous vms migrations ?

2017-04-18 Thread Pavel Gashev
VDSM has the following config option:

# Maximum concurrent outgoing migrations
# max_outgoing_migrations = 2

On Tue, 2017-04-18 at 18:48 +0200, Nelson Lameiras wrote:
hello,

When putting a host on "maintenance mode", all vms start migrating to other 
hosts.

We have some hosts that have 60 vms. So this will create a 60 vms migrating 
simultaneously.
Some vms are under so much heavy loads that migration fails often (our guess is 
that massive simultaneous migrations does not help migration convergence) - 
even with "suspend workload if needed" migraton policy.

- Does oVirt really launches 60 simultaneous migrations or is there a queuing 
system ?
- If there is a queuing system, is there a way to configure a maximum number of 
simultaneous migrations ?

I did see a "migration bandwidth limit", but this is quite what we are looking 
for.

my setup:
ovirt-engine +hosted engine 4.1.1
hosts : centos 7.3 fully updated.

for full context to understand this question : 2 times in the past, when trying 
to put a host in maintenance, host stopped responding during massive migrations 
and was fenced by engine. It's still unclear why host stopped responding, but 
we think that migrating 60+ vms simultaneously puts a heavy strain on storage ? 
So we would like to better control migration process in order to better 
understand what's happening. This scenario is "production only" since our labs 
do not contain nearly as much vm with such heavy loads. So rather than trying 
to reproduce, we are trying to avoid ;)

cordialement, regards,

[cid:1492535709.17056.4.camel@acronis.com]

Nelson LAMEIRAS
Ingénieur Systèmes et Réseaux / Systems and Networks engineer
Tel: +33 5 32 09 09 70
nelson.lamei...@lyra-network.com

www.lyra-network.com | 
www.payzen.eu


[cid:1492535709.17056.3.camel@acronis.com]
[cid:1492535709.17056.2.camel@acronis.com] 

[cid:1492535709.17056.1.camel@acronis.com] 

[cid:1492535709.17056.0.camel@acronis.com] 



Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE



___
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 redundancy in Ovirt

2017-04-17 Thread Pavel Gashev
Nir,

A process can chdir into mount point and then lazy umount it. Filesystem 
remains mounted while the process exists and current directory is on mounted 
filesystem.

# struncate -s 1g masterfs.img
# mkfs.ext4 masterfs.img
# mkdir masterfs
# mount -o loop masterfs.img masterfs
# cd masterfs
# umount -l .
# touch file
# ls
# cd ..
# ls masterfs


From: Nir Soffer <nsof...@redhat.com>
Sent: Apr 17, 2017 8:40 PM
To: Adam Litke; Pavel Gashev
Cc: users
Subject: Re: [ovirt-users] storage redundancy in Ovirt

On Mon, Apr 17, 2017 at 6:54 PM Adam Litke 
<ali...@redhat.com<mailto:ali...@redhat.com>> wrote:
On Mon, Apr 17, 2017 at 11:04 AM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Adam,

You know, Sanlock has recovery mechanism that kills VDSM, or even triggers 
Watchdog to reboot SPM host in case it has lost the SPM lock.
I’m asking because I had issues with my master storage that caused SPM host to 
reboot by Watchdog. And I was sure that it’s an intended behaviour. Isn’t it?

Yes of course.  But an SPM host can fail but still maintain its connection to 
the storage lease.  In this case still you need classic fencing.

Something new we are investigating is the use of sanlock's request feature 
which allows a new host to take the lease away from the current holder.  The 
current holder would be fenced by sanlock (watchdog if necessary) and only once 
the lease is free would it be granted to the new requester.

We can use the SPM lease to kill vdsm on the non-responsive SPM host,
and start the SPM on another host, similar to the way we handle vms with
a lease.

But this does not help with the masterfs mounted on the SPM host. if vdsm
is killed before it unmount it, strating the SPM on another host (and mounting
the msasterfs on the new host) will corrupt the masterfs.

When using file based storage (nfs, glusterfs) we don't have a masterfs so
killing vdsm on the SPM should be good enough to start the SPM on another
host, even if fencing is not possible.

We can start with enabling sanlock based SPM fencing on file based storage.

Nir




From: Adam Litke <ali...@redhat.com<mailto:ali...@redhat.com>>
Date: Monday, 17 April 2017 at 17:32
To: Pavel Gashev <p...@acronis.com<mailto:p...@acronis.com>>
Cc: Nir Soffer <nsof...@redhat.com<mailto:nsof...@redhat.com>>, users 
<users@ovirt.org<mailto:users@ovirt.org>>

Subject: Re: [ovirt-users] storage redundancy in Ovirt



On Mon, Apr 17, 2017 at 9:26 AM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Nir,

Isn’t SPM managed via Sanlock? I believe there is no need to fence SPM host. 
Especially if there are no SPM tasks running.

It's true that the exclusivity of the SPM role is enforced by Sanlock but you 
always need to fence a non-responsive SPM because there is no way to guarantee 
that the host is not still manipulating storage (eg. LV extensions) and we must 
ensure that only one host has the masterfs on the master storage domain mounted.



From: <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>> on behalf of 
Nir Soffer <nsof...@redhat.com<mailto:nsof...@redhat.com>>
Date: Monday, 17 April 2017 at 16:06
To: Konstantin Raskoshnyi <konra...@gmail.com<mailto:konra...@gmail.com>>, Dan 
Yasny <dya...@gmail.com<mailto:dya...@gmail.com>>
Cc: users <users@ovirt.org<mailto:users@ovirt.org>>, FERNANDO FREDIANI 
<fernando.fredi...@upx.com<mailto:fernando.fredi...@upx.com>>
Subject: Re: [ovirt-users] storage redundancy in Ovirt

On Mon, Apr 17, 2017 at 8:24 AM Konstantin Raskoshnyi 
<konra...@gmail.com<mailto:konra...@gmail.com>> wrote:
But actually, it didn't work well. After main SPM host went down I see this


2017-04-17 05:23:15,554Z ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (DefaultQuartzScheduler5) 
[4dcc033d-26bf-49bb-bfaa-03a970dbbec1] SPM Init: could not find reported vds or 
not up - pool: 'STG' vds_spm_id: '1'
2017-04-17 05:23:15,567Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (DefaultQuartzScheduler5) 
[4dcc033d-26bf-49bb-bfaa-03a970dbbec1] SPM selection - vds seems as spm 'tank5'
2017-04-17 05:23:15,567Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (DefaultQuartzScheduler5) 
[4dcc033d-26bf-49bb-bfaa-03a970dbbec1] spm vds is non responsive, stopping spm 
selection.

So that means only if BMC is up it's possible to automatically switch  SPM host?

BMC?

If your SPM is no responsive, the system will try to fence it. Did you
configure power management for all hosts? did you check that it
work? How did you simulate non-responsive host?

If power management is not configured or fail, the system cannot
move the spm to another host, unless you manually confirm that the
SPM host was rebooted.

Nir


Thanks

On Sun, Apr 16, 2017 at 8:29 PM, Konstantin Raskoshnyi 

Re: [ovirt-users] storage redundancy in Ovirt

2017-04-17 Thread Pavel Gashev
Adam,

You know, Sanlock has recovery mechanism that kills VDSM, or even triggers 
Watchdog to reboot SPM host in case it has lost the SPM lock.
I’m asking because I had issues with my master storage that caused SPM host to 
reboot by Watchdog. And I was sure that it’s an intended behaviour. Isn’t it?


From: Adam Litke <ali...@redhat.com>
Date: Monday, 17 April 2017 at 17:32
To: Pavel Gashev <p...@acronis.com>
Cc: Nir Soffer <nsof...@redhat.com>, users <users@ovirt.org>
Subject: Re: [ovirt-users] storage redundancy in Ovirt



On Mon, Apr 17, 2017 at 9:26 AM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Nir,

Isn’t SPM managed via Sanlock? I believe there is no need to fence SPM host. 
Especially if there are no SPM tasks running.

It's true that the exclusivity of the SPM role is enforced by Sanlock but you 
always need to fence a non-responsive SPM because there is no way to guarantee 
that the host is not still manipulating storage (eg. LV extensions) and we must 
ensure that only one host has the masterfs on the master storage domain mounted.



From: <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>> on behalf of 
Nir Soffer <nsof...@redhat.com<mailto:nsof...@redhat.com>>
Date: Monday, 17 April 2017 at 16:06
To: Konstantin Raskoshnyi <konra...@gmail.com<mailto:konra...@gmail.com>>, Dan 
Yasny <dya...@gmail.com<mailto:dya...@gmail.com>>
Cc: users <users@ovirt.org<mailto:users@ovirt.org>>, FERNANDO FREDIANI 
<fernando.fredi...@upx.com<mailto:fernando.fredi...@upx.com>>
Subject: Re: [ovirt-users] storage redundancy in Ovirt

On Mon, Apr 17, 2017 at 8:24 AM Konstantin Raskoshnyi 
<konra...@gmail.com<mailto:konra...@gmail.com>> wrote:
But actually, it didn't work well. After main SPM host went down I see this


2017-04-17 05:23:15,554Z ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (DefaultQuartzScheduler5) 
[4dcc033d-26bf-49bb-bfaa-03a970dbbec1] SPM Init: could not find reported vds or 
not up - pool: 'STG' vds_spm_id: '1'
2017-04-17 05:23:15,567Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (DefaultQuartzScheduler5) 
[4dcc033d-26bf-49bb-bfaa-03a970dbbec1] SPM selection - vds seems as spm 'tank5'
2017-04-17 05:23:15,567Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (DefaultQuartzScheduler5) 
[4dcc033d-26bf-49bb-bfaa-03a970dbbec1] spm vds is non responsive, stopping spm 
selection.

So that means only if BMC is up it's possible to automatically switch  SPM host?

BMC?

If your SPM is no responsive, the system will try to fence it. Did you
configure power management for all hosts? did you check that it
work? How did you simulate non-responsive host?

If power management is not configured or fail, the system cannot
move the spm to another host, unless you manually confirm that the
SPM host was rebooted.

Nir


Thanks

On Sun, Apr 16, 2017 at 8:29 PM, Konstantin Raskoshnyi 
<konra...@gmail.com<mailto:konra...@gmail.com>> wrote:
Oh, fence agent works fine if I select ilo4,
Thank you for your help!

On Sun, Apr 16, 2017 at 8:22 PM Dan Yasny 
<dya...@gmail.com<mailto:dya...@gmail.com>> wrote:
On Sun, Apr 16, 2017 at 11:19 PM, Konstantin Raskoshnyi 
<konra...@gmail.com<mailto:konra...@gmail.com>> wrote:
Makes sense.
I was trying to set it up, but doesn't work with our staging hardware.
We have old ilo100, I'll try again.
Thanks!


It is absolutely necessary for any HA to work properly. There's of course the 
"confirm host has been shutdown" option, which serves as an override for the 
fence command, but it's manual

On Sun, Apr 16, 2017 at 8:18 PM Dan Yasny 
<dya...@gmail.com<mailto:dya...@gmail.com>> wrote:
On Sun, Apr 16, 2017 at 11:15 PM, Konstantin Raskoshnyi 
<konra...@gmail.com<mailto:konra...@gmail.com>> wrote:
Fence agent under each node?

When you configure a host, there's the power management tab, where you need to 
enter the bmc details for the host. If you don't have fencing enabled, how do 
you expect the system to make sure a host running a service is actually down 
(and it is safe to start HA services elsewhere), and not, for example, just 
unreachable by the engine? How do you avoid a splitbraid -> SBA ?


On Sun, Apr 16, 2017 at 8:14 PM Dan Yasny 
<dya...@gmail.com<mailto:dya...@gmail.com>> wrote:
On Sun, Apr 16, 2017 at 11:13 PM, Konstantin Raskoshnyi 
<konra...@gmail.com<mailto:konra...@gmail.com>> wrote:
"Corner cases"?
I tried to simulate crash of SPM server and ovirt kept trying to reistablished 
connection to the failed node.

Did you configure fencing?



On Sun, Apr 16, 2017 at 8:10 PM Dan Yasny 
<dya...@gmail.com<mailto:dya...@gmail.com>> wrote:
On Sun, Apr 16, 2017 at 7:29 AM, Nir Soffer 
<nsof...@redhat.com<mailto:nsof...@redhat.com>> wrote:
On Sun, Apr 16, 2017 at 2

Re: [ovirt-users] storage redundancy in Ovirt

2017-04-17 Thread Pavel Gashev
Nir,

Isn’t SPM managed via Sanlock? I believe there is no need to fence SPM host. 
Especially if there are no SPM tasks running.


From:  on behalf of Nir Soffer 
Date: Monday, 17 April 2017 at 16:06
To: Konstantin Raskoshnyi , Dan Yasny 
Cc: users , FERNANDO FREDIANI 
Subject: Re: [ovirt-users] storage redundancy in Ovirt

On Mon, Apr 17, 2017 at 8:24 AM Konstantin Raskoshnyi 
> wrote:
But actually, it didn't work well. After main SPM host went down I see this


2017-04-17 05:23:15,554Z ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (DefaultQuartzScheduler5) 
[4dcc033d-26bf-49bb-bfaa-03a970dbbec1] SPM Init: could not find reported vds or 
not up - pool: 'STG' vds_spm_id: '1'
2017-04-17 05:23:15,567Z INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (DefaultQuartzScheduler5) 
[4dcc033d-26bf-49bb-bfaa-03a970dbbec1] SPM selection - vds seems as spm 'tank5'
2017-04-17 05:23:15,567Z WARN  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy] (DefaultQuartzScheduler5) 
[4dcc033d-26bf-49bb-bfaa-03a970dbbec1] spm vds is non responsive, stopping spm 
selection.

So that means only if BMC is up it's possible to automatically switch  SPM host?

BMC?

If your SPM is no responsive, the system will try to fence it. Did you
configure power management for all hosts? did you check that it
work? How did you simulate non-responsive host?

If power management is not configured or fail, the system cannot
move the spm to another host, unless you manually confirm that the
SPM host was rebooted.

Nir


Thanks

On Sun, Apr 16, 2017 at 8:29 PM, Konstantin Raskoshnyi 
> wrote:
Oh, fence agent works fine if I select ilo4,
Thank you for your help!

On Sun, Apr 16, 2017 at 8:22 PM Dan Yasny 
> wrote:
On Sun, Apr 16, 2017 at 11:19 PM, Konstantin Raskoshnyi 
> wrote:
Makes sense.
I was trying to set it up, but doesn't work with our staging hardware.
We have old ilo100, I'll try again.
Thanks!


It is absolutely necessary for any HA to work properly. There's of course the 
"confirm host has been shutdown" option, which serves as an override for the 
fence command, but it's manual

On Sun, Apr 16, 2017 at 8:18 PM Dan Yasny 
> wrote:
On Sun, Apr 16, 2017 at 11:15 PM, Konstantin Raskoshnyi 
> wrote:
Fence agent under each node?

When you configure a host, there's the power management tab, where you need to 
enter the bmc details for the host. If you don't have fencing enabled, how do 
you expect the system to make sure a host running a service is actually down 
(and it is safe to start HA services elsewhere), and not, for example, just 
unreachable by the engine? How do you avoid a splitbraid -> SBA ?


On Sun, Apr 16, 2017 at 8:14 PM Dan Yasny 
> wrote:
On Sun, Apr 16, 2017 at 11:13 PM, Konstantin Raskoshnyi 
> wrote:
"Corner cases"?
I tried to simulate crash of SPM server and ovirt kept trying to reistablished 
connection to the failed node.

Did you configure fencing?



On Sun, Apr 16, 2017 at 8:10 PM Dan Yasny 
> wrote:
On Sun, Apr 16, 2017 at 7:29 AM, Nir Soffer 
> wrote:
On Sun, Apr 16, 2017 at 2:05 PM Dan Yasny 
> wrote:


On Apr 16, 2017 7:01 AM, "Nir Soffer" 
> wrote:
On Sun, Apr 16, 2017 at 4:17 AM Dan Yasny 
> wrote:
When you set up a storage domain, you need to specify a host to perform the 
initial storage operations, but once the SD is defined, it's details are in the 
engine database, and all the hosts get connected to it directly. If the first 
host you used to define the SD goes down, all other hosts will still remain 
connected and work. SPM is an HA service, and if the current SPM host goes 
down, SPM gets started on another host in the DC. In short, unless your actual 
NFS exporting host goes down, there is no outage.

There is no storage outage, but if you shutdown the spm host, the spm host
will not move to a new host until the spm host is online again, or you confirm
manually that the spm host was rebooted.

In a properly configured setup the SBA should take care of that. That's the 
whole point of HA services

In some cases like power loss or hardware failure, there is no way to start
the spm host, and the system cannot recover automatically.

There are always corner cases, no doubt. But in a normal situation. where an 
SPM host goes down because of a hardware failure, it gets fenced, other hosts 

Re: [ovirt-users] How do you oVirt? Here the answers!

2017-04-14 Thread Pavel Gashev
If 58.4% use Hosted Engine, and 65.8% of them use it in Hyperconverged setup, 
then at least 38.4% of all users have Hyperconverged setup, but only 25.9% use 
Gluster.
What is Hyperconverged setup in at least 12.5% of all cases?


From:  on behalf of Sandro Bonazzola 

Date: Friday, 14 April 2017 at 11:27
To: users , devel , Karanbir Singh 
, Brian Stinson , Johnny Hughes 
, Niels de Vos , Sahina Bose 

Subject: [ovirt-users] How do you oVirt? Here the answers!

Hi,
a few weeks ago I opened a survey asking oVirt users about how they use oVirt.
Here are the analytics of the survey:
https://docs.google.com/forms/d/1s3k4pq_U4vHTuUUKr6dOosGj_EGFxqEisansHlqnyyM/viewanalytics#responses

Most notable facts:
- 197 responses, two times the responses we got with the 3.6 survey!
- CentOS confims as the most used distribution for running oVirt engine (89.8%) 
and Hypervisors (74.3% which become 94.2% including oVirt Node which is a 
CentOS spin)
- Fedora is the second distribution (4.6%) mostly used only for runnig oVirt 
engine
- oVirt Node jumped from 7.1% on 3.6 survey to 19.9% in 4.1!
- Surprisingly we have someone running both engine and hypervisor on Ubuntu 
based system, within VMs. I'd like to hear more about this use case.
- Within other OS we had Red Hat Enterprise Linux 6 and 7 and Scientific Linux 
(I guess 7, wasn't specified)
- Within the storage, there isn't a "winner" between NFS, Gluster and iSCSI. 
Within Other Storage, Fiber Channel is the most used. We had also: Ceph, DAS, 
EMC ScaleIO, GPFS
- Hosted Engine is the most used deployment choice with 58.4% (was 50.0% in 3.6)
- 65.8% of Hosted Engine users use it in Hyperconverged setup.

Thank you for your feedback and appreciation, we'll look into suggestions you 
sent in the survey.

--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA
[https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png]

TRIED. TESTED. TRUSTED.


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


Re: [ovirt-users] After 3.5->3.6 upgrade, OVF update error every hour

2017-04-06 Thread Pavel Gashev
I’d suggest to update it from http://thepax.gitlab.io/ovirt36/

-Original Message-
From: Chris Adams <c...@cmadams.net>
Date: Thursday, 6 April 2017 at 18:47
To: Pavel Gashev <p...@acronis.com>
Cc: "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] After 3.5->3.6 upgrade, OVF update error every hour

That version of vdsm doesn't seem to be in the ovirt-3.6 repos - where
would I get it?

My plan is to continue upgrading to 4.0 and then 4.1.  Does that version
(or newer) come from 4.0+?  If so, is it safe to upgrade to 4.0 with the
older vdsm, or should I update vdsm first (to eliminate this error)?

Thanks.


Once upon a time, Pavel Gashev <p...@acronis.com> said:
> Chris,
> 
> Make sure you have vdsm >= 4.17.35 installed.
> 
> -Original Message-
> From: <users-boun...@ovirt.org> on behalf of Chris Adams <c...@cmadams.net>
> Date: Thursday, 6 April 2017 at 16:29
> To: "users@ovirt.org" <users@ovirt.org>
> Subject: [ovirt-users] After 3.5->3.6 upgrade, OVF update error every hour
> 
> After upgrading an oVirt cluster from 3.5 to 3.6, I am getting the
> following error every hour:
> 
> Failed to update OVF disks ce8647c6-f936-4633-8a7b-e7dcb45d8ebb, OVF
> data isn't updated on those OVF stores (Data Center Middle-Earth,
> Storage Domain equallogic).
> 
> Looking in the vdsm log on the SPM node, it looks like the problem is
> that an attempt was made to lvextend an LV to 2m, but the LV is already
> 128m, so the extend failed (not needed).  I've attached the log entries
> for that task.
> 
> Any suggestions, ideas how to fix, etc.?
> 
> -- 
> Chris Adams <c...@cmadams.net>
> 
> 

-- 
Chris Adams <c...@cmadams.net>


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


Re: [ovirt-users] After 3.5->3.6 upgrade, OVF update error every hour

2017-04-06 Thread Pavel Gashev
Chris,

Make sure you have vdsm >= 4.17.35 installed.

-Original Message-
From:  on behalf of Chris Adams 
Date: Thursday, 6 April 2017 at 16:29
To: "users@ovirt.org" 
Subject: [ovirt-users] After 3.5->3.6 upgrade, OVF update error every hour

After upgrading an oVirt cluster from 3.5 to 3.6, I am getting the
following error every hour:

Failed to update OVF disks ce8647c6-f936-4633-8a7b-e7dcb45d8ebb, OVF
data isn't updated on those OVF stores (Data Center Middle-Earth,
Storage Domain equallogic).

Looking in the vdsm log on the SPM node, it looks like the problem is
that an attempt was made to lvextend an LV to 2m, but the LV is already
128m, so the extend failed (not needed).  I've attached the log entries
for that task.

Any suggestions, ideas how to fix, etc.?

-- 
Chris Adams 


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


Re: [ovirt-users] iSCSI and multipath deliberation

2017-03-16 Thread Pavel Gashev
Using this logic, oVirt should detect existing storages instead of 
attaching/mounting them. The same is for networks. A VM can be placed on any 
host that has required storage(s) and network(s) attached. Datacenters/clusters 
would be virtual things.

Pros:
* Flexibility for Linux admins, wider usage
* Less code. Less bugs.
Cons:
* You must be a Linux admin to maintain oVirt instances.
* It’s a step back in RHEV/oVirt functionality. I oVirt would lose users. 
RedHat would lose customers.


From:  on behalf of Marcin Kruk 

Date: Thursday, 16 March 2017 at 20:17
To: users 
Subject: [ovirt-users] iSCSI and multipath deliberation

In my opionion the main problem in configuration iscsi and multipath is that 
the ovirt developers try to start everything automaticaly during installation, 
and then during start services like vdsmd.
But during installation process adminstrator shoud choose the right multipath 
WWID identifier only.
And administrator should be responsible for setting multipath and iSCSI 
properly.
Otherwise ovirt installator does everything automaticaly in the universal way 
which is weak due to so many storage types.
Howgh :)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Suggestion for configuration with only 2 nics and equallogic ISCSI

2017-03-14 Thread Pavel Gashev
Gianluca,

Are you sure your 10Gbit nics doesn’t support iSCSI offload?

From:  on behalf of Gianluca Cecchi 

Date: Tuesday, 14 March 2017 at 14:16
To: users 
Subject: [ovirt-users] Suggestion for configuration with only 2 nics and 
equallogic ISCSI

Hello,
I'm going to configure an environment where I would have:
- 2 x 1Gbit/s nics that I have to dedicate to ovirt mgmt network only, due to 
design constraints

- 2 x 10Gbit/s nics where I have to configure all other VLANS

In particular I have to define:
1) a couple of VLANs for VMs
2) VLAN for live migration (can I defined more that 1 of this kind?)
3) VLAN for iSCSI against an EQL system

EQL guys keep saying that the only supported way to connect is through 2 
different adapters and using multipath then. The iSCSI lan is on VLAN100 and I 
have to use it.

This brings in a problem in the way I can configure logical networks in oVirt 
and a scenario where I create bond on top of vlan and not the reverse as I 
normally do

The desiderata would be something like this, having the two 10Gbit nics the 
names eth2 and eth3 and vlan100 the one for iSCSI and vlan65 the one for VMs, 
for example:



eth2  --- eth2.100 -- iSCSI IP 1

\ eth2.65 ---

  \ __ bond65 -- IP

eth3  --- eth3.100 -- iSCSI IP 2  /

\ eth3.65 ---
Questions:
- does this work at all in Linux in general? I saw something with bonding 
option use_carrier=1
- in that case, can I then configure oVirt to use this configuration for 
networks?
- is LACP supporto on switch an enabler or a stopper...?

Other suggestions?

Thanks in advance,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problems adding iSCSI storage domain

2017-03-07 Thread Pavel Gashev
Actually you have added the storage, but it’s not attached to your datacenter 
so you can’t see it your cluster.

1. Select System (root) on the tree at the left
2. Select Storage tab. Now you should able to see your storage as Unattached
3. Select your storage, and then Data Center tab
4. Attach your storage to a datacenter


From:  on behalf of Simon Vincent 

Date: Tuesday, 7 March 2017 at 20:14
To: "users@ovirt.org" 
Subject: [ovirt-users] Problems adding iSCSI storage domain

I have setup a small cluster running a hosted engine using iSCSI. I tried to 
add a new iSCSI storage domain but this failed as not all hosts could access 
the storage server. I fixed this problem but it now does not let me add the new 
storage domain as it shows "lun is already part of storage domain". The engine 
does not show any storage domains but if I look in the database it shows up 
there.
How do I remove this broken storage domain and then re-add it?



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


Re: [ovirt-users] Graphics are turned upside down when install QXL in Windows

2017-03-07 Thread Pavel Gashev
It's not applied yet. However it looks like it's under review right now:
https://lists.freedesktop.org/archives/spice-devel/2017-March/036355.html


From: Derek Atkins <de...@ihtfp.com>
Sent: Mar 7, 2017 8:15 PM
To: Pavel Gashev
Cc: Karli Sjöberg; users@ovirt.org; yk...@redhat.com
Subject: Re: [ovirt-users] Graphics are turned upside down when install QXL in 
Windows

Pavel Gashev <p...@acronis.com> writes:

> The issue with Spice HTML5 is as old as native client for
> MacOS(X). Both are not maintained well.
>
> The fix for Spice HTML5 is the following
> https://lists.freedesktop.org/archives/spice-devel/2013-March/012798.html

So it's a 4-year-old patch that hasn't been applied yet?!?

-derek

--
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com<http://www.ihtfp.com>
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Graphics are turned upside down when install QXL in Windows

2017-03-07 Thread Pavel Gashev
The issue with Spice HTML5 is as old as native client for MacOS(X). Both are 
not maintained well.

The fix for Spice HTML5 is the following
https://lists.freedesktop.org/archives/spice-devel/2013-March/012798.html


-Original Message-
From:  on behalf of Karli Sjöberg 

Reply-To: Karli Sjöberg 
Date: Tuesday, 7 March 2017 at 11:34
To: "users@ovirt.org" , "yk...@redhat.com" 
Subject: Re: [ovirt-users] Graphics are turned upside down when install QXL in 
Windows

On Tue, 2017-03-07 at 08:30 +, Yaniv Kaul wrote:
> Known issue with the Spice HTML5. We should drop it, it's not being
> very well maintained.
> Y.

That´s a real shame, IMO it´s awesome to not have a native client that
you have to maintain for every platform. I think it works great, and
being platform independent is super!

/K

> 
> On Tue, Mar 7, 2017 at 9:43 AM Karli Sjöberg 
> wrote:
> > Heya!
> > 
> > Just thought that I´d report something hilarious:)
> > 
> > After installing the QXL driver in Windows 7 and 2008R2, in the
> > SPICE
> > HTML5 browser client, all of the graphics are turned 180 degrees.
> > It´s
> > not that the entire screen is flipped either, but all of the
> > individual
> > elements are. E.g. the trashcan that should be in the top right
> > corner
> > is now located in the bottom right, flipped upside down with the
> > text
> > "above" it and text also flipped. Opening an explorer windows still
> > has
> > the location and search bar at the top, with location bar first and
> > search bar to the right, as it should be, but with the graphics
> > turned
> > upside down, plus that the text is still printed from left to
> > right,
> > but upside down. And the "favorites" pane is still located to the
> > left
> > but listed from bottom the top, Windows has never looked this
> > funny:)
> > 
> > A picture says a thousand words. Behold!
> > http://imgur.com/a/32P12
> > 
> > The native client displays as it should.
> > 
> > Just letting you know.
> > 
> > /K
> > ___
> > 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] Graphics are turned upside down when install QXL in Windows

2017-03-07 Thread Pavel Gashev
Here is the patch.
https://lists.freedesktop.org/archives/spice-devel/2013-March/012798.html


From:  on behalf of Yaniv Kaul 
Date: Tuesday, 7 March 2017 at 11:56
To: Karli Sjöberg , "users@ovirt.org" 
Subject: Re: [ovirt-users] Graphics are turned upside down when install QXL in 
Windows


On Tue, Mar 7, 2017 at 10:34 AM Karli Sjöberg 
> wrote:
On Tue, 2017-03-07 at 08:30 +, Yaniv Kaul wrote:
> Known issue with the Spice HTML5. We should drop it, it's not being
> very well maintained.
> Y.

That´s a real shame, IMO it´s awesome to not have a native client that
you have to maintain for every platform. I think it works great, and
being platform independent is super!

I agree. I think if you could send a patch to fix this and maintain the client, 
that'd be awesome ;-)
(There might have been fixes to this issue - I know people tried, but I'm not 
up-to-date wrt the latest status of that client).
Y.



/K

>
> On Tue, Mar 7, 2017 at 9:43 AM Karli Sjöberg 
> >
> wrote:
> > Heya!
> >
> > Just thought that I´d report something hilarious:)
> >
> > After installing the QXL driver in Windows 7 and 2008R2, in the
> > SPICE
> > HTML5 browser client, all of the graphics are turned 180 degrees.
> > It´s
> > not that the entire screen is flipped either, but all of the
> > individual
> > elements are. E.g. the trashcan that should be in the top right
> > corner
> > is now located in the bottom right, flipped upside down with the
> > text
> > "above" it and text also flipped. Opening an explorer windows still
> > has
> > the location and search bar at the top, with location bar first and
> > search bar to the right, as it should be, but with the graphics
> > turned
> > upside down, plus that the text is still printed from left to
> > right,
> > but upside down. And the "favorites" pane is still located to the
> > left
> > but listed from bottom the top, Windows has never looked this
> > funny:)
> >
> > A picture says a thousand words. Behold!
> > http://imgur.com/a/32P12
> >
> > The native client displays as it should.
> >
> > Just letting you know.
> >
> > /K
> > ___
> > 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] best way to remove SAN lun

2017-03-05 Thread Pavel Gashev
Please also consider a case when a single iSCSI target has several LUNs and you 
remove one of them.
In this case you should not logout.

-Original Message-
From:  on behalf of Nelson Lameiras 

Date: Friday, 3 March 2017 at 20:55
To: Nir Soffer 
Cc: users 
Subject: Re: [ovirt-users] best way to remove SAN lun

Hello Nir,

I think I was not clear in my explanations, let me try again :

we have a oVirt 4.0.5.5 cluster with multiple hosts (centos 7.2).
In this cluster, we added a SAN volume (iscsi) a few months ago directly in GUI
Later we had to remove a DATA volume (SAN iscsi). Below the steps we have taken 
:

1- we migrated all disks outside the volume (oVirt)
2- we put volume on maintenance (oVirt)
3- we detach volume (oVirt)
4- we removed/destroyed volume (oVirt)

In SAN :
5- we put it offline on SAN
6- we delete it from SAN

We thought this would be enough, but later we has a serious incident when log 
partition went full (partially our fault) :
/var/log/messages was continuously logging that it was still trying to reach 
the SAN volumes (we have since taken care of the issue of log space issue => 
more aggressive logrotate, etc)

The real solution was to add two more steps, using shell in ALL hosts :
4a - logout from SAN : iscsiadm -m node --logout -T iqn.
4b - remove iscsi targets : rm -fr /var/lib/iscsi/nodes/iqn.X

This effectively solved our problem, but was fastidious since we had to do it 
manually in all hosts (imagine if we had hundreds of hosts...)

So my question was : shouldn't it be oVirt job to system "logout" and "remove 
iscsi targets" automatically when a volume is removed from oVirt ? maybe not, 
and I'm missing something?

cordialement, regards, 

Nelson LAMEIRAS 
Ingénieur Systèmes et Réseaux / Systems and Networks engineer 
Tel: +33 5 32 09 09 70 
nelson.lamei...@lyra-network.com 

www.lyra-network.com | www.payzen.eu 





Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE

- Original Message -
From: "Nir Soffer" 
To: "Nelson Lameiras" 
Cc: "Gianluca Cecchi" , "Adam Litke" 
, "users" 
Sent: Wednesday, February 22, 2017 8:27:26 AM
Subject: Re: [ovirt-users] best way to remove SAN lun

On Wed, Feb 22, 2017 at 9:03 AM, Nelson Lameiras
 wrote:
> Hello,
>
> Not sure it is the same issue, but we have had a "major" issue recently in 
> our production system when removing a ISCSI volume from oVirt, and then 
> removing it from SAN.

What version? OS version?

The order must be:

1. remove the LUN from storage domain
will be available in next 4.1 release. in older versions you have
to remove the storage domain

2. unzone the LUN on the server

3. remove the multipath devices and the paths on the nodes

> The issue being that each host was still trying to access regularly to the 
> SAN volume in spite of not being completely removed from oVirt.

What do you mean by "not being completely removed"?

Who was accessing the volume?

> This led to an massive increase of error logs, which filled completely 
> /var/log partition,

Which log was full with errors?

> which snowballed into crashing vdsm and other nasty consequences.

You should have big enough /var/log to avoid such issues.

>
> Anyway, the solution was to manually logout from SAN (in each host) with 
> iscsiadm and manually remove iscsi targets (again in each host). It was not 
> difficult once the problem was found because currently we only have 3 hosts 
> in this cluster, but I'm wondering what would happen if we had hundreds of 
> hosts ?
>
> Maybe I'm being naive but shouldn't this be "oVirt job" ? Is there a RFE 
> still waiting to be included on this subject or should I write one ?

We have RFE for this here:
https://bugzilla.redhat.com/1310330

But you must understand that ovirt does not control your storage server,
you are responsible to add devices on the storage server, and remove
them. We are only consuming the devices.

Even we we provide a way to remove devices on all hosts, you will have
to remove the device on the storage server before removing it from
hosts. If not, ovirt will find the removed devices again in the next
scsi rescan,
and we do lot of these to support automatic discovery of new devices
or resized devices.

Nir

>
> cordialement, regards,
>
>
> Nelson LAMEIRAS
> Ingénieur Systèmes et Réseaux / Systems and Networks engineer
> Tel: +33 5 32 09 09 70
> nelson.lamei...@lyra-network.com
>
> www.lyra-network.com | www.payzen.eu
>
>
>
>
>
> Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE
>
> - Original Message -
> From: "Nir Soffer" 
> To: "Gianluca Cecchi" , "Adam Litke" 
> 
> Cc: "users" 
> Sent: 

Re: [ovirt-users] Ovirt 4.0.6 guests 'Not Responding'

2017-02-06 Thread Pavel Gashev
Mark,

In your case all 30 workers were busy by vdsm.virt.sampling.HostMonitor 
discarded by timeout, and there were 3000 tasks in the queue.
I encountered the problem. In my case ISO domain was not responding.

The issue is that vdsm executor doesn’t remove discarded workers. This is a bug.



From: Mark Greenall <m.green...@iontrading.com>
Date: Monday 6 February 2017 at 18:20
To: Pavel Gashev <p...@acronis.com>, "users@ovirt.org" <users@ovirt.org>
Subject: RE: [ovirt-users] Ovirt 4.0.6 guests 'Not Responding'

Hi Pavel,

Thanks for responding. I bounced the VDSMD service, the guests recovered and 
the monitor and queue full messages also cleared. However, we did keep getting 
intermittent “Guest x Not Responding “ messages being communicated by the 
Hosted Engine, in most cases the guests would actually almost immediately 
recover though. The odd occasion would result in guests staying “Not 
Responding” and me bouncing the VDSMD service again. The Host had a memory load 
of around 85% (out of 768GB) and a CPU load of around 65% (48 cores). I have 
since added another host to that cluster and spread the guests between the two 
hosts. This seems to have totally cleared the messages (at least for the last 5 
days anyway).

I suspect the problem is load related. At what capacity would Ovirt regard a 
host as being ‘full’?

Thanks,
Mark

From: Pavel Gashev [mailto:p...@acronis.com]
Sent: 31 January 2017 15:19
To: Mark Greenall <m.green...@iontrading.com>; users@ovirt.org
Subject: Re: [ovirt-users] Ovirt 4.0.6 guests 'Not Responding'

Mark,

Could you please file a bug report?

Restart of vdsmd service would help to resolve the “executor queue full” state.


From: <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>> on behalf of 
Mark Greenall <m.green...@iontrading.com<mailto:m.green...@iontrading.com>>
Date: Monday 30 January 2017 at 15:26
To: "users@ovirt.org<mailto:users@ovirt.org>" 
<users@ovirt.org<mailto:users@ovirt.org>>
Subject: [ovirt-users] Ovirt 4.0.6 guests 'Not Responding'

Hi,

Host server: Dell PowerEdge R815 (40 cores and 768GB memory)
Stoage: Dell Equallogic (Firmware V8.1.4)
OS: Centos 7.3 (although the same thing happens on 7.2)
Ovirt: 4.0.6.3-1

We have several Ovirt clusters. Two of the hosts (in separate clusters) are 
showing as up in Hosted Engine but the guests running on them are showing as 
Not Responding. I can connect to the guests via ssh, etc but can’t interact 
with them from the Ovirt GUI. It was fine on Saturday (28th Jan) morning but 
looks like something happened Sunday morning around 07:14 as we suddenly see 
the following in engine.log on one host:

2017-01-29 07:14:26,952 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'd0aa990f-e6aa-4e79-93ce-011fe1372fb0'(lnd-ion-lindev-01) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,069 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-ion-lindev-01 is not responding.
2017-01-29 07:14:27,070 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'788bfc0e-1712-469e-9a0a-395b8bb3f369'(lnd-ion-windev-02) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,088 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-ion-windev-02 is not responding.
2017-01-29 07:14:27,089 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'd7eaa4ec-d65e-45c0-bc4f-505100658121'(lnd-ion-windev-04) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,103 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-ion-windev-04 is not responding.
2017-01-29 07:14:27,104 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'5af875ad-70f9-4f49-9640-ee2b9927348b'(lnd-anv9-sup1) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,121 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-anv9-sup1 is not responding.
2017-01-29 07:14:27,121 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'b3b7c5f3-0b5b-4d8f-9cc8-b758cc1ce3b9'(lnd-db-dev-03) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,136 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Corr

Re: [ovirt-users] Multipath handling in oVirt

2017-02-01 Thread Pavel Gashev
Nicolas,

Take a look at
http://www.ovirt.org/documentation/admin-guide/chap-Storage/#configuring-iscsi-multipathing

The recommended way is to use different VLANs. Equallogic has to be connected 
to the different VLANs as well.


On Wed, 2017-02-01 at 11:50 +0100, Nicolas Ecarnot wrote:

Hello,

I'm starting over on this subject because I wanted to clarify what was
the oVirt way to manage multipathing.

(Here I will talk only about the data/iSCSI/SAN/LUN/you name it networks.)
According to what I see in the host network setup, one can assign *ONE*
data network to an interface or to a group of interfaces.

That implies that if my host has two data-dedicated interfaces, I can
- either group them using bonding (and oVirt is handy for that in the
host network setup), then assign the data virtual network to this bond
- either assign each nic a different ip in each a different VLAN, then
use two different data networks, and assign them each a different data
network. I never played this game and don't know where it's going to.

At first, may the oVirt storage experts comment on the above to check
it's ok.

Then, as many users here, our hardware is this :
- Hosts : Dell poweredge, mostly blades (M610,620,630), or rack servers
- SANs : Equallogic PS4xxx and PS6xxx

Equallogic's recommendation is that bonding is evil in iSCSI access.
To them, multipath is the only true way.
After reading tons of docs and using Dell support, everything is telling
me to use at least two different NICs with different ip, not bonded -
using the same network is bad but ok.

How can oVirt handle that ?


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


Re: [ovirt-users] Ovirt 4.0.6 guests 'Not Responding'

2017-01-31 Thread Pavel Gashev
Mark,

Could you please file a bug report?

Restart of vdsmd service would help to resolve the “executor queue full” state.


From:  on behalf of Mark Greenall 

Date: Monday 30 January 2017 at 15:26
To: "users@ovirt.org" 
Subject: [ovirt-users] Ovirt 4.0.6 guests 'Not Responding'

Hi,

Host server: Dell PowerEdge R815 (40 cores and 768GB memory)
Stoage: Dell Equallogic (Firmware V8.1.4)
OS: Centos 7.3 (although the same thing happens on 7.2)
Ovirt: 4.0.6.3-1

We have several Ovirt clusters. Two of the hosts (in separate clusters) are 
showing as up in Hosted Engine but the guests running on them are showing as 
Not Responding. I can connect to the guests via ssh, etc but can’t interact 
with them from the Ovirt GUI. It was fine on Saturday (28th Jan) morning but 
looks like something happened Sunday morning around 07:14 as we suddenly see 
the following in engine.log on one host:

2017-01-29 07:14:26,952 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'd0aa990f-e6aa-4e79-93ce-011fe1372fb0'(lnd-ion-lindev-01) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,069 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-ion-lindev-01 is not responding.
2017-01-29 07:14:27,070 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'788bfc0e-1712-469e-9a0a-395b8bb3f369'(lnd-ion-windev-02) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,088 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-ion-windev-02 is not responding.
2017-01-29 07:14:27,089 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'd7eaa4ec-d65e-45c0-bc4f-505100658121'(lnd-ion-windev-04) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,103 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-ion-windev-04 is not responding.
2017-01-29 07:14:27,104 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'5af875ad-70f9-4f49-9640-ee2b9927348b'(lnd-anv9-sup1) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,121 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-anv9-sup1 is not responding.
2017-01-29 07:14:27,121 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'b3b7c5f3-0b5b-4d8f-9cc8-b758cc1ce3b9'(lnd-db-dev-03) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,136 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-db-dev-03 is not responding.
2017-01-29 07:14:27,137 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'6c0a6e17-47c3-4464-939b-e83984dbeaa6'(lnd-db-dev-04) moved from 'Up' --> 
'NotResponding'
2017-01-29 07:14:27,167 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [53ca8dc5] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM lnd-db-dev-04 is not responding.
2017-01-29 07:14:27,168 INFO  
[org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(DefaultQuartzScheduler1) [53ca8dc5] VM 
'ab15bb08-1244-4dc1-a4f1-f6e94246aa23'(lnd-ion-lindev-05) moved from 'Up' --> 
'NotResponding'


Checking the vdsm logs this morning on the hosts I see a lot of the following 
messages:

jsonrpc.Executor/0::WARNING::2017-01-30 
09:34:15,989::vm::4890::virt.vm::(_setUnresponsiveIfTimeout) 
vmId=`ab15bb08-1244-4dc1-a4f1-f6e94246aa23`::monitor became unresponsive 
(command timeout, age=94854.48)
jsonrpc.Executor/0::WARNING::2017-01-30 
09:34:15,990::vm::4890::virt.vm::(_setUnresponsiveIfTimeout) 
vmId=`20a51347-ef08-47a9-9982-32b2047991e1`::monitor became unresponsive 
(command timeout, age=94854.48)
jsonrpc.Executor/0::WARNING::2017-01-30 
09:34:15,991::vm::4890::virt.vm::(_setUnresponsiveIfTimeout) 
vmId=`2cd8698d-a0f9-43b7-9a89-92a93e920eb7`::monitor became unresponsive 
(command timeout, age=94854.49)
jsonrpc.Executor/0::WARNING::2017-01-30 
09:34:15,992::vm::4890::virt.vm::(_setUnresponsiveIfTimeout) 
vmId=`5af875ad-70f9-4f49-9640-ee2b9927348b`::monitor became unresponsive 
(command timeout, age=94854.49)

and

vdsm.Scheduler::WARNING::2017-01-30 

Re: [ovirt-users] Distribute collection of VMs

2017-01-27 Thread Pavel Gashev
I'd suggest to use OpenStack Glance:
http://resources.ovirt.org/old-site-files/Ovirt-2014-ovirt-and-openstack-storage.pdf
From:  on behalf of Fredrik Olofsson 

Date: Friday 27 January 2017 at 10:46
To: "users@ovirt.org" 
Subject: [ovirt-users] Distribute collection of VMs

We currently use an OVA-file for Virtualbox to distribute a collection of
VMs to our customers. We would like to also support customers using oVirt.
Our VMs work if we convert the disk images to qcow2 and manually configure
the VMs. Specifically the network interface connections needs to be
configured. Is it possible to automatically import the OVA file (from the
many threads here I guess not..)?

What is the preferred method to distribute a collection of VMs for use in
oVirt?

Best regards
/Fredrik Olofsson
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Adding Host Issue

2017-01-25 Thread Pavel Gashev

jsonrpc.Executor/6::DEBUG::2017-01-25
14:19:23,623::lvm::288::Storage.Misc.excCmd::(cmd) FAILED:  =
'  WARNING: Not using lvmetad because config setting
use_lvmetad=0.\n  WARNING: To avoid corruption, rescan devices to make
changes visible (pvscan --cache).\n  Volume group "0e4ca0da-1721-4ea7-
92af-25233a8679e0" not found\n  Cannot process volume group 0e4ca0da-
1721-4ea7-92af-25233a8679e0\n';  = 5


It's oVirt 3.6 on CentOS 7.3.
VDSM has to be updated to 4.17.35.


On Wed, 2017-01-25 at 20:44 -0500, Douglas Schilling Landgraf wrote:
> Hi Fernando,
> 
> On 01/25/2017 03:29 PM, Fernando Fuentes wrote:
> > 
> > For got to add my server log.
> > 
> > http://pastebin.com/9PfASxqM
> > 
> 
> Could you please share vdsm/engine version too?
> Adding Nir for review in vdsm/storage side.
> 
> --
> Cheers
> Douglas
> ___
> 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] guest often looses connectivity I have to ping gateway

2017-01-25 Thread Pavel Gashev
Gianluca,

It looks like VM doesn't receive broadcasts. It can be a network topology issue.
Could you double check /sys/class/net/bond1/bonding/mode and 
/sys/class/net/bond1/bonding/slaves ?

Is it possible you have another VM with the same MAC address in the same 
network segment?

On Thu, 2017-01-26 at 00:28 +0100, Gianluca Cecchi wrote:
Hello,
I'm on 4.0.6 with CentOS 7.3.
The hypervisor is an old blade BL685c G1 and the network adapters used to 
provide network to vm are
07:04.0 Ethernet controller: Broadcom Limited NetXtreme BCM5715S Gigabit 
Ethernet (rev a3)
07:04.1 Ethernet controller: Broadcom Limited NetXtreme BCM5715S Gigabit 
Ethernet (re
managed by tg3 kernel module, as I see in messages:

Jan 21 18:53:33 ovmsrv05 kernel: tg3 :07:04.0 eth0: Tigon3 
[partno(011276-001) rev 9003] (PCIX:133MHz:64-bit) MAC address 00:1c:c4:46:ef:73
Jan 21 18:53:33 ovmsrv05 kernel: tg3 :07:04.0 eth0: attached PHY is 5714 
(1000Base-SX Ethernet) (WireSpeed[0], EEE[0])
Jan 21 18:53:33 ovmsrv05 kernel: tg3 :07:04.0 eth0: RXcsums[1] 
LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
Jan 21 18:53:33 ovmsrv05 kernel: tg3 :07:04.0 eth0: dma_rwctrl[76148000] 
dma_mask[40-bit]
Jan 21 18:53:33 ovmsrv05 kernel: tg3 :07:04.1 eth1: Tigon3 
[partno(011276-001) rev 9003] (PCIX:133MHz:64-bit) MAC address 00:1c:c4:46:ef:74
Jan 21 18:53:33 ovmsrv05 kernel: tg3 :07:04.1 eth1: attached PHY is 5714 
(1000Base-SX Ethernet) (WireSpeed[0], EEE[0])
Jan 21 18:53:33 ovmsrv05 kernel: tg3 :07:04.1 eth1: RXcsums[1] 
LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
Jan 21 18:53:33 ovmsrv05 kernel: tg3 :07:04.1 eth1: dma_rwctrl[76148000] 
dma_mask[40-bit]

The 2 adapters are in bonding active-backup mode.
They are on vlan, so on hypervisor I have bond1.65 device and in vm the virtual 
interface is untagged

[root@ovmsrv05 ~]# ifconfig bond1.65
bond1.65: flags=4163  mtu 1500
ether 00:1c:c4:46:ef:73  txqueuelen 1000  (Ethernet)
RX packets 4368  bytes 257675 (251.6 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 238  bytes 28146 (27.4 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@ovmsrv05 ~]#


Currently Active Slave: enp7s4f0

After a few minutes I loose connectivity with the guest. In this case if I go 
in guest console and ping the gateway, the connection is resumed. And I can 
maintain it if I leave the ping running, otherwise after a little I again loose 
connectivity.
I suspect it is not important but the guest is Oracle Linux 6.5 with 
3.8.13-16.2.1.el6uek.x86_64 kernel. The adapter for the vnic is the default; 
the qemu-kvm command line generated contains this:
-netdev tap,fd=29,id=hostnet0,vhost=on,vhostfd=30 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:51,bus=pci.0,addr=0x3

I seem to remember some years ago when I used the same blades with plain 
qemu-kvm/libvirt I had to make up an ethtool setting for similar problems, but 
I don't remember what it was... and possibly I used bnx2 kernel module with the 
other embedded network interfaces, I'm not sure...
Currently, the  configuration for adapter on the blade  is

[root@ovmsrv05 ~]# ethtool -k enp7s4f0
Features for enp7s4f0:
rx-checksumming: on
tx-checksumming: on
tx-checksum-ipv4: on
tx-checksum-ip-generic: off [fixed]
tx-checksum-ipv6: off [fixed]
tx-checksum-fcoe-crc: off [fixed]
tx-checksum-sctp: off [fixed]
scatter-gather: on
tx-scatter-gather: on
tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: off
tx-tcp-segmentation: off [requested on]
tx-tcp-ecn-segmentation: off [fixed]
tx-tcp6-segmentation: off [fixed]
udp-fragmentation-offload: off [fixed]
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: on [fixed]
tx-vlan-offload: on [fixed]
ntuple-filters: off [fixed]
receive-hashing: off [fixed]
highdma: on
rx-vlan-filter: off [fixed]
vlan-challenged: off [fixed]
tx-lockless: off [fixed]
netns-local: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: off [fixed]
tx-ipip-segmentation: off [fixed]
tx-sit-segmentation: off [fixed]
tx-udp_tnl-segmentation: off [fixed]
tx-mpls-segmentation: off [fixed]
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off
rx-fcs: off [fixed]
rx-all: off [fixed]
tx-vlan-stag-hw-insert: off [fixed]
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
busy-poll: off [fixed]
tx-sctp-segmentation: off [fixed]
l2-fwd-offload: off [fixed]
hw-tc-offload: off [fixed]
[root@ovmsrv05 ~]#


systool shows no particular parameters for tg3 kernel module available
[root@ovmsrv05 ~]# systool -v -m tg3
Module = "tg3"

  Attributes:
coresize= "170653"
initsize= "0"
initstate   = "live"
refcnt  = "0"
rhelversion = "7.3"
srcversion  = "D276F97F491ADECC61C8284"
taint   

Re: [ovirt-users] 4.0 x 4.1

2017-01-25 Thread Pavel Gashev
Didi,

For example, BZ#1389251. It doesn’t look very serious. Actually “User is not 
able to edit her profile” is a side effect. Since users logged in by LDAP group 
permissions just did not have accounts in the engine, users did lose their 
access to created VMs after logout. This was a showstopper for me. Together 
with BZ#1382357 and BZ#1391146 User Portal was unusable. Fixes are simple and 
don’t affect the DB structure.

The latest nightly snapshot was broken by BZ#1402401 at the moment. I didn’t 
feel myself lucky enough to have the next snapshot without new regressions. So 
I had applied the fixes to 4.0.5.5.

-Original Message-
From: Yedidyah Bar David <d...@redhat.com>
Date: Tuesday 24 January 2017 at 23:51
To: Pavel Gashev <p...@acronis.com>
Cc: Karli Sjöberg <karli.sjob...@slu.se>, "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] 4.0 x 4.1

On Tue, Jan 24, 2017 at 7:37 PM, Pavel Gashev <p...@acronis.com> wrote:
> Karli,
>
> You’re right. Actually, when I did encounter the bugs in 4.0.5, all of them 
> had been already found and fixed.

Actually, you can do that proactively - if you consider upgrading to
some version, you can search bugzilla for bugs targetted to the next
one, and if any of them look serious, wait.

> No doubt that developers do their hard job well. Unfortunately, due to the 
> holydays there was a two-month gap between releases. 4.0.6-pre had another 
> issue. I personally had to build my own hot-fix oVirt release with all the 
> fixes and without changes under development. I can only guess what other 
> users experienced.

See my earlier reply in this thread about the risks you take by doing that.

That said, if that's what you want, you can also use the 4.0 nightly snapshot:

https://www.ovirt.org/develop/dev-process/install-nightly-snapshot/

Was using this significantly different than what you built yourself?

Best,

>
> -Original Message-
> From: Karli Sjöberg <karli.sjob...@slu.se>
> Reply-To: Karli Sjöberg <karli.sjob...@slu.se>
> Date: Tuesday 24 January 2017 at 15:24
> To: "fernando.fredi...@upx.com.br" <fernando.fredi...@upx.com.br>, Pavel 
> Gashev <p...@acronis.com>, "users@ovirt.org" <users@ovirt.org>
> Subject: Re: [ovirt-users] 4.0 x 4.1
>
> On Tue, 2017-01-24 at 11:06 +, Pavel Gashev wrote:
>> I'd like to apologize for 'ugly' word. From my own personal
>> experience 4.0.5 had some bugs which spoiled my impression from 4.0.
>> Fortunately most of them are fixed in 4.0.6.
>
> I should really not throwing stone in glass houses here, since we´re
> still running 3.6 (I know, I know), but...
>
> If everyone thought like that, no one would have tested and gotten
> those bugs fixed in 4.0.6 either, see what I´m saying?
>
> So if people hadn´t tested and bug-reported those things, your
> impression of 4.0.6 would probably have been just as bad.
>
> Just my two cents.
>
> /K
>
>>
>> -Original Message-
>> From: <users-boun...@ovirt.org> on behalf of Pavel Gashev <Pax@acroni
>> s.com>
>> Date: Tuesday 24 January 2017 at 13:38
>> To: Fernando Frediani <fernando.fredi...@upx.com.br>, "us...@ovirt.or
>> g" <users@ovirt.org>
>> Subject: Re: [ovirt-users] 4.0 x 4.1
>>
>> I started with oVirt 3.6. It became stable since 3.6.7 just when 4.0
>> is released. Also I use 4.0. The previous 4.0.5 was ugly, 4.0.6 can
>> be considered more or less stable, and 4.1 is going to be released
>> soon. Thus, I’d start with 4.0 and upgrade to 4.1 when 4.2 is
>> released.
>>
>> -Original Message-
>> From: <users-boun...@ovirt.org> on behalf of Fernando Frediani > ndo.fredi...@upx.com.br>
>> Date: Monday 23 January 2017 at 22:36
>> To: "users@ovirt.org" <users@ovirt.org>
>> Subject: [ovirt-users] 4.0 x 4.1
>>
>> I am deploying a oVirt environment which will not get production
>> data
>> immediately.
>>
>> Obviously I would rather use 4.1 RC due the many changes and fixes
>> present. Later when 4.1 becomes stable then upgrade to it.
>> Does anyone see any problem in doing that way or would it be more
>> advisable to start with 4.0.6 and upgrade to 4.1 stable when time
>> comes ?
>>
>> My concern are the issue people related they had when upgrading from
>> one
>> major version to another in the past.
>>
>> Thanks
>>
>> Fernando
>>
>> ___
>> 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



-- 
Didi


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


Re: [ovirt-users] 4.0 x 4.1

2017-01-24 Thread Pavel Gashev
Karli,

You’re right. Actually, when I did encounter the bugs in 4.0.5, all of them had 
been already found and fixed. No doubt that developers do their hard job well. 
Unfortunately, due to the holydays there was a two-month gap between releases. 
4.0.6-pre had another issue. I personally had to build my own hot-fix oVirt 
release with all the fixes and without changes under development. I can only 
guess what other users experienced.

-Original Message-
From: Karli Sjöberg <karli.sjob...@slu.se>
Reply-To: Karli Sjöberg <karli.sjob...@slu.se>
Date: Tuesday 24 January 2017 at 15:24
To: "fernando.fredi...@upx.com.br" <fernando.fredi...@upx.com.br>, Pavel Gashev 
<p...@acronis.com>, "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] 4.0 x 4.1

On Tue, 2017-01-24 at 11:06 +, Pavel Gashev wrote:
> I'd like to apologize for 'ugly' word. From my own personal
> experience 4.0.5 had some bugs which spoiled my impression from 4.0.
> Fortunately most of them are fixed in 4.0.6. 

I should really not throwing stone in glass houses here, since we´re
still running 3.6 (I know, I know), but...

If everyone thought like that, no one would have tested and gotten
those bugs fixed in 4.0.6 either, see what I´m saying?

So if people hadn´t tested and bug-reported those things, your
impression of 4.0.6 would probably have been just as bad.

Just my two cents.

/K

> 
> -Original Message-
> From: <users-boun...@ovirt.org> on behalf of Pavel Gashev <Pax@acroni
> s.com>
> Date: Tuesday 24 January 2017 at 13:38
> To: Fernando Frediani <fernando.fredi...@upx.com.br>, "us...@ovirt.or
> g" <users@ovirt.org>
> Subject: Re: [ovirt-users] 4.0 x 4.1
> 
> I started with oVirt 3.6. It became stable since 3.6.7 just when 4.0
> is released. Also I use 4.0. The previous 4.0.5 was ugly, 4.0.6 can
> be considered more or less stable, and 4.1 is going to be released
> soon. Thus, I’d start with 4.0 and upgrade to 4.1 when 4.2 is
> released.
> 
> -Original Message-
> From: <users-boun...@ovirt.org> on behalf of Fernando Frediani  ndo.fredi...@upx.com.br>
> Date: Monday 23 January 2017 at 22:36
> To: "users@ovirt.org" <users@ovirt.org>
> Subject: [ovirt-users] 4.0 x 4.1
> 
> I am deploying a oVirt environment which will not get production
> data 
> immediately.
> 
> Obviously I would rather use 4.1 RC due the many changes and fixes 
> present. Later when 4.1 becomes stable then upgrade to it.
> Does anyone see any problem in doing that way or would it be more 
> advisable to start with 4.0.6 and upgrade to 4.1 stable when time
> comes ?
> 
> My concern are the issue people related they had when upgrading from
> one 
> major version to another in the past.
> 
> Thanks
> 
> Fernando
> 
> ___
> 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] 4.0 x 4.1

2017-01-24 Thread Pavel Gashev
I'd like to apologize for 'ugly' word. From my own personal experience 4.0.5 
had some bugs which spoiled my impression from 4.0. Fortunately most of them 
are fixed in 4.0.6. 

-Original Message-
From: <users-boun...@ovirt.org> on behalf of Pavel Gashev <p...@acronis.com>
Date: Tuesday 24 January 2017 at 13:38
To: Fernando Frediani <fernando.fredi...@upx.com.br>, "users@ovirt.org" 
<users@ovirt.org>
Subject: Re: [ovirt-users] 4.0 x 4.1

I started with oVirt 3.6. It became stable since 3.6.7 just when 4.0 is 
released. Also I use 4.0. The previous 4.0.5 was ugly, 4.0.6 can be considered 
more or less stable, and 4.1 is going to be released soon. Thus, I’d start with 
4.0 and upgrade to 4.1 when 4.2 is released.

-Original Message-
From: <users-boun...@ovirt.org> on behalf of Fernando Frediani 
<fernando.fredi...@upx.com.br>
Date: Monday 23 January 2017 at 22:36
To: "users@ovirt.org" <users@ovirt.org>
Subject: [ovirt-users] 4.0 x 4.1

I am deploying a oVirt environment which will not get production data 
immediately.

Obviously I would rather use 4.1 RC due the many changes and fixes 
present. Later when 4.1 becomes stable then upgrade to it.
Does anyone see any problem in doing that way or would it be more 
advisable to start with 4.0.6 and upgrade to 4.1 stable when time comes ?

My concern are the issue people related they had when upgrading from one 
major version to another in the past.

Thanks

Fernando

___
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] 4.0 x 4.1

2017-01-24 Thread Pavel Gashev
I started with oVirt 3.6. It became stable since 3.6.7 just when 4.0 is 
released. Also I use 4.0. The previous 4.0.5 was ugly, 4.0.6 can be considered 
more or less stable, and 4.1 is going to be released soon. Thus, I’d start with 
4.0 and upgrade to 4.1 when 4.2 is released.

-Original Message-
From:  on behalf of Fernando Frediani 

Date: Monday 23 January 2017 at 22:36
To: "users@ovirt.org" 
Subject: [ovirt-users] 4.0 x 4.1

I am deploying a oVirt environment which will not get production data 
immediately.

Obviously I would rather use 4.1 RC due the many changes and fixes 
present. Later when 4.1 becomes stable then upgrade to it.
Does anyone see any problem in doing that way or would it be more 
advisable to start with 4.0.6 and upgrade to 4.1 stable when time comes ?

My concern are the issue people related they had when upgrading from one 
major version to another in the past.

Thanks

Fernando

___
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] Select As SPM Fails

2017-01-19 Thread Pavel Gashev
The fix in 4.17.35 is backported from oVirt 4.0. You will not hit it again.

Technically, vdsm 4.17.35 has been released as part of RHEV 3.6.9. So it's 
kinda recommended version if you run 3.6.


From: Beau Sapach <bsap...@ualberta.ca>
Sent: Jan 19, 2017 10:58 PM
To: Michael Watters
Cc: Pavel Gashev; users@ovirt.org
Subject: Re: [ovirt-users] Select As SPM Fails

Hmmm, makes sense, thanks for the info!  I'm not enthusiastic about installing 
packages outside of the ovirt repos so will probably look into an upgrade 
regardless.  I noticed that ovirt 4 only lists support for RHEL/CentOS 7.2, 
will a situation such as this crop up again eventually as incremental updates 
for the OS continue to push it past the supported version?  I've been running 
oVirt for less than a year now so I'm curious what to expect.

On Thu, Jan 19, 2017 at 10:42 AM, Michael Watters 
<michael.watt...@dart.biz<mailto:michael.watt...@dart.biz>> wrote:
You can upgrade vdsm without upgrading to ovirt 4.  I went through the
same issue on our cluster a few weeks ago and the process was pretty
simple.

You'll need to do this on each of your hosts.

yum --enablerepo=extras install -y epel-release git
git clone https://github.com/oVirt/vdsm.git
cd  vdsm
git checkout v4.17.35
yum install -y `cat ./automation/build-artifacts.packages`
./automation/build-artifacts.sh

cd /root/rpmbuild/RPMS/noarch
yum --enablerepo=extras install centos-release-qemu-ev
yum localinstall vdsm-4.17.35-1.el7.centos.noarch.rpm  
vdsm-hook-vmfex-dev-4.17.35-1.el7.centos.noarch.rpm 
vdsm-infra-4.17.35-1.el7.centos.noarch.rpm 
vdsm-jsonrpc-4.17.35-1.el7.centos.noarch.rpm 
vdsm-python-4.17.35-1.el7.centos.noarch.rpm 
vdsm-xmlrpc-4.17.35-1.el7.centos.noarch.rpm 
vdsm-yajsonrpc-4.17.35-1.el7.centos.noarch.rpm 
vdsm-python-4.17.35-1.el7.centos.noarch.rpm 
vdsm-xmlrpc-4.17.35-1.el7.centos.noarch.rpm 
vdsm-cli-4.17.35-1.el7.centos.noarch.rpm
systemctl restart vdsmd

The qemu-ev repo is needed to avoid dependency errors.


On Thu, 2017-01-19 at 09:16 -0700, Beau Sapach wrote:
> Uh oh, looks like an upgrade to version 4 is the only option then
> unless I'm missing something.
>
> On Thu, Jan 19, 2017 at 1:36 AM, Pavel Gashev 
> <p...@acronis.com<mailto:p...@acronis.com>>
> wrote:
> > Beau,
> >
> > Looks like you have upgraded to CentOS 7.3. Now you have to update
> > the vdsm package to 4.17.35.
> >
> >
> > From: <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>> on behalf 
> > of Beau Sapach <bsapach@u
> > alberta.ca<http://alberta.ca>>
> > Date: Wednesday 18 January 2017 at 23:56
> > To: "users@ovirt.org<mailto:users@ovirt.org>" 
> > <users@ovirt.org<mailto:users@ovirt.org>>
> > Subject: [ovirt-users] Select As SPM Fails
> >
> > Hello everyone,
> >
> > I'm about to start digging through the mailing list archives in
> > search of a solution but thought I would post to the list as well.
> > I'm running oVirt 3.6 on a 2 node CentOS7 cluster backed by fiber
> > channel storage and with a separate engine VM running outside of
> > the cluster (NOT  hosted-engine).
> >
> > When I try to move the SPM role from one node to the other I get
> > the following in the web interface:
> >
> >
> >
> > When I look into /var/log/ovirt-engine/engine.log I see the
> > following:
> >
> > 2017-01-18 13:35:09,332 ERROR
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVD
> > SCommand] (default task-26) [6990cfca] Failed in
> > 'HSMGetAllTasksStatusesVDS' method
> > 2017-01-18 13:35:09,340 ERROR
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirect
> > or] (default task-26) [6990cfca] Correlation ID: null, Call Stack:
> > null, Custom Event ID: -1, Message: VDSM v6 command failed: Logical
> > Volume extend failed
> >
> > When I look at the task list on the host currently holding the SPM
> > role (in this case 'v6'), using: vdsClient -s 0 getAllTasks, I see
> > a long list like this:
> >
> > dc75d3e7-cea7-449b-9a04-76fd8ef0f82b :
> >  verb = downloadImageFromStream
> >  code = 554
> >  state = recovered
> >  tag = spm
> >  result =
> >  message = Logical Volume extend failed
> >  id = dc75d3e7-cea7-449b-9a04-76fd8ef0f82b
> >
> > When I look at /var/log/vdsm/vdsm.log on the host in question (v6)
> > I see messages like this:
> >
> > '531dd533-22b1-47a0-aae8-76c1dd7d9a56': {'code': 554, 'tag':
> > u'spm', 'state': 'recovered', 'verb': 'downloadImageFromStreaam',
> > 'result': '', 'message': 'Logical Volume extend failed', '

Re: [ovirt-users] Select As SPM Fails

2017-01-19 Thread Pavel Gashev
Beau,

Looks like you have upgraded to CentOS 7.3. Now you have to update the vdsm 
package to 4.17.35.


From:  on behalf of Beau Sapach 
Date: Wednesday 18 January 2017 at 23:56
To: "users@ovirt.org" 
Subject: [ovirt-users] Select As SPM Fails

Hello everyone,

I'm about to start digging through the mailing list archives in search of a 
solution but thought I would post to the list as well.  I'm running oVirt 3.6 
on a 2 node CentOS7 cluster backed by fiber channel storage and with a separate 
engine VM running outside of the cluster (NOT  hosted-engine).

When I try to move the SPM role from one node to the other I get the following 
in the web interface:

[nline image 1]

When I look into /var/log/ovirt-engine/engine.log I see the following:

2017-01-18 13:35:09,332 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(default task-26) [6990cfca] Failed in 'HSMGetAllTasksStatusesVDS' method
2017-01-18 13:35:09,340 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-26) [6990cfca] Correlation ID: null, Call Stack: null, Custom Event ID: 
-1, Message: VDSM v6 command failed: Logical Volume extend failed

When I look at the task list on the host currently holding the SPM role (in 
this case 'v6'), using: vdsClient -s 0 getAllTasks, I see a long list like this:

dc75d3e7-cea7-449b-9a04-76fd8ef0f82b :
 verb = downloadImageFromStream
 code = 554
 state = recovered
 tag = spm
 result =
 message = Logical Volume extend failed
 id = dc75d3e7-cea7-449b-9a04-76fd8ef0f82b

When I look at /var/log/vdsm/vdsm.log on the host in question (v6) I see 
messages like this:

'531dd533-22b1-47a0-aae8-76c1dd7d9a56': {'code': 554, 'tag': u'spm', 'state': 
'recovered', 'verb': 'downloadImageFromStreaam', 'result': '', 'message': 
'Logical Volume extend failed', 'id': '531dd533-22b1-47a0-aae8-76c1dd7d9a56'}

As well as the error from the attempted extend of the logical volume:

e980df5f-d068-4c84-8aa7-9ce792690562::ERROR::2017-01-18 
13:24:50,710::task::866::Storage.TaskManager.Task::(_setError) 
Task=`e980df5f-d068-4c84-8aa7-9ce792690562`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 873, in _run
return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/task.py", line 332, in run
return self.cmd(*self.argslist, **self.argsdict)
  File "/usr/share/vdsm/storage/securable.py", line 77, in wrapper
return method(self, *args, **kwargs)
  File "/usr/share/vdsm/storage/sp.py", line 1776, in downloadImageFromStream
.copyToImage(methodArgs, sdUUID, imgUUID, volUUID)
  File "/usr/share/vdsm/storage/image.py", line 1373, in copyToImage
/ volume.BLOCK_SIZE)
  File "/usr/share/vdsm/storage/blockVolume.py", line 310, in extend
lvm.extendLV(self.sdUUID, self.volUUID, sizemb)
  File "/usr/share/vdsm/storage/lvm.py", line 1179, in extendLV
_resizeLV("lvextend", vgName, lvName, size)
  File "/usr/share/vdsm/storage/lvm.py", line 1175, in _resizeLV
raise se.LogicalVolumeExtendError(vgName, lvName, "%sM" % (size, ))
LogicalVolumeExtendError:
Logical Volume extend failed: 'vgname=ae05947f-875c-4507-ad51-62b0d35ef567 
lvname=caaef597-eddd-4c24-8df2-a61f35f744f8 newsize=1M'
e980df5f-d068-4c84-8aa7-9ce792690562::DEBUG::2017-01-18 
13:24:50,711::task::885::Storage.TaskManager.Task::(_run) 
Task=`e980df5f-d068-4c84-8aa7-9ce792690562`::Task._run: 
e980df5f-d068-4c84-8aa7-9ce792690562 () {} failed - stopping task

The logical volume in question is an OVF_STORE disk that lives on one of the 
fiber channel backed LUNs.  If I run:

vdsClient -s 0 ClearTask TASK-UUID-HERE

for each task that appears in the:

vdsClient -s 0 getAllTasks

output then they disappear and I'm able to move the SPM role to the other host.

This problem then crops up again on the new host once the SPM role is moved.  
What's going on here?  Does anyone have any insight as to how to prevent this 
task from re-appearing?  Or why it's failing in the first place?

Beau



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


Re: [ovirt-users] Disk move failures

2017-01-09 Thread Pavel Gashev
Now QEMU Enterprise Virtualization packages are built separately:
 
# yum --enablerepo=extras install centos-release-qemu-ev

-Original Message-
From: Michael Watters <michael.watt...@dart.biz>
Date: Monday 9 January 2017 at 19:19
To: "Users@ovirt.org" <Users@ovirt.org>, Pavel Gashev <p...@acronis.com>
Subject: Re: [ovirt-users] Disk move failures

I built the rpms but there are some dependency errors when I attempt to
upgrade.

qemu-img-rhev >= 10:2.3.0-31.el7_2.16 is needed by 
vdsm-4.17.35-1.el7.centos.noarch
  
qemu-kvm-rhev >= 10:2.3.0-31.el7_2.16 is needed by vdsm-4.17.35-
1.el7.centos.noarch

These packages appear to be part of ovirt 4.0 so it looks like an
upgrade will be needed unless there is a way to obtain updated packages
for ovirt 3.6.


On Mon, 2017-01-09 at 14:44 +, Pavel Gashev wrote:
> Michael,
> 
> I'd recommend to build an rpm:
> 
> # yum --enablerepo=extras install -y epel-release git
> # git clone https://github.com/oVirt/vdsm.git
> # cd  vdsm
> # git checkout v4.17.35
> # yum install -y `cat ./automation/build-artifacts.packages`
> # ./automation/build-artifacts.sh
> 
> -Original Message-
> From: Michael Watters <michael.watt...@dart.biz>
> Date: Monday 9 January 2017 at 17:26
> To: "Users@ovirt.org" <Users@ovirt.org>, Pavel Gashev <p...@acronis.co
> m>
> Subject: Re: [ovirt-users] Disk move failures
> 
> Is there a way to upgrade vdsm without upgrading everything else?  
> 
> 
> On Sat, 2017-01-07 at 09:36 +, Pavel Gashev wrote:
> > The same is here. Upgrade vdsm to 4.17.35.
> > 
> > -Original Message-
> > From: <users-boun...@ovirt.org> on behalf of Michael Watters
> >  > .watt...@dart.biz>
> > Date: Saturday 7 January 2017 at 00:04
> > To: "Users@ovirt.org" <Users@ovirt.org>
> > Subject: [ovirt-users] Disk move failures
> > 
> > I am receiving several LVM errors when attempting to move a disk
> > from
> > one storage domain to another. 
> > 
> > > VDSM ovirt-node-production2 command failed: Logical Volume extend
> > 
> > failed
> > 
> > vdsm.log shows a failure message as follows.
> > 
> > > d6d4529e-db0d-49ac-a0c3-ee9d2e8cc9bb::ERROR::2017-01-06
> > 
> > 15:05:54,926::image::405::Storage.Image::(_createTargetImage)
> > Unexpected error
> > Traceback (most recent call last):
> >   File "/usr/share/vdsm/storage/image.py", line 394, in
> > _createTargetImage
> > dstVol.extend((volParams['apparentsize'] + 511) / 512)
> >   File "/usr/share/vdsm/storage/blockVolume.py", line 310, in
> > extend
> > lvm.extendLV(self.sdUUID, self.volUUID, sizemb)
> >   File "/usr/share/vdsm/storage/lvm.py", line 1179, in extendLV
> > _resizeLV("lvextend", vgName, lvName, size)
> >   File "/usr/share/vdsm/storage/lvm.py", line 1175, in _resizeLV
> > raise se.LogicalVolumeExtendError(vgName, lvName, "%sM" %
> > (size,
> > ))
> > LogicalVolumeExtendError: Logical Volume extend failed:
> > 'vgname=32f7c737-c1ee-4d2e-82a7-1b5e6efe0cf8 lvname=7ec88b4b-e893-
> > 47dc-
> > 895f-5f8e584ed2cf newsize=1024M'
> > 
> > Does anybody know what would cause this?  I am able to create
> > volumes
> > and extend them from the command line without any issues.
> > ___
> > 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 move failures

2017-01-09 Thread Pavel Gashev
Michael,

I'd recommend to build an rpm:

# yum --enablerepo=extras install -y epel-release git
# git clone https://github.com/oVirt/vdsm.git
# cd  vdsm
# git checkout v4.17.35
# yum install -y `cat ./automation/build-artifacts.packages`
# ./automation/build-artifacts.sh

-Original Message-
From: Michael Watters <michael.watt...@dart.biz>
Date: Monday 9 January 2017 at 17:26
To: "Users@ovirt.org" <Users@ovirt.org>, Pavel Gashev <p...@acronis.com>
Subject: Re: [ovirt-users] Disk move failures

Is there a way to upgrade vdsm without upgrading everything else?  


On Sat, 2017-01-07 at 09:36 +, Pavel Gashev wrote:
> The same is here. Upgrade vdsm to 4.17.35.
> 
> -Original Message-
> From: <users-boun...@ovirt.org> on behalf of Michael Watters  .watt...@dart.biz>
> Date: Saturday 7 January 2017 at 00:04
> To: "Users@ovirt.org" <Users@ovirt.org>
> Subject: [ovirt-users] Disk move failures
> 
> I am receiving several LVM errors when attempting to move a disk from
> one storage domain to another. 
> 
> > VDSM ovirt-node-production2 command failed: Logical Volume extend
> 
> failed
> 
> vdsm.log shows a failure message as follows.
> 
> > d6d4529e-db0d-49ac-a0c3-ee9d2e8cc9bb::ERROR::2017-01-06
> 
> 15:05:54,926::image::405::Storage.Image::(_createTargetImage)
> Unexpected error
> Traceback (most recent call last):
>   File "/usr/share/vdsm/storage/image.py", line 394, in
> _createTargetImage
> dstVol.extend((volParams['apparentsize'] + 511) / 512)
>   File "/usr/share/vdsm/storage/blockVolume.py", line 310, in extend
> lvm.extendLV(self.sdUUID, self.volUUID, sizemb)
>   File "/usr/share/vdsm/storage/lvm.py", line 1179, in extendLV
> _resizeLV("lvextend", vgName, lvName, size)
>   File "/usr/share/vdsm/storage/lvm.py", line 1175, in _resizeLV
> raise se.LogicalVolumeExtendError(vgName, lvName, "%sM" % (size,
> ))
> LogicalVolumeExtendError: Logical Volume extend failed:
> 'vgname=32f7c737-c1ee-4d2e-82a7-1b5e6efe0cf8 lvname=7ec88b4b-e893-
> 47dc-
> 895f-5f8e584ed2cf newsize=1024M'
> 
> Does anybody know what would cause this?  I am able to create volumes
> and extend them from the command line without any issues.
> ___
> 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 move failures

2017-01-07 Thread Pavel Gashev
The same is here. Upgrade vdsm to 4.17.35.

-Original Message-
From:  on behalf of Michael Watters 

Date: Saturday 7 January 2017 at 00:04
To: "Users@ovirt.org" 
Subject: [ovirt-users] Disk move failures

I am receiving several LVM errors when attempting to move a disk from
one storage domain to another. 

> VDSM ovirt-node-production2 command failed: Logical Volume extend
failed

vdsm.log shows a failure message as follows.

> d6d4529e-db0d-49ac-a0c3-ee9d2e8cc9bb::ERROR::2017-01-06
15:05:54,926::image::405::Storage.Image::(_createTargetImage)
Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/image.py", line 394, in
_createTargetImage
dstVol.extend((volParams['apparentsize'] + 511) / 512)
  File "/usr/share/vdsm/storage/blockVolume.py", line 310, in extend
lvm.extendLV(self.sdUUID, self.volUUID, sizemb)
  File "/usr/share/vdsm/storage/lvm.py", line 1179, in extendLV
_resizeLV("lvextend", vgName, lvName, size)
  File "/usr/share/vdsm/storage/lvm.py", line 1175, in _resizeLV
raise se.LogicalVolumeExtendError(vgName, lvName, "%sM" % (size, ))
LogicalVolumeExtendError: Logical Volume extend failed:
'vgname=32f7c737-c1ee-4d2e-82a7-1b5e6efe0cf8 lvname=7ec88b4b-e893-47dc-
895f-5f8e584ed2cf newsize=1024M'

Does anybody know what would cause this?  I am able to create volumes
and extend them from the command line without any issues.
___
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] OVF disk errors

2017-01-07 Thread Pavel Gashev
Michael,

oVirt 3.6 doesn't work well on CentOS 7.3. Upgrade vdsm to 4.17.35.

-Original Message-
From:  on behalf of Michael Watters 

Date: Thursday 5 January 2017 at 23:12
To: "users@ovirt.org" 
Subject: [ovirt-users] OVF disk errors

Hello,

I have two hosts in a cluster running ovirt 3.6 and I keep seeing
errors in the event log as follows.

Jan 5, 2017 2:34:01 PM

Host ovirt-node-production2 power management was verified successfully.

Jan 5, 2017 2:34:01 PM

Status of host ovirt-node-production2 was set to Up.

Jan 5, 2017 2:33:58 PM

Executing power management status on Host ovirt-node-production2 using Proxy 
Host ovirt-node-production1 and Fence Agent ipmilan:1.2.3.4

Jan 5, 2017 2:33:48 PM

Failed to update OVF disks c7c567a3-ebd5-4e3a-bf1e-66080e8a09b4, OVF data isn't 
updated on those OVF stores (Data Center Default, Storage Domain 
2-Production-Faster).

Jan 5, 2017 2:33:47 PM

Host ovirt-node-production2 is not responding. It will stay in Connecting 
state for a grace period of 104 seconds and after that an attempt to fence the 
host will be issued.

Jan 5, 2017 2:33:47 PM

Failed to update OVF disks 389bd0fe-804c-428d-9de1-640d83fe9a29, OVF data isn't 
updated on those OVF stores (Data Center Default, Storage Domain 
1-Production-Slower).

Jan 5, 2017 2:33:42 PM

VDSM ovirt-node-production2 command failed: Logical Volume extend failed


What concerns me the most is the last two errors.  I've verified that all disks 
are online and all volume groups are working as expected.  Is there a way to 
manually update an OVF disk?  Here is what the engine database shows for these 
disk IDs.


engine=# select * from storage_domains_ovf_info where ovf_disk_id = 
'c7c567a3-ebd5-4e3a-bf1e-66080e8a09b4' ;
  storage_domain_id   | status | ovf_disk_id
  | stored_ovfs_ids |last_updated
--++--+-+
 32f7c737-c1ee-4d2e-82a7-1b5e6efe0cf8 |  1 | 
c7c567a3-ebd5-4e3a-bf1e-66080e8a09b4 | | 2016-11-21 
13:48:55.756-05
(1 row)


engine=# select * from storage_domains_ovf_info where ovf_disk_id = 
'389bd0fe-804c-428d-9de1-640d83fe9a29' ;
  storage_domain_id   | status | ovf_disk_id
  | stored_ovfs_ids |last_updated
--++--+-+
 52e48bb6-e477-41fe-aa25-69fc04b47c98 |  1 | 
389bd0fe-804c-428d-9de1-640d83fe9a29 | | 2016-12-31 
00:13:58.924-05
(1 row)




___
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 Engine 4.0.5 and CentOS 7.3 Instability

2017-01-06 Thread Pavel Gashev
Rogério,

This bug is fixed in vdsm-jsonrpc-java-1.2.9.
Do you have a really non-responsive host?

From: Rogério Ceni Coelho <rogeriocenicoe...@gmail.com>
Date: Friday 6 January 2017 at 21:35
To: Pavel Gashev <p...@acronis.com>, users <users@ovirt.org>
Subject: Re: [ovirt-users] oVirt Engine 4.0.5 and CentOS 7.3 Instability

I found https://bugzilla.redhat.com/show_bug.cgi?id=1393714 which seem to be 
the same problem that occour with me ...


Em sex, 6 de jan de 2017 às 16:28, Rogério Ceni Coelho 
<rogeriocenicoe...@gmail.com<mailto:rogeriocenicoe...@gmail.com>> escreveu:
Pavel,

Take a look ...

[root@prd-rbs-ovirt01-poa ~]# grep -i error /var/log/ovirt-engine/engine.log | 
grep -v org.ovirt.engine.core.vdsbroker.HostDevListByCapsVDSCommand | tail -50
2017-01-06 16:20:06,897 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] 
(DefaultQuartzScheduler6) [a6fc972] Command 'GetAllVmStatsVDSCommand(HostName = 
prd-rbs-ovirt-kvm10-poa.rbs.com.br<http://prd-rbs-ovirt-kvm10-poa.rbs.com.br>, 
VdsIdAndVdsVDSCommandParametersBase:{runAsync='true', 
hostId='8b4bc7dc-af8c-4415-a2ef-bccc11ddf23a', 
vds='Host[prd-rbs-ovirt-kvm10-poa.rbs.com.br<http://prd-rbs-ovirt-kvm10-poa.rbs.com.br>,8b4bc7dc-af8c-4415-a2ef-bccc11ddf23a]'})'
 execution failed: VDSGenericException: VDSNetworkException: Heartbeat exceeded
2017-01-06 16:20:06,899 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] 
(DefaultQuartzScheduler10) [19b85a77] Command 'GetAllVmStatsVDSCommand(HostName 
= 
prd-rbs-ovirt-kvm17-poa.rbs.com.br<http://prd-rbs-ovirt-kvm17-poa.rbs.com.br>, 
VdsIdAndVdsVDSCommandParametersBase:{runAsync='true', 
hostId='795b917b-ea5b-499d-80c5-aa3aad4f2537', 
vds='Host[prd-rbs-ovirt-kvm17-poa.rbs.com.br<http://prd-rbs-ovirt-kvm17-poa.rbs.com.br>,795b917b-ea5b-499d-80c5-aa3aad4f2537]'})'
 execution failed: VDSGenericException: VDSNetworkException: Heartbeat exceeded
2017-01-06 16:20:06,901 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] 
(DefaultQuartzScheduler8) [1bccfc8a] Command 'GetAllVmStatsVDSCommand(HostName 
= 
prd-rbs-ovirt-kvm19-poa.rbs.com.br<http://prd-rbs-ovirt-kvm19-poa.rbs.com.br>, 
VdsIdAndVdsVDSCommandParametersBase:{runAsync='true', 
hostId='887b6e35-1fd1-4cd6-9e78-05bcab12a417', 
vds='Host[prd-rbs-ovirt-kvm19-poa.rbs.com.br<http://prd-rbs-ovirt-kvm19-poa.rbs.com.br>,887b6e35-1fd1-4cd6-9e78-05bcab12a417]'})'
 execution failed: VDSGenericException: VDSNetworkException: Heartbeat exceeded
2017-01-06 16:23:26,020 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand] 
(DefaultQuartzScheduler1) [7771902b] Command 'GetAllVmStatsVDSCommand(HostName 
= 
prd-rbs-ovirt-kvm06-poa.rbs.com.br<http://prd-rbs-ovirt-kvm06-poa.rbs.com.br>, 
VdsIdAndVdsVDSCommandParametersBase:{runAsync='true', 
hostId='23b750ed-4ba6-4782-a9bd-c018c0f36e44', 
vds='Host[prd-rbs-ovirt-kvm06-poa.rbs.com.br<http://prd-rbs-ovirt-kvm06-poa.rbs.com.br>,23b750ed-4ba6-4782-a9bd-c018c0f36e44]'})'
 execution failed: VDSGenericException: VDSNetworkException: Heartbeat exceeded
2017-01-06 16:23:26,043 ERROR [org.ovirt.vdsm.jsonrpc.client.JsonRpcClient] 
(ResponseWorker) [] Not able to update response for 
"e5f7a478-841d-413c-baa1-d63632be7748"
2017-01-06 16:24:32,480 ERROR [org.ovirt.vdsm.jsonrpc.client.JsonRpcClient] 
(ResponseWorker) [] Not able to update response for 
"75bf7e9a-fb5f-4253-bdf6-ff0fcbf8c876"
2017-01-06 16:24:32,485 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler6) [35cc958c] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VDSM 
prd-rbs-ovirt-kvm06-poa.rbs.com.br<http://prd-rbs-ovirt-kvm06-poa.rbs.com.br> 
command failed: Heartbeat exceeded
2017-01-06 16:24:32,485 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStatusVDSCommand] 
(DefaultQuartzScheduler6) [35cc958c] Command 'SpmStatusVDSCommand(HostName = 
prd-rbs-ovirt-kvm06-poa.rbs.com.br<http://prd-rbs-ovirt-kvm06-poa.rbs.com.br>, 
SpmStatusVDSCommandParameters:{runAsync='true', 
hostId='23b750ed-4ba6-4782-a9bd-c018c0f36e44', 
storagePoolId='0001-0001-0001-0001-0198'})' execution failed: 
VDSGenericException: VDSNetworkException: Heartbeat exceeded
2017-01-06 16:24:32,524 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler6) [152cde35] Correlation ID: 152cde35, Call Stack: 
null, Custom Event ID: -1, Message: Invalid status on Data Center RBS. Setting 
Data Center status to Non Responsive (On host 
prd-rbs-ovirt-kvm06-poa.rbs.com.br<http://prd-rbs-ovirt-kvm06-poa.rbs.com.br>, 
Error: Network error during communication with the Host.).
2017-01-06 16:25:37,493 ERROR [org.ovirt.vdsm.jsonrpc.client.reactors.Reactor] 
(SSL Stomp Reactor) [] Internal server error: null
2017-01-06 16:25:37,494 ERROR [org.ovirt.vds

Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-05 Thread Pavel Gashev
Yaniv,

Here you go https://galaxy.ansible.com/thepax/ovirt-drbd-vm/


From: <users-boun...@ovirt.org> on behalf of Pavel Gashev <p...@acronis.com>
Date: Wednesday 4 January 2017 at 19:17
To: Yaniv Kaul <yk...@redhat.com>
Cc: Ovirt Users <users@ovirt.org>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?

Yaniv,

I have an ansible role. I’ll upload it to the Ansible Galaxy.


From: Yaniv Kaul <yk...@redhat.com>
Date: Wednesday 4 January 2017 at 14:36
To: Pavel Gashev <p...@acronis.com>
Cc: Ovirt Users <users@ovirt.org>, Fernando Frediani 
<fernando.fredi...@upx.com.br>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?



On Jan 4, 2017 1:34 PM, "Pavel Gashev" 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
It's interesting, I have an opposite opinion. I don’t see why oVirt reinvents 
its own HA instead of using Pacemaker. And it’s not old, it’s mature ;)

I my case, I had no option to setup Hosted Engine since migration to oVirt 
required storage rearrangement. Now I have to run HA oVirt VM using Pacemaker + 
DRBD. Works great.

Would be great if you can share more information about your setup.
It's a great topic for an ovirt.org<http://ovirt.org> blog post, for example.
Y.



From: <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>> on behalf of 
Fernando Frediani 
<fernando.fredi...@upx.com.br<mailto:fernando.fredi...@upx.com.br>>
Date: Tuesday 3 January 2017 at 15:38
To: "users@ovirt.org<mailto:users@ovirt.org>" 
<users@ovirt.org<mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?


Honestlly I don't see why in 2017 people still using the old DRBD + Pacemaker 
solution for virtualization stuff.

On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm and 
engine.
Is their any plan in ovirt to support drbd + Pacemaker ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
<michal.skriva...@redhat.com<mailto:michal.skriva...@redhat.com>> wrote:

On 3 Jan 2017, at 11:55, Nathanaël Blanchet 
<blanc...@abes.fr<mailto:blanc...@abes.fr>> wrote:


except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want to 
find/read a dedicated documentation for such a little query.

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to 
inform vdsm/engine to know about it to prevent corner cases, misdetections, 
etc...


Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :

On 3 Jan 2017, at 11:15, Nathanaël Blanchet 
<blanc...@abes.fr<mailto:blanc...@abes.fr>> wrote:


Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.

it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way


Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
It is preferable you use VDSM hooks to add devices to VMs.


Yaniv Dary

Technical Product Manager

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109



Tel : +972 (9) 7692306<tel:+972%209-769-2306>

8272306

Email: yd...@redhat.com<mailto:yd...@redhat.com>

IRC : ydary

On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
<tranceworldlo...@gmail.com<mailto:tranceworldlo...@gmail.com>> wrote:
Hi Joop,
I want to add drdb device in vm instance hence would like to execute virsh 
command.
Is it possible ?

Thanks,
~Rohit


On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
<jvandew...@nieuwland.nl<mailto:jvandew...@nieuwland.nl>> wrote:
On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to provide ?
If you only need read access then you need to supply -r as an additional
argument.

Why do you need virsh because that will only give you the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

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


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



___

Users mailing list

Users@ovirt.org<mailto:Users@ovirt.org>

http://lists.ovirt.org/mailman/listinfo/users

--

Nathanaël Blanchet



Supervision réseau

Pôle Infrastrutures Informatiques

227 avenue P

Re: [ovirt-users] Storage Problem After Host Update (v3.6)

2017-01-04 Thread Pavel Gashev
Charles,

Please note the warning in logs about lvmetad. It's better to disable this 
service if you invoke LVM utilitities manually. It caches some LVM metadata but 
VDSM doesn't use it. So technically VDSM has different view on PVs.


From: Charles Tassell <char...@islandadmin.ca>
Sent: Jan 5, 2017 7:33 AM
To: Pavel Gashev; users@ovirt.org
Subject: Re: [ovirt-users] Storage Problem After Host Update (v3.6)

Hi Pavel,

   Thanks, I added the 3.6-snapshot repo to upgrade to vdsm 4.17.36 and
then diagnosed a bunch of LVM problems (PV's set as missing in pvs -v)
and that got us fixed back up!


On 2017-01-04 06:13 PM, Pavel Gashev wrote:
> https://bugzilla.redhat.com/1363734
> https://bugzilla.redhat.com/1364339
> https://bugzilla.redhat.com/1366176
>
> Downgrade the lvm2 package.
> Or upgrade vdsm to 4.17.35
>
> -Original Message-
> From: <users-boun...@ovirt.org> on behalf of Charles Tassell 
> <char...@islandadmin.ca>
> Date: Wednesday 4 January 2017 at 23:22
> To: "users@ovirt.org" <users@ovirt.org>
> Subject: [ovirt-users] Storage Problem After Host Update (v3.6)
>
> Hello,
>
> One of our admins did a package update on one of our 3.6 hosts
> through the web GUI and then rebooted the host.  Since then, it hasn't
> been able to properly mount storage and thus we can't move any VMs to
> it.  I rebooted it myself this afternoon and it took our whole cluster
> down for about a half hour, which was kind of concerning.
>
> We use multipath fibre channel for storage and when I do a vgscan or
> vgdisplay -s everything shows up correctly but I get a lot of "Duplicate
> of PV ..." warning messages.  I also get the log entries below
> constantly repeating in vdsm.log.  Any ideas what's going on and how I
> fix it?
>
> CannotActivateLogicalVolumes: Cannot activate Logical Volumes: ('General
> Storage Exception: (\'5 [] [\\\'  WARNING: lvmetad is running but
> disabled. Restart lvmetad before enabling it!\\\', " Refusing activation
> of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  Use
> \\\'--activationmode partial\\\' to
> override."]\\n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\',)',)
> Thread-1844::ERROR::2017-01-04
> 16:03:43,649::dispatcher::76::Storage.Dispatcher::(wrapper) {'status':
> {'message': 'Cannot activate Logical Volumes: (\'General Storage
> Exception: (\\\'5 [] [\\\'  WARNING: lvmetad is running but
> disabled. Restart lvmetad before enabling it!\\\', " Refusing
> activation of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.
> Use \\\'--activationmode partial\\\' to
> override."]n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\\\',)\',)',
> 'code': 570}}
> Thread-101::ERROR::2017-01-04
> 16:03:44,303::monitor::276::Storage.Monitor::(_monitorDomain) Error
> monitoring domain 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b
> Traceback (most recent call last):
> File "/usr/share/vdsm/storage/monitor.py", line 264, in _monitorDomain
>   self._produceDomain()
> File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 769, in
> wrapper
>   value = meth(self, *a, **kw)
> File "/usr/share/vdsm/storage/monitor.py", line 323, in _produceDomain
>   self.domain = sdCache.produce(self.sdUUID)
> File "/usr/share/vdsm/storage/sdc.py", line 100, in produce
>   domain.getRealDomain()
> File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
>   return self._cache._realProduce(self._sdUUID)
> File "/usr/share/vdsm/storage/sdc.py", line 124, in _realProduce
>   domain = self._findDomain(sdUUID)
> File "/usr/share/vdsm/storage/sdc.py", line 143, in _findDomain
>   dom = findMethod(sdUUID)
> File "/usr/share/vdsm/storage/blockSD.py", line 1402, in findDomain
>   return BlockStorageDomain(BlockStorageDomain.findDomainPath(sdUUID))
> File "/usr/share/vdsm/storage/blockSD.py", line 455, in __init__
>   manifest = self.manifestClass(sdUUID)
>File "/usr/share/vdsm/storage/blockSD.py", line 407, in __init__
>   metadata = selectMetadata(self.sdUUID)
> File "/usr/share/vdsm/storage/blockSD.py", line 375, in selectMetadata
>   if len(mdProvider) > 0:
> File "/usr/share/vdsm/storage/persistentDict.py", line 65, in __len__
>   return len(self.keys())
> File "/usr/share/vdsm/storage/persistentDict.py", line 110, in keys
>   return list(self.__iter__())
> File "/usr/share/vdsm/storage/persistentDict.py", line 107, in __iter__
>   self._dict.__iter__())
> File &quo

Re: [ovirt-users] Storage Problem After Host Update (v3.6)

2017-01-04 Thread Pavel Gashev
https://bugzilla.redhat.com/1363734
https://bugzilla.redhat.com/1364339
https://bugzilla.redhat.com/1366176

Downgrade the lvm2 package.
Or upgrade vdsm to 4.17.35

-Original Message-
From:  on behalf of Charles Tassell 

Date: Wednesday 4 January 2017 at 23:22
To: "users@ovirt.org" 
Subject: [ovirt-users] Storage Problem After Host Update (v3.6)

Hello,

   One of our admins did a package update on one of our 3.6 hosts 
through the web GUI and then rebooted the host.  Since then, it hasn't 
been able to properly mount storage and thus we can't move any VMs to 
it.  I rebooted it myself this afternoon and it took our whole cluster 
down for about a half hour, which was kind of concerning.

   We use multipath fibre channel for storage and when I do a vgscan or 
vgdisplay -s everything shows up correctly but I get a lot of "Duplicate 
of PV ..." warning messages.  I also get the log entries below 
constantly repeating in vdsm.log.  Any ideas what's going on and how I 
fix it?

CannotActivateLogicalVolumes: Cannot activate Logical Volumes: ('General 
Storage Exception: (\'5 [] [\\\'  WARNING: lvmetad is running but 
disabled. Restart lvmetad before enabling it!\\\', " Refusing activation 
of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  Use 
\\\'--activationmode partial\\\' to 
override."]\\n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\',)',)
Thread-1844::ERROR::2017-01-04 
16:03:43,649::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': 'Cannot activate Logical Volumes: (\'General Storage 
Exception: (\\\'5 [] [\\\'  WARNING: lvmetad is running but 
disabled. Restart lvmetad before enabling it!\\\', " Refusing 
activation of partial LV 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/metadata.  
Use \\\'--activationmode partial\\\' to 
override."]n8dfcc83b-64d7-4ff7-9800-02ba3430ea7b/[\\\'metadata\\\']\\\',)\',)',
 
'code': 570}}
Thread-101::ERROR::2017-01-04 
16:03:44,303::monitor::276::Storage.Monitor::(_monitorDomain) Error 
monitoring domain 8dfcc83b-64d7-4ff7-9800-02ba3430ea7b
Traceback (most recent call last):
   File "/usr/share/vdsm/storage/monitor.py", line 264, in _monitorDomain
 self._produceDomain()
   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 769, in 
wrapper
 value = meth(self, *a, **kw)
   File "/usr/share/vdsm/storage/monitor.py", line 323, in _produceDomain
 self.domain = sdCache.produce(self.sdUUID)
   File "/usr/share/vdsm/storage/sdc.py", line 100, in produce
 domain.getRealDomain()
   File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain
 return self._cache._realProduce(self._sdUUID)
   File "/usr/share/vdsm/storage/sdc.py", line 124, in _realProduce
 domain = self._findDomain(sdUUID)
   File "/usr/share/vdsm/storage/sdc.py", line 143, in _findDomain
 dom = findMethod(sdUUID)
   File "/usr/share/vdsm/storage/blockSD.py", line 1402, in findDomain
 return BlockStorageDomain(BlockStorageDomain.findDomainPath(sdUUID))
   File "/usr/share/vdsm/storage/blockSD.py", line 455, in __init__
 manifest = self.manifestClass(sdUUID)
  File "/usr/share/vdsm/storage/blockSD.py", line 407, in __init__
 metadata = selectMetadata(self.sdUUID)
   File "/usr/share/vdsm/storage/blockSD.py", line 375, in selectMetadata
 if len(mdProvider) > 0:
   File "/usr/share/vdsm/storage/persistentDict.py", line 65, in __len__
 return len(self.keys())
   File "/usr/share/vdsm/storage/persistentDict.py", line 110, in keys
 return list(self.__iter__())
   File "/usr/share/vdsm/storage/persistentDict.py", line 107, in __iter__
 self._dict.__iter__())
   File "/usr/share/vdsm/storage/persistentDict.py", line 225, in __iter__
 with self._accessWrapper():
   File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
 return self.gen.next()
   File "/usr/share/vdsm/storage/persistentDict.py", line 152, in 
_accessWrapper
 self.refresh()
   File "/usr/share/vdsm/storage/persistentDict.py", line 230, in refresh
 lines = self._metaRW.readlines()
   File "/usr/share/vdsm/storage/blockSD.py", line 335, in readlines
 lvm.activateLVs(self._vgName, self._lvName)
   File "/usr/share/vdsm/storage/lvm.py", line 1191, in activateLVs
 _setLVAvailability(vgName, toActivate, "y")
   File "/usr/share/vdsm/storage/lvm.py", line 826, in _setLVAvailability
 raise error(str(e))

LVM output:
[root@ovirt-01 mapper]# vgchange -a y
   WARNING: duplicate PV 1oDZGSqoQ4ueh0XEMzILNleRoNY8ZDAt is being used 
from both devices /dev/sdac and /dev/sdk
   Found duplicate PV 1oDZGSqoQ4ueh0XEMzILNleRoNY8ZDAt: using /dev/sdk 
not /dev/sdac
   Using duplicate PV /dev/sdk which is last seen, replacing /dev/sdac
   Duplicate of PV EMfxl6-8coB-iUdZ-Dx4P-e5LZ-UcIF-kvIfXx dev 
/dev/mapper/360060160ec732300fa5fdde41c66e111p1 exists on unknown device 
65:177
   Duplicate of PV EMfxl6-8coB-iUdZ-Dx4P-e5LZ-UcIF-kvIfXx dev 

Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Pavel Gashev
Yaniv,

I have an ansible role. I’ll upload it to the Ansible Galaxy.


From: Yaniv Kaul <yk...@redhat.com>
Date: Wednesday 4 January 2017 at 14:36
To: Pavel Gashev <p...@acronis.com>
Cc: Ovirt Users <users@ovirt.org>, Fernando Frediani 
<fernando.fredi...@upx.com.br>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?



On Jan 4, 2017 1:34 PM, "Pavel Gashev" 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
It's interesting, I have an opposite opinion. I don’t see why oVirt reinvents 
its own HA instead of using Pacemaker. And it’s not old, it’s mature ;)

I my case, I had no option to setup Hosted Engine since migration to oVirt 
required storage rearrangement. Now I have to run HA oVirt VM using Pacemaker + 
DRBD. Works great.

Would be great if you can share more information about your setup.
It's a great topic for an ovirt.org<http://ovirt.org> blog post, for example.
Y.



From: <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>> on behalf of 
Fernando Frediani 
<fernando.fredi...@upx.com.br<mailto:fernando.fredi...@upx.com.br>>
Date: Tuesday 3 January 2017 at 15:38
To: "users@ovirt.org<mailto:users@ovirt.org>" 
<users@ovirt.org<mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?


Honestlly I don't see why in 2017 people still using the old DRBD + Pacemaker 
solution for virtualization stuff.

On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm and 
engine.
Is their any plan in ovirt to support drbd + Pacemaker ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
<michal.skriva...@redhat.com<mailto:michal.skriva...@redhat.com>> wrote:

On 3 Jan 2017, at 11:55, Nathanaël Blanchet 
<blanc...@abes.fr<mailto:blanc...@abes.fr>> wrote:


except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want to 
find/read a dedicated documentation for such a little query.

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to 
inform vdsm/engine to know about it to prevent corner cases, misdetections, 
etc...


Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :

On 3 Jan 2017, at 11:15, Nathanaël Blanchet 
<blanc...@abes.fr<mailto:blanc...@abes.fr>> wrote:


Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.

it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way


Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
It is preferable you use VDSM hooks to add devices to VMs.


Yaniv Dary

Technical Product Manager

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109



Tel : +972 (9) 7692306<tel:+972%209-769-2306>

8272306

Email: yd...@redhat.com<mailto:yd...@redhat.com>

IRC : ydary

On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
<tranceworldlo...@gmail.com<mailto:tranceworldlo...@gmail.com>> wrote:
Hi Joop,
I want to add drdb device in vm instance hence would like to execute virsh 
command.
Is it possible ?

Thanks,
~Rohit


On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
<jvandew...@nieuwland.nl<mailto:jvandew...@nieuwland.nl>> wrote:
On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to provide ?
If you only need read access then you need to supply -r as an additional
argument.

Why do you need virsh because that will only give you the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

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


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



___

Users mailing list

Users@ovirt.org<mailto:Users@ovirt.org>

http://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 14

blanc...@abes.fr<mailto:blanc...@abes.fr>
___ Users mailing list 
Users@ovirt.org<mailto:Users@ovirt.org> 
http://lists.ovirt.org/mailman/listinfo/users

--

Nathanaël Blanchet



Supervision réseau

Pôle I

Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Pavel Gashev
Martin,

Thank you for the clarifications. It makes sense.

I just mean that following the Unix way [1] gives benefits. For example, VDSM 
doesn’t follow DOTADIW [2]. And I believe it could work better if it did.

[1] https://en.wikipedia.org/wiki/Unix_philosophy 
[2] Do One Thing and Do It Well

-Original Message-
From: Martin Sivak <msi...@redhat.com>
Date: Wednesday 4 January 2017 at 15:36
To: Pavel Gashev <p...@acronis.com>
Cc: Fernando Frediani <fernando.fredi...@upx.com.br>, "users@ovirt.org" 
<users@ovirt.org>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?

Hi,

We were actually evaluating Pacemaker based hosted engine and talking
to Pacemaker developers, but we hit couple of show stoppers:

- Pacemaker supports limited set of nodes in the default setup (16
iirc, extensible using some kind of relays)
- It uses network based synchronization and requires very low latency
network (we can't guarantee that when migrations are in progress for
example) - the rest of oVirt currently uses storage based
synchronization, so we are in a different world here
- We would basically have to rewrite / duplicate most of the hosted
engine code we already have to get the same scheduling logic (load
penalization, gateway checks, ...)

We decided that rewriting code for no clear benefit was not productive
and stayed with the current hosted engine instead.

Martin


On Wed, Jan 4, 2017 at 12:33 PM, Pavel Gashev <p...@acronis.com> wrote:
> It's interesting, I have an opposite opinion. I don’t see why oVirt
> reinvents its own HA instead of using Pacemaker. And it’s not old, it’s
> mature ;)
>
>
>
> I my case, I had no option to setup Hosted Engine since migration to oVirt
> required storage rearrangement. Now I have to run HA oVirt VM using
> Pacemaker + DRBD. Works great.
>
>
>
>
>
> From: <users-boun...@ovirt.org> on behalf of Fernando Frediani
> <fernando.fredi...@upx.com.br>
> Date: Tuesday 3 January 2017 at 15:38
> To: "users@ovirt.org" <users@ovirt.org>
> Subject: Re: [ovirt-users] How to execute Virsh command after ovirt
> installation ?
>
>
>
> Honestlly I don't see why in 2017 people still using the old DRBD +
> Pacemaker solution for virtualization stuff.
>
>
>
> On 03/01/2017 10:35, TranceWorldLogic . wrote:
>
> Thanks, I agree bad idea to execute virsh command without knowing vdsm and
> engine.
>
> Is their any plan in ovirt to support drbd + Pacemaker ?
>
>
>
>
>
> On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek
> <michal.skriva...@redhat.com> wrote:
>
>
>
> On 3 Jan 2017, at 11:55, Nathanaël Blanchet <blanc...@abes.fr> wrote:
>
>
>
> except for quickly get RO informations like "virsh capabilities".
>
> When you come from libvirt and you know what to do, you might not want to
> find/read a dedicated documentation for such a little query.
>
>
>
> yes, sure, for read-only
>
> but for any modification, no matter how minimal, it’s almost always needed
> to inform vdsm/engine to know about it to prevent corner cases,
> misdetections, etc...
>
>
>
>
>
> Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :
>
>
>
> On 3 Jan 2017, at 11:15, Nathanaël Blanchet <blanc...@abes.fr> wrote:
>
>
>
> Use at your own risks:
>
> vdsm@ovirt:shibboleth
>
> But, you may unsynchronize your host HW with engine database.
>
>
>
> it is almost always a bad idea to do that
>
> hooks are exactly for the cases like below, just in a cleaner way
>
>
>
>
>
> Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
>
> It is preferable you use VDSM hooks to add devices to VMs.
>
>
> Yaniv Dary
>
> Technical Product Manager
>
> Red Hat Israel Ltd.
>
> 34 Jerusalem Road
>
> Building A, 4th floor
>
> Ra'anana, Israel 4350109
>
>
>
> Tel : +972 (9) 7692306
>
> 8272306
>
> Email: yd...@redhat.com
>
> IRC : ydary
>
>
>
> On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic .
> <tranceworldlo...@gmail.com> wrote:
>
> Hi Joop,
>
> I want to add drdb device in vm instance hence would like to execute virsh
> command.
>
> Is it possible ?
>
>
>
> Thanks,
>
> ~Rohit
>
>
>
>
>
> On Tue, Jan 3, 2017 at 1:26 PM, jvandewege <jvandew...@nieuwland.nl> wrote:
>
> On 3-1-2017 8:32, TranceWorldLogic . wrote:
>> Hi,
>>
>> I tried execution below virsh command after ovirt installation.
>> but it requesting username and password.
>>
>> ~# virsh list --all
>> Please enter your authentication name:
>>
>&

Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Pavel Gashev
Migration to oVirt was requiring storage rearrangement. In other words, my 
storage was used by another virtualization.

From: "TranceWorldLogic ." <tranceworldlo...@gmail.com>
Date: Wednesday 4 January 2017 at 15:17
To: Yaniv Kaul <yk...@redhat.com>
Cc: Pavel Gashev <p...@acronis.com>, Ovirt Users <users@ovirt.org>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?

Sorry, I not understood "oVirt required storage rearrangement".
Would you please provide some more input on this ?
Thanks,
~Rohit

On Wed, Jan 4, 2017 at 5:06 PM, Yaniv Kaul 
<yk...@redhat.com<mailto:yk...@redhat.com>> wrote:


On Jan 4, 2017 1:34 PM, "Pavel Gashev" 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
It's interesting, I have an opposite opinion. I don’t see why oVirt reinvents 
its own HA instead of using Pacemaker. And it’s not old, it’s mature ;)

I my case, I had no option to setup Hosted Engine since migration to oVirt 
required storage rearrangement. Now I have to run HA oVirt VM using Pacemaker + 
DRBD. Works great.

Would be great if you can share more information about your setup.
It's a great topic for an ovirt.org<http://ovirt.org> blog post, for example.
Y.



From: <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>> on behalf of 
Fernando Frediani 
<fernando.fredi...@upx.com.br<mailto:fernando.fredi...@upx.com.br>>
Date: Tuesday 3 January 2017 at 15:38
To: "users@ovirt.org<mailto:users@ovirt.org>" 
<users@ovirt.org<mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?


Honestlly I don't see why in 2017 people still using the old DRBD + Pacemaker 
solution for virtualization stuff.

On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm and 
engine.
Is their any plan in ovirt to support drbd + Pacemaker ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
<michal.skriva...@redhat.com<mailto:michal.skriva...@redhat.com>> wrote:

On 3 Jan 2017, at 11:55, Nathanaël Blanchet 
<blanc...@abes.fr<mailto:blanc...@abes.fr>> wrote:


except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want to 
find/read a dedicated documentation for such a little query.

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to 
inform vdsm/engine to know about it to prevent corner cases, misdetections, 
etc...


Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :

On 3 Jan 2017, at 11:15, Nathanaël Blanchet 
<blanc...@abes.fr<mailto:blanc...@abes.fr>> wrote:


Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.

it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way


Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
It is preferable you use VDSM hooks to add devices to VMs.


Yaniv Dary

Technical Product Manager

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109



Tel : +972 (9) 7692306<tel:+972%209-769-2306>

8272306

Email: yd...@redhat.com<mailto:yd...@redhat.com>

IRC : ydary

On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
<tranceworldlo...@gmail.com<mailto:tranceworldlo...@gmail.com>> wrote:
Hi Joop,
I want to add drdb device in vm instance hence would like to execute virsh 
command.
Is it possible ?

Thanks,
~Rohit


On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
<jvandew...@nieuwland.nl<mailto:jvandew...@nieuwland.nl>> wrote:
On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to provide ?
If you only need read access then you need to supply -r as an additional
argument.

Why do you need virsh because that will only give you the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

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


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



___

Users mailing list

Users@ovirt.org<mailto:Users@ovirt.org>

http://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


Re: [ovirt-users] How to execute Virsh command after ovirt installation ?

2017-01-04 Thread Pavel Gashev
It's interesting, I have an opposite opinion. I don’t see why oVirt reinvents 
its own HA instead of using Pacemaker. And it’s not old, it’s mature ;)

I my case, I had no option to setup Hosted Engine since migration to oVirt 
required storage rearrangement. Now I have to run HA oVirt VM using Pacemaker + 
DRBD. Works great.


From:  on behalf of Fernando Frediani 

Date: Tuesday 3 January 2017 at 15:38
To: "users@ovirt.org" 
Subject: Re: [ovirt-users] How to execute Virsh command after ovirt 
installation ?


Honestlly I don't see why in 2017 people still using the old DRBD + Pacemaker 
solution for virtualization stuff.

On 03/01/2017 10:35, TranceWorldLogic . wrote:
Thanks, I agree bad idea to execute virsh command without knowing vdsm and 
engine.
Is their any plan in ovirt to support drbd + Pacemaker ?


On Tue, Jan 3, 2017 at 4:29 PM, Michal Skrivanek 
> wrote:

On 3 Jan 2017, at 11:55, Nathanaël Blanchet 
> wrote:


except for quickly get RO informations like "virsh capabilities".

When you come from libvirt and you know what to do, you might not want to 
find/read a dedicated documentation for such a little query.

yes, sure, for read-only
but for any modification, no matter how minimal, it’s almost always needed to 
inform vdsm/engine to know about it to prevent corner cases, misdetections, 
etc...



Le 03/01/2017 à 11:19, Michal Skrivanek a écrit :

On 3 Jan 2017, at 11:15, Nathanaël Blanchet 
> wrote:


Use at your own risks:

vdsm@ovirt:shibboleth

But, you may unsynchronize your host HW with engine database.

it is almost always a bad idea to do that
hooks are exactly for the cases like below, just in a cleaner way



Le 03/01/2017 à 11:09, Yaniv Dary a écrit :
It is preferable you use VDSM hooks to add devices to VMs.


Yaniv Dary

Technical Product Manager

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109



Tel : +972 (9) 7692306

8272306

Email: yd...@redhat.com

IRC : ydary

On Tue, Jan 3, 2017 at 10:58 AM, TranceWorldLogic . 
> wrote:
Hi Joop,
I want to add drdb device in vm instance hence would like to execute virsh 
command.
Is it possible ?

Thanks,
~Rohit


On Tue, Jan 3, 2017 at 1:26 PM, jvandewege 
> wrote:
On 3-1-2017 8:32, TranceWorldLogic . wrote:
> Hi,
>
> I tried execution below virsh command after ovirt installation.
> but it requesting username and password.
>
> ~# virsh list --all
> Please enter your authentication name:
>
> Please let me know which username and password I have to provide ?
If you only need read access then you need to supply -r as an additional
argument.

Why do you need virsh because that will only give you the info on that
host, using ovirt-shell gives you the info for all hosts.

Joop

___
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

--

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 14

blanc...@abes.fr
___ Users mailing list 
Users@ovirt.org 
http://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 14

blanc...@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] Using zRam with oVirt Nodes

2016-12-30 Thread Pavel Gashev
I enable zSwap on my oVirt nodes by default. However zSwap is not the same 
thing as zRam. The purpose of zSwap is decreasing I/O by compressing swap 
itself. zSwap uses some ram for compressed swap, but it doesn’t try to keep a 
page in memory if it can’t be compressed. 

I find using of zRam without swap too risky. You don’t know when OOM killer 
start its job.

-Original Message-
From:  on behalf of Fernando Frediani 

Date: Friday 30 December 2016 at 20:06
To: "users@ovirt.org" 
Subject: [ovirt-users] Using zRam with oVirt Nodes

Hello folks.

On simple libvirt/KVM hosts in order to improve RAM usage and avoid swap 
to disk I use zRam with swap to RAM technique. So create half of amount 
of host memory in zRam disk divided by the number of CPU cores. Works 
pretty well.

Has anyone tried it with oVirt Nodes or even has it been considered as a 
feature to simply turn on/off ?

Thanks
Fernando

___
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] vdsm 4.17

2016-12-15 Thread Pavel Gashev
Hello,

I’ve found that vdsm 4.17.32 doesn’t work well in CentOS 7.3 due to bugs like
https://bugzilla.redhat.com/1364339 or https://bugzilla.redhat.com/1368258
However it seems like vdsm 4.17.35 has all related fixes.

Is it safe to use non-released version of vdsm?
Is there a plan to release oVirt 3.6.8?

Thanks

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


Re: [ovirt-users] web-ui issues

2016-12-07 Thread Pavel Gashev
I see exactly the same issue in ovirt-engine-4.0.6.2-1
Please note the issue produces no logs in /var/log/ovirt-engine/*log


From:  on behalf of "Maton, Brett" 

Date: Tuesday 6 December 2016 at 16:42
To: Alexander Wels 
Cc: Ovirt Users 
Subject: Re: [ovirt-users] web-ui issues

Ok thanks.
  I've restarted the ui a few times today, still nothing ( at all ) in ui.log
  The errors do look like 'iffy' queries, no errors in PostgreSQL logs though.

On 6 December 2016 at 13:28, Alexander Wels 
> wrote:
On Monday, December 5, 2016 8:49:20 PM EST Maton, Brett wrote:
> Sure here you go:
>
> [image: Inline images 1]
> Close the dialogs and the dashboard fades in, Virtual Machines tab doesn't
> (or I get fed up of closing dialogs before it does)
>
> [image: Inline images 2]
>

Interesting, those aren't actually UI failures, those appear to be failures
from backend requests. As in, get me some data, and the query fails for some
reason, there should be something in the engine log. Let me dig up the ones
you posted again and take a closer look.

> On 5 December 2016 at 20:11, Alexander Wels 
> > wrote:
> > On Monday, December 5, 2016 7:11:52 PM EST Maton, Brett wrote:
> > > Yup those are the logs from the hosted engine,
> > >
> > >   ui.log is still empty, all very very odd...
> >
> > Can you send me a screenshot of what you are seeing? As it makes no sense
> > that
> > the UI.log is empty, since the exception handler tries to write to the
> > backend
> > UI log.
> >
> > > On 5 December 2016 at 18:12, Alexander Wels 
> > > > wrote:
> > > > On Monday, December 5, 2016 5:41:59 PM EST Maton, Brett wrote:
> > > > > Logs are here
> > > > >  > > >
> > > > 7a4ccbeab673dfda8aa0c38676063b
> > > >
> > > > > 7a=11138>
> > > >
> > > > Are you sure those are the correct logs? The UI.log is empty and the
> >
> > other
> >
> > > > logs don't have much of anything in them.
> > > >
> > > > > On 5 December 2016 at 16:57, Alexander Wels 
> > > > > >
> >
> > wrote:
> > > > > > On Monday, December 5, 2016 4:55:19 PM EST Maton, Brett wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > >   I tried restarting the browser and clearing the cache but I
> >
> > still
> >
> > > > have
> > > >
> > > > > > > the same problem.
> > > > > > >
> > > > > > >   Symbol maps it is then
> > > > > >
> > > > > > To install the symbol maps do the following on the ENGINE:
> > > > > >
> > > > > > 1. yum install ovirt-engine-webadmin-portal-debuginfo
> > > > > > 2. restart engine
> > > > > > 3. Reproduce the problem.
> > > > > > 4. Send me the UI.log from the engine machine.
> > > > > >
> > > > > > > On 5 December 2016 at 16:00, Alexander Wels 
> > > > > > > >
> > > >
> > > > wrote:
> > > > > > > > On Sunday, December 4, 2016 5:57:50 PM EST Maton, Brett wrote:
> > > > > > > > > Hi Oved,
> > > > > > > > >
> > > > > > > > >   I've upload the logs here
> > > > > > > > >
> > > > > > > > >  > > > > > > >
> > > > > > > > bd24f303b23c2cd393676f0da5c323
> > > > > > > >
> > > > > > > > > d8=10263>
> > > > > > > > >
> > > > > > > > > On 4 December 2016 at 12:25, Oved Ourfali <
> >
> > oourf...@redhat.com>
> >
> > > > > > wrote:
> > > > > > > > > > Please attach complete logs.
> > > > > > > > > > Engine, server and ui logs.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > Oved
> > > > > > > > > >
> > > > > > > > > > On Dec 4, 2016 13:45, "Maton, Brett" <
> >
> > mat...@ltresources.co.uk
> >
> > > > > > wrote:
> > > > > > > > > >> Since I upgraded to 4.0.6-3 I've been having problems
> > > > > > > > > >> with
> > > >
> > > > the UI
> > > >
> > > > > > > > > >> When I login the dash board presents a bunch of Operation
> > > > > > > > > >> Canceled
> > > > > > > > > >> dialogs,
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> ! Operation canceled
> > > > > > > > > >>
> > > > > > > > > >> Error while executing query: null
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> ! Operation canceled
> > > > > > > > > >>
> > > > > > > > > >> Error while executing action: A Request to the Server
> >
> > failed:
> > > > > > > > > >> java.lang.reflect.InvocationTargetException
> > > > > > > > > >>
> > > > > > > > > >>
> > > > > > > > > >> The only error I see in engine.log is
> > > > > > > > > >>
> > > > > > > > > >> 2016-12-04 11:34:07,945 INFO
> >
> > [org.ovirt.engine.docs.utils.s
> >
> > > > > > > > > >> ervlet.ContextSensitiveHelpMappingServlet] (default
> >
> > task-1)
> >
> > > > []
> > > >
> > > > > > > > > >> Context-sensitive help is not installed. Manual directory

[ovirt-users] User portal permissions

2016-12-05 Thread Pavel Gashev
Hello,

I’d like to use the User Portal. Unfortunately, I’ve found no documentation 
about setting it up.
How to give a way for a user to create and manage VMs within a quota? Which 
permissions should I set for Network/Storage/Cluster?

Any help is appreciated.

Thanks

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


Re: [ovirt-users] ovirt 4.05 windows balloon service installation wrong path

2016-12-01 Thread Pavel Gashev
Please note it works like this on all server versions of Windows 
(w2k3/w2k8/w2k12/w2k16).
Also the guest tools installer doesn’t install the QEMU service, so it’s 
necessary to run
C:\Program Files (x86)\oVirt Guest Tools\drivers\guest-agent\qemu-ga-x86.exe
manually.

From:  on behalf of Simone Tiraboschi 

Date: Thursday 1 December 2016 at 20:12
To: Andrea Ghelardi , Lev Veyde 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] ovirt 4.05 windows balloon service installation 
wrong path



On Thu, Dec 1, 2016 at 5:00 PM, Andrea Ghelardi 
> wrote:
Hello team,
FYI standard installation of Guest tool on Windows server O.S. is somehow 
flawed.
It setups a windows service named “BalloonService” with path
C:\Program Files (x86)\oVirt Guest Tools\drivers\Balloon\w2k8R2\amd64\blnsvr.exe

Unfortunately, the real path created on filesystem is
C:\Program Files (x86)\oVirt Guest Tools\drivers\Balloon\2k8R2\amd64\blnsvr.exe
(please note the missing “w” after \Baloon\ )

Thanks for the report Andrea, checking...


The easy workaround is to run this command on a “run as admin” cmd shell:
sc config BalloonService binpath= "C:\Program Files (x86)\oVirt Guest 
Tools\drivers\Balloon\2k8R2\amd64\blnsvr.exe" DisplayName= "Baloon Service 
Ovirt 4" start= auto

I suggest to fix either the command that create path during installation or the 
one which setup the service

cheers

Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com | 
a.ghela...@iontrading.com
Via San Martino, 52 – 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file transmitted with it in error, please 
notify the sender by telephone or return email immediately and delete the 
material from your computer. Internet communications are not secure and ION 
Trading is not responsible for their abuse by third parties, nor for any 
alteration or corruption in transmission, nor for any damage or loss caused by 
any virus or other defect. ION Trading accepts no liability or responsibility 
arising out of or in any way connected to this email.

[ON_HBlu_small]
Automation through innovation


___
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] shutdown and kernel panic

2016-11-23 Thread Pavel Gashev
Luigi,

It’s necessary to put a host into maintenance mode before shutdown.

That panic is a kernel reaction to NMI, which is triggered by hardware 
watchdog, which is set by wdmd daemon, which is used by sanlock. This scheme is 
intended to hardware reset a server if it has lost connection to its storage 
when lock is acquired.

On HP servers it’s necessary to configure watchdog to do hardware reset instead 
of NMI in BIOS settings.


From:  on behalf of Juan Pablo 

Date: Wednesday 23 November 2016 at 17:17
To: Luigi Fanton 
Cc: "users@ovirt.org" 
Subject: Re: [ovirt-users] shutdown and kernel panic

same issue here. I guess now that I read your post that its an HP bug 'somehow' 
(to blame someone).
maybe thats why ovirt asks for fencing interfaces as ilo/imm/ipmi, to hard 
reboot the server in case there's an issue like this.

just my 2c

2016-11-22 13:22 GMT-03:00 Luigi Fanton 
>:
Hello to all,
I'm just playing with ovirt4, installed on HP server with CentOS 7, and a 
virtual machine  as host engine.
I have a lot of problems with the server shutdown!
The server dosn't power off and will reboot after some "kernel panic" error.

To turn off the ovirt server:
1) Put ovirt in global maintinience (hosted-engine --set-maintenance 
--mode=global)
2) Host engine shutdown and check vm-status
3) Finaly, shutdown server and wait ... wait ... wait
Whats wrong?! -_-

best regards
Luigi F.

___
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] GFS2 and OCFS2 for Shared Storage

2016-11-23 Thread Pavel Gashev
Fernando,

Clustered LVM doesn’t support lvmthin(7) 
http://man7.org/linux/man-pages/man7/lvmthin.7.html
There is an oVirt LVM-based thin provisioning implementation.

-Original Message-
From: Fernando Frediani <fernando.fredi...@upx.com.br>
Date: Wednesday 23 November 2016 at 16:31
To: Pavel Gashev <p...@acronis.com>, "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] GFS2 and OCFS2 for Shared Storage

Are you sure Pavel ?

As far as I know and it has been discussed in this list before, the 
limitation is in CLVM which doesn't support Thinprovisioning yet. LVM2 
does, but it is not in Clustered mode. I tried to use GFS2 in the past 
for other non-virtualization related stuff and didn't have much success 
either.

What about OCFS2 ? Has anyone ?

Fernando


On 23/11/2016 11:26, Pavel Gashev wrote:
> Fernando,
>
> oVirt supports thin provisioning for shared block storages (DAS or iSCSI). It 
> works using QCOW2 disk images directly on LVM volumes. oVirt extends volumes 
> when QCOW2 is growing.
>
> I tried GFS2. It's slow, and blocks other hosts on a host failure.
>
> -Original Message-
> From: <users-boun...@ovirt.org> on behalf of Fernando Frediani 
> <fernando.fredi...@upx.com.br>
> Date: Wednesday 23 November 2016 at 15:03
> To: "users@ovirt.org" <users@ovirt.org>
> Subject: [ovirt-users] GFS2 and OCFS2 for Shared Storage
>
> Has anyone managed to use GFS2 or OCFS2 for Shared Block Storage between
> hosts ? How scalable was it and which of the two work better ?
>
> Using traditional CLVM is far from good starting because of the lack of
> Thinprovision so I'm willing to consider either of the Filesystems.
>
> Thanks
>
> Fernando
>
> ___
> 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] GFS2 and OCFS2 for Shared Storage

2016-11-23 Thread Pavel Gashev
Fernando,

oVirt supports thin provisioning for shared block storages (DAS or iSCSI). It 
works using QCOW2 disk images directly on LVM volumes. oVirt extends volumes 
when QCOW2 is growing.

I tried GFS2. It's slow, and blocks other hosts on a host failure.

-Original Message-
From:  on behalf of Fernando Frediani 

Date: Wednesday 23 November 2016 at 15:03
To: "users@ovirt.org" 
Subject: [ovirt-users] GFS2 and OCFS2 for Shared Storage

Has anyone managed to use GFS2 or OCFS2 for Shared Block Storage between 
hosts ? How scalable was it and which of the two work better ?

Using traditional CLVM is far from good starting because of the lack of 
Thinprovision so I'm willing to consider either of the Filesystems.

Thanks

Fernando

___
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] Adding Infiniband VM Network Fails

2016-11-17 Thread Pavel Gashev
I believe IP-over-Infiniband is an OSI level 3 transport, so it can’t be used 
in a level 2 (Ethernet) bridge. 

-Original Message-
From:  on behalf of "cl...@theboggios.com" 

Date: Wednesday 16 November 2016 at 22:10
To: "users@ovirt.org" 
Subject: [ovirt-users] Adding Infiniband VM Network Fails

Good Day;

I am trying to add an infiniband VM network to the hosts on my ovirt 
deployment, and the network configuration on the hosts fails to save. 
The network bridge is added successfully, but applying the bridge to the 
IB1 nic fails with little information other than it failed.

My system:

6 HV nodes running CentOS 7 and OV version 4
1 Dedicated engine running CentOS 7 and engine version 4 in 3.6 mode.

The HV nodes all have Mellanox IB cards, dual port. Port 0 is for iSCSI 
and NFS connectivity and runs fine. Port 1 is for VM usage of the 10Gb 
network.

Have any of you had any dealings with this ?


___
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] Local and Shared storage in same datacenter

2016-10-31 Thread Pavel Gashev
FTW, attaching physical local drives to VMs also works well.
Disks -> New -> Direct LUN -> Storage Type: Fibre Channel -> Use Host…
Your disk doesn't have to be Fibre Channel. Just any direct attached disk works 
well.

-Original Message-
From: Yedidyah Bar David <d...@redhat.com>
Date: Monday 31 October 2016 at 17:13
To: Pavel Gashev <p...@acronis.com>
Cc: Mike <maill...@probie.nl>, "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] Local and Shared storage in same datacenter

On Mon, Oct 31, 2016 at 4:02 PM, Pavel Gashev <p...@acronis.com> wrote:
> Mike,
>
> As workaround it's not very hard to create a mount command wrapper that 
> converts local NFS mounts to bind-mounts. The propper way I think is to patch 
> the VDSM service to handle local NFS mounts. In result, a NFS storage will 
> work like a local storage if it's local.

Or write your own hook [1] that will cleanly do whatever
you want without patching anything. Oh, I see we already have one
there [2]! I wonder how no-one mentioned it so far. Are there
known issues with it?

[1] http://www.ovirt.org/develop/developer-guide/vdsm/hooks/
[2] http://www.ovirt.org/develop/developer-guide/vdsm/hook/vmdisk/

>
> -Original Message-
> From: Mike <maill...@probie.nl>
> Date: Monday 31 October 2016 at 16:33
> To: Pavel Gashev <p...@acronis.com>, "users@ovirt.org" <users@ovirt.org>
> Subject: Re: [ovirt-users] Local and Shared storage in same datacenter
>
> Hi Pavel,
>
> Op 31-10-2016 om 11:22 schreef Pavel Gashev:
>> Mike,
>>
>> You can share and use your local storage via NFS. So all your storages are 
>> shared, and can be used in the same datacenter.
> I installed a nfs server on the hypervisor and am using it that way at
> the moment.
> It feels 'wrong' but it seems to work okay and it is fast as far as I
> can tell.
> Still would like to see another solution without the added latency of
> nfs and be able to utilize directio, etc.
>>
>> -Original Message-
>> From: <users-boun...@ovirt.org> on behalf of "Mike (maillinglists)" 
>> <maill...@probie.nl>
>> Date: Sunday 30 October 2016 at 13:02
>> To: "users@ovirt.org" <users@ovirt.org>
>> Subject: [ovirt-users] Local and Shared storage in same datacenter
>>
>> Hi guys,
>>
>> There have been a few related questions already that I could find, but I
>> did not find anything relating to my specific use case.
>>
>> Currently it is not possible to mix local storage with shared storage in
>> the same datacenter.
>> The reason seems to be because of the storage pool manager (SPM).
>> This is a role in the datacenter provided to one specific host.
>>
>> While I understand that this makes having local storage impossible, I
>> believe there is a use case to have local storage in a shared storage
>> datacenter.
>> Consider the following:
>> I have a few applications that require 1 milli second latency and at
>> most 2 milli second.
>> That is not consistenly achievable with shared storage, to that end I
>> added flash storage to a few hypervisors.
>> About 5% of my servers require this and are not that resource hungry to
>> require a dedicated physical server.
>> That same 5% also has no requirement to be migrated if a host fails.
>>
>> So in short I have 5 heavy hosts running ovirt with a shared storage
>> domain on NFS for 95% of my servers.
>> All running fine, but I am now unable to run my remaining 5%.
>>
>> To finish up my summary I have been testing various virtualization
>> technologies, like VmWare and Hyper-V.
>> They allow such configurations as I mentioned.
>>
>> I already had some chat on irc with various guys and they suggested that
>> I put this on the mailing list, so here goes.
>>
>> My suggestion would be to evoluate from SPM to SDM.
>> SDM stands for Storage Domain Manager.
>> This would create the possibility to have all nodes in the datacenter
>> participate in the storage handling.
>> A extra benefit would be that local storage could be added.
>>
>> What do you think?
>>
>> Thanks for reading.
>>
>> Kind regards,
>> Mike van Goor
>> ___
>> 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



-- 
Didi


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


Re: [ovirt-users] Local and Shared storage in same datacenter

2016-10-31 Thread Pavel Gashev
I think it's all about online VM migration. oVirt doesn't support online VM 
migration together with online storage migration. So any storage has to be 
accessible from any hosts in a datacenter. That's why local storages are too 
restricted.

Converting Local storages to Shared removes the restriction. Avoiding NFS layer 
locally removes the NFS performance drawback. And both allow to adhere to the 
oVirt way.

-Original Message-
From: Fernando Frediani <fernando.fredi...@upx.com.br>
Date: Monday 31 October 2016 at 17:07
To: Pavel Gashev <p...@acronis.com>
Subject: Re: [ovirt-users] Local and Shared storage in same datacenter

Why this 'workdaround' to share a local storage as NFS instead os just 
use it as a 'normal' Local storage ? Looks more like a chewing gum.

Is there any work in progress to change the way this storage pool 
manager works ?


On 31/10/2016 12:02, Pavel Gashev wrote:
> Mike,
>
> As workaround it's not very hard to create a mount command wrapper that 
> converts local NFS mounts to bind-mounts. The propper way I think is to patch 
> the VDSM service to handle local NFS mounts. In result, a NFS storage will 
> work like a local storage if it's local.
>
> -Original Message-
> From: Mike <maill...@probie.nl>
> Date: Monday 31 October 2016 at 16:33
> To: Pavel Gashev <p...@acronis.com>, "users@ovirt.org" <users@ovirt.org>
> Subject: Re: [ovirt-users] Local and Shared storage in same datacenter
>
> Hi Pavel,
>
> Op 31-10-2016 om 11:22 schreef Pavel Gashev:
>> Mike,
>>
>> You can share and use your local storage via NFS. So all your storages are 
>> shared, and can be used in the same datacenter.
> I installed a nfs server on the hypervisor and am using it that way at
> the moment.
> It feels 'wrong' but it seems to work okay and it is fast as far as I
> can tell.
> Still would like to see another solution without the added latency of
> nfs and be able to utilize directio, etc.
>> -Original Message-
>> From: <users-boun...@ovirt.org> on behalf of "Mike (maillinglists)" 
>> <maill...@probie.nl>
>> Date: Sunday 30 October 2016 at 13:02
>> To: "users@ovirt.org" <users@ovirt.org>
>> Subject: [ovirt-users] Local and Shared storage in same datacenter
>>
>> Hi guys,
>>
>> There have been a few related questions already that I could find, but I
>> did not find anything relating to my specific use case.
>>
>> Currently it is not possible to mix local storage with shared storage in
>> the same datacenter.
>> The reason seems to be because of the storage pool manager (SPM).
>> This is a role in the datacenter provided to one specific host.
>>
>> While I understand that this makes having local storage impossible, I
>> believe there is a use case to have local storage in a shared storage
>> datacenter.
>> Consider the following:
>> I have a few applications that require 1 milli second latency and at
>> most 2 milli second.
>> That is not consistenly achievable with shared storage, to that end I
>> added flash storage to a few hypervisors.
>> About 5% of my servers require this and are not that resource hungry to
>> require a dedicated physical server.
>> That same 5% also has no requirement to be migrated if a host fails.
>>
>> So in short I have 5 heavy hosts running ovirt with a shared storage
>> domain on NFS for 95% of my servers.
>> All running fine, but I am now unable to run my remaining 5%.
>>
>> To finish up my summary I have been testing various virtualization
>> technologies, like VmWare and Hyper-V.
>> They allow such configurations as I mentioned.
>>
>> I already had some chat on irc with various guys and they suggested that
>> I put this on the mailing list, so here goes.
>>
>> My suggestion would be to evoluate from SPM to SDM.
>> SDM stands for Storage Domain Manager.
>> This would create the possibility to have all nodes in the datacenter
>> participate in the storage handling.
>> A extra benefit would be that local storage could be added.
>>
>> What do you think?
>>
>> Thanks for reading.
>>
>> Kind regards,
>> Mike van Goor
>> ___
>> 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] Local and Shared storage in same datacenter

2016-10-31 Thread Pavel Gashev
Mike,

As workaround it's not very hard to create a mount command wrapper that 
converts local NFS mounts to bind-mounts. The propper way I think is to patch 
the VDSM service to handle local NFS mounts. In result, a NFS storage will work 
like a local storage if it's local.

-Original Message-
From: Mike <maill...@probie.nl>
Date: Monday 31 October 2016 at 16:33
To: Pavel Gashev <p...@acronis.com>, "users@ovirt.org" <users@ovirt.org>
Subject: Re: [ovirt-users] Local and Shared storage in same datacenter

Hi Pavel,

Op 31-10-2016 om 11:22 schreef Pavel Gashev:
> Mike,
>
> You can share and use your local storage via NFS. So all your storages are 
> shared, and can be used in the same datacenter.
I installed a nfs server on the hypervisor and am using it that way at 
the moment.
It feels 'wrong' but it seems to work okay and it is fast as far as I 
can tell.
Still would like to see another solution without the added latency of 
nfs and be able to utilize directio, etc.
>
> -Original Message-
> From: <users-boun...@ovirt.org> on behalf of "Mike (maillinglists)" 
> <maill...@probie.nl>
> Date: Sunday 30 October 2016 at 13:02
> To: "users@ovirt.org" <users@ovirt.org>
> Subject: [ovirt-users] Local and Shared storage in same datacenter
>
> Hi guys,
>
> There have been a few related questions already that I could find, but I
> did not find anything relating to my specific use case.
>
> Currently it is not possible to mix local storage with shared storage in
> the same datacenter.
> The reason seems to be because of the storage pool manager (SPM).
> This is a role in the datacenter provided to one specific host.
>
> While I understand that this makes having local storage impossible, I
> believe there is a use case to have local storage in a shared storage
> datacenter.
> Consider the following:
> I have a few applications that require 1 milli second latency and at
> most 2 milli second.
> That is not consistenly achievable with shared storage, to that end I
> added flash storage to a few hypervisors.
> About 5% of my servers require this and are not that resource hungry to
> require a dedicated physical server.
> That same 5% also has no requirement to be migrated if a host fails.
>
> So in short I have 5 heavy hosts running ovirt with a shared storage
> domain on NFS for 95% of my servers.
> All running fine, but I am now unable to run my remaining 5%.
>
> To finish up my summary I have been testing various virtualization
> technologies, like VmWare and Hyper-V.
> They allow such configurations as I mentioned.
>
> I already had some chat on irc with various guys and they suggested that
> I put this on the mailing list, so here goes.
>
> My suggestion would be to evoluate from SPM to SDM.
> SDM stands for Storage Domain Manager.
> This would create the possibility to have all nodes in the datacenter
> participate in the storage handling.
> A extra benefit would be that local storage could be added.
>
> What do you think?
>
> Thanks for reading.
>
> Kind regards,
> Mike van Goor
> ___
> 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] Local and Shared storage in same datacenter

2016-10-31 Thread Pavel Gashev
Mike,

You can share and use your local storage via NFS. So all your storages are 
shared, and can be used in the same datacenter.

-Original Message-
From:  on behalf of "Mike (maillinglists)" 

Date: Sunday 30 October 2016 at 13:02
To: "users@ovirt.org" 
Subject: [ovirt-users] Local and Shared storage in same datacenter

Hi guys,

There have been a few related questions already that I could find, but I 
did not find anything relating to my specific use case.

Currently it is not possible to mix local storage with shared storage in 
the same datacenter.
The reason seems to be because of the storage pool manager (SPM).
This is a role in the datacenter provided to one specific host.

While I understand that this makes having local storage impossible, I 
believe there is a use case to have local storage in a shared storage 
datacenter.
Consider the following:
I have a few applications that require 1 milli second latency and at 
most 2 milli second.
That is not consistenly achievable with shared storage, to that end I 
added flash storage to a few hypervisors.
About 5% of my servers require this and are not that resource hungry to 
require a dedicated physical server.
That same 5% also has no requirement to be migrated if a host fails.

So in short I have 5 heavy hosts running ovirt with a shared storage 
domain on NFS for 95% of my servers.
All running fine, but I am now unable to run my remaining 5%.

To finish up my summary I have been testing various virtualization 
technologies, like VmWare and Hyper-V.
They allow such configurations as I mentioned.

I already had some chat on irc with various guys and they suggested that 
I put this on the mailing list, so here goes.

My suggestion would be to evoluate from SPM to SDM.
SDM stands for Storage Domain Manager.
This would create the possibility to have all nodes in the datacenter 
participate in the storage handling.
A extra benefit would be that local storage could be added.

What do you think?

Thanks for reading.

Kind regards,
Mike van Goor
___
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-viewer on OSX

2016-07-27 Thread Pavel Gashev

SpiceViewer is quite old. It just doesn't work well. Two issues:
1. It's slow. It takes the whole couple seconds to scroll text screen
by one line.
2. It tries to hide the mouse cursor in the bottom right corner. This
activates Hot Corners action.
http://thesweetsetup.com/quick-tip-enable-hot-corners-os-x/

HTML5 spice viewer doesn't work well too if you have QXL drivers
installed inside VM
https://lists.freedesktop.org/archives/spice-devel/2016-January/026139.
html 

The best option is VNC. See
http://lists.ovirt.org/pipermail/users/2014-September/027786.html


On Wed, 2016-07-27 at 11:47 +0200, Gianluca Cecchi wrote:
> Hello,
> I'm going to provide access to ovirt VMs to people who are using OSX
> At this moment I don't have access to any OSX environment to
> crosscheck, but is still that complex/intricate?
> http://www.ovirt.org/documentation/admin-guide/virt/spice-remote-view
> er-on-os-x/

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] What's the password of the user vdsm? and What's the user and password when I type 'Virsh list' command in vdsm?

2016-07-23 Thread Pavel Gashev
You can use vdsClient without password:

# vdsClient -s 127.0.0.1 list

For virsh you can set your own password:

# saslpasswd2 -f /etc/libvirt/passwd.db -c root


On Sat, 2016-07-23 at 17:41 +0800, lifuqiong wrote:
> Hi,
>  What's the password of the user vdsm? and What's the user
> and password when I type 'Virsh list' command in vdsm?
>  
> Thank you in advance.
> ___
> 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] CARP Fails on Bond mode=1

2016-07-13 Thread Pavel Gashev
In mode=1 the active interface sends traffic, but both interfaces accept 
incoming traffic. Hardware switches send broadcast/multicast/unknown 
destination MACs to all ports, including the passive interface. So packet sent 
from the active interface can be received back from the passive interface. 
FreeBSD CARP just would go mad when it receives its own packets.

I believe if you get Linux implementation, it will work well in the same 
network setup. I use keepalived in oVirt VMs with bonded network, and have no 
issues. 

-Original Message-
From: "Matt ." <yamakasi@gmail.com>
Date: Wednesday 13 July 2016 at 15:54
To: Pavel Gashev <p...@acronis.com>, users <users@ovirt.org>
Subject: Re: [ovirt-users] CARP Fails on Bond mode=1

How can it lead into packet duplication when the passive should not be
active and only it's mac-address should be visible on the switch to
prevent confusion on the switch ?

For a VRRP setup on the switch there is no other option then mode=1 as
far as I know ?

2016-07-13 14:50 GMT+02:00 Pavel Gashev <p...@acronis.com>:
> I would say that bonding breaks CARP somehow. In example mode=1 can lead to 
> packet duplication, so pfsense can receive it's own packets. Try firewall in 
> pfsense all incomming packets that have the same source MAC address as 
> pfsense.
>
> -Original Message-
> From: "Matt ." <yamakasi@gmail.com>
> Date: Wednesday 13 July 2016 at 15:29
> To: Pavel Gashev <p...@acronis.com>
> Subject: Re: [ovirt-users] CARP Fails on Bond mode=1
>
> Hi Pavel,
>
> No it's Pfsense, so FreeBSD.
>
> Is there something different there ?
>
>
>
> 2016-07-13 13:59 GMT+02:00 Pavel Gashev <p...@acronis.com>:
>> Matt,
>>
>> How is CARP implemented? Is it OpenBSD?
>>
>> -Original Message-
>> From: <users-boun...@ovirt.org> on behalf of "Matt ." 
>> <yamakasi@gmail.com>
>> Date: Wednesday 13 July 2016 at 12:42
>> Cc: users <users@ovirt.org>
>> Subject: Re: [ovirt-users] CARP Fails on Bond mode=1
>>
>> Hi Pavel,
>>
>> This is done and used without the Bond before.
>>
>> Now I applied a bond it goes wrong and I'm searching but can't find a
>> thing about it.
>>
>>
>>
>> 2016-07-13 11:03 GMT+02:00 Pavel Gashev <p...@acronis.com>:
>>> Matt,
>>>
>>> In order to use CARP/VRRP in a VM you have to disable MAC spoofing 
>>> prevention.
>>> http://lists.ovirt.org/pipermail/users/2015-May/032839.html
>>>
>>> -Original Message-
>>> From: <users-boun...@ovirt.org> on behalf of "Matt ." 
>>> <yamakasi@gmail.com>
>>> Date: Tuesday 12 July 2016 at 21:58
>>> To: users <users@ovirt.org>
>>> Subject: [ovirt-users] CARP Fails on Bond mode=1
>>>
>>> Hi guys,
>>>
>>> I have been testing bonding with a vm connected to the network on this
>>> bond mode=1 (vlans on top of it) where the vm uses a carp IP for
>>> failover.
>>>
>>> It seems that when the VM which holds the Carp IP and so is Master you
>>> can ping both IP's, so interface IP and Carp IP, but you cannot
>>> throw/route any traffic over it.
>>>
>>> You can route traffic over the interface IP of the Carp Slave.
>>>
>>> Is this known or just not possible ?
>>>
>>> I hope it's a "bug" :)
>>>
>>> Thanks,
>>>
>>> Matt
>>> ___
>>> 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] CARP Fails on Bond mode=1

2016-07-13 Thread Pavel Gashev
Matt,

How is CARP implemented? Is it OpenBSD?

-Original Message-
From: <users-boun...@ovirt.org> on behalf of "Matt ." <yamakasi@gmail.com>
Date: Wednesday 13 July 2016 at 12:42
Cc: users <users@ovirt.org>
Subject: Re: [ovirt-users] CARP Fails on Bond mode=1

Hi Pavel,

This is done and used without the Bond before.

Now I applied a bond it goes wrong and I'm searching but can't find a
thing about it.



2016-07-13 11:03 GMT+02:00 Pavel Gashev <p...@acronis.com>:
> Matt,
>
> In order to use CARP/VRRP in a VM you have to disable MAC spoofing prevention.
> http://lists.ovirt.org/pipermail/users/2015-May/032839.html
>
> -Original Message-
> From: <users-boun...@ovirt.org> on behalf of "Matt ." <yamakasi@gmail.com>
> Date: Tuesday 12 July 2016 at 21:58
> To: users <users@ovirt.org>
> Subject: [ovirt-users] CARP Fails on Bond mode=1
>
> Hi guys,
>
> I have been testing bonding with a vm connected to the network on this
> bond mode=1 (vlans on top of it) where the vm uses a carp IP for
> failover.
>
> It seems that when the VM which holds the Carp IP and so is Master you
> can ping both IP's, so interface IP and Carp IP, but you cannot
> throw/route any traffic over it.
>
> You can route traffic over the interface IP of the Carp Slave.
>
> Is this known or just not possible ?
>
> I hope it's a "bug" :)
>
> Thanks,
>
> Matt
> ___
> 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] CARP Fails on Bond mode=1

2016-07-13 Thread Pavel Gashev
Matt,

In order to use CARP/VRRP in a VM you have to disable MAC spoofing prevention.
http://lists.ovirt.org/pipermail/users/2015-May/032839.html

-Original Message-
From:  on behalf of "Matt ." 
Date: Tuesday 12 July 2016 at 21:58
To: users 
Subject: [ovirt-users] CARP Fails on Bond mode=1

Hi guys,

I have been testing bonding with a vm connected to the network on this
bond mode=1 (vlans on top of it) where the vm uses a carp IP for
failover.

It seems that when the VM which holds the Carp IP and so is Master you
can ping both IP's, so interface IP and Carp IP, but you cannot
throw/route any traffic over it.

You can route traffic over the interface IP of the Carp Slave.

Is this known or just not possible ?

I hope it's a "bug" :)

Thanks,

Matt
___
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 convert Windows2012R2 to Ovirt

2016-07-12 Thread Pavel Gashev
It's the ovirt guest tools iso.

Please note there is a warning message at the import dialog – «You have 
selected windows OS and have not selected VirtIO drivers. This may cause the 
system not boot up». However selecting the ovirt guest tools iso doesn't help.

Looks like the only solution is to install the virtio-win package on the host. 
Nothing depends on it so it's not installed by default.

I've just converted a Windows 2012R2 VM, and it boots without issues.

Thanks

On 12/07/16 12:44, "Vinzenz Feenstra" 
<vfeen...@redhat.com<mailto:vfeen...@redhat.com>> wrote:


On Jul 12, 2016, at 11:13 AM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:

Vinzenz.

I double checked, system matches the configuration. Cluster is running on Intel 
Westmere Family.

Also I tried to boot into the repair mode. After loading viostor driver from 
the CD I was able to see the drive. Probable the issue is that there are no 
vio* drivers in /Windows/System32/drivers. However there is rhev-apt.exe in the 
root directory.

And the CD is the ovirt guest tools iso? Or is it the RHEV guest tools iso?



On 11/07/16 14:32, "Vinzenz Feenstra" 
<vfeen...@redhat.com<mailto:vfeen...@redhat.com>> wrote:


On Jul 4, 2016, at 7:05 PM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:

Vinzenz,

I just tried libguestfs-RHEL-7.3-preview. I have converted a Windows2012R2 VM 
with no issues, except it doesn't boot – see attached screenshot.

Hi Pavel,

Sorry for the delay I have been on Vacation last week therefore I couldn’t 
respond any earlier.

First of all, please ensure that the configured system matches the actual 
Windows 2012 R2 configuration

Also please let me know what is the supported CPU Family on your cluster?

Regards,




Thanks

On 21/06/16 14:14, "users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on 
behalf of Vinzenz Feenstra" 
<users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on behalf of 
vfeen...@redhat.com<mailto:vfeen...@redhat.com>> wrote:


On Jun 21, 2016, at 11:42 AM, Carlos García Gómez 
<carlos.gar...@f-integra.org<mailto:carlos.gar...@f-integra.org>> wrote:

Hi,

Yes I have tried...

virt-v2v -v -i ova -o rhev -os NFS:/Export/ --network ovirtmgmt 
/rhev/data-center/mnt/NFS:_Export/TemplateWin2012.ova -of raw

But I get...

[ 101,0] Converting Windows Server 2012 R2 Datacenter Evaluation to run on KVM
virt-v2v: error: virt-v2v cannot be used to convert Windows > 7 / 2008R2

Please try the https://people.redhat.com/~rjones/libguestfs-RHEL-7.3-preview/ 
repository and upgrade the virt-v2v version to 1.32 which will bring the 
support for higher Windows versions










From: Vinzenz Feenstra<mailto:vfeen...@redhat.com>
Sent: Tuesday, June 21, 2016 11:30 AM
To: Carlos García Gómez<mailto:carlos.gar...@f-integra.org>
Cc: users<mailto:users@ovirt.org>
Subject: Re: [ovirt-users] VM convert Windows2012R2 to Ovirt


On Jun 21, 2016, at 10:09 AM, Carlos García Gómez 
<carlos.gar...@f-integra.org<mailto:carlos.gar...@f-integra.org>> wrote:

Hello,

Anybody know if there is any way to convert(export) some VM Windows 2012R2 to 
Ovirt?

Windows 2012 is in vmware enviorment. (ova) and vmdk files

Hi there for this we have the virt-v2v tool

http://www.ovirt.org/develop/release-management/features/virt/virt-v2v-integration/






Regards,

Carlos
___
Users mailing list
Users@ovirt.org<mailto: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 convert Windows2012R2 to Ovirt

2016-07-04 Thread Pavel Gashev
Vinzenz,

I just tried libguestfs-RHEL-7.3-preview. I have converted a Windows2012R2 VM 
with no issues, except it doesn't boot – see attached screenshot.

Thanks

On 21/06/16 14:14, "users-boun...@ovirt.org on 
behalf of Vinzenz Feenstra" 
 on behalf of 
vfeen...@redhat.com> wrote:


On Jun 21, 2016, at 11:42 AM, Carlos García Gómez 
> wrote:

Hi,

Yes I have tried...

virt-v2v -v -i ova -o rhev -os NFS:/Export/ --network ovirtmgmt 
/rhev/data-center/mnt/NFS:_Export/TemplateWin2012.ova -of raw

But I get...

[ 101,0] Converting Windows Server 2012 R2 Datacenter Evaluation to run on KVM
virt-v2v: error: virt-v2v cannot be used to convert Windows > 7 / 2008R2

Please try the https://people.redhat.com/~rjones/libguestfs-RHEL-7.3-preview/ 
repository and upgrade the virt-v2v version to 1.32 which will bring the 
support for higher Windows versions








From: Vinzenz Feenstra
Sent: Tuesday, June 21, 2016 11:30 AM
To: Carlos García Gómez
Cc: users
Subject: Re: [ovirt-users] VM convert Windows2012R2 to Ovirt


On Jun 21, 2016, at 10:09 AM, Carlos García Gómez 
> wrote:

Hello,

Anybody know if there is any way to convert(export) some VM Windows 2012R2 to 
Ovirt?

Windows 2012 is in vmware enviorment. (ova) and vmdk files

Hi there for this we have the virt-v2v tool

http://www.ovirt.org/develop/release-management/features/virt/virt-v2v-integration/




Regards,

Carlos
___
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 not bootable

2016-07-01 Thread Pavel Gashev
Fernando,

One from VM disks have to have bootable flag.
See http://www.ovirt.org/images/wiki/Add_Virtual_Disk.png?1454370862


On 01/07/16 19:09, "users-boun...@ovirt.org on behalf of Fernando Fuentes" 
 wrote:

Team,

After I successfully copy my template from one storage to another I was
able to move my VM disks from my nfs domain to my iscsi domain.
My linux vms which are basic template (No template) moved just fine and
boot just fine.
On the other hand my windows vms (Template) once moved they cant boot.
Complaining that there is no bootable disk available.
What is going on?

oVirt 3.6.6
Hosts Centos 6.6  x86_64
iSCSI Domain on TrueNAS Attached via ovirt.


-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org
___
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] Security Groups

2016-06-27 Thread Pavel Gashev
Hello,

Currently oVirt supports network security groups for OpenStack network provider 
only. Are there plans to implement Security Groups for native networks?

Technically, I can configure a vNic profile with some Security Groups UUID, and 
apply it in before_device_create and before_update_device VDSM hooks as 
filterref to some custom nwfilter. The only issue is that I have to manually 
edit and distribute nwfilter xml among hardware nodes. If I want isolate set of 
VMs, I have to manually maintain MAC addresses of VMs in that xml.

It would be great if oVirt web interface had a nwfilter editor. Are there plans 
for it?

Thanks


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


Re: [ovirt-users] latest CentOS libvirt updates safe?

2016-06-27 Thread Pavel Gashev
Upgrading libvirt doesn’t touch running VMs, if there are no active VM 
operations (start/stop/snapshots/migration). I upgrade libvirt/qemu/vdsm on the 
fly. Just stop the engine to make sure that nothing will interrupt the upgrade.

On 25/06/16 17:57, "users-boun...@ovirt.org on behalf of Robert Story" 
 wrote:

I have oVirt 3.5.x on CentOS 7 hosts. These hosts have updates which
include livbirt:

 libvirt-client   x86_64  1.2.17-13.el7_2.5  updates  4.3 M
 libvirt-daemon   x86_64  1.2.17-13.el7_2.5  updates  585 k
 libvirt-daemon-config-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  122 k
 libvirt-daemon-driver-interface  x86_64  1.2.17-13.el7_2.5  updates  162 k
 libvirt-daemon-driver-networkx86_64  1.2.17-13.el7_2.5  updates  302 k
 libvirt-daemon-driver-nodedevx86_64  1.2.17-13.el7_2.5  updates  161 k
 libvirt-daemon-driver-nwfilter   x86_64  1.2.17-13.el7_2.5  updates  185 k
 libvirt-daemon-driver-qemu   x86_64  1.2.17-13.el7_2.5  updates  571 k
 libvirt-daemon-driver-secret x86_64  1.2.17-13.el7_2.5  updates  155 k
 libvirt-daemon-driver-storagex86_64  1.2.17-13.el7_2.5  updates  328 k
 libvirt-daemon-kvm   x86_64  1.2.17-13.el7_2.5  updates  118 k
 libvirt-lock-sanlock

Is it safe to let yum update these packages while the host has running VMs?
in maintenance mode? or not at all?


Robert

-- 
Senior Software Engineer @ Parsons


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


Re: [ovirt-users] VM convert Windows2012R2 to Ovirt

2016-06-21 Thread Pavel Gashev
Yes, it's disabled in RHEL/CentOS. You can use virt-v2v from Fedora.

On 21/06/16 12:42, "users-boun...@ovirt.org on 
behalf of Carlos García Gómez" 
 on behalf of 
carlos.gar...@f-integra.org> wrote:

Hi,

Yes I have tried...

virt-v2v -v -i ova -o rhev -os NFS:/Export/ --network ovirtmgmt 
/rhev/data-center/mnt/NFS:_Export/TemplateWin2012.ova -of raw

But I get...

[ 101,0] Converting Windows Server 2012 R2 Datacenter Evaluation to run on KVM
virt-v2v: error: virt-v2v cannot be used to convert Windows > 7 / 2008R2





From: Vinzenz Feenstra
Sent: Tuesday, June 21, 2016 11:30 AM
To: Carlos García Gómez
Cc: users
Subject: Re: [ovirt-users] VM convert Windows2012R2 to Ovirt


On Jun 21, 2016, at 10:09 AM, Carlos García Gómez 
> wrote:

Hello,

Anybody know if there is any way to convert(export) some VM Windows 2012R2 to 
Ovirt?

Windows 2012 is in vmware enviorment. (ova) and vmdk files

Hi there for this we have the virt-v2v tool

http://www.ovirt.org/develop/release-management/features/virt/virt-v2v-integration/




Regards,

Carlos
___
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] Issues importing VMs in oVirt

2016-06-18 Thread Pavel Gashev
Cam,

«Inventory -> Hosts and Clusters» represents path to required host in URL.

On 17/06/16 16:04, "Cam Mac" <iuco...@gmail.com<mailto:iuco...@gmail.com>> 
wrote:

It is not visible in the default tree view, but if you go to 
Home->Inventory->VMs and Templates you can see the folders.

The structure looks like:

nssesxi-mgmt
   --> North Sutton Street
--> Systems
 --> vm1 etc

Not sure why the cluster name disappears from this view.

Cheers,

Campbell

On Fri, Jun 17, 2016 at 12:25 PM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
So there is no Systems folder?

Try:
vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt.ldn.arda.net?no_verify=1<http://nssesxi04-mgmt.ldn.arda.net?no_verify=1>


On 17/06/16 14:10, "Cam Mac" <iuco...@gmail.com<mailto:iuco...@gmail.com>> 
wrote:

Hi Pavel,

I can't do a screenshot right now, but the structure in vCenter is:

nssesxi-mgmt.ldn.arda.net<http://nssesxi-mgmt.ldn.arda.net>
  --> North Sutton Street
--> nssesxi
  --> 
nssesxi01-mgmt.ldn.arda.net<http://nssesxi01-mgmt.ldn.arda.net>
   
nssesxi02-mgmt.ldn.arda.net<http://nssesxi02-mgmt.ldn.arda.net>
   
nssesxi03-mgmt.ldn.arda.net<http://nssesxi03-mgmt.ldn.arda.net>
   
nssesxi04-mgmt.ldn.arda.net<http://nssesxi04-mgmt.ldn.arda.net>
   
nssesxi05-mgmt.ldn.arda.net<http://nssesxi05-mgmt.ldn.arda.net>

I've tried fully qualified names, but the same error occurs.

Cheers,

Cam

On Fri, Jun 17, 2016 at 11:15 AM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Cam,

It's another error. Now there is an issue with esxi server name – 
'nssesxi04-mgmt'. It must be the same as appears in vcenter. A screenshot of 
vcenter tree would help.

Please note, there is no need to double escape the URL.

On 17/06/16 13:00, "Cam Mac" <iuco...@gmail.com<mailto:iuco...@gmail.com>> 
wrote:

Hi Pavel,

I've tried those URLs (and quite a few other permutations) but get the 
following errors:

vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North Sutton 
Street/Systems/nssesxi/nssesxi04-mgmt'

vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North Sutton 
Street/Systems/nssesxi/nssesxi04-mgmt'

If I double escape the spaces with %2520, it reports it can't find the 
datacenter.

Cheers,

Campbell



On Fri, Jun 17, 2016 at 10:45 AM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Cam,

I believe the URL must be the following:
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
or
vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1


On 09/06/16 20:28, "users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on 
behalf of Cam Mac" <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on 
behalf of iuco...@gmail.com<mailto:iuco...@gmail.com>> wrote:

Hi,

I am trying to import and convert some VMWare guests from a VMWare cluster with 
vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has virt-v2v 
1.28.1, though I've also tried using Fedora 23 which has 1.32.4.

The details are:

vCenter server: nssesxi-mgmt
Datacenter name: North Sutton Street
esxi server which runs the VM: nssesxi-mgmt04
folder name: Systems
VM name: wvm2
cluster name: nssesxi

I tried via the 'Import' option in the oVirt GUI, and put the details above in, 
and after thinking about it for a while, it returns a 500 internal server 
error. As I'm authing against AD, I put my username as cam@ARDA. I have 
attached the log (gzipped).


I've also tried via the command line, and the result is much the same. I did 
post the below to the libvirt-users mailing list but have not had a response, 
so I thought I'd see if anyone here might know what is going on.

Unfortunately, spaces were put in the name of the datacenter, so I escape them 
with %20

So the final URI is constructed as:

vpx://<DOMAIN\user@/// 


The error I get is:

# virt-v2v -v -x -ic 
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
 wvm2
virt-v2v: libguestfs 1.28.1 (x86_64)
[   0.0] Opening the source -i libvirt -ic 
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
 wvm2
input_libvirt_vcenter_https: source: scheme vpx server 

Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-18 Thread Pavel Gashev
Basically, I boot windows in safe mode and remove vmware tools. In this case I 
was able to use old VM if there are issues with conversion. Of course you can 
remove vmware tools before migration.

Linux VMs do not need the convertor. The procedure is much simpler:
1. Make sure you don't use device names in /etc/fstab and grub
2. Make sure initramfs has required drivers:
dracut -f --add-drivers "virtio virtio_net virtio_blk virtio_scsi virtio_pci"
3. Create appropriate VM in oVirt. Disks must be in raw format (default), but 
sparse. NICs must have the same MACs.
4. Hard link vmware and ovirt disk images, and fix permissions (chown 36:36 / 
chmod 0660)
5. Shutdown VM in vmware and immediately start VM in oVirt

On 17/06/16 16:08, "Cam Mac" <iuco...@gmail.com<mailto:iuco...@gmail.com>> 
wrote:

Hi Pavel,

Just to clarify: I've read on the virt-v2v page that you should remove the 
VMware tools from the Windows VM before migration - for step 13 in your list, 
does that apply only to non-windows VMs?

Cheers,

Cam

On Fri, Jun 17, 2016 at 10:54 AM, Cam Mac 
<iuco...@gmail.com<mailto:iuco...@gmail.com>> wrote:
Hi Pavel,

I was testing an import of a Win 7 VM, though there are 2012 ones to import as 
well. Thanks for all those steps, I'll try them out.

Cheers,

Cam

On Thu, Jun 16, 2016 at 7:31 PM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Cam,

I did import vmware VMs, but it was not an easy procedure. Last time I did it, 
there were the following issues:
* oVirt engine didn't support 32bit VMs. If you have a 32bit VM in vCenter, you 
are not able to see the list VMs to import.
* There were issues if you have a cluster in vCenter. I had to setup a proxy 
server to fix URLs on the fly, but then I've found a better way. See below.
* RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use virt-v2v 
from Fedora.

Thus, if you want to convert it manually, the procedure is the following:
1. Install vdsm-hook-nestedvt on ovirt nodes, and reboot
2. Setup a VM with latest Fedora, install virt-v2v.
3. Mount your NFS storage inside v2v VM.
4. Move windows VMs to the same NFS storage.
5. Connect to vcenter using the following command:
virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1
6. Find windows VM using 'list' command, and dump config using 'dumpxml 
VMNAME/ID'
7. Edit the xml providing full path to vmdk images (see «source file=»)
8. Create appropriate VM in oVirt
9. Find new VM IDs using ovirt-shell
10. Make sure the source VM is stopped
11. Execute virt-v2v (make sure:
virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os 
/nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid 
368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid 
2f56c6cd-a212-44e6-a792-447787f5b073 --vdsm-vm-uuid 
421e93a8-33d2-fc0e-4cfc-ac45a35db8c9
12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)
13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt tools 
and drivers.

I hope this helps.

On 15/06/16 20:41, "users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on 
behalf of Cam Mac" <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on 
behalf of iuco...@gmail.com<mailto:iuco...@gmail.com>> wrote:

Hi,

I haven't had any luck using the oVirt GUI or virt-v2v (see earlier email), and 
I need to find a way to migrate quite a few Windows hosts (Windows 7, 2012, 
2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a compelling 
case for getting rid of VMware. Using OVF files looks like a lot more manual 
work as compared to the GUI or virt-v2v, with their nice conversion features.

Any suggestions?

Thanks,

Cam


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


Re: [ovirt-users] Issues importing VMs in oVirt

2016-06-17 Thread Pavel Gashev
Cam,

It's another error. Now there is an issue with esxi server name – 
'nssesxi04-mgmt'. It must be the same as appears in vcenter. A screenshot of 
vcenter tree would help.

Please note, there is no need to double escape the URL.

On 17/06/16 13:00, "Cam Mac" <iuco...@gmail.com<mailto:iuco...@gmail.com>> 
wrote:

Hi Pavel,

I've tried those URLs (and quite a few other permutations) but get the 
following errors:

vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North Sutton 
Street/Systems/nssesxi/nssesxi04-mgmt'

vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1

Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find host system specified in '/North Sutton 
Street/Systems/nssesxi/nssesxi04-mgmt'

If I double escape the spaces with %2520, it reports it can't find the 
datacenter.

Cheers,

Campbell



On Fri, Jun 17, 2016 at 10:45 AM, Pavel Gashev 
<p...@acronis.com<mailto:p...@acronis.com>> wrote:
Cam,

I believe the URL must be the following:
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
or
vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1


On 09/06/16 20:28, "users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on 
behalf of Cam Mac" <users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> on 
behalf of iuco...@gmail.com<mailto:iuco...@gmail.com>> wrote:

Hi,

I am trying to import and convert some VMWare guests from a VMWare cluster with 
vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has virt-v2v 
1.28.1, though I've also tried using Fedora 23 which has 1.32.4.

The details are:

vCenter server: nssesxi-mgmt
Datacenter name: North Sutton Street
esxi server which runs the VM: nssesxi-mgmt04
folder name: Systems
VM name: wvm2
cluster name: nssesxi

I tried via the 'Import' option in the oVirt GUI, and put the details above in, 
and after thinking about it for a while, it returns a 500 internal server 
error. As I'm authing against AD, I put my username as cam@ARDA. I have 
attached the log (gzipped).


I've also tried via the command line, and the result is much the same. I did 
post the below to the libvirt-users mailing list but have not had a response, 
so I thought I'd see if anyone here might know what is going on.

Unfortunately, spaces were put in the name of the datacenter, so I escape them 
with %20

So the final URI is constructed as:

vpx://<DOMAIN\user@/// 


The error I get is:

# virt-v2v -v -x -ic 
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
 wvm2
virt-v2v: libguestfs 1.28.1 (x86_64)
[   0.0] Opening the source -i libvirt -ic 
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1
 wvm2
input_libvirt_vcenter_https: source: scheme vpx server nssesxi-mgmt
Enter ARDA\cam's password for nssesxi-mgmt:
libvirt: ESX Driver error : internal error: Could not find compute resource 
specified in '/Systems/North Sutton Street/nssesxi04-mgmt'
virt-v2v: error: internal error: invalid argument: cannot open libvirt
connection
'vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1'

If reporting bugs, run virt-v2v with debugging enabled and include the
complete output:

  virt-v2v -v -x [...]
#


# virsh -c 
'vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi04-mgmt?no_verify=1'
 list --all
Enter ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find compute resource specified in 
'/Systems/North Sutton Street/nssesxi04-mgmt'
#

I can access via http a list of VMs at the following URL:

https://nssesxi-mgmt/folder?dcPath=North%2520Sutton%2520Street=nssesxi%252dc2%252dr10%252dlun2

Below is the URI to the vm itself (once shutdown, it gets the name 'vm2_1'):

https://nssesxi-mgmt/folder/wvm2_1?dcPath=North%2520Sutton%2520Street=nssesxi%252dc1%252dr10%252dlun2

Any ideas?

Cheers,

-Cam

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


Re: [ovirt-users] Issues importing VMs in oVirt

2016-06-17 Thread Pavel Gashev
Cam,

I believe the URL must be the following:
vpx://ARDA%5ccam@nssesxi-mgmt/Systems/North%20Sutton%20Street/nssesxi/nssesxi04-mgmt?no_verify=1
or
vpx://ARDA%5ccam@nssesxi-mgmt/North%20Sutton%20Street/Systems/nssesxi/nssesxi04-mgmt?no_verify=1


On 09/06/16 20:28, "users-boun...@ovirt.org on 
behalf of Cam Mac"  on 
behalf of iuco...@gmail.com> wrote:

Hi,

I am trying to import and convert some VMWare guests from a VMWare cluster with 
vCenter version 6, to a KVM (oVirt) host. The KVM node (RHEL 7.2) has virt-v2v 
1.28.1, though I've also tried using Fedora 23 which has 1.32.4.

The details are:

vCenter server: nssesxi-mgmt
Datacenter name: North Sutton Street
esxi server which runs the VM: nssesxi-mgmt04
folder name: Systems
VM name: wvm2
cluster name: nssesxi

I tried via the 'Import' option in the oVirt GUI, and put the details above in, 
and after thinking about it for a while, it returns a 500 internal server 
error. As I'm authing against AD, I put my username as cam@ARDA. I have 
attached the log (gzipped).


I've also tried via the command line, and the result is much the same. I did 
post the below to the libvirt-users mailing list but have not had a response, 
so I thought I'd see if anyone here might know what is going on.

Unfortunately, spaces were put in the name of the datacenter, so I escape them 
with %20

So the final URI is constructed as:

vpx://

Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-16 Thread Pavel Gashev
Cam,

I did import vmware VMs, but it was not an easy procedure. Last time I did it, 
there were the following issues:
* oVirt engine didn't support 32bit VMs. If you have a 32bit VM in vCenter, you 
are not able to see the list VMs to import.
* There were issues if you have a cluster in vCenter. I had to setup a proxy 
server to fix URLs on the fly, but then I've found a better way. See below.
* RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use virt-v2v 
from Fedora.

Thus, if you want to convert it manually, the procedure is the following:
1. Install vdsm-hook-nestedvt on ovirt nodes, and reboot
2. Setup a VM with latest Fedora, install virt-v2v.
3. Mount your NFS storage inside v2v VM.
4. Move windows VMs to the same NFS storage.
5. Connect to vcenter using the following command:
virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1
6. Find windows VM using 'list' command, and dump config using 'dumpxml 
VMNAME/ID'
7. Edit the xml providing full path to vmdk images (see «source file=»)
8. Create appropriate VM in oVirt
9. Find new VM IDs using ovirt-shell
10. Make sure the source VM is stopped
11. Execute virt-v2v (make sure:
virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os 
/nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid 
368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid 
2f56c6cd-a212-44e6-a792-447787f5b073 --vdsm-vm-uuid 
421e93a8-33d2-fc0e-4cfc-ac45a35db8c9
12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)
13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt tools 
and drivers.

I hope this helps.

On 15/06/16 20:41, "users-boun...@ovirt.org on 
behalf of Cam Mac"  on 
behalf of iuco...@gmail.com> wrote:

Hi,

I haven't had any luck using the oVirt GUI or virt-v2v (see earlier email), and 
I need to find a way to migrate quite a few Windows hosts (Windows 7, 2012, 
2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a compelling 
case for getting rid of VMware. Using OVF files looks like a lot more manual 
work as compared to the GUI or virt-v2v, with their nice conversion features.

Any suggestions?

Thanks,

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


Re: [ovirt-users] which NIC/network NFS storage is using

2016-06-14 Thread Pavel Gashev
Ryan,

You can check it with the following shell command:
# ip route get x.x.x.x
where x.x.x.x is an IP address of your NFS storage.

On 14/06/16 19:52, "users-boun...@ovirt.org on 
behalf of Ryan Mahoney" 
 on behalf of 
r...@beaconhillentertainment.com> 
wrote:

Right, but how do you specify which network the nfs traffic is using?

On Tue, Jun 14, 2016 at 12:41 PM, Nir Soffer 
> wrote:
On Tue, Jun 14, 2016 at 5:26 PM, Ryan Mahoney
> 
wrote:
> On my hosts, I have configured a 1gbe nic for ovirtmgmt whose usage is
> currently setup for Management, Display, VM and Migration. I also have a 2
> 10gbe nics bonded LACP which are VLAN tagged and assigned the dozen or so
> VLANS needed for the various VM's to access.  I have NFS storage mounted to
> the Data Center, and I would like to know how I check/specify which network
> connection ovirt is using for that NFS storage.  I want to make sure it is
> utilizing the 10gbe bond on each host vs using the 1gbe connection.

We don't configured anything regarding network used for nfs storage, so it works
just like any other nfs mount you create yourself.

Nir

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


Re: [ovirt-users] oVirt Windows Guest Tools & Live Migration issues.

2016-06-07 Thread Pavel Gashev
It seems guest tools installer is broken at least for Windows 2012 R2. It 
installs files into Program Files, but doesn't actually install drivers and 
QEMU guest tools. No errors, it reports that everything is ok, but it's not. 
oVirt guest tools is installed and work properly.

Workarounds are the following:
1. Start Device Manager and make sure all devices have drivers. Install drivers 
from «C:\Program Files (x86)\oVirt Guest Tools\drivers» if needed. Do not 
install video driver.
2. Start «C:\Program Files (x86)\oVirt Guest Tools\drivers\qemu-ga-x64.exe» 
manually.
3. Rename «C:\Program Files (x86)\oVirt Guest Tools\drivers\Balloon\2k12R2» 
into «…\w2k12R2», otherwise installed balloon service doesn't start.


From:  on behalf of Anantha Raghava 

Organization: eXza Technology Consulting & Services
Reply-To: "rag...@exzatechconsulting.com" 
Date: Tuesday 7 June 2016 at 20:43
To: Michal Skrivanek 
Cc: users 
Subject: Re: [ovirt-users] oVirt Windows Guest Tools & Live Migration issues.

Hello Michal,

Guest tools are working and getting all details about guest vm as needed.

But one thing I didn't understand. What is the relationship between 
virtioserial driver and oVirt Guest Service? Without virtio serial driver, 
guest services does not start.

Also, how do we install memory baloon driver?

Tomorrow morning, I will post about Live Migration events after I attempt it.

--

Thanks & Regards,



Anantha Raghava

On Friday 03 June 2016 04:36 PM, Michal Skrivanek wrote:

On 03 Jun 2016, at 12:57, Anantha Raghava 
> wrote:

Hello Michal,

Thanks for quick feed back.

Windows Guests Agents - Where do I download them from? Not getting the proper 
links. Or is to a part of virt-drivers that we use during installation.

Hi Anantha,
it’s part of ovirt-guest-tools. See 
http://lists.ovirt.org/pipermail/users/2016-May/039779.html


Live migration failure - These are pretty busy VMs if not big. The event does 
not show any specific message but just as migration failed. Is the reason 
logged somewhere? Please share the log location so that I can check & share the 
log for meaningful message and proper screen shots.

There should be more details in the events at the bottom of the webadmin page 
(just make it a bit bigger it may not be te last message)
If they are busy VMs then you may have issues migrating them. There is some 
simple tuning available and it may help. You can increase the maximum downtime 
in VM properties dialog (500ms by default, you can go up to whatever is 
feasible for your VM, seconds, tens of seconds)
Bandwidth is limited to work on 1Gb network, if you have 10Gb availabl you can 
also tune /etc/vdsm.conf on each host and increase the maximum bandwidth 10 
times

Thanks,
michal



--
Thanks & Regards,

Anantha Raghava

On 03 Jun 2016, at 07:14, Anantha Raghava 
> wrote:

Hi,

We have just installed oVirt 3.6 on 3 hosts with storage volumes on Fibre 
Channel storage box. Every thing is working fine except the following.

1. We have created 15 Virtual Machines all VM with Windows Server 2012 R2 OS. 
VM properties does not report the Operating System nor it shows the IP and FQDN 
in the Admin Portal. There is always an exclamation mark that reports about OS 
being different from the template and timezone issues. We have changed the 
timezone to Indian Standard Time in both VM and Host, same result continues. We 
have installed Windows Gues Tools, same result continues. Screen shot is below.

you doesn’t seem to run the guest agent. Make sure the service is started and 
works, then you’ll see IPs and more detailed info about each guest, and 
exclamation marks should go away





2. When we manually tried to migrate the VMs from one host to another one, the 
migration gets initiated, but will eventually fail.

Any specific setting missing here or is it a bug.

are they big or busy VMs? What does it fail on? There should be a menaingful 
message even if it’s just a timeout



Note:

All hosts are installed with CentOS 7.2 minimal installation oVirt node is 
installed and activated.
We do not have a DNS in our environment. We have to do with IPs.

as long as engine works with FQDN it’s ok


We are yet to apply the 3.6.6 patch on Engine and Nodes.

that may help with some of the issues above, so please try to do that

Thanks,
michal


We are running a stand alone engine, not a Hosted Engine.
--
Thanks & Regards,

Anantha Raghava
eXza Technology Consulting & Services

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




___
Users mailing list
Users@ovirt.org

Re: [ovirt-users] What recovers a VM from pause?

2016-05-31 Thread Pavel Gashev
Please note that it's necessary to add a magic line '# VDSM PRIVATE' as second 
line in /etc/multipath.conf. Otherwise vdsm would overwrite your settings.
Thus, /etc/multipath.conf should start with the following two lines:
# VDSM REVISION 1.3
# VDSM PRIVATE


On Mon, 2016-05-30 at 22:09 +0300, Nir Soffer wrote:

But you may modify multipath configuration on the host.

We use now this multipath configuration (/etc/multipath.conf):

# VDSM REVISION 1.3

defaults {
polling_interval5
no_path_retry   fail
user_friendly_names no
flush_on_last_del   yes
fast_io_fail_tmo5
dev_loss_tmo30
max_fds 4096
deferred_remove yes
}

devices {
device {
all_devsyes
no_path_retry   fail
}
}

This enforces failing of io request on devices that by default will queue such
requests for long or unlimited time. Queuing requests is very bad for vdsm, and
cause various commands to block for minutes during storage outage,
failing various
flows in vdsm and the ui.
See https://bugzilla.redhat.com/880738

However, in your case, using queuing may be the best way to do the switch
from one storage to another in the smoothest way.

You may try this setting:

devices {
device {
all_devsyes
no_path_retry   30
}
}

This will queue io requests for 30 seconds before failing.
Using this normally would be a bad idea with vdsm, since during storage outage,
vdsm may block for 30 seconds when no paths is available, and is not designed
for this behavior, but blocking from time to time for short time should be ok.

I think that modifying the configuration and reloading multipathd service should
be enough to use the new settings, but I'm not sure if this changes
existing sessions
or open devices.



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


Re: [ovirt-users] failing update ovirt-engine on centos 7

2016-05-30 Thread Pavel Gashev
In my case oVirt is running in an OpenVZ container. Since selinux doesn't 
support namespaces, it's disabled.

I don't want to fuel the holy war stopdisablingselinux.com vs selinuxsucks.com. 
Just please allow us to choose. Thanks.

On 30/05/16 16:01, "users-boun...@ovirt.org on behalf of Michal Skrivanek" 
 wrote:

>
>> On 30 May 2016, at 14:57, Fabrice Bacchella  
>> wrote:
>> 
>>> 
>>> Running with selinux disabled is not recommended nor supported.
>>> It should be easy to skip over that problem, but in general this is not 
>>> something you should hit in normal environment
>> 
>> That's very theorical recommandation. selinux is very very often disabled, 
>> because nobody really understand it.
>
>It is not theoretical, it’s mandatory. there is an assumption it is enabled, 
>after bare OS installation it is enabled, so when you disable it it is an 
>explicit decision done by the admin for some reason. What did you find not 
>working? Did you really encounter anything not being solved by setting 
>Permissive mode instead disabling completely?
>
>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


Re: [ovirt-users] failing update ovirt-engine on centos 7

2016-05-26 Thread Pavel Gashev
I had an issue with updating to 3.6.6. There were errors during engine-setup:

[ ERROR ] Yum Non-fatal POSTUN scriptlet failure in rpm package 
ovirt-vmconsole-1.0.0-1.el7.centos.noarch

[ ERROR ] Yum Transaction close failed: Traceback (most recent call last):   
File "/usr/lib/python2.7/site-packages/otopi/miniyum.py", line 778, in 
endTransaction self.processTransaction()   File 
"/usr/lib/python2.7/site-packages/otopi/miniyum.py", line 1064, in 
processTransaction _('One or more elements within Yum transaction failed') 
RuntimeError: One or more elements within Yum transaction failed
 
ovirt-vmconsole has the following uninstall script:
postuninstall scriptlet (using /bin/sh): 
if [ "$1" -ge "1" ]; then
semodule -i 
"/usr/share/selinux/packages/ovirt-vmconsole/ovirt_vmconsole.pp"
fi

In other words you can't update if you have SELINUX disabled.

The workaround is the following:
ln -fs /bin/true /usr/sbin/semodule


On 26/05/16 08:43, "users-boun...@ovirt.org on behalf of Yedidyah Bar David" 
 wrote:

>On Wed, May 25, 2016 at 9:11 PM, Fabrice Bacchella
> wrote:
>>
>> Le 25 mai 2016 à 17:25, Kapetanakis Giannis  a
>> écrit :
>>
>> On 25/05/16 17:59, Fabrice Bacchella wrote:
>>
>> I have an dedicated machin to run ovirt-engine (not hosted). It's an up to
>> date centos 7.2.1511
>>
>> I installed ovirt 3.6.6 a few weeks ago (May 10 17:56:44 tells me yum.log)
>>
>> Now, I'm trying a full yum update and getting :
>> # yum update
>> 
>>
>> Error: Package: ovirt-engine-tools-3.6.5.3-1.el7.centos.noarch (@ovirt-3.6)
>>Requires: ovirt-engine-tools-backup = 3.6.5.3-1.el7.centos
>>Removing: ovirt-engine-tools-backup-3.6.5.3-1.el7.centos.noarch
>> (@ovirt-3.6)
>>ovirt-engine-tools-backup = 3.6.5.3-1.el7.centos
>>Updated By: ovirt-engine-tools-backup-3.6.6.2-1.el7.centos.noarch
>> (ovirt-3.6)
>>ovirt-engine-tools-backup = 3.6.6.2-1.el7.centos
>>
>>
>>
>> Follow 3.6.6 release notes to update:
>> https://www.ovirt.org/release/3.6.6/
>>
>>
>> yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
>> yum update ovirt\*setup\*
>> and then run
>> engine-setup to update the rest of the packages.
>>
>>
>> I have seen this doc.
>>
>> It updates a few components and what about the others ? The readme talk
>> about running engine-setup, but not that it will updates other packages. I
>> thought that ovirt-engine is for engine setup, not upgrading.
>
>Right.
>
>After engine-setup finishes, you should 'yum update' to update the rest.
>
>And BTW, this specific issue about tools-backup was fixed in [1]. So a
>future 'yum update' should not emit this error - although the update
>sequence is still the same - add repos, update setup packages, engine-setup,
>update the rest.
>
>[1] https://bugzilla.redhat.com/show_bug.cgi?id=1321249
>-- 
>Didi
>___
>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] Do you use ovirt-engine-reports?

2016-05-17 Thread Pavel Gashev
I use Reports. Basically, it's «Five Most Utilized…» and «Inventory» reports. 

It would be great if oVirt had the following functionality instead of Reports:
1. Columns with absolute values of CPU/Network/Disk IO for refresh interval and 
absolute values of Memory/Disk Usage in the Virtual Machines list. Together 
with existing filtering and column sorting it would give a great «virt-top» 
like functionality.
2. Ability to export any table to a CSV file.

On 17/05/16 10:39, "users-boun...@ovirt.org on behalf of Yedidyah Bar David" 
 wrote:

>Hi all,
>
>We are considering dropping ovirt-engine-reports in 4.0.
>
>Some of its functionality will be added in a new feature
>called "Dashboards", see [1].
>
>Do you use Reports? How important it is to your setup?
>
>[1] https://bugzilla.redhat.com/1324860
>
>Best regards,
>-- 
>Didi
>___
>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] Trying to understand the mixed storage configuration options.

2016-05-13 Thread Pavel Gashev
Nir,

Basically, almost any server has a local storage. It could be a reliable, RAID 
enabled storage. It would be great to allow to use it simultaneously with 
shared storages.

Other virtualizations like vmware/hyperv support local and shared storages 
simultaneously. If your VM is on local storage, it's tied to a host. Just like 
when VM has attached local device(s). VM migration moves disks between hosts as 
well.

An obvious solution is to export local storages via NFS to make it shared. This 
would allow to drop «local storage datacenters» as a class.

TODO list would be the following:
1. VDSM: add creating NFS exports
2. Engine: creating NFS exports before local storage activation, and updating 
NFS exports after adding/removing hosts
3. Engine: add moving disks between storages during (just before, just after) 
VM migration. 
4. Engine: add constraints to avoid dangerous situations - disallow changing VM 
startup host, disallow moving disks to another local storage without VM 
migration, etc.

On 13/05/16 14:04, "users-boun...@ovirt.org on behalf of Nir Soffer" 
 wrote:

>On Thu, May 12, 2016 at 5:50 AM, Jason Ziemba  wrote:
>> I'm fairly new to oVirt (coming from ProxMox) and trying to wrap my head
>> around the mixed (local/NAS) data domain options that are available.
>>
>> I'm trying to configure a set of systems to have local storage, as their
>> primary data storage domain, though also want to have the ability to have a
>> NAS based data domain for guests that are 'mobile' between hosts.  Currently
>> I'm able to do one or the other, but not both (so it seems).
>>
>> When I put all of the systems in to a single cluster (or single data-center)
>> I'm able to have the shared data domain, though have only found the ability
>> to configure one system for local storage (not all of them).   When I split
>> them out in to separate data centers, they all have their local data domain
>> working, but only a single dc is able to access the shared data domain at a
>> time.
>>
>> Am I missing something along the way (probably fairly obvious) that does
>> exactly what I'm outlining, or is this functionality not available by
>> design?
>
>This is not available by design.
>
>Can you explain the use case, why do you need to use local storage as
>your primary data storage?
>
>How are you going to migrate your vms if the primary storage is local?
>
>How are you going to start the vms on another host after host failures,
>if the vm storage is on the failed host, and the last state of that disk
>is not available or even lost?
>
>Nir
>___
>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] stalls during live Merge Centos 7 / qemu 2.3

2016-04-13 Thread Pavel Gashev
It really works. The bug is that engine doesn't update the state of 
finalization step. Engine.log shows that finalization is actually finished. 
Restart of engine fixes it. Also it's possible to fix it in directly in 
database w/o restarting anything.


From: Markus Stockhausen <stockhau...@collogia.de>
Sent: Apr 13, 2016 10:23 PM
To: Gianluca Cecchi
Cc: Pavel Gashev; users
Subject: AW: [ovirt-users] stalls during live Merge Centos 7 / qemu 2.3

Hi,

I was just annoyed that during my tests I got a second error. For me
it seemed as finally everything worked fine. Although the single disk live
merge task was shown to be still running finally.

Nevertheless after Nirs explanation for BZ1326900 I'm unsure if the single
disk live merge really works. So we currently have the following situation:

Live merge (for all disks) stalls the VM

Live merge (for single disks) seems to work but logs give other info.

Markus


Von: Gianluca Cecchi [gianluca.cec...@gmail.com]
Gesendet: Mittwoch, 13. April 2016 20:59
An: Markus Stockhausen
Cc: Pavel Gashev; users
Betreff: Re: [ovirt-users] stalls during live Merge Centos 7 / qemu 2.3

On Wed, Apr 13, 2016 at 7:54 PM, Markus Stockhausen 
<stockhau...@collogia.de<mailto:stockhau...@collogia.de>> wrote:
Hi Pavel,

I don't understand...


I tested as advised. And aaargh hit the next two OVirt bugs

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

>From above it seems that also one by one doesn't work for you, and going to 
>bugzilla link seems to confirm that.



Nevertheless: Merging only one disk at once works as expected.
The VM stays up, keeps running and is responsive.

Markus


But here above you are saying instead that it works as expected...?


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


Re: [ovirt-users] Autostart VMS

2016-04-09 Thread Pavel Gashev
I'd like to see the autostart feature as well. In my case I need to autostart a 
virtual router VM at remote site. The issue is that oVirt can't see the remote 
host until the virtual router is started on this host. So HA is not an option.

On Sat, 2016-04-09 at 08:50 +0200, Sven Kieske wrote:

On 06.04.2016 07:46, Brett I. Holcomb wrote:


In VMware we could setup guests to autostart when the host started and
define the order.  Is that doable in oVirt?  The only thing I've seen
is the watchdog and tell it to reset but nothing that allows me to
define who starts up when and if they autostart.  I assume it's there
but I must be missing it or haven't found it in the web portal.



See this long standing bug:

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

also searching this ML for "autostart" and "VM"

turns up this same discussion every few months.

sadly no dev seems to grasp the importance of this feature, so it's
always rationalsed that it's not needed or the HA feature is enough (it
isn't).

I don't know why the already implemented libvirt autostart feature
does not get simply passed through.

This feature was at least requested by 4 or 5 different people, to no avail.

you might CC yourself to the bugreport(RFE) and vote on it, maybe
this way it will get some traction.

kind regards

Sven



___
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] VDSM doesn't disconnect multiple iSCSI sessions

2016-04-01 Thread Pavel Gashev
Hello,

I was trying to improve iSCSI performance by increasing number of simultaneous 
connections to iSCSI target. Please note it's not about iSCSI multipathing. 
It's about using multiple connections over the same network/path to utilise 
network interface bonding.

/etc/iscsi/iscsid.conf has an option where I can set number of session by 
default - node.session.nr_sessions. I've found that multiple sessions work 
well, but VDSM doesn't disconnect all established sessions. Maintenance mode 
disconnects the first connected session only. Other sessions remain connected.

I've filed a bug https://bugzilla.redhat.com/show_bug.cgi?id=1322933 with a 
patch to fix the issue.

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


Re: [ovirt-users] payload device serial

2016-03-31 Thread Pavel Gashev
Here you go https://bugzilla.redhat.com/show_bug.cgi?id=1322842

From: Francesco Romani <from...@redhat.com<mailto:from...@redhat.com>>
Date: Thursday 31 March 2016 at 09:46
To: Pavel Gashev <p...@acronis.com<mailto:p...@acronis.com>>
Cc: "users@ovirt.org<mailto:users@ovirt.org>" 
<users@ovirt.org<mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] payload device serial

Thanks for the report!

Could you please file a Vdsm bug?

Bests,


From: "Pavel Gashev" <p...@acronis.com<mailto:p...@acronis.com>>
To: users@ovirt.org<mailto:users@ovirt.org>
Sent: Wednesday, March 30, 2016 4:39:14 PM
Subject: [ovirt-users] payload device serial

Hello,

I hit a bug, and just want to share a solution.

VM with a payload (Initial run) do not start with libvirt >= 1.3.2. VDSM log 
says: "libvirtError: unsupported configuration: Disks 'hdc' and 'hdd' have 
identical serial".

Yes, both cdrom devices have the same serial. Empty serial:














I don't know where is the issue. Either libvirt should work with empty serials, 
or VDSM should generate serial at least for payload device.

Related bug -  https://bugzilla.redhat.com/show_bug.cgi?id=1245013

Quick fix is to install a VDSM hook to /usr/libexec/vdsm/hooks/before_vm_start:
-- cut here --
#!/usr/bin/python

import hooking
import uuid

domxml = hooking.read_domxml()

for disk in domxml.getElementsByTagName('disk'):
if disk.getAttribute('device') == 'cdrom':
for source in disk.getElementsByTagName('source'):
if source.getAttribute('file').find('/payload/') > 0:
for serial in disk.getElementsByTagName('serial'):
if not serial.hasChildNodes():

serial.appendChild(domxml.createTextNode(str(uuid.uuid4(
hooking.write_domxml(domxml)
-- cut here --


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



--
Francesco Romani
RedHat Engineering Virtualization R & D
Phone: 8261328
IRC: fromani
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] payload device serial

2016-03-30 Thread Pavel Gashev
Hello,

I hit a bug, and just want to share a solution.

VM with a payload (Initial run) do not start with libvirt >= 1.3.2. VDSM log 
says: "libvirtError: unsupported configuration: Disks 'hdc' and 'hdd' have 
identical serial".

Yes, both cdrom devices have the same serial. Empty serial:














I don't know where is the issue. Either libvirt should work with empty serials, 
or VDSM should generate serial at least for payload device.

Related bug -  https://bugzilla.redhat.com/show_bug.cgi?id=1245013

Quick fix is to install a VDSM hook to /usr/libexec/vdsm/hooks/before_vm_start:
-- cut here --
#!/usr/bin/python

import hooking
import uuid

domxml = hooking.read_domxml()

for disk in domxml.getElementsByTagName('disk'):
if disk.getAttribute('device') == 'cdrom':
for source in disk.getElementsByTagName('source'):
if source.getAttribute('file').find('/payload/') > 0:
for serial in disk.getElementsByTagName('serial'):
if not serial.hasChildNodes():

serial.appendChild(domxml.createTextNode(str(uuid.uuid4(
hooking.write_domxml(domxml)
-- cut here --

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


Re: [ovirt-users] Storage migration: Preallocation forced on destination

2016-03-15 Thread Pavel Gashev
Nir,


On 05/03/16 15:35, "Nir Soffer" <nsof...@redhat.com> wrote:
>On Sat, Mar 5, 2016 at 10:52 AM, Pavel Gashev <p...@acronis.com> wrote:
>> On 05/03/16 02:23, "Nir Soffer" <nsof...@redhat.com> wrote:
>>>On Sat, Mar 5, 2016 at 12:19 AM, Pavel Gashev <p...@acronis.com> wrote:
>>>> Also please consider qcow compat=1.1 as default disk format both for file 
>>>> and block storages.
>>>
>>>This will make your disk incompatible with old ovirt versions on el6.
>>>In storage domain format v3
>>>we are using comapt=0.10.
>>>
>>>We plan to move to compat=1.1 in 4.0.
>>
>> Too long to wait :) Currently it's hardcoded. It would be great, if it was 
>> configurable via /etc/vdsm/vdsm.conf at least. It would allow early adopt 
>> compat=1.1 in el7 environments.
>
>Good idea, If you file a bug and send a patch it will be available in
>the next release.

Here you go https://bugzilla.redhat.com/show_bug.cgi?id=1317850


Thanks

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


  1   2   >