Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client

2014-10-30 Thread Gianluca Cecchi
On Fri, Oct 31, 2014 at 7:03 AM, Yair Zaslavsky  wrote:

>
>
> - Original Message -
> > From: "Greg Sheremeta" 
> > To: "users" , de...@ovirt.org
> > Sent: Friday, October 31, 2014 3:49:11 AM
> > Subject: [ovirt-devel] [RFC] oVirt mobile client
> >
> > Hi,
> >
> > The focus of our OPW internship program starting in December will be
> > mobile and/or lightweight engine clients -- hopefully integrating the
> > new ovirt.js project.
>
> +100
>
>
> [snip]

>
> >
> > I see that there are some already existing mobile clients for oVirt.
> > I'm trying to grasp what we have and what the needs are.
>
> >
> > That's all I see on the first few pages of google.
> >
>

There was also project from Iordanov about spice/oVirt support on android..
See:
http://lists.ovirt.org/pipermail/users/2013-December/018434.html

Some days ago it seems he go also support international keyboard layout
support:
"
I finally got some time to back-port the international keyboard layout
support from the Android Ovirt client Opaque into the SPICE client
aSPICE
"

I made same preliminary tests at the end of 2013 but I was not able to
connect to oVirt...
I don't know actually how it went ahead... the Google channel seems stopped
since February...

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


Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client

2014-10-30 Thread Yair Zaslavsky


- Original Message -
> From: "Greg Sheremeta" 
> To: "users" , de...@ovirt.org
> Sent: Friday, October 31, 2014 3:49:11 AM
> Subject: [ovirt-devel] [RFC] oVirt mobile client
> 
> Hi,
> 
> The focus of our OPW internship program starting in December will be
> mobile and/or lightweight engine clients -- hopefully integrating the
> new ovirt.js project.

+100

Sorry for the ignorant question - does this mean the technology will be web 
based or native? (i.e - java on top of android, Swift/Objective-C on top of IOS)


> 
> I see that there are some already existing mobile clients for oVirt.
> I'm trying to grasp what we have and what the needs are.
> 
> moVirt: https://github.com/matobet/moVirt (mbetak)
> This appears to be more of a lightweight webadmin. No console access,
> but I believe it's planned as part of OPW. (?)

I spoke with mbetak about this a few months ago.
When you speak of console, you mean to actually view the VM using spice? sounds 
very interesting.
If I recall, Alon levy (a former red hatter) worked on some spice 
implementation for html5 or something like that.

Anyway, back in TLV I also had some ideas around that. Do you have some IRC 
meetings or something that I can join?

Cheers,
Yair


> 
> nomad: http://www.ovirt.org/Project_Proposal_-_Nomad and
> https://github.com/Vizuri/ovirt-nomad
> Looks dead -- last commit 3 years ago.
> Anyone know more about this one?
> 
> That's all I see on the first few pages of google.
> 
> When I think of a mobile client for oVirt, I think the most useful
> part would be the user portal -- simple operations for start, stop,
> and the ability to view the console of vms. moVirt mentions it wants
> to support some basic management operations, though. I think it would
> be difficult to do complex management in a mobile client. (I'm biased
> towards huge screens, though.)
> 
> I'd like to see an official subproject started that coordinates our
> mobile efforts.
> 
> Is this possible? What would it take to start it?
> 
> What would people like to see in such an app?
> 
> Greg Sheremeta
> Red Hat, Inc.
> Sr. Software Engineer, RHEV
> Cell: 919-807-1086
> gsher...@redhat.com
> ___
> Devel mailing list
> de...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted-Engine HA problem

2014-10-30 Thread Jaicel R. Sabonsolin
Hi guys,

these logs appear on both hosts just like the result of --vm-status. tried to 
tcpdump on ovirt hosts and gluster nodes but only packets exchange with my 
monitoring VM(zabbix) appeared.

agent.log
new_data = self.refresh(self._state.data)
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/agent/state_machine.py",
 line 77, in refresh
stats.update(self.hosted_engine.collect_stats())
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
 line 662, in collect_stats
constants.SERVICE_TYPE)
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", 
line 171, in get_stats_from_storage
result = self._checked_communicate(request)
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", 
line 199, in _checked_communicate
.format(message or response))
RequestError: Request failed: 

broker.log
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/listener.py", 
line 165, in handle
response = "success " + self._dispatch(data)
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/listener.py", 
line 261, in _dispatch
.get_all_stats_for_service_type(**options)
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
 line 41, in get_all_stats_for_service_type
d = self.get_raw_stats_for_service_type(storage_dir, service_type)
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
 line 74, in get_raw_stats_for_service_type
f = os.open(path, direct_flag | os.O_RDONLY)
OSError: [Errno 24] Too many open files: 
'/rhev/data-center/mnt/gluster1:_engine/6eb220be-daff-4785-8f78-111cc24139c4/ha_agent/hosted-engine.metadata'
Thread-38160::INFO::2014-10-31 
10:28:37,989::listener::184::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(handle)
 Connection closed
Thread-38161::INFO::2014-10-31 
10:28:53,656::listener::134::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(setup)
 Connection established
Thread-38161::ERROR::2014-10-31 
10:28:53,657::listener::190::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(handle)
 Error handling request, data: 'get-stats 
storage_dir=/rhev/data-center/mnt/gluster1:_engine/6eb220be-daff-4785-8f78-111cc24139c4/ha_agent
 service_type=hosted-engine'
Traceback (most recent call last):
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/listener.py", 
line 165, in handle
response = "success " + self._dispatch(data)
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/listener.py", 
line 261, in _dispatch
.get_all_stats_for_service_type(**options)
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
 line 41, in get_all_stats_for_service_type
d = self.get_raw_stats_for_service_type(storage_dir, service_type)
  File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
 line 74, in get_raw_stats_for_service_type
f = os.open(path, direct_flag | os.O_RDONLY)
OSError: [Errno 24] Too many open files: 
'/rhev/data-center/mnt/gluster1:_engine/6eb220be-daff-4785-8f78-111cc24139c4/ha_agent/hosted-engine.metadata'
Thread-38161::INFO::2014-10-31 
10:28:53,658::listener::184::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(handle)
 Connection closed

Thanks,
Jaicel

- Original Message -
From: "Niels de Vos" 
To: "Vijay Bellur" 
Cc: "Jiri Moskovcak" , "Jaicel R. Sabonsolin" 
, users@ovirt.org, "Gluster Devel" 

Sent: Friday, October 31, 2014 4:11:25 AM
Subject: Re: [ovirt-users] Hosted-Engine HA problem

On Thu, Oct 30, 2014 at 09:07:24PM +0530, Vijay Bellur wrote:
> On 10/30/2014 06:45 PM, Jiri Moskovcak wrote:
> >On 10/30/2014 09:22 AM, Jaicel R. Sabonsolin wrote:
> >>Hi Guys,
> >>
> >>I need help with my ovirt Hosted-Engine HA setup. I am running on 2
> >>ovirt hosts and 2 gluster nodes with replicated volumes. i already have
> >>VMs running on my hosts and they can migrate normally once i for example
> >>power off the host that they are running on. the problem is that the
> >>engine can't migrate once i switch off the host that hosts the engine.
> >>
> >>oVirt3.4.3-1.el6
> >>KVM 0.12.1.2 - 2.415.el6_5.10
> >>LIBVIRT   libvirt-0.10.2-29.el6_5.9
> >>VDSM  vdsm-4.14.17-0.el6
> >>
> >>
> >>right now, i have this result from hosted-engine --vm-status.
> >>
> >>   File "/usr/lib64/python2.6/runpy.py", line 122, in
> >>_run_module_as_main
> >> "__main__", fname, loader, pkg_name)
> >>   File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
> >> exec code in run_globals
> >>   File
> >>
> >>"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
> >>
> >>line 111, in 
> >> if not status_checker.print_status():
> >>   File
> >>
> >>"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_s

[ovirt-users] [RFC] oVirt mobile client

2014-10-30 Thread Greg Sheremeta
Hi,

The focus of our OPW internship program starting in December will be
mobile and/or lightweight engine clients -- hopefully integrating the
new ovirt.js project.

I see that there are some already existing mobile clients for oVirt.
I'm trying to grasp what we have and what the needs are.

moVirt: https://github.com/matobet/moVirt (mbetak)
This appears to be more of a lightweight webadmin. No console access,
but I believe it's planned as part of OPW. (?)

nomad: http://www.ovirt.org/Project_Proposal_-_Nomad and
https://github.com/Vizuri/ovirt-nomad
Looks dead -- last commit 3 years ago.
Anyone know more about this one?

That's all I see on the first few pages of google.

When I think of a mobile client for oVirt, I think the most useful
part would be the user portal -- simple operations for start, stop,
and the ability to view the console of vms. moVirt mentions it wants
to support some basic management operations, though. I think it would
be difficult to do complex management in a mobile client. (I'm biased
towards huge screens, though.)

I'd like to see an official subproject started that coordinates our
mobile efforts.

Is this possible? What would it take to start it?

What would people like to see in such an app? 

Greg Sheremeta
Red Hat, Inc.
Sr. Software Engineer, RHEV
Cell: 919-807-1086
gsher...@redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] qemu-kvm from Jenkins - renamed packages to rhev?

2014-10-30 Thread Trey Dockendorf
Ah, thanks for the info.  I've yet to update to 3.5 but good to know that
the packages are now in ovirt repo for when I do upgrade I don't need to
maintain a copy of qemu-kvm locally.

Thanks,
- Trey

On Thu, Oct 30, 2014 at 5:42 PM, Itamar Heim  wrote:

> On 10/30/2014 09:05 PM, Trey Dockendorf wrote:
>
>> In the past in order to have live snapshots work in CentOS 6.5 I had to
>> use RPMs from
>> http://jenkins.ovirt.org/job/qemu-kvm-rhev_create-rpms_el6/.  I've
>> noticed now that the RPMs have been renamed and no longer match the
>> names of those distributed by CentOS.  Are the CentOS builds of QEMU now
>> supporting live snapshots, or are these builds in Jenkins still required?
>>
>> Thanks,
>> - Trey
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
> native centos - no
> the jenkins job isn't needed as well as the build is now in the repo (and
> 3.5 now requires qemu-kvm-rhev to avoid such problems)
> http://resources.ovirt.org/pub/ovirt-3.5/rpm/el6Server/x86_64/
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] export_domain recovery

2014-10-30 Thread Itamar Heim

On 10/30/2014 09:33 PM, Juan Carlos YJ. Lin wrote:

I attached and ovirt_share_export_domain to a testing ovirt engine, then
kill the engine
Now I can not mount it, need force option to import without killing data

How I can do to recover to available to attach state?

Juan Carlos Lin
Unisoft S.A.
+595-993-288330


System-wide Disclaimer ---
"Antes de imprimir, recuérdese de su compromiso con el Medio Ambiente"
"Aviso: Este mensaje es dirigido para su destinatario y contiene
informaciones que no pueden ser usadas por otras personas que no sean
su(s) destinatario(s). La retransmisión del contenido no está autorizada
fuera del contexto de su envío y a quien corresponde. El uso no
autorizado de la información en este mensaje se halla penado por las
leyes vigentes en todo el mundo. Si ha recibido este mensaje por error,
por favor bórrala y notifique al remitente en la brevedad posible. El
contenido de este mensaje no es responsabilidad de la Empresa y debe ser
atribuido siempre a su autor. Gracias."


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



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


Re: [ovirt-users] Proposing fix for EL6 m2crypto memory leak

2014-10-30 Thread Itamar Heim

On 10/28/2014 05:23 PM, Dan Kenigsberg wrote:

On Tue, Oct 28, 2014 at 12:42:19PM +0100, Sven Kieske wrote:



On 28/10/14 12:28, Daniel Helgenberger wrote:

But it is a short term solution until the issue is fixed or
El6 obsoleted (well, this might be quite soon for a protect like oVirt?)


Well I doubt EL6 support will be dropped from ovirt, as downstream
still requires it to work on EL6 in the future, EL6 is still in
production phase.


It won't happen in ovirt-3.6, but support for el6 would be dropped at


actually:
http://lists.ovirt.org/pipermail/users/2014-September/027421.html


some point in the future. Backporting packages an re-solving bugs that
have been already solved in el7 is little fun, and drains our
developement and QE resources. We should start thinking how and when to
phase el6 out.

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



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


Re: [ovirt-users] qemu-kvm from Jenkins - renamed packages to rhev?

2014-10-30 Thread Itamar Heim

On 10/30/2014 09:05 PM, Trey Dockendorf wrote:

In the past in order to have live snapshots work in CentOS 6.5 I had to
use RPMs from
http://jenkins.ovirt.org/job/qemu-kvm-rhev_create-rpms_el6/.  I've
noticed now that the RPMs have been renamed and no longer match the
names of those distributed by CentOS.  Are the CentOS builds of QEMU now
supporting live snapshots, or are these builds in Jenkins still required?

Thanks,
- Trey


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



native centos - no
the jenkins job isn't needed as well as the build is now in the repo 
(and 3.5 now requires qemu-kvm-rhev to avoid such problems)

http://resources.ovirt.org/pub/ovirt-3.5/rpm/el6Server/x86_64/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] webhook

2014-10-30 Thread Yair Zaslavsky


- Original Message -
> From: "Barak Azulay" 
> To: "Omer Frenkel" , "vanoppen koen" 
> , "Mooli Tayer"
> 
> Cc: "Oved Ourfali" , users@ovirt.org
> Sent: Thursday, October 30, 2014 11:10:55 PM
> Subject: Re: [ovirt-users] webhook
> 
> 
> 
> - Original Message -
> > From: "Barak Azulay" 
> > To: "Omer Frenkel" , "vanoppen koen"
> > 
> > Cc: "Oved Ourfali" , users@ovirt.org
> > Sent: Thursday, October 30, 2014 10:55:56 PM
> > Subject: Re: [ovirt-users] webhook
> > 
> > 
> > 
> > - Original Message -
> > > From: "Omer Frenkel" 
> > > To: "Oved Ourfali" , "Yair Zaslavsky"
> > > 
> > > Cc: users@ovirt.org
> > > Sent: Thursday, October 30, 2014 3:54:37 PM
> > > Subject: Re: [ovirt-users] webhook
> > > 
> > > can't the event-notifications be used?
> > > notify some email on delete operation (not sure there is a notification
> > > for
> > > this today..)
> > > and hook on the email to run the script?
> > 
> > I agree that notification sounds like the best option,
> > Although I would use the SNMP traps for that.
> > If you already have a SNMP monitoring system you can catch the trap there
> > and
> > do your foreman magic.
> 
> 
> I assume the relevant notification is USER_REMOVE_VM_FINISHED(113)
> Mooli / Omer please approve .

+1
>From what I saw this is the relevant event.
Which has the textual represenation of "VM ${VmName} was successfully removed"

> 
> > 
> > > 
> > > - Original Message -
> > > > From: "Oved Ourfali" 
> > > > To: "Yair Zaslavsky" 
> > > > Cc: users@ovirt.org
> > > > Sent: Thursday, October 30, 2014 3:10:12 PM
> > > > Subject: Re: [ovirt-users] webhook
> > > > 
> > > > Hi
> > > > 
> > > > CC-ing also Vojtech, the "father" of the UI plugins.
> > > > 
> > > > Anyway, the only way to accomplish that via UI plugins at the moment is
> > > > via
> > > > adding a new "action menu item", that in the background deleted the VM,
> > > > and
> > > > reports to Foreman.
> > > > I would be nice to have a "hook" for different UI action items, but it
> > > > isn't
> > > > available at the moment.
> > > > There are plenty code samples for UI plugins, most of them available
> > > > at:
> > > > http://www.ovirt.org/Features/UIPlugins
> > > > 
> > > > I must say that I'm not sure webhooks are the right approach for that,
> > > > as
> > > > I
> > > > guess it is relevant only in environments in which one doesn't use the
> > > > API/CLI/SDK
> > > > but.. it will be a cool feature!
> > > > 
> > > > Regards,
> > > > Oved
> > > > 
> > > > - Original Message -
> > > > > From: "Yair Zaslavsky" 
> > > > > To: "Koen Vanoppen" 
> > > > > Cc: "Oved Ourfali" , users@ovirt.org
> > > > > Sent: Thursday, October 30, 2014 1:44:38 PM
> > > > > Subject: Re: [ovirt-users] webhook
> > > > > 
> > > > > Oved - can we implement something like this using ui-plugins?
> > > > > 
> > > > > 
> > > > > - Original Message -
> > > > > > From: "Koen Vanoppen" 
> > > > > > To: users@ovirt.org
> > > > > > Sent: Monday, October 27, 2014 4:06:40 PM
> > > > > > Subject: [ovirt-users] webhook
> > > > > > 
> > > > > > Hi all,
> > > > > > 
> > > > > > Just a quick question. Is it possible to set a webhook on the
> > > > > > removal
> > > > > > and
> > > > > > creation of a new vm? So we can send to foreman a delete action
> > > > > > when
> > > > > > the
> > > > > > VM
> > > > > > is deleted...
> > > > > > 
> > > > > > Kind regards,
> > > > > > 
> > > > > > Koen
> > > > > > 
> > > > > > ___
> > > > > > Users mailing list
> > > > > > Users@ovirt.org
> > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > 
> > > > > ___
> > > > > Users mailing list
> > > > > Users@ovirt.org
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > 
> > > > ___
> > > > Users mailing list
> > > > Users@ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > 
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > > 
> > > 
> > > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> ___
> 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] webhook

2014-10-30 Thread Barak Azulay


- Original Message -
> From: "Barak Azulay" 
> To: "Omer Frenkel" , "vanoppen koen" 
> 
> Cc: "Oved Ourfali" , users@ovirt.org
> Sent: Thursday, October 30, 2014 10:55:56 PM
> Subject: Re: [ovirt-users] webhook
> 
> 
> 
> - Original Message -
> > From: "Omer Frenkel" 
> > To: "Oved Ourfali" , "Yair Zaslavsky"
> > 
> > Cc: users@ovirt.org
> > Sent: Thursday, October 30, 2014 3:54:37 PM
> > Subject: Re: [ovirt-users] webhook
> > 
> > can't the event-notifications be used?
> > notify some email on delete operation (not sure there is a notification for
> > this today..)
> > and hook on the email to run the script?
> 
> I agree that notification sounds like the best option,
> Although I would use the SNMP traps for that.
> If you already have a SNMP monitoring system you can catch the trap there and
> do your foreman magic.


I assume the relevant notification is USER_REMOVE_VM_FINISHED(113)
Mooli / Omer please approve .

> 
> > 
> > - Original Message -
> > > From: "Oved Ourfali" 
> > > To: "Yair Zaslavsky" 
> > > Cc: users@ovirt.org
> > > Sent: Thursday, October 30, 2014 3:10:12 PM
> > > Subject: Re: [ovirt-users] webhook
> > > 
> > > Hi
> > > 
> > > CC-ing also Vojtech, the "father" of the UI plugins.
> > > 
> > > Anyway, the only way to accomplish that via UI plugins at the moment is
> > > via
> > > adding a new "action menu item", that in the background deleted the VM,
> > > and
> > > reports to Foreman.
> > > I would be nice to have a "hook" for different UI action items, but it
> > > isn't
> > > available at the moment.
> > > There are plenty code samples for UI plugins, most of them available at:
> > > http://www.ovirt.org/Features/UIPlugins
> > > 
> > > I must say that I'm not sure webhooks are the right approach for that, as
> > > I
> > > guess it is relevant only in environments in which one doesn't use the
> > > API/CLI/SDK
> > > but.. it will be a cool feature!
> > > 
> > > Regards,
> > > Oved
> > > 
> > > - Original Message -
> > > > From: "Yair Zaslavsky" 
> > > > To: "Koen Vanoppen" 
> > > > Cc: "Oved Ourfali" , users@ovirt.org
> > > > Sent: Thursday, October 30, 2014 1:44:38 PM
> > > > Subject: Re: [ovirt-users] webhook
> > > > 
> > > > Oved - can we implement something like this using ui-plugins?
> > > > 
> > > > 
> > > > - Original Message -
> > > > > From: "Koen Vanoppen" 
> > > > > To: users@ovirt.org
> > > > > Sent: Monday, October 27, 2014 4:06:40 PM
> > > > > Subject: [ovirt-users] webhook
> > > > > 
> > > > > Hi all,
> > > > > 
> > > > > Just a quick question. Is it possible to set a webhook on the removal
> > > > > and
> > > > > creation of a new vm? So we can send to foreman a delete action when
> > > > > the
> > > > > VM
> > > > > is deleted...
> > > > > 
> > > > > Kind regards,
> > > > > 
> > > > > Koen
> > > > > 
> > > > > ___
> > > > > Users mailing list
> > > > > Users@ovirt.org
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > 
> > > > ___
> > > > Users mailing list
> > > > Users@ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > 
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> > 
> > 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] webhook

2014-10-30 Thread Barak Azulay


- Original Message -
> From: "Omer Frenkel" 
> To: "Oved Ourfali" , "Yair Zaslavsky" 
> Cc: users@ovirt.org
> Sent: Thursday, October 30, 2014 3:54:37 PM
> Subject: Re: [ovirt-users] webhook
> 
> can't the event-notifications be used?
> notify some email on delete operation (not sure there is a notification for
> this today..)
> and hook on the email to run the script?

I agree that notification sounds like the best option,
Although I would use the SNMP traps for that.
If you already have a SNMP monitoring system you can catch the trap there and 
do your foreman magic.

> 
> - Original Message -
> > From: "Oved Ourfali" 
> > To: "Yair Zaslavsky" 
> > Cc: users@ovirt.org
> > Sent: Thursday, October 30, 2014 3:10:12 PM
> > Subject: Re: [ovirt-users] webhook
> > 
> > Hi
> > 
> > CC-ing also Vojtech, the "father" of the UI plugins.
> > 
> > Anyway, the only way to accomplish that via UI plugins at the moment is via
> > adding a new "action menu item", that in the background deleted the VM, and
> > reports to Foreman.
> > I would be nice to have a "hook" for different UI action items, but it
> > isn't
> > available at the moment.
> > There are plenty code samples for UI plugins, most of them available at:
> > http://www.ovirt.org/Features/UIPlugins
> > 
> > I must say that I'm not sure webhooks are the right approach for that, as I
> > guess it is relevant only in environments in which one doesn't use the
> > API/CLI/SDK
> > but.. it will be a cool feature!
> > 
> > Regards,
> > Oved
> > 
> > - Original Message -
> > > From: "Yair Zaslavsky" 
> > > To: "Koen Vanoppen" 
> > > Cc: "Oved Ourfali" , users@ovirt.org
> > > Sent: Thursday, October 30, 2014 1:44:38 PM
> > > Subject: Re: [ovirt-users] webhook
> > > 
> > > Oved - can we implement something like this using ui-plugins?
> > > 
> > > 
> > > - Original Message -
> > > > From: "Koen Vanoppen" 
> > > > To: users@ovirt.org
> > > > Sent: Monday, October 27, 2014 4:06:40 PM
> > > > Subject: [ovirt-users] webhook
> > > > 
> > > > Hi all,
> > > > 
> > > > Just a quick question. Is it possible to set a webhook on the removal
> > > > and
> > > > creation of a new vm? So we can send to foreman a delete action when
> > > > the
> > > > VM
> > > > is deleted...
> > > > 
> > > > Kind regards,
> > > > 
> > > > Koen
> > > > 
> > > > ___
> > > > Users mailing list
> > > > Users@ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > 
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] export_domain recovery

2014-10-30 Thread Juan Carlos YJ. Lin
I attached and ovirt_share_export_domain to a testing ovirt engine, then kill 
the engine 
Now I can not mount it, need force option to import without killing data 

How I can do to recover to available to attach state? 

Juan Carlos Lin 
Unisoft S.A. 
+595-993-288330 


---
"Antes de imprimir, recuérdese de su compromiso con el Medio Ambiente"
"Aviso: Este mensaje es dirigido para su destinatario y contiene informaciones 
que no pueden ser usadas por otras personas que no sean su(s) destinatario(s). 
La retransmisión del contenido no está autorizada fuera del contexto de su 
envío y a quien corresponde. El uso no autorizado de la información en este 
mensaje se halla penado por las leyes vigentes en todo el mundo. Si ha recibido 
este mensaje por error, por favor bórrala y notifique al remitente en la 
brevedad posible. El contenido de este mensaje no es responsabilidad de la 
Empresa y debe ser atribuido siempre a su autor. Gracias."
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Simple script to split VMs on different host - No affinity group

2014-10-30 Thread Amedeo Salvati

hello guys,

if you are interested, I wrote a simple python script to balance VMs on
different host/hypervisor, logic is simple and will search for same
couple of vm name and number suffix, odd and even, and it will try to
migrate even VM, if it resides on same host where resides the odd VM.

For example if VMPROJ1PROD01 and VMPROJ1PROD02 resides on same host,
then, the script will migrate only VMPROJ1PROD02.

url of script and rpms are on github:

http://github.com/amedeos/ovirt-BalanceVMOnDifferentHost

and feel free to suggest new patch, enhancement, create a fork...

p.s. I haven't use affinity groups, because maintenance of them will
become a struggle, and I want *only* to run same project/application VMs
with same name on different hypervisor.

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


[ovirt-users] qemu-kvm from Jenkins - renamed packages to rhev?

2014-10-30 Thread Trey Dockendorf
In the past in order to have live snapshots work in CentOS 6.5 I had to use
RPMs from http://jenkins.ovirt.org/job/qemu-kvm-rhev_create-rpms_el6/.
I've noticed now that the RPMs have been renamed and no longer match the
names of those distributed by CentOS.  Are the CentOS builds of QEMU now
supporting live snapshots, or are these builds in Jenkins still required?

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


[ovirt-users] VM Migrate problem on HA Cluster

2014-10-30 Thread N. Vidiadakis
Hello to all,

I am trying to build a two-node ovirt cluster, using a VNXe 3150 iSCSI SAN.
The two physical machines used for hypervisors are HP DL380p servers, with
128GB RAM and two E5-2630.

On both servers I created a 100GB logical volume used for GlusterFS, to
install on top of it both the hosted engine used and the ISO repository.
Installation was fine, and under Virtualization Manager, the datacenter
seems OK and both hypervisors seems to be registered properly.

I have also added the two hosts to the VNXe, created some iSCSI LUNs to
test the whole platform and created iSCSI bond interfaces to enabled
multipathing.

My problem is that live VM migration only works to one direction, lets say
from server VH1 to VH2, and not backwards. If I try to bring the VM back to
VH1, I get the following:

=
Migration failed due to Error: Fatal error during migration (VM:
Test_Centos_7, Source: hosted_engine_2, Destination: hosted_engine_1).
=

I cant seem (and to be honest dont know exactly how) to identify something
in the log files. I have verified though that both servers are identical,
with the same services up, SELinux disabled, firewalls down and ntp enabled
and reporting same time.

Now, if I powerdown the VM from VH2 and start it up again, it starts OK on
VH1.

Also, if I try to migrate the Hosted Engine itself, I get:

=
Error while executing action:

HostedEngine:

Cannot migrate VM. There are no available HA hosts in the VM's Cluster.
Cannot migrate VM. There is no host that satisfies current scheduling
constraints. See below for details:
The host hosted_engine_2 did not satisfy internal filter HA.
=

and I have already enabled HA Reservation on the Cluster properties.

Thank you in advance,
Nick Vidiadakis
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Understanding Cluster / Datacenter upgrades

2014-10-30 Thread Itamar Heim

On 10/29/2014 01:00 PM, Daniel Helgenberger wrote:

Hello,

I seem to have some issues understating what and when something happens
if I change a cluster or datacenter to a higher version after upgrading
engine.
Maybe somebody could help me understand how this works in general and
when features will get enabled? If possible, pinpoint it to concrete
features added in 3.5.

My assumptions learned form experience so far, upgrading oVirt 3.4 to
3.5; please correct if wrong:
- New features are enabled if I set the cluster compat version to a
newer version after upgrade


unless the features don't need a host change, so engine may just support 
them on your previous cluster level as well.

(or some even at host level upgrade)


- Prior to upgrading a datacenter all cluster need to run the higher
version (seems logical).


yes.


- This involves Engine database updates (?) and, more crucial, it will
change settings and data on the storage domains.


storage domains are only changed on DC upgrade, not cluster upgrade.


- Because of that, downgrade is not possible any more
- Also, its usually safer to keep the old cluster version while using a
newer engine version; because it is more likely to run into regressions
with an upgraded datacenter (see regression blockers for oVirt 3.5.1).

My questions so far:
- What happens if I only upgrade the cluster and *not* yet the datacenter?


you can use new features at host/cluster level (if any), but not DC 
level (storage usually, sometimes network) yet.



- In case of 3.5; exactly when could I have used the new NUMA
management? I assume after upgrading the cluster?


because its unrelated to storage, so its host or cluster level.


- In case of 3.5; exactly when could I have used the new QoS settings
(like disk profiles) - here I assume after upgrading the datacenter?


I think while these are "storage", they only relate to VM behavior, not 
to storage domains, so cluster level sounds like the right level.

doron/allon?



If the the case of NUMA policy is not true but happens only after
upgrading the datacenter, what is the purpose of the cluster compat
version setting? I can think of making sure a certain minimum VDSM
version is running?


simply put:
host level (automatic) - engine may base some features on making sure
host has the right version

cluster level - features which require all hosts to have the new version 
to simplify things (we don't want to not be able to schedule a VM using 
a new feature only on some hosts, so we only allow them after cluster 
level upgrade.


dc level - since storage domains (mostly), and some network definitions, 
span multiple clusters, and for storage, all hosts in the DC may be 
asked to perform the new storage operations, hence DC level makes sure 
all hosts at DC level can do these actions.


and no, I don't have a mapping of which features require which...
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Live Snapshot support on EL 6.6 with oVirt 3.5 now "Inactive" when "Active" on EL 6.5

2014-10-30 Thread Itamar Heim

On 10/29/2014 04:38 PM, Scott Worthington wrote:

On 10/29/2014 10:20 AM, Gianluca Cecchi wrote:

On Wed, Oct 29, 2014 at 2:18 PM, Scott Worthington
mailto:scott.c.worthing...@gmail.com>> wrote:

 On EL 6.5 Host and oVirt 3.5, I was able to create live snapshot (Live
 Snapshot Support: Active).

 After upgrading host to EL 6.6, the oVirt UI now reports live snapshot as
 "Inactive".

 I have submitted bug 1158469 with more details (package versions, etc).

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

 I would assume that is it not advisable to upgrade from EL 6.5 to EL 6.6 at
 this time if you require Live Snapshot support on the Host.
 ___
 Users mailing list
 Users@ovirt.org 
 http://lists.ovirt.org/mailman/listinfo/users

See here for errata available in 6.6:
http://lists.ovirt.org/pipermail/users/2014-October/028679.html


Still not clear to me.

Previously, on EL 6.5, Live snapshots worked with oVirt 3.5.

On EL 6.6 with libvirt-0.10.2-46.el6_6.1.x6_64, Live snapshots no longer work.

Are Live snapshots on EL 6.6 no longer possible?

_Or_ did libvirt-0.10.2-46.el6_6.1.x6_64 break oVirt 3.5 Live snapshot
functionality?



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



yes, bug in libvirt.
fix for 6.6.z (rhel) shipped October 27th[1]
(not sure when centos ship this)

[1] https://rhn.redhat.com/errata/RHBA-2014-1720.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted-Engine HA problem

2014-10-30 Thread Vijay Bellur

On 10/30/2014 06:45 PM, Jiri Moskovcak wrote:

On 10/30/2014 09:22 AM, Jaicel R. Sabonsolin wrote:

Hi Guys,

I need help with my ovirt Hosted-Engine HA setup. I am running on 2
ovirt hosts and 2 gluster nodes with replicated volumes. i already have
VMs running on my hosts and they can migrate normally once i for example
power off the host that they are running on. the problem is that the
engine can't migrate once i switch off the host that hosts the engine.

oVirt3.4.3-1.el6
KVM 0.12.1.2 - 2.415.el6_5.10
LIBVIRT   libvirt-0.10.2-29.el6_5.9
VDSM  vdsm-4.14.17-0.el6


right now, i have this result from hosted-engine --vm-status.

   File "/usr/lib64/python2.6/runpy.py", line 122, in
_run_module_as_main
 "__main__", fname, loader, pkg_name)
   File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
 exec code in run_globals
   File

"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",

line 111, in 
 if not status_checker.print_status():
   File

"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",

line 58, in print_status
 all_host_stats = ha_cli.get_all_host_stats()
   File

"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",

line 137, in get_all_host_stats
 return self.get_all_stats(self.StatModes.HOST)
   File

"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",

line 86, in get_all_stats
 constants.SERVICE_TYPE)
   File

"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",

line 171, in get_stats_from_storage
 result = self._checked_communicate(request)
   File

"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",

line 199, in _checked_communicate
 .format(message or response))
ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed:



restarting ha-broker and ha-agent normalizes the status but eventually
it would become "false" and then return to the result above. hope you
guys could help me with this.



Hi Jaicel,
please attach agent.log and broker.log from the host where you trying to
run hosted-engine --vm-status. I have a feeling that you ran into a
known problem on gluster - stalled file descriptor, in that case the
only known solution at this time is to restart the broker & agent as you
have already found out.



Adding Niels and gluster-devel to troubleshoot from Gluster NFS perspective.

Thanks,
Vijay

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


Re: [ovirt-users] Fwd: [ovirt-devel] usage of the foreman / limitations of puppet

2014-10-30 Thread Frank Wall
Hi Sven,

On Thu, Oct 30, 2014 at 02:35:54PM +0100, Sven Kieske wrote:
> I just wanted to ask if there are some plans to also
> support other automation tools like salt, chef, cfengine
> or others, because puppet is imho not a good tool for
> large environments performance wise.

actually Foreman has support for puppet, chef and saltstack.
Although it's support may differ in maturity it should be in a usable 
state.

Regarding puppet performance issues... did you read about Puppet Server? 
http://puppetlabs.com/blog/puppet-server-bringing-soa-to-a-puppet-master-near-you
 
> Are there any opinions or plans within the ovirt community
> regarding this topic?

Maybe you should have a talk with the Foreman team over in #theforeman 
on irc.freenode.net.


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


Re: [ovirt-users] webhook

2014-10-30 Thread Omer Frenkel
can't the event-notifications be used?
notify some email on delete operation (not sure there is a notification for 
this today..)
and hook on the email to run the script?

- Original Message -
> From: "Oved Ourfali" 
> To: "Yair Zaslavsky" 
> Cc: users@ovirt.org
> Sent: Thursday, October 30, 2014 3:10:12 PM
> Subject: Re: [ovirt-users] webhook
> 
> Hi
> 
> CC-ing also Vojtech, the "father" of the UI plugins.
> 
> Anyway, the only way to accomplish that via UI plugins at the moment is via
> adding a new "action menu item", that in the background deleted the VM, and
> reports to Foreman.
> I would be nice to have a "hook" for different UI action items, but it isn't
> available at the moment.
> There are plenty code samples for UI plugins, most of them available at:
> http://www.ovirt.org/Features/UIPlugins
> 
> I must say that I'm not sure webhooks are the right approach for that, as I
> guess it is relevant only in environments in which one doesn't use the
> API/CLI/SDK
> but.. it will be a cool feature!
> 
> Regards,
> Oved
> 
> - Original Message -
> > From: "Yair Zaslavsky" 
> > To: "Koen Vanoppen" 
> > Cc: "Oved Ourfali" , users@ovirt.org
> > Sent: Thursday, October 30, 2014 1:44:38 PM
> > Subject: Re: [ovirt-users] webhook
> > 
> > Oved - can we implement something like this using ui-plugins?
> > 
> > 
> > - Original Message -
> > > From: "Koen Vanoppen" 
> > > To: users@ovirt.org
> > > Sent: Monday, October 27, 2014 4:06:40 PM
> > > Subject: [ovirt-users] webhook
> > > 
> > > Hi all,
> > > 
> > > Just a quick question. Is it possible to set a webhook on the removal and
> > > creation of a new vm? So we can send to foreman a delete action when the
> > > VM
> > > is deleted...
> > > 
> > > Kind regards,
> > > 
> > > Koen
> > > 
> > > ___
> > > 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] Hosted Engine fail after upgrading to 3.5

2014-10-30 Thread Jiri Moskovcak

On 10/24/2014 02:12 PM, Stefano Stagnaro wrote:

Hi Jirka,

thank you for the reply. I've uploaded all the relevant logs in here: 
https://www.dropbox.com/sh/qh2rbews45ky2g8/AAC4_4_j94cw6sI_hfaSFg-Fa?dl=0

Thank you,



After closer look I noticed, that there is 'null' as the engine-state in 
the metadata. This shouldn't happen, but we also should be able to 
recover when this happens.


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


[ovirt-users] Fwd: [ovirt-devel] usage of the foreman / limitations of puppet

2014-10-30 Thread Sven Kieske
Forwarding to the users list, because there seems
to be no interest on the devel list :)


 Forwarded Message 
Subject: [ovirt-devel] usage of the foreman / limitations of puppet
Date: Tue, 28 Oct 2014 16:52:54 +0100
From: Sven Kieske 
To: de...@ovirt.org 

Hi,

I just wanted to ask if there are some plans to also
support other automation tools like salt, chef, cfengine
or others, because puppet is imho not a good tool for
large environments performance wise.

I noticed there is some support for saltstack in foreman.
So this seems to be a first step to extend the support
for different configuration management tools.

I know RH seems to favor puppet (it's used in the new
satellite product) but I don't think it scales well
(talking about thousands of hosts to manage).

Are there any opinions or plans within the ovirt community
regarding this topic?

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Devel mailing list
de...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

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


Re: [ovirt-users] improving advanced foreman integration

2014-10-30 Thread Oved Ourfali


- Original Message -
> From: "Jorick Astrego" 
> To: users@ovirt.org
> Sent: Wednesday, October 29, 2014 11:40:56 AM
> Subject: [ovirt-users] improving advanced foreman integration
> 
> Hi,
> 
> After talking with a couple of people including Barak at the KVM Forum,
> I have been thinking about how we use oVirt & the Foreman and what could
> be improved.
> 
> We have dug some further in the foreman and changed some of our
> configuration and practices so thinks work better for us.
> 
> What we would like to have as improvement is to be able to assign the
> same Organization and Location foreman/katello uses to an oVirt
> Cluster/Datacenter.
> 
> This way we can seperate everything nicely and the cluster gets the
> correct provisioned hosts, Host Groups, subnet, domain, realm,etc for
> provisioning hosts and in the future VM's.

This is an interesting feature. I wonder whether something like that should fit 
the cluster/DC, or the provider itself.
As one can create a foreman provider, specifying the relevant location as well.
However, I'm not sure it is really required here, as you have a "search" 
support for provisioned hosts.
So you can easily put a location query there (didn't test it, but see no reason 
for it not to work).
Have you tried that?
We can also add a selection for that in the add host dialog, although the 
dialog is already a bit cumbersome today

Thanks for the input/feedback.

Oved


> 
> This will also help to prevent the picklists becoming too large to
> easily use when using thousands of servers with dozens of customers.
> 
> Good idea?
> 
> 
> 
> 
> 
> Met vriendelijke groet, With kind regards,
> 
> Jorick Astrego
> 
> Netbulae Virtualization Experts
> 
> Tel: 053 20 30 270i...@netbulae.euStaalsteden 4-3AKvK 
> 08198180
>   Fax: 053 20 30 271  www.netbulae.eu 7547 TA Enschede
> BTW NL821234584B01
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted-Engine HA problem

2014-10-30 Thread Jiri Moskovcak

On 10/30/2014 09:22 AM, Jaicel R. Sabonsolin wrote:

Hi Guys,

I need help with my ovirt Hosted-Engine HA setup. I am running on 2
ovirt hosts and 2 gluster nodes with replicated volumes. i already have
VMs running on my hosts and they can migrate normally once i for example
power off the host that they are running on. the problem is that the
engine can't migrate once i switch off the host that hosts the engine.

oVirt3.4.3-1.el6
KVM 0.12.1.2 - 2.415.el6_5.10
LIBVIRT   libvirt-0.10.2-29.el6_5.9
VDSM  vdsm-4.14.17-0.el6


right now, i have this result from hosted-engine --vm-status.

   File "/usr/lib64/python2.6/runpy.py", line 122, in
_run_module_as_main
 "__main__", fname, loader, pkg_name)
   File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
 exec code in run_globals
   File
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
line 111, in 
 if not status_checker.print_status():
   File
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py",
line 58, in print_status
 all_host_stats = ha_cli.get_all_host_stats()
   File
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 137, in get_all_host_stats
 return self.get_all_stats(self.StatModes.HOST)
   File
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 86, in get_all_stats
 constants.SERVICE_TYPE)
   File
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 171, in get_stats_from_storage
 result = self._checked_communicate(request)
   File
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 199, in _checked_communicate
 .format(message or response))
ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed:



restarting ha-broker and ha-agent normalizes the status but eventually
it would become "false" and then return to the result above. hope you
guys could help me with this.



Hi Jaicel,
please attach agent.log and broker.log from the host where you trying to 
run hosted-engine --vm-status. I have a feeling that you ran into a 
known problem on gluster - stalled file descriptor, in that case the 
only known solution at this time is to restart the broker & agent as you 
have already found out.


Regards,
Jirka


Thanks,
Jaicel


___
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] webhook

2014-10-30 Thread Oved Ourfali
Hi 

CC-ing also Vojtech, the "father" of the UI plugins.

Anyway, the only way to accomplish that via UI plugins at the moment is via 
adding a new "action menu item", that in the background deleted the VM, and 
reports to Foreman.
I would be nice to have a "hook" for different UI action items, but it isn't 
available at the moment.
There are plenty code samples for UI plugins, most of them available at: 
http://www.ovirt.org/Features/UIPlugins

I must say that I'm not sure webhooks are the right approach for that, as I 
guess it is relevant only in environments in which one doesn't use the 
API/CLI/SDK
but.. it will be a cool feature!

Regards,
Oved

- Original Message -
> From: "Yair Zaslavsky" 
> To: "Koen Vanoppen" 
> Cc: "Oved Ourfali" , users@ovirt.org
> Sent: Thursday, October 30, 2014 1:44:38 PM
> Subject: Re: [ovirt-users] webhook
> 
> Oved - can we implement something like this using ui-plugins?
> 
> 
> - Original Message -
> > From: "Koen Vanoppen" 
> > To: users@ovirt.org
> > Sent: Monday, October 27, 2014 4:06:40 PM
> > Subject: [ovirt-users] webhook
> > 
> > Hi all,
> > 
> > Just a quick question. Is it possible to set a webhook on the removal and
> > creation of a new vm? So we can send to foreman a delete action when the VM
> > is deleted...
> > 
> > Kind regards,
> > 
> > Koen
> > 
> > ___
> > 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] Add multiple files to a VM via cloud-init

2014-10-30 Thread Branimir Pejakovic
On Thu, Oct 30, 2014 at 12:39 PM, Shahar Havivi  wrote:

> On 30.10.14 12:30, Branimir Pejakovic wrote:
> > On Thu, Oct 30, 2014 at 12:02 PM, Shahar Havivi 
> wrote:
> >
> > > On 30.10.14 10:06, Branimir Pejakovic wrote:
> > > > On Thu, Oct 30, 2014 at 7:22 AM, Shahar Havivi 
> > > wrote:
> > > >
> > > > > On 29.10.14 17:35, Branimir Pejakovic wrote:
> > > > > > Hi list,
> > > > > >
> > > > > > I was wondering is there a way to add multiple files to a vm via
> > > > > cloud-init
> > > > > > using python SDK. I was able to add /etc/resolv.conf and
> > > additionally I
> > > > > > would like to add config files for NICs (ifcfg-ethX) with
> appropriate
> > > > > > values (ip,gw,netmask). I used an example given here:
> > > > > > http://www.ovirt.org/Features/Cloud-Init_Integration . But
> > > > > unfortunately I
> > > > > > cannot do the same thing If I want to write multiple files to a
> vm in
> > > > > > params.Action class.
> > > > > >
> > > > > > Thank you in advance!
> > > > > you can use the custom script text box in oVirts cloud-init
> section,
> > > > > there you can add any cloud-init section - adding files examples
> can be
> > > > > found
> > > > > here:
> > > > >
> > > > >
> > >
> http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files
> > > > >
> > > > >   Shahar Havivi.
> > > > >
> > > > >
> > > > Hi Shahar,
> > > >
> > > > Thank you for the reply.
> > > >
> > > > To be honest I knew for those scripts but I want to do it in automate
> > > > fashion just like in that example that I put in my original message.
> I
> > > have
> > > > tried to specify in params.Files class multiple files:
> > > >
> > > > vm_file1 = params.Files(file=[params.File(name = 'file1', content =
> > > > file1_content, type_= 'PLAINTEXT')])
> > > > vm_file2 = params.Files(file=[params.File(name = 'file2', content =
> > > > file2_content, type_= 'PLAINTEXT')])
> > > >
> > > > and then give them as arguments to params.CloudInit _init_
> constructor
> > > > (files=...)  just like in that example above but it seems that I am
> doing
> > > > something wrong because it does not write multiple files - it writes
> only
> > > > when you specify one file all right. The exception is "Error: 'list'
> > > object
> > > > has no attribute 'export'" (I tried to specify those files as a list
> -
> > > > files=[vm_file1,vm_file2]).
> > > >
> > > > Thanks for any help.
> > > The custom script is currently the only option to add files via
> Cloud-Init
> > >
> > > Thanks,
> > >   Shahar Havivi.
> > >
> > >
> > Hi Shahar,
> >
> > Granted. But the example in python
> > http://www.ovirt.org/Features/Cloud-Init_Integration uses custom script
> :)
> > I just want to know how to do the same thing in case when I want to write
> > more than one file to a VM - and yes  - all those multiple files that I
> > want to write are specified via custom scripts.
> >
> > From the link - (The "Python SDK" paragraph: scontent object holds the
> > custom script):
> >
> >  scontent = "write_files:\n-   content: |\nsearch
> > example.com\nnameserver 10.10.10.1\nnameserver
> > 10.10.10.2\npath: /etc/resolv.conf"
> >
> > For example (and just for example), I want to write to /etc/issue and
> > /etc/hosts not only /etc/resolv.conf. In essence, when vm goes to
> run-once
> > mode I want to write more than one file to a vm via Python (using
> > CloudInit) in automated fashion (and not touching oVirt GUI at all).
> You don't need to use the GUI,
> the sdks initialization have custom_script as string which is equivalent to
> the text box that you see in the GUI, and you can put the same content
> there
> (ie multiple files).
> Is that sufficient enough?
>

Hi Shahar,

Thanks! I will try this one. I was not aware of this feature. Although I
can see that it was mentioned on the list (my bad).

Thank you for your effort! I really do appreciate it!


Best regards,

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


Re: [ovirt-users] Add multiple files to a VM via cloud-init

2014-10-30 Thread Shahar Havivi
On 30.10.14 12:30, Branimir Pejakovic wrote:
> On Thu, Oct 30, 2014 at 12:02 PM, Shahar Havivi  wrote:
> 
> > On 30.10.14 10:06, Branimir Pejakovic wrote:
> > > On Thu, Oct 30, 2014 at 7:22 AM, Shahar Havivi 
> > wrote:
> > >
> > > > On 29.10.14 17:35, Branimir Pejakovic wrote:
> > > > > Hi list,
> > > > >
> > > > > I was wondering is there a way to add multiple files to a vm via
> > > > cloud-init
> > > > > using python SDK. I was able to add /etc/resolv.conf and
> > additionally I
> > > > > would like to add config files for NICs (ifcfg-ethX) with appropriate
> > > > > values (ip,gw,netmask). I used an example given here:
> > > > > http://www.ovirt.org/Features/Cloud-Init_Integration . But
> > > > unfortunately I
> > > > > cannot do the same thing If I want to write multiple files to a vm in
> > > > > params.Action class.
> > > > >
> > > > > Thank you in advance!
> > > > you can use the custom script text box in oVirts cloud-init section,
> > > > there you can add any cloud-init section - adding files examples can be
> > > > found
> > > > here:
> > > >
> > > >
> > http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files
> > > >
> > > >   Shahar Havivi.
> > > >
> > > >
> > > Hi Shahar,
> > >
> > > Thank you for the reply.
> > >
> > > To be honest I knew for those scripts but I want to do it in automate
> > > fashion just like in that example that I put in my original message. I
> > have
> > > tried to specify in params.Files class multiple files:
> > >
> > > vm_file1 = params.Files(file=[params.File(name = 'file1', content =
> > > file1_content, type_= 'PLAINTEXT')])
> > > vm_file2 = params.Files(file=[params.File(name = 'file2', content =
> > > file2_content, type_= 'PLAINTEXT')])
> > >
> > > and then give them as arguments to params.CloudInit _init_ constructor
> > > (files=...)  just like in that example above but it seems that I am doing
> > > something wrong because it does not write multiple files - it writes only
> > > when you specify one file all right. The exception is "Error: 'list'
> > object
> > > has no attribute 'export'" (I tried to specify those files as a list -
> > > files=[vm_file1,vm_file2]).
> > >
> > > Thanks for any help.
> > The custom script is currently the only option to add files via Cloud-Init
> >
> > Thanks,
> >   Shahar Havivi.
> >
> >
> Hi Shahar,
> 
> Granted. But the example in python
> http://www.ovirt.org/Features/Cloud-Init_Integration uses custom script :)
> I just want to know how to do the same thing in case when I want to write
> more than one file to a VM - and yes  - all those multiple files that I
> want to write are specified via custom scripts.
> 
> From the link - (The "Python SDK" paragraph: scontent object holds the
> custom script):
> 
>  scontent = "write_files:\n-   content: |\nsearch
> example.com\nnameserver 10.10.10.1\nnameserver
> 10.10.10.2\npath: /etc/resolv.conf"
> 
> For example (and just for example), I want to write to /etc/issue and
> /etc/hosts not only /etc/resolv.conf. In essence, when vm goes to run-once
> mode I want to write more than one file to a vm via Python (using
> CloudInit) in automated fashion (and not touching oVirt GUI at all).
You don't need to use the GUI,
the sdks initialization have custom_script as string which is equivalent to
the text box that you see in the GUI, and you can put the same content there
(ie multiple files).
Is that sufficient enough?

> 
> Thanks in advance!
> 
> Best regards,
> 
> Branimir
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add multiple files to a VM via cloud-init

2014-10-30 Thread Branimir Pejakovic
On Thu, Oct 30, 2014 at 12:02 PM, Shahar Havivi  wrote:

> On 30.10.14 10:06, Branimir Pejakovic wrote:
> > On Thu, Oct 30, 2014 at 7:22 AM, Shahar Havivi 
> wrote:
> >
> > > On 29.10.14 17:35, Branimir Pejakovic wrote:
> > > > Hi list,
> > > >
> > > > I was wondering is there a way to add multiple files to a vm via
> > > cloud-init
> > > > using python SDK. I was able to add /etc/resolv.conf and
> additionally I
> > > > would like to add config files for NICs (ifcfg-ethX) with appropriate
> > > > values (ip,gw,netmask). I used an example given here:
> > > > http://www.ovirt.org/Features/Cloud-Init_Integration . But
> > > unfortunately I
> > > > cannot do the same thing If I want to write multiple files to a vm in
> > > > params.Action class.
> > > >
> > > > Thank you in advance!
> > > you can use the custom script text box in oVirts cloud-init section,
> > > there you can add any cloud-init section - adding files examples can be
> > > found
> > > here:
> > >
> > >
> http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files
> > >
> > >   Shahar Havivi.
> > >
> > >
> > Hi Shahar,
> >
> > Thank you for the reply.
> >
> > To be honest I knew for those scripts but I want to do it in automate
> > fashion just like in that example that I put in my original message. I
> have
> > tried to specify in params.Files class multiple files:
> >
> > vm_file1 = params.Files(file=[params.File(name = 'file1', content =
> > file1_content, type_= 'PLAINTEXT')])
> > vm_file2 = params.Files(file=[params.File(name = 'file2', content =
> > file2_content, type_= 'PLAINTEXT')])
> >
> > and then give them as arguments to params.CloudInit _init_ constructor
> > (files=...)  just like in that example above but it seems that I am doing
> > something wrong because it does not write multiple files - it writes only
> > when you specify one file all right. The exception is "Error: 'list'
> object
> > has no attribute 'export'" (I tried to specify those files as a list -
> > files=[vm_file1,vm_file2]).
> >
> > Thanks for any help.
> The custom script is currently the only option to add files via Cloud-Init
>
> Thanks,
>   Shahar Havivi.
>
>
Hi Shahar,

Granted. But the example in python
http://www.ovirt.org/Features/Cloud-Init_Integration uses custom script :)
I just want to know how to do the same thing in case when I want to write
more than one file to a VM - and yes  - all those multiple files that I
want to write are specified via custom scripts.

>From the link - (The "Python SDK" paragraph: scontent object holds the
custom script):

 scontent = "write_files:\n-   content: |\nsearch
example.com\nnameserver 10.10.10.1\nnameserver
10.10.10.2\npath: /etc/resolv.conf"

For example (and just for example), I want to write to /etc/issue and
/etc/hosts not only /etc/resolv.conf. In essence, when vm goes to run-once
mode I want to write more than one file to a vm via Python (using
CloudInit) in automated fashion (and not touching oVirt GUI at all).

Thanks in advance!

Best regards,

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


Re: [ovirt-users] Add multiple files to a VM via cloud-init

2014-10-30 Thread Shahar Havivi
On 30.10.14 10:06, Branimir Pejakovic wrote:
> On Thu, Oct 30, 2014 at 7:22 AM, Shahar Havivi  wrote:
> 
> > On 29.10.14 17:35, Branimir Pejakovic wrote:
> > > Hi list,
> > >
> > > I was wondering is there a way to add multiple files to a vm via
> > cloud-init
> > > using python SDK. I was able to add /etc/resolv.conf and additionally I
> > > would like to add config files for NICs (ifcfg-ethX) with appropriate
> > > values (ip,gw,netmask). I used an example given here:
> > > http://www.ovirt.org/Features/Cloud-Init_Integration . But
> > unfortunately I
> > > cannot do the same thing If I want to write multiple files to a vm in
> > > params.Action class.
> > >
> > > Thank you in advance!
> > you can use the custom script text box in oVirts cloud-init section,
> > there you can add any cloud-init section - adding files examples can be
> > found
> > here:
> >
> > http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files
> >
> >   Shahar Havivi.
> >
> >
> Hi Shahar,
> 
> Thank you for the reply.
> 
> To be honest I knew for those scripts but I want to do it in automate
> fashion just like in that example that I put in my original message. I have
> tried to specify in params.Files class multiple files:
> 
> vm_file1 = params.Files(file=[params.File(name = 'file1', content =
> file1_content, type_= 'PLAINTEXT')])
> vm_file2 = params.Files(file=[params.File(name = 'file2', content =
> file2_content, type_= 'PLAINTEXT')])
> 
> and then give them as arguments to params.CloudInit _init_ constructor
> (files=...)  just like in that example above but it seems that I am doing
> something wrong because it does not write multiple files - it writes only
> when you specify one file all right. The exception is "Error: 'list' object
> has no attribute 'export'" (I tried to specify those files as a list -
> files=[vm_file1,vm_file2]).
> 
> Thanks for any help.
The custom script is currently the only option to add files via Cloud-Init

Thanks,
  Shahar Havivi.

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


Re: [ovirt-users] webhook

2014-10-30 Thread Yair Zaslavsky
Oved - can we implement something like this using ui-plugins?


- Original Message -
> From: "Koen Vanoppen" 
> To: users@ovirt.org
> Sent: Monday, October 27, 2014 4:06:40 PM
> Subject: [ovirt-users] webhook
> 
> Hi all,
> 
> Just a quick question. Is it possible to set a webhook on the removal and
> creation of a new vm? So we can send to foreman a delete action when the VM
> is deleted...
> 
> Kind regards,
> 
> Koen
> 
> ___
> 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 foreman provider: Could not generate DH keypair (Failed with error PROVIDER_SSL_FAILURE and code 5052)

2014-10-30 Thread ybronhei

On 10/27/2014 05:23 PM, Daniel Helgenberger wrote:



On 26.10.2014 13:26, ybronhei wrote:
Thanks for getting back to me.


On 10/26/2014 08:52 AM, Oved Ourfali wrote:

Hi

What jdk version are you using?

I assume you need to know the engine;
I am using plan vanilla openjdk from the centos repos:
rpm -qa|grep jdk
java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64
java-1.6.0-openjdk-1.6.0.0-7.1.13.4.el6_5.x86_64


According to 
http://stackoverflow.com/questions/10687200/java-7-and-could-not-generate-dh-keypair
 it might be related.

I am not really sure about the versioning: but the article states this
problem is gone with 1.7.0-21 - yet 1.7.0-65 is installed?




funny, thought only I encountered that issue and fought with it a day
due my out-of-date machine..

I assume foreman integration was not tested against CentOS 6.5 -
engines? Or, might this be foreman in the end? (I am using 1.6.2-stable).


sorry I didn't share (learned for next time) :/ all you need is to
upgrade your jdk, read more about it in the stackoverflow page.

Thanks for raising the issue.

No problem, I am happy to open a BZ - but how do I get the upgrade jdk;
more exactly to which package version? I do not want to break my engine ;)
yum update comes up negative.

I did "yum upgrade java-1.7.0-openjdk" and restarted ovirt-engine service.
the version I currently have is 
java-1.7.0-openjdk-1.7.0.71-2.5.3.0.fc19.x86_64





Thanks,
Oved

- Original Message -

From: "Daniel Helgenberger" 
To: users@ovirt.org
Sent: Friday, October 24, 2014 1:16:51 AM
Subject: [ovirt-users] Adding foreman provider: Could not generate DH keypair 
(Failed with error PROVIDER_SSL_FAILURE
and code 5052)

Hello,

I tried to add foreman as external provider - without successes.

Hosted Engine 3.5
CentOS6.5

The foreman is a plain vanilla install; working so far (can log in, do stuff,
local smart proxy registered)

foreman FQDN is resolvable via DNS

In the engine UI I enter:
https://foreman.lab.mbox.loc
user
pw

and press test.
The cert is shown and after clicking ok, the chain is imported. However, the
test fails with a SSL error. Please see engine log below:

2014-10-24 00:01:45,188 INFO
[org.ovirt.engine.core.bll.provider.ImportProviderCertificateChainCommand]
(ajp--127.0.0.1-8702-7) [710ac5c] Running command:
ImportProviderCertificateChainCommand internal: false. Entities affected :
ID: aaa0----123456789aaa Type: SystemAction group
CREATE_STORAGE_POOL with role type ADMIN
2014-10-24 00:01:45,296 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-7) [710ac5c] Correlation ID: 710ac5c, Call Stack: null,
Custom Event ID: -1, Message: Certificate chain for provider foreman was
imported. (User: daniel)
2014-10-24 00:01:46,212 INFO
[org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
(ajp--127.0.0.1-8702-9) [6a77acf4] Running command:
TestProviderConnectivityCommand internal: false. Entities affected :  ID:
aaa0----123456789aaa Type: SystemAction group
CREATE_STORAGE_POOL with role type ADMIN
2014-10-24 00:01:46,662 ERROR
[org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
(ajp--127.0.0.1-8702-9) [6a77acf4] Command
org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand throw Vdc
Bll exception. With error message VdcBLLException:
java.lang.RuntimeException: Could not generate DH keypair (Failed with error
PROVIDER_SSL_FAILURE and code 5052)
2014-10-24 00:02:01,222 INFO
[org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
(ajp--127.0.0.1-8702-10) [2713e6dc] Running command:
TestProviderConnectivityCommand internal: false. Entities affected :  ID:
aaa0----123456789aaa Type: SystemAction group
CREATE_STORAGE_POOL with role type ADMIN
2014-10-24 00:02:01,625 ERROR
[org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
(ajp--127.0.0.1-8702-10) [2713e6dc] Command
org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand throw Vdc
Bll exception. With error message VdcBLLException:
java.lang.RuntimeException: Could not generate DH keypair (Failed with error
PROVIDER_SSL_FAILURE and code 5052)
2014-10-24 00:02:02,090 ERROR
[org.ovirt.engine.core.bll.GetProviderCertificateChainQuery]
(ajp--127.0.0.1-8702-11) Query GetProviderCertificateChainQuery failed.
Exception message is VdcBLLException: java.lang.RuntimeException: Could not
generate DH keypair (Failed with error PROVIDER_FAILURE and code 5050) :
org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException:
java.lang.RuntimeException: Could not generate DH keypair (Failed with error
PROVIDER_FAILURE and code 5050):
org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException:
java.lang.RuntimeException: Could not generate DH keypair (Failed with error
PROVIDER_FAILURE and code 5050)
   at
   
org.ovirt.engine.core.bll.provider.BaseProviderProxy.handleException(BaseProviderProxy.java:70)
   [bll.jar:]

Re: [ovirt-users] webhook

2014-10-30 Thread Koen Vanoppen
Nobody? :-(. Or it is just not possible?

2014-10-27 15:06 GMT+01:00 Koen Vanoppen :

> Hi all,
>
> Just a quick question. Is it possible to set a webhook on the removal and
> creation of a new vm? So we can send to foreman a delete action when the VM
> is deleted...
>
> Kind regards,
>
> Koen
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt VM Performance abd CPU times

2014-10-30 Thread Xavier Naveira
Yeah, that's definitively worth a try. The problem is that we have been
running on ovirt for some months now and haven't realized the problem with
the RHEL 5.x vms until recently, when we began to import them (until now we
mainly run RHEL 6.x vms), so the ovirt hypervisors are production machines
and I don't have a lot of margin doing tests on them. Hopefully next week
we'll be able to decomission another of the "old ones" and then we can do
some testing before adding it to the ovirt cluster... The other thing that
we're going to test is disabling HT.

X

On Thu, Oct 30, 2014 at 12:33 PM, Gianluca Cecchi  wrote:

> On Thu, Oct 30, 2014 at 12:25 PM, Xavier Naveira 
> wrote:
>
>> These hardware is exactly the same, no changes in bios, reinstalled from
>> scratch.
>>
>> The versions in the "old ones" are:
>>
>> RHEL 5.6
>> kvm-83-224.el5
>> libvirt-0.8.2-15.el5_6.1
>> kmod-kvm-83-224.el5
>> kvm-tools-83-224.el5
>> libvirt-0.8.2-15.el5_6.1
>> Kernel: 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64
>> x86_64 x86_64 GNU/Linux
>>
>> I the ovirt "new" ones:
>>
>> RHEL 6.5
>> qemu-img-rhev-0.12.1.2-2.415.el6_5.14.x86_64
>> qemu-kvm-rhev-0.12.1.2-2.415.el6_5.14.x86_64
>> qemu-kvm-rhev-tools-0.12.1.2-2.415.el6_5.14.x86_64
>> libvirt-0.10.2-29.el6_5.12.x86_64
>> libvirt-client-0.10.2-29.el6_5.12.x86_64
>> Kernel: 2.6.32-431.23.3.el6.x86_64 #1 SMP Wed Jul 16 06:12:23 EDT 2014
>> x86_64 x86_64 x86_64 GNU/Linux
>>
>> I haven't gone into the details but the command line generated by our old
>> software is like 2 lines of text while in the ovirt nodes for the same type
>> of machine it is 10 :)
>>
>>
>>
>
> So one "important" thing is that hypervisor OS was RHEL 5 with plain
> Qemu/KVM and instead RHEL 6 with oVirt
> You could check if plain Qemu/KVM with RH EL 6.5 generates the same
> problems for RHEL 5.x VMs..
> Not that it would solve the problem itself, but it would help to put the
> different OS version of hypervisor as a possible cause
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt VM Performance abd CPU times

2014-10-30 Thread Gianluca Cecchi
On Thu, Oct 30, 2014 at 12:25 PM, Xavier Naveira  wrote:

> These hardware is exactly the same, no changes in bios, reinstalled from
> scratch.
>
> The versions in the "old ones" are:
>
> RHEL 5.6
> kvm-83-224.el5
> libvirt-0.8.2-15.el5_6.1
> kmod-kvm-83-224.el5
> kvm-tools-83-224.el5
> libvirt-0.8.2-15.el5_6.1
> Kernel: 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64
> x86_64 x86_64 GNU/Linux
>
> I the ovirt "new" ones:
>
> RHEL 6.5
> qemu-img-rhev-0.12.1.2-2.415.el6_5.14.x86_64
> qemu-kvm-rhev-0.12.1.2-2.415.el6_5.14.x86_64
> qemu-kvm-rhev-tools-0.12.1.2-2.415.el6_5.14.x86_64
> libvirt-0.10.2-29.el6_5.12.x86_64
> libvirt-client-0.10.2-29.el6_5.12.x86_64
> Kernel: 2.6.32-431.23.3.el6.x86_64 #1 SMP Wed Jul 16 06:12:23 EDT 2014
> x86_64 x86_64 x86_64 GNU/Linux
>
> I haven't gone into the details but the command line generated by our old
> software is like 2 lines of text while in the ovirt nodes for the same type
> of machine it is 10 :)
>
>
>

So one "important" thing is that hypervisor OS was RHEL 5 with plain
Qemu/KVM and instead RHEL 6 with oVirt
You could check if plain Qemu/KVM with RH EL 6.5 generates the same
problems for RHEL 5.x VMs..
Not that it would solve the problem itself, but it would help to put the
different OS version of hypervisor as a possible cause
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt VM Performance abd CPU times

2014-10-30 Thread Xavier Naveira
These hardware is exactly the same, no changes in bios, reinstalled from
scratch.

The versions in the "old ones" are:

RHEL 5.6
kvm-83-224.el5
libvirt-0.8.2-15.el5_6.1
kmod-kvm-83-224.el5
kvm-tools-83-224.el5
libvirt-0.8.2-15.el5_6.1
Kernel: 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64 x86_64
x86_64 GNU/Linux

I the ovirt "new" ones:

RHEL 6.5
qemu-img-rhev-0.12.1.2-2.415.el6_5.14.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6_5.14.x86_64
qemu-kvm-rhev-tools-0.12.1.2-2.415.el6_5.14.x86_64
libvirt-0.10.2-29.el6_5.12.x86_64
libvirt-client-0.10.2-29.el6_5.12.x86_64
Kernel: 2.6.32-431.23.3.el6.x86_64 #1 SMP Wed Jul 16 06:12:23 EDT 2014
x86_64 x86_64 x86_64 GNU/Linux

I haven't gone into the details but the command line generated by our old
software is like 2 lines of text while in the ovirt nodes for the same type
of machine it is 10 :)

X

On Thu, Oct 30, 2014 at 11:07 AM, Gianluca Cecchi  wrote:

> On Thu, Oct 30, 2014 at 10:46 AM, Xavier Naveira 
> wrote:
>
>> I haven't tested the performance differences with or without HT. We were
>> running pure kvm-libvirt hosts on these machines and we're migrating them
>> to oVirt and that's what triggered the problem with the Redhat 5 vms.
>>
>>
> So a point is that the hw is the same and that the problem is only related
> to RH EL 5.x VMs.
> Also no change in BIOS settings.
> Did you reinstall from scratch?
>
> What about the sw?
> previously used version of Qemu/KVM and libvirt?
> current version of Qemu/KVM and libvirt with oVirt?
>
> Also, did you compare the qemu-kvm generated command line between plain
> Qemu/KVM and the one instantiated by oVirt?
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt VM Performance abd CPU times

2014-10-30 Thread Gianluca Cecchi
On Thu, Oct 30, 2014 at 10:46 AM, Xavier Naveira  wrote:

> I haven't tested the performance differences with or without HT. We were
> running pure kvm-libvirt hosts on these machines and we're migrating them
> to oVirt and that's what triggered the problem with the Redhat 5 vms.
>
>
So a point is that the hw is the same and that the problem is only related
to RH EL 5.x VMs.
Also no change in BIOS settings.
Did you reinstall from scratch?

What about the sw?
previously used version of Qemu/KVM and libvirt?
current version of Qemu/KVM and libvirt with oVirt?

Also, did you compare the qemu-kvm generated command line between plain
Qemu/KVM and the one instantiated by oVirt?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add multiple files to a VM via cloud-init

2014-10-30 Thread Branimir Pejakovic
On Thu, Oct 30, 2014 at 7:22 AM, Shahar Havivi  wrote:

> On 29.10.14 17:35, Branimir Pejakovic wrote:
> > Hi list,
> >
> > I was wondering is there a way to add multiple files to a vm via
> cloud-init
> > using python SDK. I was able to add /etc/resolv.conf and additionally I
> > would like to add config files for NICs (ifcfg-ethX) with appropriate
> > values (ip,gw,netmask). I used an example given here:
> > http://www.ovirt.org/Features/Cloud-Init_Integration . But
> unfortunately I
> > cannot do the same thing If I want to write multiple files to a vm in
> > params.Action class.
> >
> > Thank you in advance!
> you can use the custom script text box in oVirts cloud-init section,
> there you can add any cloud-init section - adding files examples can be
> found
> here:
>
> http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files
>
>   Shahar Havivi.
>
>
Hi Shahar,

Thank you for the reply.

To be honest I knew for those scripts but I want to do it in automate
fashion just like in that example that I put in my original message. I have
tried to specify in params.Files class multiple files:

vm_file1 = params.Files(file=[params.File(name = 'file1', content =
file1_content, type_= 'PLAINTEXT')])
vm_file2 = params.Files(file=[params.File(name = 'file2', content =
file2_content, type_= 'PLAINTEXT')])

and then give them as arguments to params.CloudInit _init_ constructor
(files=...)  just like in that example above but it seems that I am doing
something wrong because it does not write multiple files - it writes only
when you specify one file all right. The exception is "Error: 'list' object
has no attribute 'export'" (I tried to specify those files as a list -
files=[vm_file1,vm_file2]).

Thanks for any help.

Best regards,


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


[ovirt-users] Fwd: oVirt is Prince of Community Blog This Week

2014-10-30 Thread Brian Proffitt
Links would be good, right?

[1] http://community.redhat.com/blog/2014/10/ovirt-dockerized/
[2] http://community.redhat.com/blog/2014/10/ovirt-dockerized-part-2/
[3] http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/

- Forwarded Message -
From: "Brian Proffitt" 
To: "users" 
Cc: annou...@ovirt.org
Sent: Thursday, October 30, 2014 11:52:02 AM
Subject: [ovirt-users] oVirt is Prince of Community Blog This Week

All:

I just wanted to share the news that oVirt is the hot topic of the week on the 
Red Hat community blog this week!

Moran Goldboim has an excellent two-part article on Dockerizing oVirt[1][2] 
that has so far gotten a good deal of social media and web visit traffic.

Jason Brooks of OSAS has written another installment in his excellent Up and 
Running series, this time focusing on oVirt 3.5! [3]

And I just edited a very detailed article from Martin Sivák on the new 
Optimizer feature in oVirt 3.5. This has not been posted yet, but it could be 
up today or tomorrow, depending on the Community blog's schedule. Keep an eye 
on @oVirt in Twitter for this article's release!

Thank you to Moran, Jason, and Martin for their contributions! If you want to 
write about oVirt, feel free to send me your contributions, and we will get 
them posted!

Peace,
Brian

-- 
Brian Proffitt

Community Liaison
oVirt
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 574 383 9BKP
IRC: bkp @ OFTC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-- 
Brian Proffitt

Community Liaison
oVirt
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 574 383 9BKP
IRC: bkp @ OFTC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt is Prince of Community Blog This Week

2014-10-30 Thread Brian Proffitt
All:

I just wanted to share the news that oVirt is the hot topic of the week on the 
Red Hat community blog this week!

Moran Goldboim has an excellent two-part article on Dockerizing oVirt[1][2] 
that has so far gotten a good deal of social media and web visit traffic.

Jason Brooks of OSAS has written another installment in his excellent Up and 
Running series, this time focusing on oVirt 3.5! [3]

And I just edited a very detailed article from Martin Sivák on the new 
Optimizer feature in oVirt 3.5. This has not been posted yet, but it could be 
up today or tomorrow, depending on the Community blog's schedule. Keep an eye 
on @oVirt in Twitter for this article's release!

Thank you to Moran, Jason, and Martin for their contributions! If you want to 
write about oVirt, feel free to send me your contributions, and we will get 
them posted!

Peace,
Brian

-- 
Brian Proffitt

Community Liaison
oVirt
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 574 383 9BKP
IRC: bkp @ OFTC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt VM Performance abd CPU times

2014-10-30 Thread Xavier Naveira
I haven't tested the performance differences with or without HT. We were
running pure kvm-libvirt hosts on these machines and we're migrating them
to oVirt and that's what triggered the problem with the Redhat 5 vms.

I'll probably give it a try and disable HT on the next hypervisor that
we'll be adding to the cluster next week and see if that solves the problem
or it just mitigates it.

X

On Thu, Oct 30, 2014 at 10:09 AM, Arman Khalatyan  wrote:

> On our clusters with pure computation we use always HT off, HT was slowing
> down scientific calculations.
> Just I'm interested if any benefit of enabling HT on the Ovirt host?
> At least on my system host-Centos6.5, guest-Centos7VM-LAMPstack with
> separate CentOS7-MariaDBVM did not show any performance boost if I switch
> on/off HT on 2650v2.
> a.
>
>
>
> On Wed, Oct 29, 2014 at 5:24 PM, Xavier Naveira 
> wrote:
>
>> On 10/29/2014 05:15 PM, Daniel Helgenberger wrote:
>>
>>>
>>>
>>> On 29.10.2014 16:44, Xavier Naveira wrote:
>>>
 On 10/29/2014 04:29 PM, Xavier Naveira wrote:

> On 10/29/2014 04:06 PM, Daniel Helgenberger wrote:
>
>>
>>
>> On 29.10.2014 15:57, Xavier Naveira wrote:
>>
>>> On 10/29/2014 03:07 PM, Xavier Naveira wrote:
>>>
 On 10/29/2014 01:26 PM, Daniel Helgenberger wrote:

> On 29.10.2014 11:48, Xavier Naveira wrote:
>
>> On 10/29/2014 11:47 AM, Xavier Naveira wrote:
>>
>>> On 10/29/2014 11:40 AM, Daniel Helgenberger wrote:
>>>


 On 29.10.2014 10:21, Xavier Naveira wrote:

> Hi,
>
> We are migrating our ifrastructure from kvm+libvirt
> hypervisors to
> ovirt.
>
> Everything is working fine but we're noticing that all the
> qemu-kvm
> processes in the hypervisors take a lot of CPU.
>
 Without further details of the workload this is hard tell. One
 Reason I
 can think of might be KSM [1]. Is it enabled on your cluster(s)?
 What is
 your mem over-commitment setting?

 Note, IIRC the KSM policy is currently hard coded; it will
 start at
 80%
 host mem usage.

 [1] http://www.ovirt.org/Sla/host-mom-policy

>
> The typical example is an idle machine, running top from the
> machine
> itself it reports cpu use percentages below 10% and loads
> (with 2
> processors) of 0.0x. The process running that machine in the
> hypervisor
> rports cpu uses in the order of the 80-100%.
>
> Should the values look like this? Why are the idle machines
> eating
> up so
> much CPU time?
>
> Thank you.
> Xavier
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>

>>>  Hi, thank you for the answer.
>>
>> I've been trying to work out some pattern and realized that the
>> VMs
>> using that much cpu all are Redhat 5.x, the Readhat 6.x doesn't
>> exhibit
>> this kind of high cpu use. (we run only redhat/centos 5.x/6.x on
>> the
>> cluster)
>>
> What OS are the hosts running? In case of EL6, make sure you have
> tuned-0.2.19-13.el6.noarch installed [1].
>

 That's exactly the version we've in the hypervisors.


> To further investigate please post Engine, VDSM, libvirt and kernel
> versions from the hosts.
>

 vdsm-xmlrpc-4.14.11.2-0.el6.noarch
 vdsm-cli-4.14.11.2-0.el6.noarch
 vdsm-python-4.14.11.2-0.el6.x86_64
 vdsm-4.14.11.2-0.el6.x86_64
 vdsm-python-zombiereaper-4.14.11.2-0.el6.noarch

 libvirt-client-0.10.2-29.el6_5.12.x86_64
 libvirt-0.10.2-29.el6_5.12.x86_64
 libvirt-lock-sanlock-0.10.2-29.el6_5.12.x86_64
 libvirt-python-0.10.2-29.el6_5.12.x86_64

 2.6.32-431.23.3.el6.x86_64 #1 SMP Wed Jul 16 06:12:23 EDT 2014
 x86_64
 x86_64 x86_64 GNU/Linux



> [1] https://access.redhat.com/solutions/358033
>
>>
>> I'll take a look to the KSM config.
>>
>> Cheers,
>>
>> Xavier
>>
>>
>

>>> Actually, this seems to be it. But I'm already at a newer kernel:
>>> https://bugzilla.redhat.com/show_bug.cgi?id=705082
>>>
>> Well, I do not have such hardware so I never run into the issue. You

Re: [ovirt-users] Ovirt VM Performance abd CPU times

2014-10-30 Thread Arman Khalatyan
On our clusters with pure computation we use always HT off, HT was slowing
down scientific calculations.
Just I'm interested if any benefit of enabling HT on the Ovirt host?
At least on my system host-Centos6.5, guest-Centos7VM-LAMPstack with
separate CentOS7-MariaDBVM did not show any performance boost if I switch
on/off HT on 2650v2.
a.



On Wed, Oct 29, 2014 at 5:24 PM, Xavier Naveira  wrote:

> On 10/29/2014 05:15 PM, Daniel Helgenberger wrote:
>
>>
>>
>> On 29.10.2014 16:44, Xavier Naveira wrote:
>>
>>> On 10/29/2014 04:29 PM, Xavier Naveira wrote:
>>>
 On 10/29/2014 04:06 PM, Daniel Helgenberger wrote:

>
>
> On 29.10.2014 15:57, Xavier Naveira wrote:
>
>> On 10/29/2014 03:07 PM, Xavier Naveira wrote:
>>
>>> On 10/29/2014 01:26 PM, Daniel Helgenberger wrote:
>>>
 On 29.10.2014 11:48, Xavier Naveira wrote:

> On 10/29/2014 11:47 AM, Xavier Naveira wrote:
>
>> On 10/29/2014 11:40 AM, Daniel Helgenberger wrote:
>>
>>>
>>>
>>> On 29.10.2014 10:21, Xavier Naveira wrote:
>>>
 Hi,

 We are migrating our ifrastructure from kvm+libvirt hypervisors
 to
 ovirt.

 Everything is working fine but we're noticing that all the
 qemu-kvm
 processes in the hypervisors take a lot of CPU.

>>> Without further details of the workload this is hard tell. One
>>> Reason I
>>> can think of might be KSM [1]. Is it enabled on your cluster(s)?
>>> What is
>>> your mem over-commitment setting?
>>>
>>> Note, IIRC the KSM policy is currently hard coded; it will start
>>> at
>>> 80%
>>> host mem usage.
>>>
>>> [1] http://www.ovirt.org/Sla/host-mom-policy
>>>

 The typical example is an idle machine, running top from the
 machine
 itself it reports cpu use percentages below 10% and loads (with
 2
 processors) of 0.0x. The process running that machine in the
 hypervisor
 rports cpu uses in the order of the 80-100%.

 Should the values look like this? Why are the idle machines
 eating
 up so
 much CPU time?

 Thank you.
 Xavier

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


>>>
>>  Hi, thank you for the answer.
>
> I've been trying to work out some pattern and realized that the VMs
> using that much cpu all are Redhat 5.x, the Readhat 6.x doesn't
> exhibit
> this kind of high cpu use. (we run only redhat/centos 5.x/6.x on
> the
> cluster)
>
 What OS are the hosts running? In case of EL6, make sure you have
 tuned-0.2.19-13.el6.noarch installed [1].

>>>
>>> That's exactly the version we've in the hypervisors.
>>>
>>>
 To further investigate please post Engine, VDSM, libvirt and kernel
 versions from the hosts.

>>>
>>> vdsm-xmlrpc-4.14.11.2-0.el6.noarch
>>> vdsm-cli-4.14.11.2-0.el6.noarch
>>> vdsm-python-4.14.11.2-0.el6.x86_64
>>> vdsm-4.14.11.2-0.el6.x86_64
>>> vdsm-python-zombiereaper-4.14.11.2-0.el6.noarch
>>>
>>> libvirt-client-0.10.2-29.el6_5.12.x86_64
>>> libvirt-0.10.2-29.el6_5.12.x86_64
>>> libvirt-lock-sanlock-0.10.2-29.el6_5.12.x86_64
>>> libvirt-python-0.10.2-29.el6_5.12.x86_64
>>>
>>> 2.6.32-431.23.3.el6.x86_64 #1 SMP Wed Jul 16 06:12:23 EDT 2014 x86_64
>>> x86_64 x86_64 GNU/Linux
>>>
>>>
>>>
 [1] https://access.redhat.com/solutions/358033

>
> I'll take a look to the KSM config.
>
> Cheers,
>
> Xavier
>
>

>>>
>> Actually, this seems to be it. But I'm already at a newer kernel:
>> https://bugzilla.redhat.com/show_bug.cgi?id=705082
>>
> Well, I do not have such hardware so I never run into the issue. You
> could disable HT as I suspect your physical cores are less then 64?
>
> Your workload might differ but my VMs usually do not benefit from
> 'threaded' cores and I want HT disabled anyway. Also, you can check
> cluster settings and disable 'count threads as cores' if enabled. But I
> think this might not make any difference.
>
>>
>>
>  Yeah, these are machines with 4 sockets, 6 core per socket and HT
 enabled, so total 48 "CPU".

>>> Good to know; yet the largest host I have has 32 (2 sockets, 8 cores, HT
>> enabled) CPUs and is not showing this issue (at least I ju

Re: [ovirt-users] SPICE HTML5 Browser Clinet does not work

2014-10-30 Thread Frantisek Kobzik
I exchanged couple of mails with Fumihide and it seems that oVirt doesn't work 
with newest release of SPICE-HTML5 (0.1.5). 

For others: If your setup worked before (with SPICE-HTML5 0.1.4) and stopped 
working after upgrade to 0.1.5 (e.g. from EPEL), downgrading might solve the 
problem.

In the meantime I'll try to investigate what's the problem with 0.1.5.

Cheers,
Franta.


- Original Message -
From: "Fumihide Tani" 
To: users@ovirt.org
Sent: Saturday, October 18, 2014 7:03:23 AM
Subject: [ovirt-users] SPICE HTML5 Browser Clinet does not work

Hi everyone,

Today I have updated oVirt 3.5 to GA from RC5.
And I have tried SPICE HTML5 Browser Clinet, but console screen is 'blank'.
Before updating to GA, My oVirt 3.5 could display console screen correctly.
Browser is the Firefox 31 running on Windows 7.

Toggle messages output shows:

Connected to 
wss://ovirt.rxc05271.com:6100/eyJ2YWxpZFRvIjoiMjAxNDEwMTgwNDIwMjMiLCJkYXRhIjoiJTdCJTIyaG9zdCUyMjolMjIxOTIuMTY4LjAuNyUyMiwlMjJwb3J0JTIyOiUyMjU5MDElMjIsJTIyc3NsX3RhcmdldCUyMjp0cnVlJTdEIiwidmFsaWRGcm9tIjoiMjAxNDEwMTgwNDE4MjMiLCJzaWduZWRGaWVsZHMiOiJ2YWxpZFRvLGRhdGEsdmFsaWRGcm9tLHNhbHQiLCJzaWduYXR1cmUiOiJyK0dpYlpia3dHRDQwNGNNT1ZsRDY2a0NlZWlYeEpEN0RuK2xhYW90QTZwR242NFVaenp0MTBidHVLN2gwdHlsYkZnNndicFp0cFBqRWVLekhGQU91cnJ3aEZzVUt1YzNoYWRrUks4akhpZUw3YnlqNVZ0S3M3N1V4WFBPNzZEWXBhSVVsRHZXcVZGWjU3SVRPc1B5dXFjY2FrS2pKTEJESC96T0xzc2UrYWRWVjBtdVRrNlpRcUp0TU80TUZrekcrS1dMeUlzWGhwd1ZWNFliUi82Qkg1OHVpNzBiQTdJRGV0d1JwcDU3R0tnZ0JwWTJOWlRjcnl0b2UzUWhlOUtNNWpsY1JPTFRkdW5VclVMc00vSGdYODF0Ujh5NEhFZGFlRkYrYkVTNFZLTGE3N0ZUMXlUTjlLeTNsaU9hVVlCUks4eXdVNkNsV3UvSVVucnFVNDg5Z1E9PSIsInNhbHQiOiJKV2Q3M1JvdmZyQT0ifQ==
Channel type 9 unknown.
Channel type 9 unknown.
Channel type 9 unknown.
Channel type 9 unknown.
Channel type 6 unknown.
Channel type 0 unknown.
Channel type 220 unknown.
Channel type 130 unknown.
Channel type 214 unknown.
Channel type 183 unknown.
Channel type 0 unknown.
Channel type 12 unknown.
Channel type undefined unknown.
(snip)
Channel type undefined unknown.
Channel type undefined unknown.
9: No message handlers for this channel; message 101
>> WebSockets.onerror[object Event]
[object Event]
(snip)
Error: Unexpected close while ready
>> WebSockets.onerror[object Event]
[object Event]
(snip)
Error: Connection timed out.

How can I resolve this problem?
Please help.

Thanks,
Fumihide Tani


___
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] Hosted-Engine HA problem

2014-10-30 Thread Jaicel R. Sabonsolin
Hi Guys, 

I need help with my ovirt Hosted-Engine HA setup. I am running on 2 ovirt hosts 
and 2 gluster nodes with replicated volumes. i already have VMs running on my 
hosts and they can migrate normally once i for example power off the host that 
they are running on. the problem is that the engine can't migrate once i switch 
off the host that hosts the engine. 




oVirt 3.4.3-1.el6 
KVM 0.12.1.2 - 2.415.el6_5.10 
LIBVIRT libvirt-0.10.2-29.el6_5.9 
VDSM vdsm-4.14.17-0.el6 




right now, i have this result from hosted-engine --vm-status. 


BQ_BEGIN

File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main 
"__main__", fname, loader, pkg_name) 
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code 
exec code in run_globals 
File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py", 
line 111, in  
if not status_checker.print_status(): 
File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py", 
line 58, in print_status 
all_host_stats = ha_cli.get_all_host_stats() 
File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py", 
line 137, in get_all_host_stats 
return self.get_all_stats(self.StatModes.HOST) 
File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py", 
line 86, in get_all_stats 
constants.SERVICE_TYPE) 
File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", 
line 171, in get_stats_from_storage 
result = self._checked_communicate(request) 
File 
"/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", 
line 199, in _checked_communicate 
.format(message or response)) 
ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed:  

BQ_END


restarting ha-broker and ha-agent normalizes the status but eventually it would 
become "false" and then return to the result above. hope you guys could help me 
with this. 

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


Re: [ovirt-users] hosted engine deploy failed 3.5 centos 6.5 host FC20 vm

2014-10-30 Thread Finstrle, Ludek
http://lists.ovirt.org/pipermail/users/2014-October/028349.html
http://lists.ovirt.org/pipermail/users/2014-October/028348.html

Don't you have the same issue?

Cheers,

Luf

Alastair Neil píše v St 29. 10. 2014 v 15:58 -0400:
> OK I seem to be having some fundamental confusion about this
> migration.
> 
> 
> 
> 
> I have an existing ovirt 3.5 (upgraded from 3.4) setup with  a Data
> Center containing four clusters, 3 VM clusters for 3 differenc classes
> of CPU hosts (Penryn, Nehalem, and SandyBridge).  I also have a
>  gluster storage cluster.
> 
> 
> There are 4 storage domains, an Export domain (Export-Dom1) nfs v1,
> and ISO domain (Gluster-ISOs) posix FS v1, a Data domain (Gluster
> Data) GlusterFS V3, and a Data (Master) (Gluster-VM-Store) GlusterFS
> v3.
> 
> 
> As Gluster replica 2 is not considered adequate for the hosted-engine
> storage I created a volume in the gluster store and exported it as
> NFS.  This is what I planned to use as the storage pool for the hosted
> engine.  So far so good.
> 
> 
> I have tried the deployment several times now,  and it fails with the
> following:
> 
> 
> [ ERROR ] Cannot automatically add the host to cluster None:
> HTTP Status 401 
> [ ERROR ] Failed to execute stage 'Closing up': Cannot add the
> host to cluster None
> 
> 
> 2014-10-29 15:26:11 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
> add_host._closeup:502 Cannot add the host to cluster None
> Traceback (most recent call last):
>   File
> 
> "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/engine/add_host.py",
>  line 426, in _closeup
> ca_file=self.cert,
>   File "/usr/lib/python2.6/site-packages/ovirtsdk/api.py",
> line 154, in __init__
> url=''
>   File
> "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", 
> line 118, in request
> persistent_auth=self._persistent_auth)
>   File
> "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", 
> line 146, in __doRequest
> persistent_auth=persistent_auth
>   File
> "/usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py",
> line 134, in doRequest
> raise RequestError, response
> RequestError: 
> status: 401
> reason: Unauthorized
> detail: HTTP Status 401
> 2014-10-29 15:26:11 ERROR
> otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
> add_host._closeup:510 Cannot automatically add the host to 
> cluster None:
> HTTP Status 401
> 2014-10-29 15:26:11 DEBUG otopi.context
> context._executeMethod:152 method exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/otopi/context.py",
> line 142, in _executeMethod
> method['method']()
>   File
> 
> "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/engine/add_host.py",
>  line 517, in _closeup
> cluster=cluster_name,
> RuntimeError: Cannot add the host to cluster None
> 
> 
> 
> 
> The hosted-engine host cluster name it seems is set to "None", and
> then fails to add the host as there is no cluster "None" in the
> restored engine.  Presumably the storage domain would need to be added
> too, however I don't ever seem to see any message about this
> 
> 
> I recall being prompted for a data-center name and even a
> storage-domain name, but not a cluster name, so am I missing a step.
> I could use some guidance as I am stumped.  Is there some
> pre-migration tasks I am failing to do in the original engine?
>  
> 
> 
> 
> 
> 
> 
> .
> 
> On 29 October 2014 03:10, Jiri Moskovcak  wrote:
> On 10/27/2014 06:22 PM, Alastair Neil wrote:
> After belatedly realising that no engine for EL7 is
> planned for 3.5 I
> tried using FC20:
> 
> I used a database called engine with user engine on
> the VM to restore to.
> The engine-backup restore appeared to complete with no
> errors save the
> canonical complaint about less that 16GB of memory
> being available.
> However on completion the host the
> hosted-engine-deploy threw this error:
> 
> Failed to execute stage 'Closing up': The host
> name
> "ovirt-admin-hosted.x.xxx.edu
> "
> contained in the URL
> 
> doesn't match any of the names in the server
> certificate.
> 
> 
> from the setup log
> 
>  

Re: [ovirt-users] Add multiple files to a VM via cloud-init

2014-10-30 Thread Shahar Havivi
On 29.10.14 17:35, Branimir Pejakovic wrote:
> Hi list,
> 
> I was wondering is there a way to add multiple files to a vm via cloud-init
> using python SDK. I was able to add /etc/resolv.conf and additionally I
> would like to add config files for NICs (ifcfg-ethX) with appropriate
> values (ip,gw,netmask). I used an example given here:
> http://www.ovirt.org/Features/Cloud-Init_Integration . But unfortunately I
> cannot do the same thing If I want to write multiple files to a vm in
> params.Action class.
> 
> Thank you in advance!
you can use the custom script text box in oVirts cloud-init section,
there you can add any cloud-init section - adding files examples can be found
here:
http://cloudinit.readthedocs.org/en/latest/topics/examples.html#writing-out-arbitrary-files

  Shahar Havivi.
> 
> 
> Best regards,
> 
> Branimir

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