Re: [ovirt-users] Export VM

2017-02-14 Thread Yura Poltoratskiy

Hi.

Through the management.

I can explain more detail if need.


15.02.2017 09:09, David David пишет:

Hi.
There are several network roles as Management, VM and Migration.
Export VM action through which network role is going on?
Thanks.


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


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


[ovirt-users] Export VM

2017-02-14 Thread David David
Hi.
There are several network roles as Management, VM and Migration.
Export VM action through which network role is going on?
Thanks.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change Vlan ID's which are connected to the Host/VM's

2017-02-14 Thread Michael Burman
Check this feature page as well)

http://www.ovirt.org/develop/release-management/features/network/multihostnetworkconfiguration/



On Wed, Feb 15, 2017 at 8:06 AM, Michael Burman  wrote:

> Hello Matt
>
> Yes, there is a way, it can be done as part of our MultiHost Network
> feature(since 3.4).
> If you have the same logical network attached to multiple hosts in your
> DC, you can update their vlan IDs via the 'Networks' main tab and this will
> send a setup networks command through all of your hosts in the DC and
> update the logical network with the new vlan ID.
> - Note that this can be done when the VMs are running on the host/s as
> well.
>
> Good luck)
>
> On Tue, Feb 14, 2017 at 11:51 PM, Matt .  wrote:
>
>> Hi Guys,
>>
>> Is there a way to change Vlan ID's which are connected to the Hosts
>> when the VM's on it are down ?
>>
>> As i need to change a lot of them it would be create if the engine can
>> perform some process which allows me to hammer my hosts with the new
>> vlan ID's for their bridges.
>>
>> I hope someone has an idea.
>>
>> Thanks!
>>
>> Matt
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
> Michael Burman
> RedHat Israel, RHV-M Network QE
>
> Mobile: 054-5355725
> IRC: mburman
>



-- 
Michael Burman
RedHat Israel, RHV-M Network QE

Mobile: 054-5355725
IRC: mburman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change Vlan ID's which are connected to the Host/VM's

2017-02-14 Thread Michael Burman
Hello Matt

Yes, there is a way, it can be done as part of our MultiHost Network
feature(since 3.4).
If you have the same logical network attached to multiple hosts in your DC,
you can update their vlan IDs via the 'Networks' main tab and this will
send a setup networks command through all of your hosts in the DC and
update the logical network with the new vlan ID.
- Note that this can be done when the VMs are running on the host/s as
well.

Good luck)

On Tue, Feb 14, 2017 at 11:51 PM, Matt .  wrote:

> Hi Guys,
>
> Is there a way to change Vlan ID's which are connected to the Hosts
> when the VM's on it are down ?
>
> As i need to change a lot of them it would be create if the engine can
> perform some process which allows me to hammer my hosts with the new
> vlan ID's for their bridges.
>
> I hope someone has an idea.
>
> Thanks!
>
> Matt
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
Michael Burman
RedHat Israel, RHV-M Network QE

Mobile: 054-5355725
IRC: mburman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Two Problems On New Install

2017-02-14 Thread Charles Tassell

Hi Everyone,

  I recently installed oVirt 4.0 on two servers with an iSCSI 
backstore, and I'm having two issues I'm having trouble tracking down. 
First, the initial datastore that the hosted engine is running on won't 
connect.  It just says "Unattached" in the GUI, and I can't find an 
error message anywhere.  Not a huge deal, it just means I can't see the 
hosted engine itself in the GUI.


  More importantly: I can't migrate VMs.  They fail with errors like 
this in the vdsm.log of the destination host:


Thread-60381::ERROR::2017-02-14 
21:55:47,921::vm::767::virt.vm::(_startUnderlyingVm) 
vmId=`59f235cc-3ab2-4dae-b460-62be850e3d5d`::Failed to start a migration 
destination vm

Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 733, in _startUnderlyingVm
self._completeIncomingMigration()
  File "/usr/share/vdsm/virt/vm.py", line 3113, in 
_completeIncomingMigration

self._incomingMigrationFinished.isSet(), usedTimeout)
  File "/usr/share/vdsm/virt/vm.py", line 3196, in 
_attachLibvirtDomainAfterMigration

raise MigrationError(e.get_error_message())
MigrationError: Domain not found: no domain with matching uuid 
'59f235cc-3ab2-4dae-b460-62be850e3d5d'


  If I shut the VM down and start it on the host it works fine, it just 
won't migrate.  I notice I'm also seeing a lot (like every 7 seconds) of 
this error:


JsonRpc (StompReactor)::ERROR::2017-02-14 
21:57:33,984::betterAsyncore::113::vds.dispatcher::(recv) SSL error 
during reading data: unexpected eof


  Which I can't seem to diagnose.  Any ideas?


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


[ovirt-users] Two Problems On New Install

2017-02-14 Thread Charles Tassell

Hi Everyone,

  I recently installed oVirt 4.0 on two servers with an iSCSI 
backstore, and I'm having two issues I'm having trouble tracking down.  
First, the initial datastore that the hosted engine is running on won't 
connect.  It just says "Unattached" in the GUI, and I can't find an 
error message anywhere.  Not a huge deal, it just means I can't see the 
hosted engine itself in the GUI.


  More importantly: I can't migrate VMs.  They fail with errors like 
this in the vdsm.log of the destination host:


Thread-60381::ERROR::2017-02-14 
21:55:47,921::vm::767::virt.vm::(_startUnderlyingVm) 
vmId=`59f235cc-3ab2-4dae-b460-62be850e3d5d`::Failed to start a migration 
destination vm

Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 733, in _startUnderlyingVm
self._completeIncomingMigration()
  File "/usr/share/vdsm/virt/vm.py", line 3113, in 
_completeIncomingMigration

self._incomingMigrationFinished.isSet(), usedTimeout)
  File "/usr/share/vdsm/virt/vm.py", line 3196, in 
_attachLibvirtDomainAfterMigration

raise MigrationError(e.get_error_message())
MigrationError: Domain not found: no domain with matching uuid 
'59f235cc-3ab2-4dae-b460-62be850e3d5d'


  If I shut the VM down and start it on the host it works fine, it just 
won't migrate.  I notice I'm also seeing a lot (like every 7 seconds) of 
this error:


JsonRpc (StompReactor)::ERROR::2017-02-14 
21:57:33,984::betterAsyncore::113::vds.dispatcher::(recv) SSL error 
during reading data: unexpected eof


  Which I can't seem to diagnose.  Any ideas?


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


[ovirt-users] Change Vlan ID's which are connected to the Host/VM's

2017-02-14 Thread Matt .
Hi Guys,

Is there a way to change Vlan ID's which are connected to the Hosts
when the VM's on it are down ?

As i need to change a lot of them it would be create if the engine can
perform some process which allows me to hammer my hosts with the new
vlan ID's for their bridges.

I hope someone has an idea.

Thanks!

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


Re: [ovirt-users] Exporting VM as ova

2017-02-14 Thread Tomáš Golembiovský
On Tue, 14 Feb 2017 12:23:04 -0500
Derek Atkins  wrote:

> Hi,
> 
> Shahar Havivi  writes:
> 
> > They must have written it - as we did,
> > OVA is representation of current hypervisor virtual machine, it contains OVF
> > which is xml representation of the VM and binary disk files, the files are 
> > the
> > format of the specific hypervisor (Xen, VMWare or KVM).
> > We currently convert from VMWare and Xen on Rhel (not Citrix).
> > The main issue is to convert the disk from one hypervisor to another, we use
> > qemu-img to convert to qcow2 or raw disk format.  
> 
> Can virt-v2v convert back from ovirt format to VMware format?

If you're asking about VM conversion then the answer is no. virt-v2v
converts only to KVM, not the other way around.

If you're asking about the disks then the question is incorrect. The
right tool for this kind of operation is qemu-img. And yes, it can
convert from raw/QCow2 to VMDK.

Tomas

-- 
Tomáš Golembiovský 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Exporting VM as ova

2017-02-14 Thread Derek Atkins
Hi,

Shahar Havivi  writes:

> They must have written it - as we did,
> OVA is representation of current hypervisor virtual machine, it contains OVF
> which is xml representation of the VM and binary disk files, the files are the
> format of the specific hypervisor (Xen, VMWare or KVM).
> We currently convert from VMWare and Xen on Rhel (not Citrix).
> The main issue is to convert the disk from one hypervisor to another, we use
> qemu-img to convert to qcow2 or raw disk format.

Can virt-v2v convert back from ovirt format to VMware format?

>  Shahar.

-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


Re: [ovirt-users] high number of IOPS from ovirt hosts

2017-02-14 Thread Andrea Fagiani

Correct,
coincidentally, there no instances of systemd-udevd going haywire either.

Andrea


On 14/02/2017 15:20, Yaniv Kaul wrote:



On Tue, Feb 14, 2017 at 2:15 PM, Andrea Fagiani 
> 
wrote:


Hi,

just a quick update on the issue. The high amount of IOPS was
indeed due to having the hosted-engine on the EQL storage; we
worked around the issue by moving the hosted-engine to a gluster
storage instead.


And now there are no high amount of IOPS on the Gluster storage?
Y.

Thanks to everyone involved,
Andrea


On 13/02/2017 13:24, Nir Soffer wrote:

On Mon, Feb 13, 2017 at 12:32 PM, Andrea Fagiani
> wrote:

Hi Nir,

the amount of IOPS is pretty much constant, attaching the
logs from the last hour or so.


Andrea, can you send also logs from ovirt-hosted-engine-ha?
(I'm not sure about the name of the service or the location of
the logs)

Andrea


On 13/02/2017 10:13, Nir Soffer wrote:

On Mon, Feb 13, 2017 at 11:05 AM, Andrea Fagiani
> wrote:

Thanks for the heads up, I'll take a look at Mark's thread.
We are presenting 2 storage LUNs to a single ovirt
cluster and yes, all hosts are hosted engine hosts.

Thanks,
Andrea


I think we already have hosted engine bug about doing to
many calls to vdsm
that cause reloads of lvm data; this can cause increased io.

Can you attach vdsm and hosted engine agent logs showing the
timeframe when
you have lot of iops on the server?

Nir




On 12/02/2017 18:27, Andrea Ghelardi wrote:

Andrea,
I don't want to point any fingers but Mark Greenall
faced some issues with Ovirt 4.06/4.1 linked to
equallogic as well.
You may want to search posts in this ML with subject
" Ovirt 4.0.6 guests 'Not Responding' " to see if
you find any similarities.
How many storages are you presenting to how many
clusters?
Also, are your nodes all Hosted Engine Hosts? In my
old configuration, normal hosts read IOPS ranged
from 50 to 500 while HE ones peaked even ~3000
Cheers
AG


-Original Message-
From: Andrea Fagiani
[mailto:andrea.fagi...@immobiliare.it
]
Sent: Friday, February 10, 2017 5:56 PM
To: Andrea Ghelardi >; users@ovirt.org

Subject: Re: [ovirt-users] high number of IOPS from
ovirt hosts

Hi Andrea,

thanks for the insight; no I wasn't able to pinpoint
the issue to a single host, the load seems to be
evenly spread.
We have another cluster running 4.0.6 on a
compellent as well and we haven't experienced any
similar issues.

Thanks,
Andrea


On 10/02/2017 17:17, Andrea Ghelardi wrote:

Hello Andrea,
I saw that happening on my HE hosts connected to
a COMPELLENT SC040
when I was running Ovirt 3.5

All HE hosts were hammering the SAN with 2~4k
IOPS each

Upgrading to 4.0.5 solved my case.
Are you able to check if IOPS are generated from
a particular host or rather spread among all nodes?

Cheers
AG


-Original Message-
From: users-boun...@ovirt.org

[mailto:users-boun...@ovirt.org
] On
Behalf Of Andrea Fagiani
Sent: Friday, February 10, 2017 12:47 PM
To: users@ovirt.org 
Subject: [ovirt-users] high number of IOPS from
ovirt hosts

Hi,

We've got a 8-host cluster running oVirt 4.1;
each host is connected via iscsi to a EQL 4100
storage (2x).
Most of the VMs use barely any IOPS, however on
our storage controller we've noticed a constant
steam 

[ovirt-users] gdeploy error

2017-02-14 Thread Ishmael Tsoaela
Hi,


I am a new sys admin and trying to install glusterfs using gdeploy, I
started with a simple script to enable a service(ntpd).


 gdeploy --version
gdeploy 2.0.1

[root@ovirt1 gdeploy]# cat ntp.conf
[hosts]
ovirt1

[service1]
action=enable
service=ntpd

[service2]
action=start
service=ntpd



The issue is that the gdeploy is returning error
fatal: [ovirt1]: FAILED! => {"failed": true, "msg": "module (setup) is
missing interpreter line"}


Is there a simple way to debug or figure out how to fix this error?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Exporting VM as ova

2017-02-14 Thread Yaniv Kaul
On Mon, Feb 13, 2017 at 3:46 AM, Anantha Raghava <
rag...@exzatechconsulting.com> wrote:

> Hello Arik,
>
> Interesting..
>
> I was thinking that, by converting to OVA appliance, we can release our
> product as appliance that will work on Xen, VMWare or KVM. Now OVA works
> both on Xen and VMWare and both can be interchanged with each other.
>
> Do you mean to say that both Xen and VMWare have written specific parsers
> to convert the disk formats amongst each other.
>

It's not just disk format - imagine the network interface driver - the PV
Xen NIC driver vs. vmxnet3 (or however it's called) in VMware. Most of the
HW devices are different as well.
Y.


> Xen, I am talking about Citrix Xen.
>
> --
>
> Thanks & Regards,
>
>
> Anantha Raghava eXzaTech Consulting And Services Pvt. Ltd.
>
> Do not print this e-mail unless required. Save Paper & trees.
> On Sunday 12 February 2017 06:27 PM, Arik Hadas wrote:
>
>
>
> On Sun, Feb 12, 2017 at 2:37 PM, Anantha Raghava <
> rag...@exzatechconsulting.com> wrote:
>
>> Hello Arik,
>>
>> Converting to an appliance (OVA) makes the VM portable. Works on multiple
>> hypervisor. VM migration and interoperability becomes uncomplicated.
>>
>
> Thanks Anantha.
> That's true only to some extent.
> For example, without converting OVA that was generated by VMware using
> virt-v2v oVirt cannot consume it since the VMDK disks format is not
> supported in oVirt. Another example is the OVF representation that differs
> among various virtualization management platforms.
> So if you are trying to migrate a VM from oVirt to another platform and
> assume you'll get this out-of-the-box by having an OVA that is generated by
> oVirt, I'm afraid you'll be disappointed in case the target platform
> doesn't support the format of the disks or doesn't know how to parse the
> OVF that is generated by oVirt.
> And there may be more use cases for exporting the VM as OVA, that's why
> I'm interested to know what's the goal in this case :)
>
>
>> --
>>
>> Thanks & Regards,
>>
>>
>> Anantha Raghava eXzaTech Consulting And Services Pvt. Ltd.
>>
>> Do not print this e-mail unless required. Save Paper & trees.
>> On Sunday 12 February 2017 06:04 PM, Arik Hadas wrote:
>>
>> Hi Benjamin,
>>
>> Unfortunately not.
>> We intend to make more use of the OVA format soon, we design this these
>> days.
>> May I ask what is the motivation in your case to export the VM as OVA?
>>
>> Regards,
>> Arik
>>
>>
>>
>> On Fri, Feb 10, 2017 at 11:41 AM, Benjamin Alfery <
>> benjamin.alf...@linforge.com> wrote:
>>
>>> Hi,
>>>
>>> I'm using ovirt 4.0 and was wondering if it is possible to export an
>>> existing VM to ova format (via the gui). If it's not possible via GUI,
>>> is that possible at all?
>>>
>>>
>>> Best Regards
>>> Benjamin
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>>
>>
>> ___
>> Users mailing 
>> listUsers@ovirt.orghttp://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] questions about migrating to self-hosted engine from bare-metal

2017-02-14 Thread cmc
Ok, thanks for clarifying that Simone. I will read the guide more thoroughly.

Cheers,

Cam

On Tue, Feb 14, 2017 at 1:47 PM, Simone Tiraboschi  wrote:
>
>
> On Tue, Feb 14, 2017 at 2:36 PM, cmc  wrote:
>>
>> Hi Simone,
>>
>> >>
>> >
>> > It fails due to this one:
>> > 2017-02-13 13:07:45,812 ERROR (vm/642a0b9a) [virt.vm]
>> > (vmId='642a0b9a-49fc-4ccc-8976-f6685953d0e8') The vm start process
>> > failed
>> > (vm:616)
>> > Traceback (most recent call last):
>> >   File "/usr/share/vdsm/virt/vm.py", line 552, in _startUnderlyingVm
>> > self._run()
>> >   File "/usr/share/vdsm/virt/vm.py", line 1994, in _run
>> > self._connection.createXML(domxml, flags),
>> >   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py",
>> > line
>> > 123, in wrapper
>> > ret = f(*args, **kwargs)
>> >   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in
>> > wrapper
>> > return func(inst, *args, **kwargs)
>> >   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
>> > createXML
>> > if ret is None:raise libvirtError('virDomainCreateXML() failed',
>> > conn=self)
>> > libvirtError: invalid argument: could not find capabilities for
>> > arch=x86_64
>> > domaintype=kvm
>> > 2017-02-13 13:07:45,852 INFO  (vm/642a0b9a) [virt.vm]
>> > (vmId='642a0b9a-49fc-4ccc-8976-f6685953d0e8') Changed state to Down:
>> > invalid
>> > argument: could not find capabilities for arch=x86_64 domaintype=kvm
>> > (code=1) (vm:1199)
>> >
>> > Is your CPU properly configured for virtualization? Are you running on a
>> > nested env?
>> >
>>
>> Yes, I assume it should be configured for virtualisation, since this
>> VM I'm creating to replace the bare-metal engine is running on one of
>> the two hosts that make up the cluster, and host 30 other running VMs
>> currently. Should it not run on the same cluster perhaps?
>>
>> My steps are:
>>
>> 1. Create a VM on the cluster. Install the ovirt release rpm, install
>> the packages ovirt-hosted-engine-setup and ovirt-engine-appliance
>> 2. run hosted-engine --deploy
>>
>> ...and that is as far as I have gotten so far.
>
>
> OK, a bit of confusion here:
> ovirt-hosted-engine-setup is going to create a VM for you based on
> ovirt-engine-appliance (with the engine).
> If you manually create a VM (L1) on your physical host (L0) to run
> hosted-engine-setup there, hosted-engine-setup will create a VM (L2) for the
> engine running inside the L1 VM and this requires nested virtualization
> support which I think it's not enabled by default on oVirt hosts.
> But the point is that you simply have to run ovirt-hosted-engine-setup on
> your physical host and not on a VM otherwise all the HA mechanism of
> hosted-engine will make no sense if nothing is bringing up your virtual
> hosts for you.
>
> hosted-engine-setup requires an host with no others running VMs so, if it's
> already managed my an engine, move it to maintenance and remove it from your
> cluster.
>
>
>>
>>
>> Thanks,
>>
>> Cam
>>
>> >
>> >>
>> >> Thanks,
>> >>
>> >> Cam
>> >>
>> >>
>> >> On Mon, Feb 13, 2017 at 6:22 PM, Yaniv Kaul  wrote:
>> >> >
>> >> > On Mon, Feb 13, 2017 at 6:26 PM, cmc  wrote:
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20170213141937-0wgc31.log
>> >> >
>> >> >
>> >> > Anything in the above log?
>> >> > Y.
>> >> >
>> >>
>> >> ___
>> >> Users mailing list
>> >> Users@ovirt.org
>> >> http://lists.ovirt.org/mailman/listinfo/users
>> >>
>> >
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] high number of IOPS from ovirt hosts

2017-02-14 Thread Yaniv Kaul
On Tue, Feb 14, 2017 at 2:15 PM, Andrea Fagiani <
andrea.fagi...@immobiliare.it> wrote:

> Hi,
>
> just a quick update on the issue. The high amount of IOPS was indeed due
> to having the hosted-engine on the EQL storage; we worked around the issue
> by moving the hosted-engine to a gluster storage instead.
>

And now there are no high amount of IOPS on the Gluster storage?
Y.

Thanks to everyone involved,
> Andrea
>
> On 13/02/2017 13:24, Nir Soffer wrote:
>
> On Mon, Feb 13, 2017 at 12:32 PM, Andrea Fagiani <
> andrea.fagi...@immobiliare.it> wrote:
>
>> Hi Nir,
>>
>> the amount of IOPS is pretty much constant, attaching the logs from the
>> last hour or so.
>>
>
> Andrea, can you send also logs from ovirt-hosted-engine-ha?
> (I'm not sure about the name of the service or the location of the logs)
>
>
>> Andrea
>>
>> On 13/02/2017 10:13, Nir Soffer wrote:
>>
>> On Mon, Feb 13, 2017 at 11:05 AM, Andrea Fagiani <
>> andrea.fagi...@immobiliare.it> wrote:
>>
>>> Thanks for the heads up, I'll take a look at Mark's thread.
>>> We are presenting 2 storage LUNs to a single ovirt cluster and yes, all
>>> hosts are hosted engine hosts.
>>>
>>> Thanks,
>>> Andrea
>>
>>
>> I think we already have hosted engine bug about doing to many calls to
>> vdsm
>> that cause reloads of lvm data; this can cause increased io.
>>
>> Can you attach vdsm and hosted engine agent logs showing the timeframe
>> when
>> you have lot of iops on the server?
>>
>> Nir
>>
>>
>>>
>>>
>>>
>>> On 12/02/2017 18:27, Andrea Ghelardi wrote:
>>>
 Andrea,
 I don't want to point any fingers but Mark Greenall faced some issues
 with Ovirt 4.06/4.1 linked to equallogic as well.
 You may want to search posts in this ML with subject " Ovirt 4.0.6
 guests 'Not Responding' " to see if you find any similarities.
 How many storages are you presenting to how many clusters?
 Also, are your nodes all Hosted Engine Hosts? In my old configuration,
 normal hosts read IOPS ranged from 50 to 500 while HE ones peaked even 
 ~3000
 Cheers
 AG


 -Original Message-
 From: Andrea Fagiani [mailto:andrea.fagi...@immobiliare.it]
 Sent: Friday, February 10, 2017 5:56 PM
 To: Andrea Ghelardi ; users@ovirt.org
 Subject: Re: [ovirt-users] high number of IOPS from ovirt hosts

 Hi Andrea,

 thanks for the insight; no I wasn't able to pinpoint the issue to a
 single host, the load seems to be evenly spread.
 We have another cluster running 4.0.6 on a compellent as well and we
 haven't experienced any similar issues.

 Thanks,
 Andrea


 On 10/02/2017 17:17, Andrea Ghelardi wrote:

> Hello Andrea,
> I saw that happening on my HE hosts connected to a COMPELLENT SC040
> when I was running Ovirt 3.5
>
> All HE hosts were hammering the SAN with 2~4k IOPS each
>
> Upgrading to 4.0.5 solved my case.
> Are you able to check if IOPS are generated from a particular host or
> rather spread among all nodes?
>
> Cheers
> AG
>
>
> -Original Message-
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
> Behalf Of Andrea Fagiani
> Sent: Friday, February 10, 2017 12:47 PM
> To: users@ovirt.org
> Subject: [ovirt-users] high number of IOPS from ovirt hosts
>
> Hi,
>
> We've got a 8-host cluster running oVirt 4.1; each host is connected
> via iscsi to a EQL 4100 storage (2x).
> Most of the VMs use barely any IOPS, however on our storage controller
> we've noticed a constant steam of reads, about 2000 IOPS; any idea what
> might cause the ovirt hosts to hammer on the storage so much?
>
> Looking at iotop, it seems that systemd-udevd is being activated every
> few seconds (and its IO% is usually fairly high) so I assume this might be
> somehow related.
>
> Thanks,
> Andrea
> ___
> 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] questions about migrating to self-hosted engine from bare-metal

2017-02-14 Thread Simone Tiraboschi
On Tue, Feb 14, 2017 at 2:36 PM, cmc  wrote:

> Hi Simone,
>
> >>
> >
> > It fails due to this one:
> > 2017-02-13 13:07:45,812 ERROR (vm/642a0b9a) [virt.vm]
> > (vmId='642a0b9a-49fc-4ccc-8976-f6685953d0e8') The vm start process
> failed
> > (vm:616)
> > Traceback (most recent call last):
> >   File "/usr/share/vdsm/virt/vm.py", line 552, in _startUnderlyingVm
> > self._run()
> >   File "/usr/share/vdsm/virt/vm.py", line 1994, in _run
> > self._connection.createXML(domxml, flags),
> >   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py",
> line
> > 123, in wrapper
> > ret = f(*args, **kwargs)
> >   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in
> > wrapper
> > return func(inst, *args, **kwargs)
> >   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
> > createXML
> > if ret is None:raise libvirtError('virDomainCreateXML() failed',
> > conn=self)
> > libvirtError: invalid argument: could not find capabilities for
> arch=x86_64
> > domaintype=kvm
> > 2017-02-13 13:07:45,852 INFO  (vm/642a0b9a) [virt.vm]
> > (vmId='642a0b9a-49fc-4ccc-8976-f6685953d0e8') Changed state to Down:
> invalid
> > argument: could not find capabilities for arch=x86_64 domaintype=kvm
> > (code=1) (vm:1199)
> >
> > Is your CPU properly configured for virtualization? Are you running on a
> > nested env?
> >
>
> Yes, I assume it should be configured for virtualisation, since this
> VM I'm creating to replace the bare-metal engine is running on one of
> the two hosts that make up the cluster, and host 30 other running VMs
> currently. Should it not run on the same cluster perhaps?
>
> My steps are:
>
> 1. Create a VM on the cluster. Install the ovirt release rpm, install
> the packages ovirt-hosted-engine-setup and ovirt-engine-appliance
> 2. run hosted-engine --deploy
>
> ...and that is as far as I have gotten so far.
>

OK, a bit of confusion here:
ovirt-hosted-engine-setup is going to create a VM for you based on
ovirt-engine-appliance (with the engine).
If you manually create a VM (L1) on your physical host (L0) to run
hosted-engine-setup there, hosted-engine-setup will create a VM (L2) for
the engine running inside the L1 VM and this requires nested virtualization
support which I think it's not enabled by default on oVirt hosts.
But the point is that you simply have to run ovirt-hosted-engine-setup on
your physical host and not on a VM otherwise all the HA mechanism of
hosted-engine will make no sense if nothing is bringing up your virtual
hosts for you.

hosted-engine-setup requires an host with no others running VMs so, if it's
already managed my an engine, move it to maintenance and remove it from
your cluster.



>
> Thanks,
>
> Cam
>
> >
> >>
> >> Thanks,
> >>
> >> Cam
> >>
> >>
> >> On Mon, Feb 13, 2017 at 6:22 PM, Yaniv Kaul  wrote:
> >> >
> >> > On Mon, Feb 13, 2017 at 6:26 PM, cmc  wrote:
> >> >>
> >> >>
> >> >>
> >> >> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-
> setup-20170213141937-0wgc31.log
> >> >
> >> >
> >> > Anything in the above log?
> >> > Y.
> >> >
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] questions about migrating to self-hosted engine from bare-metal

2017-02-14 Thread cmc
Hi Simone,

>>
>
> It fails due to this one:
> 2017-02-13 13:07:45,812 ERROR (vm/642a0b9a) [virt.vm]
> (vmId='642a0b9a-49fc-4ccc-8976-f6685953d0e8') The vm start process failed
> (vm:616)
> Traceback (most recent call last):
>   File "/usr/share/vdsm/virt/vm.py", line 552, in _startUnderlyingVm
> self._run()
>   File "/usr/share/vdsm/virt/vm.py", line 1994, in _run
> self._connection.createXML(domxml, flags),
>   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line
> 123, in wrapper
> ret = f(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in
> wrapper
> return func(inst, *args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
> createXML
> if ret is None:raise libvirtError('virDomainCreateXML() failed',
> conn=self)
> libvirtError: invalid argument: could not find capabilities for arch=x86_64
> domaintype=kvm
> 2017-02-13 13:07:45,852 INFO  (vm/642a0b9a) [virt.vm]
> (vmId='642a0b9a-49fc-4ccc-8976-f6685953d0e8') Changed state to Down: invalid
> argument: could not find capabilities for arch=x86_64 domaintype=kvm
> (code=1) (vm:1199)
>
> Is your CPU properly configured for virtualization? Are you running on a
> nested env?
>

Yes, I assume it should be configured for virtualisation, since this
VM I'm creating to replace the bare-metal engine is running on one of
the two hosts that make up the cluster, and host 30 other running VMs
currently. Should it not run on the same cluster perhaps?

My steps are:

1. Create a VM on the cluster. Install the ovirt release rpm, install
the packages ovirt-hosted-engine-setup and ovirt-engine-appliance
2. run hosted-engine --deploy

...and that is as far as I have gotten so far.

Thanks,

Cam

>
>>
>> Thanks,
>>
>> Cam
>>
>>
>> On Mon, Feb 13, 2017 at 6:22 PM, Yaniv Kaul  wrote:
>> >
>> > On Mon, Feb 13, 2017 at 6:26 PM, cmc  wrote:
>> >>
>> >>
>> >>
>> >> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20170213141937-0wgc31.log
>> >
>> >
>> > Anything in the above log?
>> > Y.
>> >
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Updated Invitation: Deep Dive: Ansible modules for oVirt @ Tue Feb 14, 2017 4pm - 5pm (CET) (users@ovirt.org)

2017-02-14 Thread omachace
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20170214T15Z
DTEND:20170214T16Z
DTSTAMP:20170214T123251Z
ORGANIZER;CN=omach...@redhat.com:mailto:omach...@redhat.com
UID:q2iigdijnsidnhgsi43rn8c...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=users@ovirt.org;X-NUM-GUESTS=0:mailto:users@ovirt.org
CREATED:20170208T145557Z
DESCRIPTION:In this presentation will do  a short introduction to Ansible. 
 Then we will focus how to use Ansible with oVirt. Ansible 2.3 ships many oV
 irt modules\, which can help you orchestrate your oVirt infrastructure. We 
 will show a demo how to use them. Ansible 2.3 also ships dynamic inventory 
 for oVirt\, we will show how to use it as well.\n\nStream:\n  This link was
  created from incorrect account and is not working:\nhttps://www.youtub
 e.com/watch?v=BgohrQ1itzM\n  This link is *CORRECT* one:\nhttps://www.y
 outube.com/watch?v=cpYSHF5eDbI\n\nSlides:\n  https://redhat.slides.com/omac
 hace/ansbile-modules-for-ovirt\n\nDocs:\n  http://www.ovirt.org/develop/rel
 ease-management/features/infra/ansible_modules/\n  http://docs.ansible.com/
 ansible/list_of_cloud_modules.html#ovirt\nView your event at https://www.go
 ogle.com/calendar/event?action=VIEW=cTJpaWdkaWpuc2lkbmhnc2k0M3JuOGNwcHM
 gdXNlcnNAb3ZpcnQub3Jn=MTkjb21hY2hhY2VAcmVkaGF0LmNvbTI3OWNhOThiYmVmOWVkO
 DEzMWZjNDNiNjlkZTVjNWYyYjEwOThhZGE=Europe/Prague=en.
LAST-MODIFIED:20170214T123251Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Deep Dive: Ansible modules for oVirt
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] high number of IOPS from ovirt hosts

2017-02-14 Thread Andrea Fagiani

Hi,

just a quick update on the issue. The high amount of IOPS was indeed due 
to having the hosted-engine on the EQL storage; we worked around the 
issue by moving the hosted-engine to a gluster storage instead.


Thanks to everyone involved,
Andrea


On 13/02/2017 13:24, Nir Soffer wrote:
On Mon, Feb 13, 2017 at 12:32 PM, Andrea Fagiani 
> 
wrote:


Hi Nir,

the amount of IOPS is pretty much constant, attaching the logs
from the last hour or so.


Andrea, can you send also logs from ovirt-hosted-engine-ha?
(I'm not sure about the name of the service or the location of the logs)

Andrea


On 13/02/2017 10:13, Nir Soffer wrote:

On Mon, Feb 13, 2017 at 11:05 AM, Andrea Fagiani
> wrote:

Thanks for the heads up, I'll take a look at Mark's thread.
We are presenting 2 storage LUNs to a single ovirt cluster
and yes, all hosts are hosted engine hosts.

Thanks,
Andrea


I think we already have hosted engine bug about doing to many
calls to vdsm
that cause reloads of lvm data; this can cause increased io.

Can you attach vdsm and hosted engine agent logs showing the
timeframe when
you have lot of iops on the server?

Nir




On 12/02/2017 18:27, Andrea Ghelardi wrote:

Andrea,
I don't want to point any fingers but Mark Greenall faced
some issues with Ovirt 4.06/4.1 linked to equallogic as well.
You may want to search posts in this ML with subject "
Ovirt 4.0.6 guests 'Not Responding' " to see if you find
any similarities.
How many storages are you presenting to how many clusters?
Also, are your nodes all Hosted Engine Hosts? In my old
configuration, normal hosts read IOPS ranged from 50 to
500 while HE ones peaked even ~3000
Cheers
AG


-Original Message-
From: Andrea Fagiani
[mailto:andrea.fagi...@immobiliare.it
]
Sent: Friday, February 10, 2017 5:56 PM
To: Andrea Ghelardi >; users@ovirt.org

Subject: Re: [ovirt-users] high number of IOPS from ovirt
hosts

Hi Andrea,

thanks for the insight; no I wasn't able to pinpoint the
issue to a single host, the load seems to be evenly spread.
We have another cluster running 4.0.6 on a compellent as
well and we haven't experienced any similar issues.

Thanks,
Andrea


On 10/02/2017 17:17, Andrea Ghelardi wrote:

Hello Andrea,
I saw that happening on my HE hosts connected to a
COMPELLENT SC040
when I was running Ovirt 3.5

All HE hosts were hammering the SAN with 2~4k IOPS each

Upgrading to 4.0.5 solved my case.
Are you able to check if IOPS are generated from a
particular host or rather spread among all nodes?

Cheers
AG


-Original Message-
From: users-boun...@ovirt.org

[mailto:users-boun...@ovirt.org
] On
Behalf Of Andrea Fagiani
Sent: Friday, February 10, 2017 12:47 PM
To: users@ovirt.org 
Subject: [ovirt-users] high number of IOPS from ovirt
hosts

Hi,

We've got a 8-host cluster running oVirt 4.1; each
host is connected via iscsi to a EQL 4100 storage (2x).
Most of the VMs use barely any IOPS, however on our
storage controller we've noticed a constant steam of
reads, about 2000 IOPS; any idea what might cause the
ovirt hosts to hammer on the storage so much?

Looking at iotop, it seems that systemd-udevd is
being activated every few seconds (and its IO% is
usually fairly high) so I assume this might be
somehow related.

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



___
Users mailing list
Users@ovirt.org 

Re: [ovirt-users] questions about migrating to self-hosted engine from bare-metal

2017-02-14 Thread Simone Tiraboschi
On Mon, Feb 13, 2017 at 7:41 PM, cmc  wrote:

> Hi Yaniv,
>
> Log attached. There's a bit in there where I'd tried setting the host
> record to point to the new host as an experiment, but I changed it
> back, and it still fails with the same error every time.
>
>
It fails due to this one:
2017-02-13 13:07:45,812 ERROR (vm/642a0b9a) [virt.vm]
(vmId='642a0b9a-49fc-4ccc-8976-f6685953d0e8') The vm start process failed
(vm:616)
Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 552, in _startUnderlyingVm
self._run()
  File "/usr/share/vdsm/virt/vm.py", line 1994, in _run
self._connection.createXML(domxml, flags),
  File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line
123, in wrapper
ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in
wrapper
return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3782, in
createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed',
conn=self)
libvirtError: invalid argument: could not find capabilities for arch=x86_64
domaintype=kvm
2017-02-13 13:07:45,852 INFO  (vm/642a0b9a) [virt.vm]
(vmId='642a0b9a-49fc-4ccc-8976-f6685953d0e8') Changed state to Down:
invalid argument: could not find capabilities for arch=x86_64
domaintype=kvm  (code=1) (vm:1199)

Is your CPU properly configured for virtualization? Are you running on a
nested env?



> Thanks,
>
> Cam
>
>
> On Mon, Feb 13, 2017 at 6:22 PM, Yaniv Kaul  wrote:
> >
> > On Mon, Feb 13, 2017 at 6:26 PM, cmc  wrote:
> >>
> >>
> >> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-
> setup-20170213141937-0wgc31.log
> >
> >
> > Anything in the above log?
> > Y.
> >
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] What is the libcacard-ev.x86_64 ??

2017-02-14 Thread Gianluca Cecchi
On Fri, Feb 10, 2017 at 11:49 AM, Arman Khalatyan  wrote:

> I have a host which was updated since 3.6
> libcacard is disappeared from ovirt4.1 but it has a many dependencies
> which stops to remove it:
>
>
Hello,
I reconnect to this thread, as I have similar problem/doubt relatd to
libcacard / libcacard-ev packages.
I had a cluster composed by two nodes, plain CentOS 7.3 nodes.
They were installed in 4.0.6 (on 21/01) and this involved installation of
libcacard-ev-2.3.0-31.el7.16.1.x86_64 package.
Then I updated to 4.1 (on 08/02) using "yum update" strategy and nothing
changed about this package.
Yesteray I added a third node, but I notice that on it I don't have
libcacard-ev but libcacard-2.5.2-2.el7.x86_64

Source for the -ev package is qemu-kvm-ev-2.3.0-31.el7.16.1.src.rpm and
build host el7-vm28.phx.ovirt.org and this makes me think it is the right
package.
But it is not pulled in into the new host where I think I have the standard
CentOS one with source RPM libcacard-2.5.2-2.el7.src.rpm and Packager
CentOS BuildSystem

The strange thing is that in their changelog I have:

- for standard libcacard:
* Fri Mar 18 2016 Miroslav Rezanina  - 2.5.2-2.el7
- Obsolete libcacard-rhev (bz#1315953)

* Fri Jan 29 2016 Miroslav Rezanina  - 2.5.2-1.el7
- Initial build

- for libcacard-ev
* Fri Jul 08 2016 Sandro Bonazzola  -
ev-2.3.0-31.el7_2.16.1
- Removing RH branding from package name

* Thu Jun 16 2016 Miroslav Rezanina  -
rhev-2.3.0-31.el7_2.16
- kvm-vga-add-sr_vbe-register-set.patch [bz#1347185]
- Resolves: bz#1347185
  (Regression from CVE-2016-3712: windows installer fails to start)
...

What to choose and to do?
Thanks,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users