Re: [Users] Configure VNC-Password timeout

2014-01-20 Thread Tomas Jelinek


- Original Message -
> From: "Sven Kieske" 
> To: "Users@ovirt.org List" 
> Sent: Monday, January 20, 2014 2:41:29 PM
> Subject: [Users] Configure VNC-Password timeout
> 
> Hi,
> 
> the default timeout for the vnc passwords
> is 2 Minutes. I'd like to reconfigure
> this.
> 
> Is there an engine-config value or is
> this hardcoded? How can this be changed?

It seems to be hardcoded on the frontend: 
VncConsoleModel.java:
...
private static final int TICKET_VALIDITY_SECONDS = 120;
...

I would say it would not hurt to have this configurable - could you please open 
a bug on this?

Thank you,
Tomas

> --
> 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
> ___
> 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: [Users] Spice-proxy questions

2014-01-24 Thread Tomas Jelinek
Hi David,

if you use the "Native client" option in the console options dialog and 
download the .vv file,
it should contain something like:
proxy=someProxy

Does it? If it does, maybe it is some problem with the proxy configuration...

> What's the "someProxy" supposed to be? 

The proxy has to follow the following form: [protocol://][:port]

The proxy string may be specified with a protocol:// prefix to specify 
alternative proxy protocols. If no protocol is specified in the proxy string or 
if the string doesn't match a supported one, the proxy will be treated as a 
HTTP proxy.

Tomas

- Original Message -
> From: "David Li" 
> To: "Itamar Heim" , users@ovirt.org
> Sent: Friday, January 24, 2014 12:37:48 AM
> Subject: Re: [Users] Spice-proxy questions
> 
> Still not working.
> 
> I believe spice-proxy has setup on the engine:
> 
> SpiceUsbAutoShare: true version: general
> SpiceProxyDefault: myProxy version: general
> ClientModeSpiceDefault: Auto version: general
> 
> In the web portal, I also see "Enable SPICE Proxy" checked under "SPICE
> options".
> 
> But no matter what method I use under "Console Invocation",  nothing works.
> It's either fail to connect to the graphics server or show a blank browser
> window.
> 
> David
> 
> 
> - Original Message -
> > From: Itamar Heim 
> > To: David Li ; "users@ovirt.org" 
> > Cc:
> > Sent: Thursday, January 23, 2014 1:01 PM
> > Subject: Re: [Users] Spice-proxy questions
> > 
> > On 01/23/2014 10:05 PM, David Li wrote:
> >>  Hi,
> >> 
> >>  It looks like my only option to get a console is using spice-proxy as in
> > http://www.ovirt.org/Features/Spice_Proxy
> >> 
> >>  However I am not sure how to make it work. I have installed all three
> > required packages on the engine (3.3.2). And my engine-config shows:
> >> 
> >> 
> >>  [root@xyz ~]# engine-config -a | grep Spice
> >>  EnableSpiceRootCertificateValidation: true version: general
> >>  SpiceReleaseCursorKeys: shift+f12 version: general
> >>  SpiceSecureChannels: smain,sinputs version: 3.0
> >>  SpiceSecureChannels:
> > smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard
> > version:
> > 3.1
> >>  SpiceSecureChannels:
> > smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard
> > version:
> > 3.2
> >>  SpiceSecureChannels:
> > smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard
> > version:
> > 3.3
> >>  SpiceToggleFullScreenKeys: shift+f11 version: general
> >>  SpiceUsbAutoShare: true version: general
> >>  SpiceProxyDefault:  version: general
> > 
> > i don't remember the details, but i assume SpiceProxyDefault should not
> > be empty, set it with engine-config -s SpiceProxyDefault
> > 
> > engine-config.properties:SpiceProxyDefault.description='Default proxy
> > used by SPICE client to connect to the
> > 
> > 
> >>  ClientModeSpiceDefault: Auto version: general
> >> 
> >> 
> >>  The problem is that on my web portal, I don't see any "Enable
> > SPICE Proxy" box that I can check.
> >> 
> >>  Anyone knows why?
> >> 
> >>  Thanks.
> >> 
> >>  David
> >> 
> >>  ___
> >>  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: [Users] Notes on setting up spice-proxy console option

2014-01-30 Thread Tomas Jelinek


- Original Message -
> From: "David Li" 
> To: "Marian Krcmarik" 
> Cc: users@ovirt.org
> Sent: Thursday, January 30, 2014 11:44:40 PM
> Subject: Re: [Users] Notes on setting up spice-proxy console option
> 
> Hi Marian,
> 
> Here is what I found and with more questions on this SHIFT+F12 issue:
> 
> 
> - Original Message -
> > From: Marian Krcmarik 
> > To: David Li 
> > Cc: users@ovirt.org
> > Sent: Wednesday, January 29, 2014 5:51 AM
> > Subject: Re: [Users] Notes on setting up spice-proxy console option
> > 
> > 
> 
> > 
> > It should work, You mentioned you used RHEL/CentOS 6.5 as the client (what
> > you
> > call Browser) machine, In that case Can you edit /etc/spice/logger.ini file
> > and
> > change in the line "log4j.rootCategory=INFO, R" INFO to DEBUG? Restart
> > Firefox, make connection to the VM and check ~/.spicec/spice-xpi.log file
> > for
> > line "DEBUG nsPluginInstance::SetHotKeys:
> > release-cursor=shift+f12,toggle-fullscreen=shift+f11" (looking for value of
> > "release-cursor"). If the value is not shift+f12, can you check value
> > of "SpiceReleaseCursorKeys" on the engine with using ovirt-config
> > tool? If the value is shift-f12, can you run on the VM, xev tool and check
> > what
> > keys It can see pressed when pressing shift-f12 combo?
> > 
> 
> 
> 
> 1. I changed the logger.init as you suggested, restrated firefox and launch
> the spice console.
> 2. I looked at the spice-xpi.log file but didn't find any trace of
> "release-cursor"

One more way to check this is to change the "console invocation" in "console 
options dialog" to "Native client"
and than try to connect. It will attempt to download a .vv file. If you will 
have it, 
you could open it and look for a line like like:

release-cursor=shift+f12

If it contains it, you can try to connect from command line using this file 
like:

remote-viewer path_to_console.vv

If it does not, it is either misconfigured "SpiceReleaseCursorKeys" or an 
engine bug.

Anyway, you can try to manually edit the console.vv file and add the 
"release-cursor=shift+f12" line
and try to connect using the remote-viewer again if it works this way.

This way we will at least find out if the problem is in engine or SPICE or 
configuration.

Thanx,
Tomas

> 3. ON the engine machine, I have: SpiceReleaseCursorKeys: shift+f12 version:
> general
> 4. What's the xev tool on the VM you want me to run? I can't find such a
> command.
> 
> 
> Thanks.
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Spice proxy test day support

2014-02-12 Thread Tomas Jelinek
Thank you Doron!

I will update the wiki soon.

Tomas

- Original Message -
> From: "Doron Fediuck" 
> To: "users" , "engine-devel" 
> Cc: "Tomas Jelinek" 
> Sent: Tuesday, February 11, 2014 5:42:49 PM
> Subject: Spice proxy test day support
> 
> Hi all,
> I was testing this feature today and would like to summarize my findings;
> 
> 1. Feature page
> http://www.ovirt.org/Features/Spice_Proxy
> 
> Quite informative. Nevertheless things we should improve:
> 
> - Please add a contact person in case of question / issues (feature owner?).
> 
> - Detail design? Nothing mentioned with regards to the implementation. This
>   could be in a separate page, but in such a case I'd add a link to that
>   page.
> 
> - Missing specific examples. ie- supported protocols:
> engine-config -s SpiceProxyDefault=http://my-ip:8080
> * Did you know that http is a default if no scheme stated?
> 
> All the above should make this cool feature more easy to use by
> non-developers.
> 
> 2. Test cases
> - System level (using engine-config)
> - Cluster level
> - VM-Pool level
> 
> For each of the above I configured a proxy, and on the proxy machine used:
> "nc -l 8080" to capture the traffic.
> 
> In all cases things worked quite nicely. I saw incoming connection request
> which is what I expected for.
> 
> 3. All-in-all:
> We have the functionality working which is the important part.
> Going forward we should try to improve some of the things I mentioned above.
> 
> Nice work,
> Doron
> 
> P.S.
> During my tests I managed to open 2 non-related bugs on engine-config and
> network QoS mapper (Class cast issue).
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] affects of changing compatibility setting on running cluster

2014-03-17 Thread Tomas Jelinek


- Original Message -
> From: "Omer Frenkel" 
> To: "Itamar Heim" , "Tomas Jelinek" 
> Cc: "Charles Weber" , "ybronhei" , 
> "Dan Kenigsberg" ,
> users@ovirt.org, "Eli Mesika" , "Sven Kieske" 
> 
> Sent: Sunday, March 16, 2014 10:04:12 AM
> Subject: Re: [Users] affects of changing compatibility setting on running 
> cluster
> 
> 
> 
> - Original Message -
> > From: "Itamar Heim" 
> > To: "Charles Weber" 
> > Cc: "ybronhei" , "Dan Kenigsberg" ,
> > users@ovirt.org, "Eli Mesika"
> > , "Sven Kieske" , "Omer Frenkel"
> > 
> > Sent: Friday, March 14, 2014 12:58:57 AM
> > Subject: Re: [Users] affects of changing compatibility setting on running
> > cluster
> > 
> > On 03/13/2014 05:33 PM, Charles Weber wrote:
> > >
> > > On Mar 12, 2014, at 5:14 PM, Itamar Heim  > > <mailto:ih...@redhat.com>> wrote:
> > >
> > >> On 03/12/2014 10:45 PM, ybronhei wrote:
> > >>> On 03/12/2014 04:33 PM, Itamar Heim wrote:
> > >>>> On 03/12/2014 04:32 PM, ybronhei wrote:
> > >>>>> On 03/12/2014 04:25 PM, Dan Kenigsberg wrote:
> > >>>>>> On Wed, Mar 12, 2014 at 10:15:21AM +0200, Itamar Heim wrote:
> > >>>>>>> On 03/12/2014 10:11 AM, Sven Kieske wrote:
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> Am 11.03.2014 17:38, schrieb Itamar Heim:
> > >>>>>>>>>
> > >>>>>>>>> i understood this to "you can't use 4.14 with 3.4.0".
> > >>>>>>>>
> > >>>>>>>> Well I examined BZ 1067096 again, this is what did not work:
> > >>>>>>>>
> > >>>>>>>> Steps to Reproduce:
> > >>>>>>>> 1.  Run Engine 3.3 Compatibility level 3.2 or 3.3
> > >>>>>>>> 2.  Add node (vdsm 4.14)
> > >>>>>>>>
> > >>>>>>>> Actual results:
> > >>>>>>>> Host is installed with VDSM version (4.14) and cannot join cluster
> > >>>>>>>> which
> > >>>>>>>> is compatible with VDSM versions [4.13, 4.9, 4.11, 4.12, 4.10].
> > >>>>>>>>
> > >>>>>>>> Pay attention to the engine version, it states 3.3. not 3.4.0
> > >>>>>>>>
> > >>>>>>>> So my conclusion is, you can't install vdsm 4.14. when you want
> > >>>>>>>> to use engine 3.3.
> > >>>>>>>>
> > >>>>>>>> Am I reading something wrong?
> > >>>>>>>>
> > >>>>>>>> Here's the link again:
> > >>>>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1067096#c0
> > >>>>>>>>
> > >>>>>>>
> > >>>>>>> this can be fixed via engine config, but is not supposed to be
> > >>>>>>> needed, as vdsm is supposed to have
> > >>>>>>> vdsm/dsaversion.py.in:'supportedENGINEs': ['3.0', '3.1', '3.2',
> > >>>>>>> '3.3', '3.4'],
> > >>>>>>>
> > >>>>>>> danken/eli - thoughts?
> > >>>>>>
> > >>>>>> I do not really understand why we have this recurrent Engine bug, of
> > >>>>>> ignoring supportedENGINEs; I think Yaniv does.
> > >>>>>>
> > >>>>>
> > >>>>> i recall asking for detailed explanation for why do we have 3
> > >>>>> different
> > >>>>> restrictions , one for supportedEngines, one for the allowed vdsm
> > >>>>> versions, and one for the cluster level?
> > >>>>>
> > >>>>> if vdsm version is supported why isn't it in engine's capabilities
> > >>>>> yet?
> > >>>>
> > >>>> because its a vdsm version which was released after that engine was
> > >>>> released, hence the vdsm package has to declare its supporting the old
> > >>>> engine.
> > >

Re: [Users] affects of changing compatibility setting on running cluster

2014-03-18 Thread Tomas Jelinek


- Original Message -
> From: "Charles Weber" 
> To: "Tomas Jelinek" 
> Cc: "Omer Frenkel" , users@ovirt.org, "Sven Kieske" 
> 
> Sent: Monday, March 17, 2014 8:44:09 PM
> Subject: Re: [Users] affects of changing compatibility setting on running 
> cluster
> 
> 
> On Mar 17, 2014, at 4:41 AM, Tomas Jelinek  wrote:
> 
> > 
> > 
> > - Original Message -
> >> From: "Omer Frenkel" 
> >> To: "Itamar Heim" , "Tomas Jelinek"
> >> 
> >> Cc: "Charles Weber" , "ybronhei"
> >> , "Dan Kenigsberg" ,
> >> users@ovirt.org, "Eli Mesika" , "Sven Kieske"
> >> 
> >> Sent: Sunday, March 16, 2014 10:04:12 AM
> >> Subject: Re: [Users] affects of changing compatibility setting on running
> >> cluster
> >> 
> >> 
> >> 
> >> - Original Message -
> >>> From: "Itamar Heim" 
> >>> To: "Charles Weber" 
> >>> Cc: "ybronhei" , "Dan Kenigsberg"
> >>> ,
> >>> users@ovirt.org, "Eli Mesika"
> >>> , "Sven Kieske" , "Omer
> >>> Frenkel"
> >>> 
> >>> Sent: Friday, March 14, 2014 12:58:57 AM
> >>> Subject: Re: [Users] affects of changing compatibility setting on running
> >>> cluster
> >>> 
> >>> On 03/13/2014 05:33 PM, Charles Weber wrote:
> >>>> 
> >>>> On Mar 12, 2014, at 5:14 PM, Itamar Heim  >>>> <mailto:ih...@redhat.com>> wrote:
> >>>> 
> >>>>> On 03/12/2014 10:45 PM, ybronhei wrote:
> >>>>>> On 03/12/2014 04:33 PM, Itamar Heim wrote:
> >>>>>>> On 03/12/2014 04:32 PM, ybronhei wrote:
> >>>>>>>> On 03/12/2014 04:25 PM, Dan Kenigsberg wrote:
> >>>>>>>>> On Wed, Mar 12, 2014 at 10:15:21AM +0200, Itamar Heim wrote:
> >>>>>>>>>> On 03/12/2014 10:11 AM, Sven Kieske wrote:
> >>>>>>>>>>> 
> >>>>>>>>>>> 
> >>>>>>>>>>> Am 11.03.2014 17:38, schrieb Itamar Heim:
> >>>>>>>>>>>> 
> >>>>>>>>>>>> i understood this to "you can't use 4.14 with 3.4.0".
> >>>>>>>>>>> 
> >>>>>>>>>>> Well I examined BZ 1067096 again, this is what did not work:
> >>>>>>>>>>> 
> >>>>>>>>>>> Steps to Reproduce:
> >>>>>>>>>>> 1.  Run Engine 3.3 Compatibility level 3.2 or 3.3
> >>>>>>>>>>> 2.  Add node (vdsm 4.14)
> >>>>>>>>>>> 
> >>>>>>>>>>> Actual results:
> >>>>>>>>>>> Host is installed with VDSM version (4.14) and cannot join
> >>>>>>>>>>> cluster
> >>>>>>>>>>> which
> >>>>>>>>>>> is compatible with VDSM versions [4.13, 4.9, 4.11, 4.12, 4.10].
> >>>>>>>>>>> 
> >>>>>>>>>>> Pay attention to the engine version, it states 3.3. not 3.4.0
> >>>>>>>>>>> 
> >>>>>>>>>>> So my conclusion is, you can't install vdsm 4.14. when you want
> >>>>>>>>>>> to use engine 3.3.
> >>>>>>>>>>> 
> >>>>>>>>>>> Am I reading something wrong?
> >>>>>>>>>>> 
> >>>>>>>>>>> Here's the link again:
> >>>>>>>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1067096#c0
> >>>>>>>>>>> 
> >>>>>>>>>> 
> >>>>>>>>>> this can be fixed via engine config, but is not supposed to be
> >>>>>>>>>> needed, as vdsm is supposed to have
> >>>>>>>>>> vdsm/dsaversion.py.in:'supportedENGINEs': ['3.0', '3.1',
> >>>>>>>>>> '3.2',
> >>>>>>>>>> '3.3', '3.4'],
> >>>>>>>>>

Re: [Users] windows VM console

2014-04-03 Thread Tomas Jelinek
Hi Giorgio,

you can try this things:
- have a look at the webadmin at the edit VM dialog at the console->protocol
- right click the VM and select the Console Options and check there
- if nothing helps you can try a different browser or delete the browser data 
(since we persist the last selection on frontend and something could go wrong)

Tomas

- Original Message -
> From: "Giorgio Bersano" 
> To: "users@ovirt.org" 
> Sent: Thursday, April 3, 2014 5:08:33 PM
> Subject: [Users] windows VM console
> 
> Hi all,
> I recently imported in oVirt a Windows 2003R2 VM which previously ran
> on virt-manager/libvirt/KVM.
> All right (almost).
> The only weirdness is that I'm unable to have a VNC or SPICE console.
> 
> Clicking the green terminal icon in webadmin makes me download a .rdp
> file regardless of what I have set in the VM's definition.
> 
> Can anyone tell me what controls the production of a .rdp instead of a .vv?
> I think this has something to do with virt-v2v because other windows
> VM directly created in oVirt behave properly.
> 
> What could I investigate more? Which config file?
> 
> TIA,
> Giorgio.
> ___
> 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: [Users] inconsistent sign-on, inacurate cpu % -- new to ovirt, new installation, new vm, first vm

2014-04-06 Thread Tomas Jelinek


- Original Message -
> From: "Jeff Clay" 
> To: users@ovirt.org
> Sent: Saturday, April 5, 2014 6:30:11 AM
> Subject: [Users] inconsistent sign-on, inacurate cpu % -- new to ovirt, new 
> installation, new vm, first vm
> 
> I've noticed something inconsistent. When viewing the the console using
> virtviewer on windows, I open the .vv file and sometimes the display
> connection prompts me for a password, no user name, only password.
> Regardless of what password I enter, it isn't accepted. Sometimes, I don't
> get prompted for a password at all. Keep in mind, this is the only VM on
> this machine, it's not like I'm having different issues on different
> machines. Also, if it's relevant, I have SSO disabled for this VM.

Is it possible that you are opening an old .vv file with the password already 
expired?
Because it lasts only for about 120s after it is generated. If yes, please try 
to open the
.vv file itself have a look if the password field is properly filled in. If 
yes, please try to pass it to the virtviewer (when asks) directly.

> 
> Another issue, this vm has Windows 7 32-bit installed, configured for 2gb
> RAM, 1 socket 2 cores, yet when doing windows updates, the system resources
> shows the processor at constantly peaking to 100% on both graphs (both
> cores); yet, the CPU utilization in the ovirt webui doesn't go above 50%,
> almost like 50% = 100%.

This is really strange. May be an UI bug or some bug in reporting. Could you 
please make a REST call to get the statistics for that VM?
Something like: https://hostIP:port/ovirt-engine/api/vms//statistics

> 
> Any suggestions?
> 
> Thanks in advance. I'm sure I'm going to be bugging everyone with a lot of
> questions as I dig further into this.

welcome in list :)

> 
> ___
> 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] Question about power user and public template

2014-04-14 Thread Tomas Jelinek


- Original Message -
> From: "plysan" 
> To: users@ovirt.org
> Sent: Sunday, April 13, 2014 3:52:55 AM
> Subject: [ovirt-users] Question about power user and public template
> 
> Hi,
> 
> Currently I have run into a problem about permissions when creating vm from
> template.
> 
> Say if non admin user A in power user portal want to create vm from template
> C created by non admin user B, I found out that A need to have both power
> user role and userbasedtemplatevm role to make it work. If i only assign
> userbasedtemplatevm to C, A can only view the template in power user portal
> but not able to create vm from it.

I'd say the problem is that the template has some disks and as a 
"UserTemplateBasedVm" only you are
not allowed to "Access Image Storage Domains"?

For details about specific roles and what can be done by which role you can 
have a look at:
webadmin -> "Configure" in top right corner -> "Roles" side tab -> pick a 
specific role -> "Edit" button

> 
> So is this the expected behavior? I don't quite understand what
> userbasedtemplatevm is used for.  I noticed that making template C public
> have the effect of assign userbasedtemplatevm to everyone, but that seems
> not enough to let everyone use it.
> 
> My engine version is 3.3.4.
> 
> Any ideas? thanks for any help!
> ___
> 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] Question about power user and public template

2014-04-17 Thread Tomas Jelinek


- Original Message -
> From: "plysan" 
> To: "Tomas Jelinek" 
> Cc: "Users@ovirt.org List" 
> Sent: Wednesday, April 16, 2014 8:15:43 PM
> Subject: Re: [ovirt-users] Question about power user and public template
> 
> 2014-04-14 15:18 GMT+08:00 Tomas Jelinek :
> 
> >
> >
> > - Original Message -
> > > From: "plysan" 
> > > To: users@ovirt.org
> > > Sent: Sunday, April 13, 2014 3:52:55 AM
> > > Subject: [ovirt-users] Question about power user and public template
> > >
> > > Hi,
> > >
> > > Currently I have run into a problem about permissions when creating vm
> > from
> > > template.
> > >
> > > Say if non admin user A in power user portal want to create vm from
> > template
> > > C created by non admin user B, I found out that A need to have both power
> > > user role and userbasedtemplatevm role to make it work. If i only assign
> > > userbasedtemplatevm to C, A can only view the template in power user
> > portal
> > > but not able to create vm from it.
> >
> > I'd say the problem is that the template has some disks and as a
> > "UserTemplateBasedVm" only you are
> > not allowed to "Access Image Storage Domains"?
> >
> Thanks for pointing that out, I really didn't think the disk has
> permissions too :)
> 
> Because PowerUserRole has more permissions than UserTemplateBasedVm, so I
> think assigning PowerUserRole is enough to see the template in power user
> portal.  Based on this thought, I did the following two experiment:
> 
> 1. I assigned PowerUserRole to user A in Configure -> System Permissions,
> but after that I still cannot see template C in power user portal.
> The above role assignment result in user A having PowerUserRole inherited
> from System Permission, and based on [1], user A should have PowerUserRole
> on template C, right ?

yes, you should be able to verify this in the webadmin->template main 
tab->permissions subtab

> 
> 2. Now based on 1 if I explicitly add PowerUserRole to user A on template
> C, I can see template C and create vms from it.

but it should already be there. And also, since you have created the template 
as public "everyone" should have the 
"UserTemplateBasedVm" on it. You could verify this on the same subtab.

> 
> For my understanding, the above two role assignment should have the same
> result.
> 
> Any ideas?

so, if you have a template on which "everyone" has "UserTemplateBasedVm" and a 
user with "PowerUserRole" and you can not see it in the userportal,
it should be a bug. But for me it seems working on current upstream code... 

> 
> [1]:
> http://lists.ovirt.org/pipermail/engine-devel/2012-December/003229.html
> 
> 
> > For details about specific roles and what can be done by which role you
> > can have a look at:
> > webadmin -> "Configure" in top right corner -> "Roles" side tab -> pick a
> > specific role -> "Edit" button
> >
> > >
> > > So is this the expected behavior? I don't quite understand what
> > > userbasedtemplatevm is used for.  I noticed that making template C public
> > > have the effect of assign userbasedtemplatevm to everyone, but that seems
> > > not enough to let everyone use it.
> > >
> > > My engine version is 3.3.4.
> > >
> > > Any ideas? thanks for any help!
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> >
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] [ACTION REQUESTED] please review new oVirt look-and-feel patch

2014-04-23 Thread Tomas Jelinek
Hi Greg,

so I have compiled it. 
First of all it looks really nice!

I have tested it on FF 25 and it complains that the browser is not ideal, so 
maybe some of the things I have seen are not there on a proper browser...

Some issues I have found (will not provide screenshots just description. If you 
will need screenshot I will provide it):

crosscutting:
Checkboxes used to be chackable by clicking the label next to them, but with 
the new patch applied it is not working for me

specific:
- Host-> Network Interfaces subtab -> the table has broken layout (header is 
aligned to right and content to left)

- VM main tab -> Network interfaces subtab -> select a NIC -> right hand side 
table's header is broken
- VM main tab -> Snapshots subtab -> select a snapshot -> right hand side 
table's header is broken
- Storage main tab -> VM Import -> select VM -> Import -> select a snapshot -> 
subtab's (inside the dialog) table's header is broken
(this three are the same issue I would say...)

- VM main tab -> Permissions subtab -> add -> the search text textbox is 
different from the textboxes in other tabs
- Right click a running VM -> Console Options -> the dialog's action buttons 
are not aligned well (and also the text in them is not aligned well)

have a nice day,
Tomas

- Original Message -
> From: "Greg Sheremeta" 
> To: "users" , de...@ovirt.org
> Sent: Wednesday, April 23, 2014 5:34:43 AM
> Subject: [ovirt-devel] [ACTION REQUESTED] please review new oVirt 
> look-and-feel patch
> 
> Hi,
> 
> A while back, I sent out an email for the new oVirt look-and-feel feature
> [1]. The new look and feel patch is ready for both code and UI review. At
> this point we're not looking for design review, although you are welcome to
> suggest design improvements. I'm mostly looking for help regression testing
> the entire UI.
> 
> Especially if you're an oVirt *UI* developer, please download the patch and
> try it [2]. The patch introduces some new CSS globally, and I had to adjust
> many screens and dialogs. It's quite possible that there are dialogs that I
> don't know about, so if you maintain any especially-hidden dialogs, please
> try the patch and verify your dialogs look good.
> 
> And you can also just try out the patch to see the amazing new look and feel!
> 
> Thanks for your feedback.
> 
> Greg
> 
> [1] http://www.ovirt.org/Features/NewLookAndFeelPatternFlyPhase1
> [2] http://gerrit.ovirt.org/#/c/24594/
> 
> 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] KVM Import with Thin Provisioning

2017-05-29 Thread Tomas Jelinek
On Fri, May 26, 2017 at 9:09 PM, Alan Griffiths 
wrote:

> Hi,
>
> I don't seem to be able create thin provision disks when importing from
> KVM. Once import is complete the disk allocation policy is reported as
> thin, but the actual size is in fact slightly larger than the virtual size.
>
> For example, original qcow2 file size - 6G. Virtual size - 1024G. Imported
> actual size (according to Engine GUI) 1126G.
>
> Is this a known issue?
>

yes, this is a known issue. The fix depends on
https://bugzilla.redhat.com/show_bug.cgi?id=1332019 which will be available
only for oVirt 4.2 when we will able to consume it.

But in order to not to forget about it, could you please open a bug about
your issue?


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


Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1

2017-06-12 Thread Tomas Jelinek
On Mon, Jun 12, 2017 at 12:17 PM, James  wrote:

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

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


>
> Any info would be great!
>
> Regards,
> James
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1

2017-06-12 Thread Tomas Jelinek
On Mon, Jun 12, 2017 at 2:12 PM, Pavel Gashev  wrote:

> Can I update VMs compatibility version without restarting VMs?
>

yes, but it will be applied only after restart.


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

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


>
>
>
>
> *From: * on behalf of Tomas Jelinek <
> tjeli...@redhat.com>
> *Date: *Monday, 12 June 2017 at 14:15
> *To: *James 
> *Cc: *users 
> *Subject: *Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1
>
>
>
>
>
>
>
> On Mon, Jun 12, 2017 at 12:17 PM, James  wrote:
>
> We recently moved our oVirt cluster from 4.0 to 4.1 and have migrated
> all the hosts. The datacenter currently has a compatability setting of
> 4.1 but the cluster is still on 4.0. As cross-cluster migrations has
> been removed (no option anymore?) we aren't 100% sure how to get the
> cluster onto 4.1 whilst keeping the VMs online. Do we just change the
> compatibility version live and it "just works" or do we have to have
> downtime?
>
>
>
> yes, you just change the compatibility version. The VMs which are down
> will be automatically updated and work with the new cluster, the running
> ones will be marked with a "triangle" icon and will be automatically
> updated on restart of them.
>
>
>
>
> Any info would be great!
>
> Regards,
> James
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1

2017-06-13 Thread Tomas Jelinek
On Mon, Jun 12, 2017 at 6:30 PM, Pavel Gashev  wrote:

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

that's a nasty hack...


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

By online updating you mean hotplug? Or just normal update of fields which
don't need restart (like description)? Because both are possible even with
a next run snapshot.


>
>
>
>
> *From: *Tomas Jelinek 
> *Date: *Monday, 12 June 2017 at 16:42
> *To: *Pavel Gashev 
> *Cc: *James , users 
>
> *Subject: *Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1
>
>
>
>
>
>
>
> On Mon, Jun 12, 2017 at 2:12 PM, Pavel Gashev  wrote:
>
> Can I update VMs compatibility version without restarting VMs?
>
>
>
> yes, but it will be applied only after restart.
>
>
>
>
>
> According to the source code, restarting is required during upgrading to
> 4.1 only if a VM uses random generator device. If it doesn’t, a restart is
> not really required.
>
>
>
> right, but the VM will still be marked with this "next run configuration"
> and will be set to have the old compatibility version.
>
>
>
>
>
>
>
> *From: * on behalf of Tomas Jelinek <
> tjeli...@redhat.com>
> *Date: *Monday, 12 June 2017 at 14:15
> *To: *James 
> *Cc: *users 
> *Subject: *Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1
>
>
>
>
>
>
>
> On Mon, Jun 12, 2017 at 12:17 PM, James  wrote:
>
> We recently moved our oVirt cluster from 4.0 to 4.1 and have migrated
> all the hosts. The datacenter currently has a compatability setting of
> 4.1 but the cluster is still on 4.0. As cross-cluster migrations has
> been removed (no option anymore?) we aren't 100% sure how to get the
> cluster onto 4.1 whilst keeping the VMs online. Do we just change the
> compatibility version live and it "just works" or do we have to have
> downtime?
>
>
>
> yes, you just change the compatibility version. The VMs which are down
> will be automatically updated and work with the new cluster, the running
> ones will be marked with a "triangle" icon and will be automatically
> updated on restart of them.
>
>
>
>
> Any info would be great!
>
> Regards,
> James
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moVirt 2.0 RC 1 released!

2017-06-15 Thread Tomas Jelinek
you can have only one version installed...

On 15 Jun 2017 5:25 pm, "Gianluca Cecchi"  wrote:

> On Thu, Jun 15, 2017 at 4:06 PM, Filip Krepinsky 
> wrote:
>
>> Hia,
>>
>> the first RC of moVirt 2.0 has been released!
>>
>> You can get it from our GitHub [1]; the play store will be upgraded
>> after considered stable.
>>
>> The main feature of this release is a support for managing multiple oVirt
>> installations from one moVirt.
>>
>
> Nice!
> Do I have to deinstall current one to test it or can I install both
> versions together?
>
> Gianluca
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moVirt 2.0 RC 1 released!

2017-06-20 Thread Tomas Jelinek
On Thu, Jun 15, 2017 at 5:27 PM, Tomas Jelinek  wrote:

> you can have only one version installed...
>

...but Filip have opened an issue so you can have the non-stable releases
installed next to stable ones:
https://github.com/oVirt/moVirt/issues/280

We can do this for the next release.


>
> On 15 Jun 2017 5:25 pm, "Gianluca Cecchi" 
> wrote:
>
>> On Thu, Jun 15, 2017 at 4:06 PM, Filip Krepinsky 
>> wrote:
>>
>>> Hia,
>>>
>>> the first RC of moVirt 2.0 has been released!
>>>
>>> You can get it from our GitHub [1]; the play store will be upgraded
>>> after considered stable.
>>>
>>> The main feature of this release is a support for managing multiple
>>> oVirt installations from one moVirt.
>>>
>>
>> Nice!
>> Do I have to deinstall current one to test it or can I install both
>> versions together?
>>
>
btw have you tried it? any feedback?


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


Re: [ovirt-users] Access VM Console on a Smart Phone with User Permission

2017-06-20 Thread Tomas Jelinek
On Fri, Jun 16, 2017 at 6:14 AM, Jerome Roque 
wrote:

> Good day oVirt Users,
>
> I need some little help. I have a KVM and used oVirt for the management of
> VMs. What I want is that my client will log on to their account and access
> their virtual machine using their Smart phone. I tried to install mOvirt
> and yes can connect to the console of my machine, but it is only accessible
> for admin console.
>

moVirt originally worked both with admin and user permissions. We had to
remove the support for user permissions since the oVirt API did not provide
all features moVirt needed for user permissions (search for example). But
the API moved significantly since then (the search works also for users now
for one) so we can move it back. I have opened an issue about it:
https://github.com/oVirt/moVirt/issues/282 - we can try to do it in next
version.


> Tried to use web console, it downloaded console.vv but can't open it. By
> any chance could make this thing possible?
>

If you want to use a web console for users, I would suggest to try the new
ovirt-web-ui [1] - you have a link to it from oVirt landing page and since
4.1 it is installed by default with oVirt.

The .vv file can not be opened using aSPICE AFAIK - adding Iordan as the
author of aSPICE to comment on this.

[1]: https://github.com/oVirt/ovirt-web-ui


>
> Thank you,
> Jerome
>
> ___
> 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] HostedEngine VM not visible, but running

2017-06-22 Thread Tomas Jelinek
On Thu, Jun 22, 2017 at 12:38 PM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
> > On 22 Jun 2017, at 12:31, Martin Sivak  wrote:
> >
> > Tomas, what fields are needed in a VM to pass the check that causes
> > the following error?
> >
> > WARN  [org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
> > (org.ovirt.thread.pool-6-thread-23) [] Validation of action
> 'ImportVm'
> > failed for user SYSTEM. Reasons: VAR__ACTION__IMPORT
> > ,VAR__TYPE__VM,ACTION_TYPE_FAILED_ILLEGAL_VM_DISPLAY_
> TYPE_IS_NOT_SUPPORTED_BY_OS
>
> to match the OS and VM Display type;-)
> Configuration is in osinfo….e.g. if that is import from older releases on
> Linux this is typically caused by the cahgen of cirrus to vga for non-SPICE
> VMs
>

yep, the default supported combinations for 4.0+ is this:
os.other.devices.display.protocols.value =
spice/qxl,vnc/vga,vnc/qxl,vnc/cirrus


>
> >
> > Thanks.
> >
> > On Thu, Jun 22, 2017 at 12:19 PM, cmc  wrote:
> >> Hi Martin,
> >>
> >>>
> >>> just as a random comment, do you still have the database backup from
> >>> the bare metal -> VM attempt? It might be possible to just try again
> >>> using it. Or in the worst case.. update the offending value there
> >>> before restoring it to the new engine instance.
> >>
> >> I still have the backup. I'd rather do the latter, as re-running the
> >> HE deployment is quite lengthy and involved (I have to re-initialise
> >> the FC storage each time). Do you know what the offending value(s)
> >> would be? Would it be in the Postgres DB or in a config file
> >> somewhere?
> >>
> >> Cheers,
> >>
> >> Cam
> >>
> >>> Regards
> >>>
> >>> Martin Sivak
> >>>
> >>> On Thu, Jun 22, 2017 at 11:39 AM, cmc  wrote:
>  Hi Yanir,
> 
>  Thanks for the reply.
> 
> > First of all, maybe a chain reaction of :
> > WARN  [org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
> > (org.ovirt.thread.pool-6-thread-23) [] Validation of action
> 'ImportVm'
> > failed for user SYSTEM. Reasons: VAR__ACTION__IMPORT
> > ,VAR__TYPE__VM,ACTION_TYPE_FAILED_ILLEGAL_VM_DISPLAY_
> TYPE_IS_NOT_SUPPORTED_BY_OS
> > is causing the hosted engine vm not to be set up correctly  and
> further
> > actions were made when the hosted engine vm wasnt in a stable state.
> >
> > As for now, are you trying to revert back to a previous/initial
> state ?
> 
>  I'm not trying to revert it to a previous state for now. This was a
>  migration from a bare metal engine, and it didn't report any error
>  during the migration. I'd had some problems on my first attempts at
>  this migration, whereby it never completed (due to a proxy issue) but
>  I managed to resolve this. Do you know of a way to get the Hosted
>  Engine VM into a stable state, without rebuilding the entire cluster
>  from scratch (since I have a lot of VMs on it)?
> 
>  Thanks for any help.
> 
>  Regards,
> 
>  Cam
> 
> > Regards,
> > Yanir
> >
> > On Wed, Jun 21, 2017 at 4:32 PM, cmc  wrote:
> >>
> >> Hi Jenny/Martin,
> >>
> >> Any idea what I can do here? The hosted engine VM has no log on any
> >> host in /var/log/libvirt/qemu, and I fear that if I need to put the
> >> host into maintenance, e.g., to upgrade it that I created it on
> (which
> >> I think is hosting it), or if it fails for any reason, it won't get
> >> migrated to another host, and I will not be able to manage the
> >> cluster. It seems to be a very dangerous position to be in.
> >>
> >> Thanks,
> >>
> >> Cam
> >>
> >> On Wed, Jun 21, 2017 at 11:48 AM, cmc  wrote:
> >>> Thanks Martin. The hosts are all part of the same cluster.
> >>>
> >>> I get these errors in the engine.log on the engine:
> >>>
> >>> 2017-06-19 03:28:05,030Z WARN
> >>> [org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
> >>> (org.ovirt.thread.pool-6-thread-23) [] Validation of action
> 'ImportVm'
> >>> failed for user SYST
> >>> EM. Reasons:
> >>> VAR__ACTION__IMPORT,VAR__TYPE__VM,ACTION_TYPE_FAILED_
> ILLEGAL_VM_DISPLAY_TYPE_IS_NOT_SUPPORTED_BY_OS
> >>> 2017-06-19 03:28:05,030Z INFO
> >>> [org.ovirt.engine.core.bll.exportimport.ImportVmCommand]
> >>> (org.ovirt.thread.pool-6-thread-23) [] Lock freed to object
> >>> 'EngineLock:{exclusiveLocks='[a
> >>> 79e6b0e-fff4-4cba-a02c-4c00be151300= >>> ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName HostedEngine>,
> >>> HostedEngine=]',
> >>> sharedLocks=
> >>> '[a79e6b0e-fff4-4cba-a02c-4c00be151300= >>> ACTION_TYPE_FAILED_VM_IS_BEING_IMPORTED$VmName HostedEngine>]'}'
> >>> 2017-06-19 03:28:05,030Z ERROR
> >>> [org.ovirt.engine.core.bll.HostedEngineImporter]
> >>> (org.ovirt.thread.pool-6-thread-23) [] Failed importing the Hosted
> >>> Engine VM
> >>>
> >>> The sanlock.log reports conflicts on that same host, and a
> different
> >>> error on

Re: [ovirt-users] Access VM Console on a Smart Phone with User Permission

2017-06-27 Thread Tomas Jelinek
On Tue, Jun 27, 2017 at 10:13 AM, Jerome Roque 
wrote:

> Hi Tomas,
>
> Thanks for your response. What do you mean by "removing the support for
> user permissions"? I'm using
>

The oVirt permission model expects to be told explicitly by one header if
the logged in user has some admin permissions or not. In the past the API
behaved differently in this two cases so we needed to remove the option to
use it without admin permissions.

Now the situation is better so we may be able to bring this support back,
but it will require some testing.


> the latest version of moVirt 1.7.1, and ovirt-engine 4.1.
> Is there anyone tried running user role in moVirt?
>

you will get permission denied from the API if you try to log in with a
user which has no admin permission. If you give him any admin permission on
any resource, it might work as a workaround.


>
> Best Regards,
> Jerome
>
> On Tue, Jun 20, 2017 at 5:14 PM, Tomas Jelinek 
> wrote:
>
>>
>>
>> On Fri, Jun 16, 2017 at 6:14 AM, Jerome Roque 
>> wrote:
>>
>>> Good day oVirt Users,
>>>
>>> I need some little help. I have a KVM and used oVirt for the management
>>> of VMs. What I want is that my client will log on to their account and
>>> access their virtual machine using their Smart phone. I tried to install
>>> mOvirt and yes can connect to the console of my machine, but it is only
>>> accessible for admin console.
>>>
>>
>> moVirt originally worked both with admin and user permissions. We had to
>> remove the support for user permissions since the oVirt API did not provide
>> all features moVirt needed for user permissions (search for example). But
>> the API moved significantly since then (the search works also for users now
>> for one) so we can move it back. I have opened an issue about it:
>> https://github.com/oVirt/moVirt/issues/282 - we can try to do it in next
>> version.
>>
>>
>>> Tried to use web console, it downloaded console.vv but can't open it. By
>>> any chance could make this thing possible?
>>>
>>
>> If you want to use a web console for users, I would suggest to try the
>> new ovirt-web-ui [1] - you have a link to it from oVirt landing page and
>> since 4.1 it is installed by default with oVirt.
>>
>> The .vv file can not be opened using aSPICE AFAIK - adding Iordan as the
>> author of aSPICE to comment on this.
>>
>> [1]: https://github.com/oVirt/ovirt-web-ui
>>
>>
>>>
>>> Thank you,
>>> Jerome
>>>
>>> ___
>>> 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] Access VM Console on a Smart Phone with User Permission

2017-06-27 Thread Tomas Jelinek
On Tue, Jun 27, 2017 at 12:08 PM, Jerome R  wrote:

> I tried this workaround, I tried to logon the user acct to moVirt with 1
> of the admin permission resources, it works I can access to the VM assigned
> however I'm able to see what Admin can see in the portal though not able to
> perform action. So far that's one of my concern the user should be able to
> see just his/her VM assigned.
>

yes, this is a consequence of using the admin API - you can see all the
entities and do actions only on the ones you have explicit rights to.

Unfortunately, until the https://github.com/oVirt/moVirt/issues/282 is
done, there is nothing better I can offer you.

We can try to give that item a priority, just need to get the current RC
out of the door (hopefully soon).


>
> Thanks,
> Jerome
>
> On Tue, Jun 27, 2017 at 3:20 PM, Tomas Jelinek 
> wrote:
>
>>
>>
>> On Tue, Jun 27, 2017 at 10:13 AM, Jerome Roque 
>> wrote:
>>
>>> Hi Tomas,
>>>
>>> Thanks for your response. What do you mean by "removing the support for
>>> user permissions"? I'm using
>>>
>>
>> The oVirt permission model expects to be told explicitly by one header if
>> the logged in user has some admin permissions or not. In the past the API
>> behaved differently in this two cases so we needed to remove the option to
>> use it without admin permissions.
>>
>> Now the situation is better so we may be able to bring this support back,
>> but it will require some testing.
>>
>>
>>> the latest version of moVirt 1.7.1, and ovirt-engine 4.1.
>>> Is there anyone tried running user role in moVirt?
>>>
>>
>> you will get permission denied from the API if you try to log in with a
>> user which has no admin permission. If you give him any admin permission on
>> any resource, it might work as a workaround.
>>
>>
>>>
>>> Best Regards,
>>> Jerome
>>>
>>> On Tue, Jun 20, 2017 at 5:14 PM, Tomas Jelinek 
>>> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Jun 16, 2017 at 6:14 AM, Jerome Roque 
>>>> wrote:
>>>>
>>>>> Good day oVirt Users,
>>>>>
>>>>> I need some little help. I have a KVM and used oVirt for the
>>>>> management of VMs. What I want is that my client will log on to their
>>>>> account and access their virtual machine using their Smart phone. I tried
>>>>> to install mOvirt and yes can connect to the console of my machine, but it
>>>>> is only accessible for admin console.
>>>>>
>>>>
>>>> moVirt originally worked both with admin and user permissions. We had
>>>> to remove the support for user permissions since the oVirt API did not
>>>> provide all features moVirt needed for user permissions (search for
>>>> example). But the API moved significantly since then (the search works also
>>>> for users now for one) so we can move it back. I have opened an issue about
>>>> it: https://github.com/oVirt/moVirt/issues/282 - we can try to do it
>>>> in next version.
>>>>
>>>>
>>>>> Tried to use web console, it downloaded console.vv but can't open it.
>>>>> By any chance could make this thing possible?
>>>>>
>>>>
>>>> If you want to use a web console for users, I would suggest to try the
>>>> new ovirt-web-ui [1] - you have a link to it from oVirt landing page and
>>>> since 4.1 it is installed by default with oVirt.
>>>>
>>>> The .vv file can not be opened using aSPICE AFAIK - adding Iordan as
>>>> the author of aSPICE to comment on this.
>>>>
>>>> [1]: https://github.com/oVirt/ovirt-web-ui
>>>>
>>>>
>>>>>
>>>>> Thank you,
>>>>> Jerome
>>>>>
>>>>> ___
>>>>> 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] moVirt 2.0 released!

2017-07-10 Thread Tomas Jelinek
On Tue, Jul 4, 2017 at 11:13 AM, Karli Sjöberg  wrote:

>
>
> Den 30 juni 2017 6:56 em skrev Filip Krepinsky :
>
> Hello everyone,
>
> moVirt 2.0 has just been released and should arrive to your devices soon!
> You can also get the apk from our GitHub [1].
>
> The main feature of this release is managing multiple oVirt installations
> + many other cool features [2].
>
> Thanks everybody who helped with testing and especially big thanks to
> Shira who gave us lots of valuable input.
>
> Have a nice day
> Filip
>
> [1]: https://github.com/oVirt/moVirt/releases/tag/v2.0
> [2]: https://github.com/oVirt/moVirt/wiki/Changelog
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> Hi!
>
> Been using the new version since release and haven't found anything wrong
> with it in my light day-to-day use. Good job!
>

great, thank you for the feedback!


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


Re: [ovirt-users] Snapshot removal

2017-09-27 Thread Tomas Jelinek
On Wed, Sep 27, 2017 at 8:26 AM, Yaniv Kaul  wrote:

>
>
> On Fri, Sep 22, 2017 at 12:01 PM, Lionel Caignec  wrote:
>
>> Hi,
>>
>> i'm wondering if it possible to delete at same time snapshots of
>> differents VM ? Or is it necessary to do it only one at a time?
>>
>
> There should not be an issue deleting them at the same time.
>

well, yes, but you can not multiselect 20 snapshots from 10 different VMs
and press "remove" in the current UI. I believe this is what the question
was about.


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


Re: [ovirt-users] oVirt 4.2 alpha upgrade failed

2017-09-28 Thread Tomas Jelinek
Hey Brett,

That is strange - it looks like you have some VM which has memory size
larger than the max memory size.

You need to go over your VMs / templates to find which one has this wrong
config and change it.
Alternatively, to find it faster if you have many vms/templates, you could
run this SQL query against your engine database:
select vm_name from vm_static where mem_size_mb > max_memory_size_mb;

Tomas

On Thu, Sep 28, 2017 at 6:07 PM, Maton, Brett 
wrote:

> Upgrading from oVirt 4.1.7
>
> hosted-engine VM:
> 4GB RAM
>
> hosted-engine setup failed, setup log shows this error:
>
> Running upgrade sql script '/usr/share/ovirt-engine/
> dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql'...
>
> 2017-09-28 16:56:22,951+0100 DEBUG 
> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
> plugin.execute:926 execute-output: 
> ['/usr/share/ovirt-engine/dbscripts/schema.sh',
> '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l',
> '/var/log/ovirt-engine/setup/ovirt-engine-setup-20170928164338-0rkilb.log',
> '-c', 'apply'] stderr:
> psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_
> add_max_memory_constraint.sql:2: ERROR:  check constraint
> "vm_static_max_memory_size_lower_bound" is violated by some row
> FATAL: Cannot execute sql command: --file=/usr/share/ovirt-
> engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql
>
> 2017-09-28 16:56:22,951+0100 ERROR 
> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
> schema._misc:374 schema.sh: FATAL: Cannot execute sql command:
> --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_
> 02_0140_add_max_memory_constraint.sql
> 2017-09-28 16:56:22,952+0100 DEBUG otopi.context
> context._executeMethod:143 method exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in
> _executeMethod
> method['method']()
>   File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-
> engine-setup/ovirt-engine/db/schema.py", line 376, in _misc
> raise RuntimeError(_('Engine schema refresh failed'))
> RuntimeError: Engine schema refresh failed
>
>
>
> What's the minimum RAM required now ?
>
> Regards,
> Brett
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issues with Windows 7 VM

2017-10-12 Thread Tomas Jelinek
could you please share the engine logs and the vdsm, libvirt and qemu logs
from the host where it tried and failed to start?

On Thu, Oct 5, 2017 at 3:29 PM, Marc Turner  wrote:

> Hello,
>
> I'm a Systems Administrator at Wolfram Research, and we've been having an
> issue with a Windows 7 x64 VM.  This is a new VM with a newly created
> Cinder VM image attached to it, which was working without issue last week.
> Earlier today I performed a Windows update and shutdown the VM.  When
> trying to start it back up, it does nothing but fail with the message
> "Failed to start VM on host.  We have several VM hosts set up, so it will
> bounce around between a few of them, failing each time before giving up
> entirely.
>
> Myself and another SysAdmin have looked through the logs and have not been
> able to find any reason as to why this VM won't start.  No other VM's are
> having problems, and Cinder is working correctly.  If you would have any
> idea as to why this is happening, or where we could look to figure out what
> may be going on, it would be much appreciated.
>
> Thank you,
>
> Marc Turner
> Systems Administrator
> Wolfram Research
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Host fencing issues

2017-10-12 Thread Tomas Jelinek
can you please provide some logs to the issue?
/var/log/ovirt-engine/engine.log from engine machine and
/var/log/vdsm/vdsm.log from the affected host would be great start.

thank you

On Fri, Oct 13, 2017 at 2:47 AM, Fernando Fuentes 
wrote:

> Hello Team,
>
> I updated one of my host on my cluster and after it finish and try to
> activate the host it quickly claimed that the host was unresponsive and
> it fenced the host... Now every time I try to activate the host it
> clames that is unresponsive and proceeds to fence it... This was not
> happening before the update
> The host is reachable with no problems nor issues...
>
> Any ideas?
>
> Centos 7.4 x86_64 host.
> Attached is the vdsm log
>
> engine is oVirt Engine Version: 4.0.2.6-1.el7.centos
>
> Regards,
>
> --
> Fernando Fuentes
> ffuen...@txweather.org
> http://www.txweather.org
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [Devel] Proposing Roy Golan as VDSM Fake maintainer

2014-11-06 Thread Tomas Jelinek
Hi,

I would like to propose Roy Golan as VDSM Fake (http://www.ovirt.org/VDSM_Fake) 
co-maintainer.

Your response would be appreciated.

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


Re: [ovirt-users] Migration Progress Bar not updating

2014-11-19 Thread Tomas Jelinek


- Original Message -
> From: "s k" 
> To: "Omer Frenkel" 
> Cc: users@ovirt.org
> Sent: Wednesday, November 19, 2014 11:25:13 AM
> Subject: Re: [ovirt-users] Migration Progress Bar not updating
> 
> One of the migrations took about 1 minute and the progress bar was never
> updated.

did you have the browser with webadmin focused? It lowers the update frequency 
when you focus some other window.
Also, could you please provide VDSM logs from such migration?
thanx,
Tomas

> 
> > Date: Wed, 19 Nov 2014 04:46:30 -0500
> > From: ofren...@redhat.com
> > To: sokratis1...@outlook.com
> > CC: users@ovirt.org
> > Subject: Re: [ovirt-users] Migration Progress Bar not updating
> > 
> > 
> > 
> > - Original Message -
> > > From: "s k" 
> > > To: users@ovirt.org
> > > Sent: Wednesday, November 19, 2014 11:42:40 AM
> > > Subject: [ovirt-users] Migration Progress Bar not updating
> > > 
> > > Hi,
> > > 
> > > On oVirt 3.5.0, while doing a VM migration the progress bar always stays
> > > at
> > > 0%. I tried it on different browsers (Chrome,IE,Firefox) and the behavior
> > > is
> > > the same.
> > > 
> > > Any ideas about this?
> > > 
> > > Thanks,
> > > 
> > > Sokratis
> > 
> > how much time does the migration take?
> > you need to remember engine get statistics updates every 10sec from vdsm
> > and ui refresh every 5sec
> > 
> > > 
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > > 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2015-01-05 Thread Tomas Jelinek
Hi iordan,

sorry for the long response time - it was Christmas... ;)

As I see in the 
https://github.com/iiordanov/remote-desktop-clients/blob/master/eclipse_projects/bVNC/AndroidManifest.xml
 
the bVNC already has the support for calling it from outside using the intent 
mechanism but I don't understand how about aSPICE.
As I understand, aSPICE is based on bVNC but I don't understand how exactly do 
they relate. Does it use the same Manifest just renamed? What is the mimeType 
than?
If you could point me to a bit of documentation it would be great.

About calling aSPICE and bVNC from outside using the .vv file - as I understand 
it is not supported for now, right? For us it does not make too big difference 
if you support the data using URI or .vv file - even the .vv may be preferred, 
but we will survive URI as well.

One more question - does aSPICE support spice proxy?

Thank you,
Tomas

- Original Message -
> From: "i iordanov" 
> To: "users" , de...@ovirt.org
> Cc: "Sphoorti Joglekar" 
> Sent: Thursday, December 25, 2014 11:19:58 PM
> Subject: Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client
> 
> Hey guys,
> 
> Thanks for remembering about Opaque. For those who are not familiar
> with the project, it is an oVirt/RHEV graphics console client which
> supports the SPICE protocol so far. It uses libgovirt to connect to
> the oVirt/RHEV API. I also created a separate pure SPICE client
> (called aSPICE) for Android based on libspice.
> 
> It would be nice if I got more feedback from Red Hat developers, but
> you guys are probably as busy as I am :). The app is getting attention
> on Google Play and people are using it successfully for their
> installations, it seems.
> 
> I have plans to add the following features to Opaque, time permitting:
> 
> - Ability to edit default settings, so that people who connect with
> console.vv file will be able to configure Audio, keyboard layout, etc.
> - The ability to allocate VMs from a pool.
> - The ability to control Audio Playback and Recording separately.
> 
> I don't think Opaque needs to get portal-management functionality.
> 
> I was contacted by an intern working on movirt (Sphoorti Joglekar,
> cc-ed), asking whether I would be willing to support a URI Intent
> scheme that movirt can use to launch aSPICE. I think I already have a
> pretty well specified URI scheme that may work for the purpose, so
> we'll see how that goes. I am wondering whether it wouldn't be better
> to launch aSPICE or Opaque with a console.vv file instead, though. I
> guess the developers of movirt will have to consider both options.
> 
> At any rate, Opaque is far from dead. I'm security supporting it, I
> just don't find a lot of time to work on additional features.
> 
> I am cc-ing Brian Proffitt, because at one point we discussed setting
> up Opaque as a sub-project of oVirt. I don't know whether there is any
> interest for that in Red Hat, or any interest at all in supporting
> mobile clients for oVirt/RHEV, etc. It would be nice to hear an
> official stance on the topic.
> 
> Thanks!
> iordan
> 
> On Tue, Nov 4, 2014 at 10:17 AM, David Jaša  wrote:
> > The app in Google may be half year old but there is a movement in git
> > [1] and the author recently called for testing or comments on
> > spice-devel ML.
> >
> > David
> >
> > [1]
> > https://github.com/iiordanov/remote-desktop-clients/tree/master/eclipse_projects/Opaque
> >
> >
> > On Pá, 2014-10-31 at 07:56 +0100, Gianluca Cecchi wrote:
> >> 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...
>

Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-01-29 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Tomas Jelinek" 
> Cc: "Martin Betak" , "users" 
> Sent: Thursday, January 29, 2015 11:39:34 AM
> Subject: Re: [ovirt-users] [Users] A mobile monitoring application for oVirt
> 
> On Thu, Jan 29, 2015 at 11:18 AM, Tomas Jelinek  wrote:
> 
> >
> >
> > Hi Gianluca,
> >
> > the link to APK is not correct anymore, it was a very old version
> > containing quite nasty bugs and the development moved.
> > It is now much more stable but not yet officially released. But if you are
> > willing to test it, it would be great! Attaching the debug apk file you can
> > install on your phone.
> > It should work, but if not I can make you a signed apk...
> >
> >
> Thanks.
> OK, in the mean time I installed it on my Samsung S2 that comes with
> KitKat Beanstalk 4.4.4
> It's myself built, see here
> https://plus.google.com/105661760401324958761/posts/7b7tmu2shVj
> ;-)
> 
> This evening I'm going to try with my home based all-in-one 3.5.1 oVirt
> environment.

cool! can't wait for results :)

> Some preliminary questions:
> - is the application suitable for tablets too? I would like t test it on a
> Samsung Note Pro too (stock 4.4.2)

yes, it should work properly

> - can I connect to multiple environments (so define for example multiple
> configurations)?

no, not now. You have to be be connected to only one.

> - does it require dns resolving engine hostname, or will it work with ip
> based configurations?

it works both with IP and hostname - you just need to have the correct address 
filled :) Don't forget to add both the protocol and the actual path to api, 
e.g.:
https://192.168.122.12:443/ovirt-engine/api
and for username don't forget to add also the domain, e.g.
admin@internal

Than you can have problems with the SSL certificates - you have to either 
import your cert to the phone or just select "disable https" in the movirt 
settings - for home setup it is enough ;)
Also, please note that if you are connecting with admin@internal (or any other 
user with admin permissions), select the "Admin Privilege" in the settings - 
than you will be able to use the search queries and such.
If you decide to unselect it, you have to make sure that VMs are actually 
visible to the user from which you are connecting. And also, the search queries 
will not be available for you - it is a limitation of oVirt's REST API.

uau, I'm so excited that someone from the community is going to test it!

Tomas

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


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-01-29 Thread Tomas Jelinek


- Original Message -
> From: "Karli Sjöberg" 
> To: "Gianluca Cecchi" 
> Cc: "users" 
> Sent: Thursday, January 29, 2015 11:45:02 AM
> Subject: Re: [ovirt-users] [Users] A mobile monitoring application for oVirt
> 
> On Wed, 2015-01-28 at 19:07 +0100, Gianluca Cecchi wrote:
> > 
> > Il 03/apr/2014 16:37 "Martin Betak"  ha scritto:
> > 
> > > This is still under heavy development, but first usable version can
> > be found at [1]
> > 
> > [Snip]
> > 
> > > feature requests and general feedback are very welcome. You can file
> > any issues directly at [2].
> > 
> > [Snip]
> > 
> > > [1] https://github.com/matobet/moVirt/blob/master/moVirt/moVirt.apk
> > > [2] https://github.com/matobet/moVirt/issues
> > 
> > 
> > Hello
> > Are the above links yet the right ones to use for apk download/install
> > and issue tracking in case I want to test movirt?
> > Thanks
> > Gianluca
> > 
> > plain text document attachment (ATT1)
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> BTW, just curious, what about Lollipop? Does it work with the same app
> or must it be specifically built for the new version?

It should, but no one have tested it so far. Do you have a device with 
Lollipop? It would be so awesome if you could test it!

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


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-01-29 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Karli Sjöberg" 
> Cc: "Tomas Jelinek" , "Sphoorti Joglekar" 
> , "users"
> 
> Sent: Thursday, January 29, 2015 12:19:24 PM
> Subject: Re: [ovirt-users] [Users] A mobile monitoring application for oVirt
> 
> On Thu, Jan 29, 2015 at 12:11 PM, Karli Sjöberg 
> wrote:
> 
> >
> >
> > No, I spoke too soon, 'the attachment was removed'. Can you upload it
> > somewhere and paste the link?
> >
> >
> >
> If it's ok for Tomas and Sphoorti I can set a gdrive link for the apk
> Gianluca

Seen your mail too late - I have just uploaded it to github: [1]. There is a 
link now from the main github page [2]

Tomas

[1]: 
https://github.com/matobet/moVirt/blob/master/moVirt/moVirt-debug.apk?raw=true
[2]: https://github.com/matobet/moVirt
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-01-29 Thread Tomas Jelinek


- Original Message -
> From: "Karli Sjöberg" 
> To: "Tomas Jelinek" 
> Cc: "Gianluca Cecchi" , "Sphoorti Joglekar" 
> , "users"
> 
> Sent: Thursday, January 29, 2015 12:48:59 PM
> Subject: Re: [ovirt-users] [Users] A mobile monitoring application for oVirt
> 
> On Thu, 2015-01-29 at 06:28 -0500, Tomas Jelinek wrote:
> > 
> > - Original Message -
> > > From: "Gianluca Cecchi" 
> > > To: "Karli Sjöberg" 
> > > Cc: "Tomas Jelinek" , "Sphoorti Joglekar"
> > > , "users"
> > > 
> > > Sent: Thursday, January 29, 2015 12:19:24 PM
> > > Subject: Re: [ovirt-users] [Users] A mobile monitoring application for
> > > oVirt
> > > 
> > > On Thu, Jan 29, 2015 at 12:11 PM, Karli Sjöberg 
> > > wrote:
> > > 
> > > >
> > > >
> > > > No, I spoke too soon, 'the attachment was removed'. Can you upload it
> > > > somewhere and paste the link?
> > > >
> > > >
> > > >
> > > If it's ok for Tomas and Sphoorti I can set a gdrive link for the apk
> > > Gianluca
> > 
> > Seen your mail too late - I have just uploaded it to github: [1]. There is
> > a link now from the main github page [2]
> > 
> > Tomas
> > 
> > [1]:
> > https://github.com/matobet/moVirt/blob/master/moVirt/moVirt-debug.apk?raw=true
> > [2]: https://github.com/matobet/moVirt
> > >
> 
> Cool as fsck!:) Worked like a charm on my Nexus 4 and going to install
> it on my Nexus 7 tonight as well. Shame no SPICE but keep it up guys,
> that was great!

Cool, thanx for the review! :)

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


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-01-30 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Tomas Jelinek" 
> Cc: "Karli Sjöberg" , "Sphoorti Joglekar" 
> , "users"
> 
> Sent: Thursday, January 29, 2015 7:29:53 PM
> Subject: Re: [ovirt-users] [Users] A mobile monitoring application for oVirt
> 
> hello,
> using the ip address with "disable https" works to see events and such, but
> if I click on vm line (both if VM is powered on or off) movirt terminates.

this is strange - it seems we expect on a VM something what is not there... 
Could you please share the result of this?
curl -k -u 'admin@internal:' -H 'Filter: false' -H 
'Content-type: application/xml' -X GET https://:/ovirt-engine/api/vms
if it is failing on all VMs. Or .../vms/ in case it fails on one 
particular only.

> I only use admin@internal, giving him power user role access to the vm; in
> fact I can connect to it from user portal with admin@internal)
> If I download the certificate and then try to use https I get this error
> message when starting movirt and selecting load button:
> https://drive.google.com/file/d/0BwoPbcrMv8mvX2ZKUVdRUW5OLUU/view?usp=sharing

Have you imported the certificate to your phone? E.g. if you go in your phone to
Settings -> Security -> Trusted credentials -> user
do you see it there? If yes, and open it, you will see who has it been issued 
to. Than you have to configure in moVirt the same host address.

As I see in the screenshot you are going to engine using the IP and I'm pretty 
sure the cert has been issued to the hostname.
But in that case you have to setup the dns as you have written in some newer 
mail.

Tomas

> 
> any special thing to do with certificate?
> 
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-02-02 Thread Tomas Jelinek

- Gianluca Cecchi  wrote:
> On Sat, Jan 31, 2015 at 5:08 PM, Gianluca Cecchi 
> wrote:
> 
> >
> > Il 30/Gen/2015 09:05 "Tomas Jelinek"  ha scritto:
> > >
> > >
> > >
> > > - Original Message -
> > > > From: "Gianluca Cecchi" 
> > > > To: "Tomas Jelinek" 
> > > > Cc: "Karli Sjöberg" , "Sphoorti Joglekar" <
> > sphoorti.jogle...@gmail.com>, "users"
> > > > 
> > > > Sent: Thursday, January 29, 2015 7:29:53 PM
> > > > Subject: Re: [ovirt-users] [Users] A mobile monitoring application for
> > oVirt
> > > >
> > > > hello,
> > > > using the ip address with "disable https" works to see events and
> > such, but
> > > > if I click on vm line (both if VM is powered on or off) movirt
> > terminates.
> > >
> > > this is strange - it seems we expect on a VM something what is not
> > there... Could you please share the result of this?
> > > curl -k -u 'admin@internal:' -H 'Filter: false' -H
> > 'Content-type: application/xml' -X GET https://: > port>/ovirt-engine/api/vms
> > > if it is failing on all VMs. Or .../vms/ in case it fails on one
> > particular only.
> >
> > So I connected to another test infra where I have 3.5.0 engine on a CentOS
> > 6.5 system and a different system configured as host with centos 6.5 too.
> > Here I have dns in place so I used https and hostname of engine to
> > configure movirt.
> > I have 3 vms: c7desktop with CentOS 7 configured with desktop packages;
> > c7server with CentOS 7 configured as server and ubuntutrusty with Ubuntu
> > 14.04 as desktop.
> > I see all the three, but I can successfully connect only to c7desktop.
> > With the other two movirt terminates as in the previous test, both from
> > phone and tablet.
> > Both c7 systems are configured as rhel7_64 as os and both have agents
> > installed.
> > Same behaviour if vms are up or down: c7desktop  ok and the other 2 ko.
> > I can succesfully run your curl command against the c7 server (that
> > terminates movirt if I try to connect) and I get its long XML definition...
> > It is a pain to copy and paste from android terminal... can I use a PC to
> > run curl commands and send to you? Any log file generated by the app that I
> > can send you?
> > Gianluca
> >
> 
> 
> Just in case, you can find here below the link to a txt file containing
> output for curl with /vms only and then curl with
> /vms/b601debb-1636-4f99-aad3-59ad05dda744

Thank you! From the XML it seems that the size of the memory is bigger than the 
size of integer - and we are trying to parse it to int and it fails.

@Sphoorti - could you please check if it is indeed this problem and provide a 
patch if yes?

> 
> that is the id of c7server that causes movirt to terminate when trying to
> connect to it
> 
> https://drive.google.com/file/d/0BwoPbcrMv8mvbmJsTFlrN2l5R00/view?usp=sharing
> 
> Gianluca

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


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-02-02 Thread Tomas Jelinek


- Original Message -
> From: "Karli Sjöberg" 
> To: "Tomas Jelinek" 
> Cc: "Sphoorti Joglekar" , "users" 
> , "Gianluca Cecchi"
> 
> Sent: Monday, February 2, 2015 9:27:58 AM
> Subject: Re: [ovirt-users] [Users] A mobile monitoring application for oVirt
> 
> On Mon, 2015-02-02 at 09:23 +0100, Gianluca Cecchi wrote:
> > On Mon, Feb 2, 2015 at 9:10 AM, Tomas Jelinek 
> > wrote:
> > 
> > 
> > 
> > Thank you! From the XML it seems that the size of the memory
> > is bigger than the size of integer - and we are trying to
> > parse it to int and it fails.
> > 
> > @Sphoorti - could you please check if it is indeed this
> > problem and provide a patch if yes?
> > 
> > >
> > > that is the id of c7server that causes movirt to terminate
> > when trying to
> > > connect to it
> > >
> > >
> > 
> > https://drive.google.com/file/d/0BwoPbcrMv8mvbmJsTFlrN2l5R00/view?usp=sharing
> > >
> > > Gianluca
> > 
> > 
> > Ok, I'll test the patch when available.
> > In the mean time I registered same incorrect behavior after:
> > - updating my engine and y host to latest CentOS 6.6 + patches
> > - updating the 3.5.0 infra to latest 3.5.1
> > - using an ldap user instead of admin@internal
> > 
> > 
> > BTW: what are the permissions requirements for a user on a vm in
> > general to be able to see it and its status in movirt?
> > 
> > 
> > One note on usability:
> > using the smartphone (Samsung S2 has 4.3" display) I noticed that if I
> > connect to a VM, then the notification part related to it seems
> > somehow small in the bottom part of the display.
> > It would be nice to have a sort of ability to enlarge or dim it, so
> > that one could concentrate on vm events or vm status details depending
> > on his/her needs...
> > 
> > 
> > Gianluca
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> Similarly, coming with feedback about the app as such, I noticed that I
> was constantly logging out of the engine, even after shutting the app
> down, and even going through Settings -> Apps -> Show cached processes,
> and killing it, I was still logging out over and over again until I
> restarted the phone. Perhaps a button to manually connect/disconnect
> would be in order?

Hey, thanx for feedback!
well, currently the authentication part of movirt is pretty hacky - we are 
implementing a new one but not yet done. When implemented you will be able to 
enable/disable polling and also the login/logout will not happen at each 
request but only once and than the session will be re-used (e.g. no constant 
login/logout events). But it is not yet there, it is a pain, I know. The best 
you can do apart of restarting the phone is to enlarge the polling interval in 
the settings to level it will not be annoying.

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


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-02-02 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Tomas Jelinek" 
> Cc: "Sphoorti Joglekar" , "users" 
> , "Karli Sjöberg"
> 
> Sent: Monday, February 2, 2015 9:23:09 AM
> Subject: Re: [ovirt-users] [Users] A mobile monitoring application for oVirt
> 
> On Mon, Feb 2, 2015 at 9:10 AM, Tomas Jelinek  wrote:
> 
> >
> >
> > Thank you! From the XML it seems that the size of the memory is bigger
> > than the size of integer - and we are trying to parse it to int and it
> > fails.
> >
> > @Sphoorti - could you please check if it is indeed this problem and
> > provide a patch if yes?
> >
> > >
> > > that is the id of c7server that causes movirt to terminate when trying to
> > > connect to it
> > >
> > >
> > https://drive.google.com/file/d/0BwoPbcrMv8mvbmJsTFlrN2l5R00/view?usp=sharing
> > >
> > > Gianluca
> >
> > Ok, I'll test the patch when available.
> In the mean time I registered same incorrect behavior after:
> - updating my engine and y host to latest CentOS 6.6 + patches
> - updating the 3.5.0 infra to latest 3.5.1
> - using an ldap user instead of admin@internal

after this, have you un-selected in settings the "Admin Privilege"? Because 
oVirt's REST behaves differently when you send the "Filter: False" (e.g. you 
have admin privilege) and "Filter: True" header (e.g. don't have admin 
privilege). It is a duality in the oVirt's REST and we have to follow it in 
moVirt.

> 
> BTW: what are the permissions requirements for a user on a vm in general to
> be able to see it and its status in movirt?

Minimal possible. As soon as you can see the VM in user portal, you can see it 
in moVirt (but need to set the "admin privilege to false in settings). For 
example we have tested moVirt on cloudspin.me a lot and there we have only the 
"instance creator" role.

> 
> One note on usability:
> using the smartphone (Samsung S2 has 4.3" display) I noticed that if I
> connect to a VM, then the notification part related to it seems somehow
> small in the bottom part of the display.
> It would be nice to have a sort of ability to enlarge or dim it, so that
> one could concentrate on vm events or vm status details depending on
> his/her needs...

Sphoorti is now working on a patch where you will not have all this on one 
screen but it will look like this:
- pick a VM
- you will see only the VM details (e.g. memory size usage, OS, console etc) 
and 3 buttons:
- events, disks, network interfaces
- when clicking, it would open a new screen with the events/disks/nics

Would this be a solution?

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


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-02-02 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Sphoorti Joglekar" 
> Cc: "Tomas Jelinek" , "Karli Sjöberg" 
> , "users" 
> Sent: Tuesday, February 3, 2015 1:07:34 AM
> Subject: Re: [ovirt-users] [Users] A mobile monitoring application for oVirt
> 
> On Mon, Feb 2, 2015 at 9:43 PM, Sphoorti Joglekar <
> sphoorti.jogle...@gmail.com> wrote:
> 
> >
> > The patch is now available on https://github.com/matobet/moVirt
> > Thank you so much for being so supportive while testing moVirt.
> >
> > Looking forward for your feedback.
> >
> > Best Regards,
> > Sphoorti
> >
> >
> > hello,
> I confirm that now I'm able to correctly connect to all the three vms in
> this environment where I have dns in place.
> I also see that the icon at the right of the VM line has changed from
> "UP"/"DOWN" to a coloured triangle icon:  nicer
> And I confirm that the problem was the same for the other environment
> without dns in place where I have to use ip based information and disable
> https.
> In fact all the 4 VMs have >= 2Gb of ram configured and so the problem
> arose for all of them. Now I can click on all of them and see their
> information without crash of the app.

Cool!

> 
> I'm going to test other features.

BTW do you have any specific plans with moVirt? Any specific use case you are 
looking for? 
Or playing with it only out of curiosity?

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


Re: [ovirt-users] [Users] A mobile monitoring application for oVirt

2015-02-03 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Tomas Jelinek" 
> Cc: "Sphoorti Joglekar" , "Karli Sjöberg" 
> , "users"
> 
> Sent: Tuesday, February 3, 2015 9:18:14 AM
> Subject: Re: [ovirt-users] [Users] A mobile monitoring application for oVirt
> 
> On Tue, Feb 3, 2015 at 8:52 AM, Tomas Jelinek  wrote:
> 
> >
> >
> > BTW do you have any specific plans with moVirt? Any specific use case you
> > are looking for?
> > Or playing with it only out of curiosity?
> >
> 
> I think it could be a value added to be able to make online monitoring,
> combined with some complimentary monitoring/alerting solution (Nagios or
> such) already in place in an infrastructure.
> I have to test the console feature, especially in case of use from a tablet
> device.
> Is there any particular requirement on the oVirt infra and VM definition to
> test it?

only that you need to be able to see the display network of the hosts from your 
phone/tablet.

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


Re: [ovirt-users] Problem adding disk to VM

2015-02-03 Thread Tomas Jelinek


- Original Message -
> From: "Karli Sjöberg" 
> To: "Juan Jose" 
> Cc: users@ovirt.org
> Sent: Tuesday, February 3, 2015 10:43:09 AM
> Subject: Re: [ovirt-users] Problem adding disk to VM
> 
> On Tue, 2015-02-03 at 10:40 +0100, Juan Jose wrote:
> > Hello everybody,
> > 
> > 
> > Here I attach an "Add disk" option screenshot to show that the disk is
> > not added when I clieck "OK" button, nothing happen, the virtual disk
> > is not added and no error is showed.
> > 
> > 
> > Any suggestion,
> 
> And not just a browser caching issue? If you logout of the engine and
> clear all browser caches and shut the browser down, open it back up and
> log back into the engine, the disk(s) still aren´t there?

it seems more like an exception on frontend. Could you please do something like 
this:
- in firefox go to tools -> web developer -> web console
- when shown make sure the JS is selected
- now navigate to the add disk dialog and click OK
- the JS console should contain some strangely looking obfuscated javascript 
exception. If yes, it is a frontend bug

If you will see the exception please paste it here and also please tell us the 
exact version of your ovirt engine and the version of your browser so we can 
match the obfuscated stack trace to a real one.

thanx,
Tomas

> 
> /K
> 
> > 
> > 
> > Juanjo
> > 
> > 
> > On Mon, Feb 2, 2015 at 4:59 PM, Juan Jose  wrote:
> > Hello everybody,
> > 
> > 
> > I have oVirt Engine Version: 3.5.0.1-1.el6 in my installation
> > and when I create a new VM and try to add a virtual disk, the
> > engine does not add the virtual disk when I press OK button.
> > Any message is generated in engine.log file.
> > 
> > 
> > Is it a bug or any can give me some light about this issue?
> > 
> > 
> > Many thanks in advanced,
> > 
> > Juanjo.
> > 
> > 
> > 
> > plain text document attachment (ATT1)
> > ___
> > 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] Problem adding disk to VM

2015-02-03 Thread Tomas Jelinek


- Original Message -
> From: "Juan Jose" 
> To: "Tomas Jelinek" 
> Cc: "Karli Sjöberg" , users@ovirt.org
> Sent: Tuesday, February 3, 2015 11:29:15 AM
> Subject: Re: [ovirt-users] Problem adding disk to VM
> 
> Hello Tomas and Karli,
> 
> Yes it seems that it is a Javascript exception. After click OK in "Add
> disk" option I face this error in web console:

yeah, it is obviously a null pointer exception in frontend. I have just opened 
a bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1188591

Please go to that bug and try to include also some additional details of your 
configuration (e.g. storage type etc) and if possible please also provide a 
screenshot of the add disk dialog.

Until it gets fixed, you can add disks using the REST API or using cmd line 
tools

> 
> "Tue Feb 03 11:25:04 GMT+100 2015
> com.google.gwt.logging.client.LogConfiguration
> SEVERE: Exception caught: (TypeError) : d4(...) is null
> com.google.gwt.event.shared.UmbrellaException: Exception caught:
> (TypeError) : d4(...) is null
> at Unknown.$p(Unknown Source)
> at Unknown.fq(Unknown Source)
> at Unknown.NY(Unknown Source)
> at Unknown.QY(Unknown Source)
> at Unknown._X(Unknown Source)
> at Unknown.Rae(Unknown Source)
> at Unknown._ae(Unknown Source)
> at Unknown.PT(Unknown Source)
> at Unknown.Tae(Unknown Source)
> at Unknown.Awe(Unknown Source)
> at Unknown.mbe(Unknown Source)
> at Unknown.Ele(Unknown Source)
> at Unknown.hne/bne<(Unknown Source)
> at Unknown.Jr(Unknown Source)
> at Unknown.Mr(Unknown Source)
> at Unknown.Lr/<(Unknown Source)
> at Unknown.rv(Unknown Source)
> at Unknown.ewe(Unknown Source)
> at Unknown.fLj(Unknown Source)
> at Unknown.Awe(Unknown Source)
> at Unknown.mbe(Unknown Source)
> at Unknown.Ele(Unknown Source)
> at Unknown.hne/_me<(Unknown Source)
> at Unknown.Jr(Unknown Source)
> at Unknown.Mr(Unknown Source)
> at Unknown.Lr/<(Unknown Source)
> at Unknown.anonymous(Unknown Source)
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) :
> d4(...) is null
> at Unknown.t9n(Unknown Source)
> at Unknown.Gko(Unknown Source)
> at Unknown.cao(Unknown Source)
> at Unknown.xKj(Unknown Source)
> at Unknown.c6i(Unknown Source)
> at Unknown.iU(Unknown Source)
> at Unknown.jY(Unknown Source)
> at Unknown._X(Unknown Source)
> at Unknown.Rae(Unknown Source)
> at Unknown._ae(Unknown Source)
> at Unknown.PT(Unknown Source)
> at Unknown.Tae(Unknown Source)
> at Unknown.Awe(Unknown Source)
> at Unknown.mbe(Unknown Source)
> at Unknown.Ele(Unknown Source)
> at Unknown.hne/bne<(Unknown Source)
> at Unknown.Jr(Unknown Source)
> at Unknown.Mr(Unknown Source)
> at Unknown.Lr/<(Unknown Source)
> at Unknown.rv(Unknown Source)
> at Unknown.ewe(Unknown Source)
> at Unknown.fLj(Unknown Source)
> at Unknown.Awe(Unknown Source)
> at Unknown.mbe(Unknown Source)
> at Unknown.Ele(Unknown Source)
> at Unknown.hne/_me<(Unknown Source)
> at Unknown.Jr(Unknown Source)
> at Unknown.Mr(Unknown Source)
> at Unknown.Lr/<(Unknown Source)
> at Unknown.anonymous(Unknown Source)"
> 
> What could be the next step?,
> 
> Many thanks in advanced,
> 
> Juanjo.
> 
> On Tue, Feb 3, 2015 at 11:09 AM, Tomas Jelinek  wrote:
> 
> >
> >
> > - Original Message -
> > > From: "Karli Sjöberg" 
> > > To: "Juan Jose" 
> > > Cc: users@ovirt.org
> > > Sent: Tuesday, February 3, 2015 10:43:09 AM
> > > Subject: Re: [ovirt-users] Problem adding disk to VM
> > >
> > > On Tue, 2015-02-03 at 10:40 +0100, Juan Jose wrote:
> > > > Hello everybody,
> > > >
> > > >
> > > > Here I attach an "Add disk" option screenshot to show that the disk is
> > > > not added when I clieck "OK" button, nothing happen, the virtual disk
> > > > is not added and no error is showed.
> > > >
> > > >
> > > > Any suggestion,
> > >
> > > And not just a browser caching issue? If you logout of the engine and
> > > clear all browser caches and shut the browser down, open it back up and
> > > log back into the engine, the disk(s) still aren´t there?
> >
> > it seems more like an exception on frontend. Could you please do something
> > like this:
> > - in firefox go to tools -> web developer -> web console
> > -

Re: [ovirt-users] Problem adding disk to VM

2015-02-03 Thread Tomas Jelinek
- Original Message -
> From: "Juan Jose" 
> To: "Tomas Jelinek" 
> Cc: "Karli Sjöberg" , users@ovirt.org
> Sent: Tuesday, February 3, 2015 12:28:36 PM
> Subject: Re: [ovirt-users] Problem adding disk to VM
> 
> Done, I have updated the bug in Bugzilla. I don't know how can I attach a
> screenshot. I attach here in case that someone wants to added it.

OK, attached the screenshot. BTW looking at it I have a suspicion the problem 
may be with the empty disk profile? If you select some, does it work? 

> 
> Many thanks in advanced,
> 
> Juanjo.
> 
> On Tue, Feb 3, 2015 at 11:42 AM, Tomas Jelinek  wrote:
> 
> >
> >
> > - Original Message -
> > > From: "Juan Jose" 
> > > To: "Tomas Jelinek" 
> > > Cc: "Karli Sjöberg" , users@ovirt.org
> > > Sent: Tuesday, February 3, 2015 11:29:15 AM
> > > Subject: Re: [ovirt-users] Problem adding disk to VM
> > >
> > > Hello Tomas and Karli,
> > >
> > > Yes it seems that it is a Javascript exception. After click OK in "Add
> > > disk" option I face this error in web console:
> >
> > yeah, it is obviously a null pointer exception in frontend. I have just
> > opened a bug:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1188591
> >
> > Please go to that bug and try to include also some additional details of
> > your configuration (e.g. storage type etc) and if possible please also
> > provide a screenshot of the add disk dialog.
> >
> > Until it gets fixed, you can add disks using the REST API or using cmd
> > line tools
> >
> > >
> > > "Tue Feb 03 11:25:04 GMT+100 2015
> > > com.google.gwt.logging.client.LogConfiguration
> > > SEVERE: Exception caught: (TypeError) : d4(...) is null
> > > com.google.gwt.event.shared.UmbrellaException: Exception caught:
> > > (TypeError) : d4(...) is null
> > > at Unknown.$p(Unknown Source)
> > > at Unknown.fq(Unknown Source)
> > > at Unknown.NY(Unknown Source)
> > > at Unknown.QY(Unknown Source)
> > > at Unknown._X(Unknown Source)
> > > at Unknown.Rae(Unknown Source)
> > > at Unknown._ae(Unknown Source)
> > > at Unknown.PT(Unknown Source)
> > > at Unknown.Tae(Unknown Source)
> > > at Unknown.Awe(Unknown Source)
> > > at Unknown.mbe(Unknown Source)
> > > at Unknown.Ele(Unknown Source)
> > > at Unknown.hne/bne<(Unknown Source)
> > > at Unknown.Jr(Unknown Source)
> > > at Unknown.Mr(Unknown Source)
> > > at Unknown.Lr/<(Unknown Source)
> > > at Unknown.rv(Unknown Source)
> > > at Unknown.ewe(Unknown Source)
> > > at Unknown.fLj(Unknown Source)
> > > at Unknown.Awe(Unknown Source)
> > > at Unknown.mbe(Unknown Source)
> > > at Unknown.Ele(Unknown Source)
> > > at Unknown.hne/_me<(Unknown Source)
> > > at Unknown.Jr(Unknown Source)
> > > at Unknown.Mr(Unknown Source)
> > > at Unknown.Lr/<(Unknown Source)
> > > at Unknown.anonymous(Unknown Source)
> > > Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) :
> > > d4(...) is null
> > > at Unknown.t9n(Unknown Source)
> > > at Unknown.Gko(Unknown Source)
> > > at Unknown.cao(Unknown Source)
> > > at Unknown.xKj(Unknown Source)
> > > at Unknown.c6i(Unknown Source)
> > > at Unknown.iU(Unknown Source)
> > > at Unknown.jY(Unknown Source)
> > > at Unknown._X(Unknown Source)
> > > at Unknown.Rae(Unknown Source)
> > > at Unknown._ae(Unknown Source)
> > > at Unknown.PT(Unknown Source)
> > > at Unknown.Tae(Unknown Source)
> > > at Unknown.Awe(Unknown Source)
> > > at Unknown.mbe(Unknown Source)
> > > at Unknown.Ele(Unknown Source)
> > > at Unknown.hne/bne<(Unknown Source)
> > > at Unknown.Jr(Unknown Source)
> > > at Unknown.Mr(Unknown Source)
> > > at Unknown.Lr/<(Unknown Source)
> > > at Unknown.rv(Unknown Source)
> > > at Unknown.ewe(Unknown Source)
> > > at Unknown.fLj(Unknown Source)
> > > at Unknown.Awe(Unknown Source)
> > > at Unknown.mbe(Unknown Source)
> > > at Unknown.Ele(Unknown Source)
> > > at Unknown.hne/_me<(Unknown Source)
> > > at Unknown.Jr(Unknown Source)
> > > at Unkno

Re: [ovirt-users] [ovirt-devel] Announcing the moVirt Incubator Project!

2015-02-18 Thread Tomas Jelinek
Well, this is quite a milestone!

Thanx everyone!

- Original Message -
> From: "Donny D" 
> To: "Brian Proffitt" , "board" 
> Cc: annou...@ovirt.org, "users" , de...@ovirt.org
> Sent: Tuesday, February 17, 2015 5:31:29 PM
> Subject: Re: [ovirt-devel] [ovirt-users] Announcing the moVirt Incubator  
> Project!
> 
> That is great project. This makes me very happy.

BTW we have been and are still heavily using your cloudspin.me during moVirt 
development and testing. 
Wanted to use this opportunity to thank you for the great service!

> 
> 
> 
> Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5
> 
> 
>  Original message 
> From: Brian Proffitt 
> Date: 02/17/2015 9:17 AM (GMT-07:00)
> To: board 
> Cc: annou...@ovirt.org, users , de...@ovirt.org
> Subject: [ovirt-users] Announcing the moVirt Incubator Project!
> 
> This message is to announce moVirt as a new oVirt incubator project, approved
> by unanimous vote of the Board mailing list!
> 
> Details about the project can be found at
> 
> http://www.ovirt.org/Project_moVirt
> 
> More information about the incubator at oVirt can be found at
> 
> http://www.ovirt.org/Incubating_an_oVirt_Subproject
> 
> Please check out this project and see what you can do to help!
> 
> --
> 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
> 
> ___
> 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] [ovirt-devel] Announcing the moVirt Incubator Project!

2015-02-18 Thread Tomas Jelinek


- Original Message -
> From: "Nathanaël Blanchet" 
> To: users@ovirt.org
> Sent: Wednesday, February 18, 2015 11:26:40 AM
> Subject: Re: [ovirt-users] [ovirt-devel] Announcing the moVirt
> Incubator   Project!
> 
> Thank you for the apk.
> I managed to make it work but only without SSL support because I didn't
> find any way to insert the ca.crt  in the options?

no, it is not moVirt specific - you need to import the certificate to your 
device. You can do it by navigating to the
/ca.crt from some browser on your device (e.g. chrome) and import 
it - it will ask you if you want to import it.

You can verify that the cert is imported by going to the 
settings->security->trusted credentials->user. 
Than you need to make sure that in moVirt settings you are setting the same url 
as the engine url as the cert name is set.

> Other point, I have a very long vm list, but I can't scroll down.

How does it behave? There is a known bug that when there is a long list of VMs 
the events are pushed out of the screen. But the VMs should still be 
scrollable...

> 
> Le 18/02/2015 11:00, Martin Betak a écrit :
> > This is great news! Thanks everyone for your support.
> >
> > And special thanks to Tomas for leading the development effort
> > and OPW project that brought us this far.
> >
> > Martin
> >
> >
> >
> > - Original Message -
> >> From: "Tomas Jelinek" 
> >> To: "Donny D" 
> >> Cc: "Brian Proffitt" , "board" ,
> >> annou...@ovirt.org, "users" ,
> >> de...@ovirt.org, "Sphoorti Joglekar" ,
> >> "Martin Betak" ,
> >> mov...@ovirt.org
> >> Sent: Wednesday, February 18, 2015 9:00:13 AM
> >> Subject: Re: [ovirt-devel] [ovirt-users] Announcing the moVirt Incubator
> >>Project!
> >>
> >> Well, this is quite a milestone!
> >>
> >> Thanx everyone!
> >>
> >> - Original Message -
> >>> From: "Donny D" 
> >>> To: "Brian Proffitt" , "board" 
> >>> Cc: annou...@ovirt.org, "users" , de...@ovirt.org
> >>> Sent: Tuesday, February 17, 2015 5:31:29 PM
> >>> Subject: Re: [ovirt-devel] [ovirt-users] Announcing the moVirt Incubator
> >>>   Project!
> >>>
> >>> That is great project. This makes me very happy.
> >> BTW we have been and are still heavily using your cloudspin.me during
> >> moVirt
> >> development and testing.
> >> Wanted to use this opportunity to thank you for the great service!
> >>
> >>>
> >>>
> >>> Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5
> >>>
> >>>
> >>>  Original message 
> >>> From: Brian Proffitt 
> >>> Date: 02/17/2015 9:17 AM (GMT-07:00)
> >>> To: board 
> >>> Cc: annou...@ovirt.org, users , de...@ovirt.org
> >>> Subject: [ovirt-users] Announcing the moVirt Incubator Project!
> >>>
> >>> This message is to announce moVirt as a new oVirt incubator project,
> >>> approved
> >>> by unanimous vote of the Board mailing list!
> >>>
> >>> Details about the project can be found at
> >>>
> >>> http://www.ovirt.org/Project_moVirt
> >>>
> >>> More information about the incubator at oVirt can be found at
> >>>
> >>> http://www.ovirt.org/Incubating_an_oVirt_Subproject
> >>>
> >>> Please check out this project and see what you can do to help!
> >>>
> >>> --
> >>> 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
> >>>
> >>> ___
> >>> 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
> 
> ___
> 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] movirt -> ovirt 3.5.1 -> server error 500

2015-02-19 Thread Tomas Jelinek
Hi Markus,

Are you sure the stacktrace is related to moVirt? Because this is for exporting 
the volume profile to PDF (for gluster) - moVirt does not touch anything like 
this.

How do you have your connection settings filled? Do you have the URL in a form:
https://hostnameOrIp:port/ovirt-engine/api
and the username in form:
name@domain
?

Also when you login as not admin user please make sure to uncheck the "admin 
privilege"
Also when you are connecting to https than please either import the ca.crt to 
your mobile and use hostname in the url or check the "disable https" checkbox.

have a nice day,
Tomas

- Original Message -
> From: "Markus Stockhausen" 
> To: users@ovirt.org
> Sent: Thursday, February 19, 2015 12:22:25 PM
> Subject: [ovirt-users] movirt -> ovirt 3.5.1 -> server error 500
> 
> Hi,
> 
> just installed movirt on my mobile. Upon connection it breaks with the
> attached error in the 3.5.1 engine server logs.
> 
> Something I'm missing?
> 
> Markus
> 
> 2015-02-19 12:21:19,757 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/api]]
> (ajp--127.0.0.1-8702-11) StandardWrapper.Throwable:
> java.lang.RuntimeException: java.lang.RuntimeException: Unable to
> instantiate MessageBodyWriter
> at
> 
> org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:35)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> 
> org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:211)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> 
> org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> 
> org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:952)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:188)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
> at
> 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [jbossweb-7.0.13.Final.jar:]
> at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
> [jbossweb-7.0.13.Final.jar:]
> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
> [jbossweb-7.0.13.Final.jar:]
> at
> 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
> [jbossweb-7.0.13.Final.jar:]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
> Caused by: java.lang.RuntimeException: Unable to instantiate
> MessageBodyWriter
> at
> 
> org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:772)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> 
> org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> 
> org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> ... 18 more
> Caused by: java.lang.RuntimeException: Failed to construct public
> org.ovirt.engine.api.pdf.FOPMessageBodyWriter()
> at
> 
> org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:144)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> 
> org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.

Re: [ovirt-users] movirt -> ovirt 3.5.1 -> server error 500

2015-02-19 Thread Tomas Jelinek


- Original Message -
> From: "Markus Stockhausen" 
> To: "Juan Hernández" , users@ovirt.org, "Tomas Jelinek" 
> 
> Sent: Thursday, February 19, 2015 1:45:12 PM
> Subject: AW: [ovirt-users] movirt -> ovirt 3.5.1 -> server error 500
> 
> > Von: Juan Hernández [jhern...@redhat.com]
> > Gesendet: Donnerstag, 19. Februar 2015 12:53
> > An: Markus Stockhausen; users@ovirt.org
> > Betreff: Re: [ovirt-users] movirt -> ovirt 3.5.1 -> server error 500
> > 
> > On 02/19/2015 12:22 PM, Markus Stockhausen wrote:
> > > Hi,
> > >
> > > just installed movirt on my mobile. Upon connection it breaks with the
> > > attached error in the 3.5.1 engine server logs.
> > >
> > > Something I'm missing?
> > >
> > > Markus
> > >
> > > 2015-02-19 12:21:19,757 ERROR
> > > [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/api]]
> > > (ajp--127.0.0.1-8702-11) StandardWrapper.Throwable:
> > > java.lang.RuntimeException: > java.lang.RuntimeException: Unable to
> > > instantiate MessageBodyWriter
> > > at
> > > 
> > > org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:35)
> > > [resteasy-jaxrs-2.3.2.Final.jar:]
> > > at
> > > 
> > > org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:211)
> > > [resteasy-jaxrs-2.3.2.Final.jar:]
> > > at
> > > 
> > > org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)
> > > [resteasy-jaxrs-2.3.2.Final.jar:]
> > > at
> > > 
> > > org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
> > > [resteasy-jaxrs-2.3.2.Final.jar:]
> > > at
> > > 
> > > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:952)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:188)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
> > > [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
> > > at
> > > 
> > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at
> > > 
> > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
> > > [jbossweb-7.0.13.Final.jar:]
> > > at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
> > > Caused by: java.lang.Runti

Re: [ovirt-users] oVirt engine installation with Oracle Virtualbox

2015-03-10 Thread Tomas Jelinek
Anyone have ever succeeded to run all-in-one inside a VM running on windows? 
Any hints what tools to use?

- Original Message -
> From: "Nasim Banu" 
> To: users@ovirt.org
> Cc: "Tomas Jelinek" 
> Sent: Monday, March 9, 2015 8:03:27 PM
> Subject: oVirt engine installation with Oracle Virtualbox
> 
> Hello,
> 
> I am a new user of oVirt. I am trying to install oVirt all in one version
> 3.5.1 in my windows vista/7 system with Oracle VirtualBox 4.3.10.
> 
> When I create a new virtual machine in VirtualBox,what should I choose for
> OS and memory setting for proper booting iso file.
> 
> When I tried to boot, the blue screen appears with CentOS written and it
> says automaic boot in 10sec,9 sec,8 sec... after 0 sec nothing hapens.
> It gets struck there. What might be wrong?
> 
> 
> Regards
> Nasim Banu
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moVirt : Can't connect (wrong format for DER error)

2015-03-12 Thread Tomas Jelinek
Hi,

it seems that something is wrong with the certificate you are using (e.g. the 
CA not imported to your device or not imported properly).

You could try just to check the "disable https" checkbox (it disables the 
certificate checking, just for testing purposes).
If it will work, we can try to import your actual CA cert.

Tomas

- Original Message -
> From: "Nicolas Ecarnot" 
> To: users@ovirt.org
> Sent: Wednesday, March 11, 2015 6:07:58 PM
> Subject: [ovirt-users] moVirt : Can't connect (wrong format for DER error)
> 
> Hello,
> 
> When trying to connect using moVirt, I get :
> 
> org.apache.harmony.security.asn1.ASN1Exception: ASN.1 UTCTime: wrong
> format for DER
> 
> We're using oVirt 3.4.1, and happily using ovirt-shell with a
> .ovirtshellrc that contains some kind of settings that helped me to
> ensure I was doing right in moVirt settings.
> 
> We are not using a specific certificate, we're still using the
> out-of-the-box certificate of the installation.
> 
> What can I check on this Android phone or on the oVirt engine?
> 
> Thank you.
> 
> --
> Nicolas Ecarnot
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moVirt : Can't connect (wrong format for DER error)

2015-03-12 Thread Tomas Jelinek


- Original Message -
> From: "Nicolas Ecarnot" 
> To: "Tomas Jelinek" 
> Cc: users@ovirt.org
> Sent: Thursday, March 12, 2015 9:20:55 AM
> Subject: Re: [ovirt-users] moVirt : Can't connect (wrong format for DER error)
> 
> Le 12/03/2015 08:36, Tomas Jelinek a écrit :
> > Hi,
> >
> > it seems that something is wrong with the certificate you are using (e.g.
> > the CA not imported to your device or not imported properly).
> >
> > You could try just to check the "disable https" checkbox (it disables the
> > certificate checking, just for testing purposes).
> 
> Tomas,
> 
> Oops, I forgot to say that I already tried every combination of the
> three checkboxes with no success.
> 
> Does that mean I'm stuck?

not yet :)

> 
> Is there somewhere in the engine logs I could see useful messages?

I don't think it is engine side of the story... Could you please try on your 
mobile open some web browser and type the same URL you use in moVirt? 
Does that return the same message?
Also, have you tried to import the certificate or not yet?

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


Re: [ovirt-users] CloudSpin Downtime

2015-03-17 Thread Tomas Jelinek
That is a sad news :(
Anyway, thank you for the service, we have used it extensively during moVirt 
development.

Tomas

- Original Message -
> From: do...@cloudspin.me
> To: users@ovirt.org
> Sent: Monday, March 16, 2015 4:12:25 PM
> Subject: [ovirt-users] CloudSpin Downtime
> 
> Just as an FYI, cloudspin will be down for the next couple of months. I
> am moving from Colorado to Virginia, and it will be down until I acquire
> a new home for cloudspin.
> 
> Sorry for the inconvenience
> 
> Donny D
> ___
> 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] Failed to read VM '[Empty Name]' OVF, it may be corrupted

2015-03-18 Thread Tomas Jelinek
Hi Jon,

could you please attach the ovf files here? 
Somewhere in the export domain you should have files with .ovf extension which 
is an XML describing the VM. I'd say they will be corrupted.

Thanx, 
Tomas

- Original Message -
> From: "Jon Archer" 
> To: users@ovirt.org
> Sent: Wednesday, March 18, 2015 12:36:14 AM
> Subject: [ovirt-users] Failed to read VM '[Empty Name]' OVF,  it may be 
> corrupted
> 
> Hi all,
> 
> seing a strange issue here, I'm currently in the process of migrating
> from one ovirt setup to another and having trouble with the
> export/import process.
> 
> The new setup is a 3.5 install with hosted engine and glusterfs the old
> one is running on a nightly release (not too recent)
> 
> I have brought up an NFS export on the existing storage on the old
> setup, successfully exported a number of VM's and imported them onto the
> new system.
> 
> However I came to move the last 4 VM's and am seeing an issue where
> after attaching the export storage to the new setup I see no VMs in the
> export storage to import and see this in the log:
> 2015-03-17 23:30:56,742 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
> (ajp--127.0.0.1-8702-8) START, GetVmsInfoVDSCommand( storagePoolId =
> 0002-0002-0002-0002-0209, ignoreFailoverLimit = false,
> storageDomainId = 86f85b1d-a9ef-4106-a4bf-eae19722d28a, vmIdList =
> null), log id: e2a32ac
> 2015-03-17 23:30:56,766 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
> (ajp--127.0.0.1-8702-8) FINISH, GetVmsInfoVDSCommand, log id: e2a32ac
> 2015-03-17 23:30:56,798 ERROR
> [org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
> Error parsing OVF due to 2
> 2015-03-17 23:30:56,818 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
> Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
> corrupted
> 2015-03-17 23:30:56,867 ERROR
> [org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
> Error parsing OVF due to 2
> 2015-03-17 23:30:56,884 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
> Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
> corrupted
> 2015-03-17 23:30:56,905 ERROR
> [org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
> Error parsing OVF due to 2
> 2015-03-17 23:30:56,925 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
> Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
> corrupted
> 2015-03-17 23:30:56,943 ERROR
> [org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
> Error parsing OVF due to 2
> 2015-03-17 23:30:56,992 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
> Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
> corrupted
> 2015-03-17 23:30:57,012 ERROR
> [org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
> Error parsing OVF due to 2
> 2015-03-17 23:30:57,033 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
> Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
> corrupted
> 2015-03-17 23:30:57,071 ERROR
> [org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
> Error parsing OVF due to 2
> 2015-03-17 23:30:57,091 WARN
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
> Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
> corrupted
> 
> 
> I've brought up new export storage domains on both the new and old
> cluster (and a seperate storage array for that matter) all resulting the
> same messages.
> 
> Anyone any thoughts on these errors?
> 
> Thanks
> 
> Jon
> ___
> 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] [moVirt] Failed to open console client.

2015-03-26 Thread Tomas Jelinek
Hi,

well, consoles are a bit tricky in moVirt. 

1: There is a nice chance the stock aSPICE does not work yet and you need a 
newer version with some patches. You can get it from here:
https://github.com/iiordanov/remote-desktop-clients/releases/download/v3.7.7/freeaSPICE-3.7.7-final.apk
(maybe it is in play store already but not sure... just try that one please)

2: If this is not the issue there is a nice chance that your hosts are on a 
different network than your moVirt thus aSPICE /bVNC can not connect.
You could verify this by installing some
app which is able to ping from phone and try to ping your host from it. If it 
will not ping them and you don't want to expose the hosts directly, than the 
consoles
are not going to work, because:
1: you could use SPICE PROXY - unfortunately aSPICE does not support it
2: you could use websocket proxy and connect from web clients (SPICE HTML5 or 
noVNC) - but moVirt does not integrate them since they need a connection to 
websocket proxy 
   and in order to make a connection to websocket proxy you need a ticket 
signed by the private certificate of the engine. And the functionality of 
providing this
   is not exposed to REST API (only GWT-RPC) so we can not consume it. There is 
some bug around it and also some work being done around it so I think it will 
make into 3.6.
   But 3.6 is far far away...

Hope the problem is just old aSPICE :)
Tomas
   
- John Florian  wrote:
> I just started playing with moVirt after I first heard about it here on
> this list.  Wow, that's so much easier to use on my Galaxy S5 than the
> regular web interface.  :-)
> 
> Of course, now I want the whole bag of chips but can't seem to get the
> console working.  When I press the console button I see "Failed to open
> console client.  Check if aSPICE/bVNC is installed.".  I had already
> installed aSPICE from the Play Store but when that didn't work installed
> bVNC in addition; still no luck.
> 
> My engine.log shows this when I try:
> 
> 2015-03-26 19:52:14,750 INFO 
> [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-10)
> [7f6f1f09] Running command: SetVmTicketCommand internal: false. Entities
> affected :  ID: 6ca4e6ae-a201-432b-b22a-2c6517fbd92c Type: VMAction
> group CONNECT_TO_VM with role type USER
> 2015-03-26 19:52:14,752 INFO 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> (ajp--127.0.0.1-8702-10) [7f6f1f09] START,
> SetVmTicketVDSCommand(HostName = hosted_engine_1, HostId =
> e90e2ca0-e3b9-46d5-8fde-09fc1c5eed20,
> vmId=6ca4e6ae-a201-432b-b22a-2c6517fbd92c, ticket=pd2lTiu7w7Ra,
> validTime=7200,m userName=admin,
> userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 6257f73
> 2015-03-26 19:52:14,766 INFO 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> (ajp--127.0.0.1-8702-10) [7f6f1f09] FINISH, SetVmTicketVDSCommand, log
> id: 6257f73
> 2015-03-26 19:52:14,846 INFO 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ajp--127.0.0.1-8702-10) [7f6f1f09] Correlation ID: 7f6f1f09, Call
> Stack: null, Custom Event ID: -1, Message: user admin@internal initiated
> console session for VM krypto_f21
> 
> What am doing wrong?
> ___
> 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] [moVirt] Failed to open console client.

2015-03-30 Thread Tomas Jelinek


- Original Message -
> From: "John Florian" 
> To: "Tomas Jelinek" 
> Cc: users@ovirt.org
> Sent: Saturday, March 28, 2015 5:07:03 PM
> Subject: Re: [ovirt-users] [moVirt] Failed to open console client.
> 
> Hi Tomas,
> 
> Thanks for the help.  Installing the from github as you suggested looks
> to get me closer.  I first uninstalled both aSPICE and bVNC that I'd
> installed from the play store.  It now appears that moVirt is starting
> aSPICE at least, but now I'm confronted with "Unable to connect or
> authenticate, please check server address, password and cert authority
> and subject."  Is this because I have moVirt using https for the
> connection?  (I see the moVirt README mentions: *Note* moVirt/aSPICE
> does not support SPICE secured connections at the moment!)  If that's
> the case, I guess I'll live w/o consoles on my phone for now.  I'd
> rather not send my ovirt admin password in plain-text since that'd be
> like providing physical access to every one of my critical VMs -- but
> maybe I'm just interpreting that note wrongly.

it seems you are interpreting it correctly - we do not pass the proper 
certificates to the aSPICE yet.
aSPICE should support it, so we just need to get it from engine and pass it. 
Just need to find some time to
actually implement it :)

> 
> On 03/27/2015 02:16 AM, Tomas Jelinek wrote:
> > Hi,
> >
> > well, consoles are a bit tricky in moVirt.
> >
> > 1: There is a nice chance the stock aSPICE does not work yet and you need a
> > newer version with some patches. You can get it from here:
> > https://github.com/iiordanov/remote-desktop-clients/releases/download/v3.7.7/freeaSPICE-3.7.7-final.apk
> > (maybe it is in play store already but not sure... just try that one
> > please)
> >
> > 2: If this is not the issue there is a nice chance that your hosts are on a
> > different network than your moVirt thus aSPICE /bVNC can not connect.
> > You could verify this by installing some
> > app which is able to ping from phone and try to ping your host from it. If
> > it will not ping them and you don't want to expose the hosts directly,
> > than the consoles
> > are not going to work, because:
> > 1: you could use SPICE PROXY - unfortunately aSPICE does not support it
> > 2: you could use websocket proxy and connect from web clients (SPICE HTML5
> > or noVNC) - but moVirt does not integrate them since they need a
> > connection to websocket proxy
> >and in order to make a connection to websocket proxy you need a ticket
> >signed by the private certificate of the engine. And the functionality
> >of providing this
> >is not exposed to REST API (only GWT-RPC) so we can not consume it.
> >There is some bug around it and also some work being done around it so
> >I think it will make into 3.6.
> >But 3.6 is far far away...
> >
> > Hope the problem is just old aSPICE :)
> > Tomas
> >
> > - John Florian  wrote:
> >> I just started playing with moVirt after I first heard about it here on
> >> this list.  Wow, that's so much easier to use on my Galaxy S5 than the
> >> regular web interface.  :-)
> >>
> >> Of course, now I want the whole bag of chips but can't seem to get the
> >> console working.  When I press the console button I see "Failed to open
> >> console client.  Check if aSPICE/bVNC is installed.".  I had already
> >> installed aSPICE from the Play Store but when that didn't work installed
> >> bVNC in addition; still no luck.
> >>
> >> My engine.log shows this when I try:
> >>
> >> 2015-03-26 19:52:14,750 INFO
> >> [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-10)
> >> [7f6f1f09] Running command: SetVmTicketCommand internal: false. Entities
> >> affected :  ID: 6ca4e6ae-a201-432b-b22a-2c6517fbd92c Type: VMAction
> >> group CONNECT_TO_VM with role type USER
> >> 2015-03-26 19:52:14,752 INFO
> >> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> >> (ajp--127.0.0.1-8702-10) [7f6f1f09] START,
> >> SetVmTicketVDSCommand(HostName = hosted_engine_1, HostId =
> >> e90e2ca0-e3b9-46d5-8fde-09fc1c5eed20,
> >> vmId=6ca4e6ae-a201-432b-b22a-2c6517fbd92c, ticket=pd2lTiu7w7Ra,
> >> validTime=7200,m userName=admin,
> >> userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 6257f73
> >> 2015-03-26 19:52:14,766 INFO
> >> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> >> (ajp--127.0.0.1-8702-10

Re: [ovirt-users] Ovirt, conexion noVnc and spice problem

2015-04-09 Thread Tomas Jelinek
Hi,

please verify the following things:
1: you have the websocket proxy running
2: the "WebSocketProxy" property from engine config points to the running 
instance of the websocket proxy (it is set using the engine-config)
3: you have the ca.crt of your engine properly imported to your browser 
(http://engine-addr/ca.crt)
4: the novnc.noarch and the spice-html5.noarch packages are installed on your 
engine machine

Tomas

- Original Message -
> From: "Marcelo Vera" 
> To: users@ovirt.org
> Sent: Tuesday, April 7, 2015 5:01:28 PM
> Subject: [ovirt-users] Ovirt, conexion noVnc and spice problem
> 
> 
> 
> Good morning, thank you for accepting me into this group.
> I'm from Paraguay and I am not very good with English, thankfully there is
> google translator.
> I am new to this, and now have problems with oVirt.
> The problem is I can not access the console of the virtual machine in noVnc
> mode, or using spice.
> 
> noVnc, error: WebUtil reference is not defined
> spice, WebSocket error: Can not connect to websocket on URL ...
> 
> from and I appreciate your help.
> 
> I checked my browser supports websocket and html5
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt, conexion noVnc and spice problem

2015-04-12 Thread Tomas Jelinek
what problem do you still have? Still the "noVnc, error: WebUtil reference is 
not defined"? If yes, I'd say the 
novnc.noarch (or the spice-html5.noarch for SPICE) is not installed on your 
server (really, it has to be on the engine machine, not client).

Otherwise I'd say it is because the ca.crt is not imported properly to your 
browser. Just please navigate your client web browser to http:///ca.crt and import it.

Tomas 

- Original Message -
> From: "Marcelo Vera" 
> To: "Tomas Jelinek" 
> Cc: users@ovirt.org
> Sent: Thursday, April 9, 2015 8:16:20 PM
> Subject: Re: [ovirt-users] Ovirt, conexion noVnc and spice problem
> 
> Hi, how are you?
> Thanks for your help, and verified the four points you provided me, and
> point 2 is the one that is causing problems, the WebSocket-Proxy is
> configured, it was set up at the time of installation, and is also running,
> supposedly on port 6100 but when netstat do not find it.
> 
> run, yum install oVirt-engine-websocket-proxy, and turned to install.
> but equally I still have the problem of the WebSocket connection.
> 
> Not if I'm setting wrong or I'm skipping some step.
> 
> Greetings to all
> 
> 
> 2015-04-09 3:16 GMT-04:00 Tomas Jelinek :
> 
> > Hi,
> >
> > please verify the following things:
> > 1: you have the websocket proxy running
> > 2: the "WebSocketProxy" property from engine config points to the running
> > instance of the websocket proxy (it is set using the engine-config)
> > 3: you have the ca.crt of your engine properly imported to your browser (
> > http://engine-addr/ca.crt)
> > 4: the novnc.noarch and the spice-html5.noarch packages are installed on
> > your engine machine
> >
> > Tomas
> >
> > - Original Message -
> > > From: "Marcelo Vera" 
> > > To: users@ovirt.org
> > > Sent: Tuesday, April 7, 2015 5:01:28 PM
> > > Subject: [ovirt-users] Ovirt, conexion noVnc and spice problem
> > >
> > >
> > >
> > > Good morning, thank you for accepting me into this group.
> > > I'm from Paraguay and I am not very good with English, thankfully there
> > is
> > > google translator.
> > > I am new to this, and now have problems with oVirt.
> > > The problem is I can not access the console of the virtual machine in
> > noVnc
> > > mode, or using spice.
> > >
> > > noVnc, error: WebUtil reference is not defined
> > > spice, WebSocket error: Can not connect to websocket on URL ...
> > >
> > > from and I appreciate your help.
> > >
> > > I checked my browser supports websocket and html5
> > >
> > > ___
> > > 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: [Users] Unable to access remote console in User portal from IE/Windows7

2012-11-30 Thread Tomas Jelinek


- Original Message -
From: "Michal Skrivanek" 
To: "Tomas Jelinek" 
Cc: "Karli Sjöberg" , "users" , "David 
Jaša" , "Itamar Heim" 
Sent: Thursday, November 29, 2012 6:17:04 PM
Subject: Re: [Users] Unable to access remote console in User portal from 
IE/Windows7


On Nov 29, 2012, at 17:31 , Itamar Heim  wrote:

> On 11/29/2012 10:01 AM, Karli Sjöberg wrote:
>> 
>> 29 nov 2012 kl. 15.15 skrev Itamar Heim:
>> 
>>> On 11/29/2012 08:13 AM, David Jaša wrote:
>>>> Karli Sjöberg píše v Čt 29. 11. 2012 v 12:30 +:
>>>>> 29 nov 2012 kl. 11.39 skrev David Jaša:
>>>>> 
>>>>>> Karli Sjöberg píše v Čt 29. 11. 2012 v 10:19 +:
>>>>>>> 29 nov 2012 kl. 10.20 skrev David Jaša:
>>>>>>> 
>>>>>>>> Karli Sjöberg píše v Čt 29. 11. 2012 v 07:59 +:
>>>>>>>>> 28 nov 2012 kl. 15.17 skrev David Jaša:
>>>>>>>>> 
>>>>>>>>>> Karli Sjöberg píše v St 28. 11. 2012 v 14:12 +:
>>>>>>>>>>> 28 nov 2012 kl. 15.08 skrev David Jaša:
>>>>>>>>>>> 
>>>>>>>>>>>> Karli Sjöberg píše v St 28. 11. 2012 v 13:56 +:
>>>>>>>>>>>>> 28 nov 2012 kl. 14.44 skrev Itamar Heim:
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On 11/28/2012 08:27 AM, Karli Sjöberg wrote:
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 28 nov 2012 kl. 13.05 skrev Itamar Heim:
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> On 11/28/2012 05:47 AM, Karli Sjöberg wrote:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 28 nov 2012 kl. 10.15 skrev Itamar Heim:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> On 11/28/2012 01:12 AM, Karli Sjöberg wrote:
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> 27 nov 2012 kl. 20.30 skrev Itamar Heim:
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>> On 11/27/2012 11:53 AM, nasir nasir wrote:
>>>>>>>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> I have been experimenting with Ovirt 3.1 and so far most 
>>>>>>>>>>>>>>>>>>>>> of the things
>>>>>>>>>>>>>>>>>>>>> work. Many thanks indeed for this great free software! 
>>>>>>>>>>>>>>>>>>>>> Now I am facing
>>>>>>>>>>>>>>>>>>>>> an issue for accessing the remote console in User Portal 
>>>>>>>>>>>>>>>>>>>>> from windows 7
>>>>>>>>>>>>>>>>>>>>> client using IE9. I am able to login to the User Portal 
>>>>>>>>>>>>>>>>>>>>> and access the
>>>>>>>>>>>>>>>>>>>>> VM using the console button from Linux. But while I try 
>>>>>>>>>>>>>>>>>>>>> the same from a
>>>>>>>>>>>>>>>>>>>>> windows 7 machine, it is NOT working. When I click on the 
>>>>>>>>>>>>>>>>>>>>> console
>>>>>>>>>>>>>>>>>>>>> button, it doesn't pop any window or show anything. Some 
>>>>>>>>>>>>>>>>>>>>> of the docs I
>>>>>>>>>>>>>>>>>>>>> read says that for the first time, I would be greeted 
>>>>>>>>>>>>>>>>>>>>> with an ActiveX
>>>>>>>>>>>>>>>>>>>>> warning and can install t

Re: [Users] Error while executing action Setup Networks

2013-02-07 Thread Tomas Jelinek
> Also, I noticed that the interface for assigning virtual networks to physical 
> interfaces does NOT work correctly in the latest version of google chrome.  I 
> had to flip into firefox ... I'm not sure if > that is documented any where.
Well, google chrome is not officially supported browser. It works more or less, 
but you can not rely on it. 

The supported browsers are:
On Linux the Firefox 17 and on Windows IE >= 9. 

Web admin should have shown you a warning message that the current browser is 
not supported. But after a quick look at the wiki I did not find any mention 
about it.
We should definitely add it somewhere, I'll try to find a suitable place.

Thanx for mentioning it,
Tomas

- Original Message -
From: "Stephen Sallee (Jake)" 
To: users@ovirt.org
Sent: Thursday, February 7, 2013 4:35:03 AM
Subject: Re: [Users] Error while executing action Setup Networks

I found the issue, there is a little icon of a pencil that you need to click on 
in order to specify what IP you want the connection to use. Once I did that it 
worked perfectly.

Also, I noticed that the interface for assigning virtual networks to physical 
interfaces does NOT work correctly in the latest version of google chrome.  I 
had to flip into firefox ... I'm not sure if that is documented any where.

I tried to post this to the list earlier today but my message did not go to the 
list only directly to myself ... sorry for wasting your time.


Jake Sallee
Godfather of Bandwidth
Network Engineer
University of Mary Hardin-Baylor

900 College St.
Belton, Texas
76513

Fone: 254-295-4658
Phax: 254-295-4221


From: users-boun...@ovirt.org [users-boun...@ovirt.org] on behalf of Antoni 
Segura Puimedon [asegu...@redhat.com]
Sent: Wednesday, February 06, 2013 5:07 PM
To: users@ovirt.org
Subject: Re: [Users] Error while executing action Setup Networks

Hi,

I can see that you set a PREFIX, but I can't see any IPADDR in the ifcfg-eth0, 
nor
in the setupNetworks command. Which IPADDR do you intend to set?


- Original Message -
> From: "Stephen Sallee (Jake)" 
> To: users@ovirt.org
> Sent: Wednesday, February 6, 2013 6:50:14 PM
> Subject: [Users] Error while executing action Setup Networks
>
> I'm trying to add the ovirtmgmt role to my network connection on my
> all-in-one box but when I do I get this error:
>
> Error while executing action Setup Networks: Illegal or Incomplete IP
> Address
>
> The IP is correct as I am accessing the portal from a different
> computer, also when I look at the ifcfg-eth0 file:
>
> DEVICE=eth0
> ONBOOT=yes
> HWADDR=[REDACTED]
> BRIDGE=ovirtmgmt
> NM_CONTROLLED=yes
> DOMAIN=UMHB.edu
> IPV6INIT=no
> LAST_CONNECT=1360136903
> DNS2=[REDACTED]
> DNS1=[REDACTED]
> DEFROUTE=yes
> IPV4_FAILURE_FATAL=yes
> PREFIX=24
> UUID=[REDACTED] ... it just feels right, i know its probably useless
> to a hacker but I fell better, okay?
>
> I have tried NM_CONTROLLED=yes and NM_CONTROLLED=no , with no
> difference.
>
> Here is the snippet from the engine log:
>
> [root@otto ~]# tail -f /var/log/ovirt-engine/engine.log
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:40:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-65) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:40:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-65) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:40:46,131 INFO
>  [org.ovirt.engine.core.bll.SetupNetworksCommand]
> (ajp--127.0.0.1-8702-2) [6cf1af54] Running command:
> SetupNetworksCommand internal: false. Entities affected :  ID:
> 8a682fca-7032-11e2-8be0-cb1656457e1f Type: VDS
> 2013-02-06 11:40:46,1

Re: [Users] Error while executing action Setup Networks

2013-02-07 Thread Tomas Jelinek
FYI it is now documented here: http://wiki.ovirt.org/Download

Tomas

- Original Message -
From: "Tomas Jelinek" 
To: "Stephen Sallee (Jake)" 
Cc: users@ovirt.org
Sent: Thursday, February 7, 2013 9:32:20 AM
Subject: Re: [Users] Error while executing action Setup Networks

> Also, I noticed that the interface for assigning virtual networks to physical 
> interfaces does NOT work correctly in the latest version of google chrome.  I 
> had to flip into firefox ... I'm not sure if > that is documented any where.
Well, google chrome is not officially supported browser. It works more or less, 
but you can not rely on it. 

The supported browsers are:
On Linux the Firefox 17 and on Windows IE >= 9. 

Web admin should have shown you a warning message that the current browser is 
not supported. But after a quick look at the wiki I did not find any mention 
about it.
We should definitely add it somewhere, I'll try to find a suitable place.

Thanx for mentioning it,
Tomas

- Original Message -
From: "Stephen Sallee (Jake)" 
To: users@ovirt.org
Sent: Thursday, February 7, 2013 4:35:03 AM
Subject: Re: [Users] Error while executing action Setup Networks

I found the issue, there is a little icon of a pencil that you need to click on 
in order to specify what IP you want the connection to use. Once I did that it 
worked perfectly.

Also, I noticed that the interface for assigning virtual networks to physical 
interfaces does NOT work correctly in the latest version of google chrome.  I 
had to flip into firefox ... I'm not sure if that is documented any where.

I tried to post this to the list earlier today but my message did not go to the 
list only directly to myself ... sorry for wasting your time.


Jake Sallee
Godfather of Bandwidth
Network Engineer
University of Mary Hardin-Baylor

900 College St.
Belton, Texas
76513

Fone: 254-295-4658
Phax: 254-295-4221


From: users-boun...@ovirt.org [users-boun...@ovirt.org] on behalf of Antoni 
Segura Puimedon [asegu...@redhat.com]
Sent: Wednesday, February 06, 2013 5:07 PM
To: users@ovirt.org
Subject: Re: [Users] Error while executing action Setup Networks

Hi,

I can see that you set a PREFIX, but I can't see any IPADDR in the ifcfg-eth0, 
nor
in the setupNetworks command. Which IPADDR do you intend to set?


- Original Message -
> From: "Stephen Sallee (Jake)" 
> To: users@ovirt.org
> Sent: Wednesday, February 6, 2013 6:50:14 PM
> Subject: [Users] Error while executing action Setup Networks
>
> I'm trying to add the ovirtmgmt role to my network connection on my
> all-in-one box but when I do I get this error:
>
> Error while executing action Setup Networks: Illegal or Incomplete IP
> Address
>
> The IP is correct as I am accessing the portal from a different
> computer, also when I look at the ifcfg-eth0 file:
>
> DEVICE=eth0
> ONBOOT=yes
> HWADDR=[REDACTED]
> BRIDGE=ovirtmgmt
> NM_CONTROLLED=yes
> DOMAIN=UMHB.edu
> IPV6INIT=no
> LAST_CONNECT=1360136903
> DNS2=[REDACTED]
> DNS1=[REDACTED]
> DEFROUTE=yes
> IPV4_FAILURE_FATAL=yes
> PREFIX=24
> UUID=[REDACTED] ... it just feels right, i know its probably useless
> to a hacker but I fell better, okay?
>
> I have tried NM_CONTROLLED=yes and NM_CONTROLLED=no , with no
> difference.
>
> Here is the snippet from the engine log:
>
> [root@otto ~]# tail -f /var/log/ovirt-engine/engine.log
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:40:00,001 

Re: [Users] Fedora 17 firefox not optimal for 3.2 beta

2013-02-13 Thread Tomas Jelinek


- Original Message -
From: "Kanagaraj" 
To: "Gianluca Cecchi" 
Cc: "users" 
Sent: Tuesday, February 12, 2013 7:29:44 AM
Subject: Re: [Users] Fedora 17 firefox not optimal for 3.2 beta

On 02/12/2013 11:32 AM, Gianluca Cecchi wrote:
> Hello,
> connecting to ovirt 3.2 beta from F17 with firefox-18.0-1.fc17.x86_64 I 
> receive
>
> This Browser version isn't optimal for displaying the application
> graphics (refer to Documentation for details)
>
> How is the check made to show or not the warning?
it is done in this class:
org.ovirt.engine.ui.webadmin.system.InternalConfiguration

> What is the current status of supported browsers?
'Firefox 17 on Linux' and 'Internet Explorer 9+ on any OS'. If you use 
any browser other than these, you will see the 'isn't optimal' warning.

Thanks,
Kanagaraj
> I remember someone posting a page with browser support but I'm unable
> to find it right now...
Not sure what you mean, but this page summarizes what is needed to do to 
support chrome:
http://www.ovirt.org/Supporting_Chrome
>
> I remember also on December the thread
>
> [Users] Using the chrome/chromium browser with oVirt
>
> Did it go ahead with chrome spice-xpi patches applied and so now
> chrome usable in f17 / f18 (btw on my f17 I have
> google-chrome-stable-24.0.1312.69-180721.x86_64 if needed for
> testing)?
>
>
>
> Thanks,
> Gianluca
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


[ovirt-users] my results of test day

2014-07-02 Thread Tomas Jelinek
Hi all,

During Test Day 1 I have tested

https://bugzilla.redhat.com/show_bug.cgi?id=1090511 ([RFE] Improve fencing 
robustness by retrying failed attempts).

Since did not have a HW with fencing device, tested how does it behave if 
trying to fence when the device is not present.
This flows fail on class cast exceptions (BZ posted by Juan: 
https://bugzilla.redhat.com/show_bug.cgi?id=1114977).

Other than that tested the UP/WA basic functions in various browsers, found out 
that WA does not load on IE9, posted a BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1114863

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


Re: [ovirt-users] How to reset vm from unknown state?

2014-07-28 Thread Tomas Jelinek
Hi Arman,

you can do this:
1: migrate all the running VMs out of the host on which the VM with unknown 
state is
2: reboot the host
3: if you have power management configured than it should be it
4: if not than you need to do a manual fence (e.g. in webadmin in hosts tab 
right click a host and pick "confirm host has been rebooted")

3/4 should turn the VM into the down state.

Tomas

- Original Message -
> From: "Arman Khalatyan" 
> To: "users" 
> Sent: Friday, July 25, 2014 8:37:55 PM
> Subject: [ovirt-users] How to reset vm from unknown state?
> 
> 
> 
> Hi. My nfs storage got problems and one of the vms went to unknown state.
> Other vms on the same storage were back to normal state.
> Are there way to reset state of vm???
> I am using ovirt 3.4.0-1 with centos6.5
> 
> Thenks.
> Arman
> On Jul 25, 2014 7:47 PM, "Brian Proffitt" < bprof...@redhat.com > wrote:
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] API -- Do I need to use templates? Can I change network for the nic?

2014-10-02 Thread Tomas Jelinek


- Original Message -
> From: "Itamar Heim" 
> To: "Lior Vernia" , "Morgan McLean" 
> Cc: users@ovirt.org
> Sent: Wednesday, October 1, 2014 12:38:13 PM
> Subject: Re: [ovirt-users] API -- Do I need to use templates? Can I change 
> network for the nic?
> 
> On 10/01/2014 10:54 AM, Lior Vernia wrote:
> > Hi Morgan,
> >
> > I'm not sure if you want all VMs to use the same network or not. If you
> > do, the best way would be to create a template with one interface, and
> > the relevant network (profile) attached.
> >
> > If you want certain VMs to be connected to other networks, once you
> > create the VM you can send a PUT request on /api/vms/{id}/nics/{id}/ and
> > update it with the relevant network (profile).
> 
> I thought we allow to change the logical network at vm creation since
> instance types were added?

Not on API level. In webadmin/userportal you can do it in one go, but that 
anyway triggers two different actions.

But now as I have tried it, if I create a VM from template or instance type 
(using API), the NICs are completely ignored.
It does not matter if template or instance type since instance types just 
inherit the behavior of the templates so are inheriting also the bug/missing 
logic etc.

For me it seems like a bug but not sure. Is there a reason why the NICs are 
ignored when the VM is created from a template with NICs using API?
What I think is that since the NIC can have different profiles assigned and 
this can be edited on the FE, this functionality of sending different profile 
for the specific NIC is just not implemented on API level, so the API just
completely ignores the NICs.
What do you think Lior?


> 
> >
> > Hope this helps! Let us know please :)
> > Yours, Lior.
> >
> > On 01/10/14 10:32, Morgan McLean wrote:
> >> Hi,
> >>
> >> Trying to remotely spawn a large amount of VM's. It would appear I can
> >> only use templates...which would have a NIC stuck to one network vlan.
> >> It doesn't appear that I can change that vlan remotely.
> >>
> >> Is there any easy way I can get this done?
> >>
> >> Thanks,
> >> Morgan
> >>
> >>
> >> ___
> >> 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] [Request for Mentors] oVirt Outreach Program for Women

2014-10-02 Thread Tomas Jelinek
Hi Brian,

what do you mean by no responses? 

I have:
- sent an intro mail to opw-l...@gnome.org
- registered here as mentor: https://opw.gnome.org/?q=program_home&prg=3 - it 
is waiting for approval now
- filled myself here: http://www.ovirt.org/Outreach_Program_for_Women

Did I miss some step?

Thanx,
Tomas

- Original Message -
> From: "Brian Proffitt" 
> To: "users" , de...@ovirt.org
> Sent: Wednesday, October 1, 2014 9:46:16 PM
> Subject: [ovirt-users] [Request for Mentors] oVirt Outreach Program for Women
> 
> All:
> 
> Since my Sept. 19 request for mentors for the GNOME OPW project[1], I have
> had no responses from anyone to lend an effort on mentoring potential
> applicants. The application process has been opened and I know we have had
> at least one potential candidate[2] interested, and I would hate to turn
> people away because we did not have mentor(s) to assist them.
> 
> The application deadline for OPW is Oct. 22, but because potential applicants
> are required to get involved with the community before they formally apply,
> it is very important we have some mentors in place as soon as possible.
> 
> oVirt has an excellent community in place, and here's another chance to show
> that off!
> 
> Peace,
> Brian
> 
> 
> [1] http://lists.ovirt.org/pipermail/devel/2014-September/008829.html
> [2] http://lists.ovirt.org/pipermail/devel/2014-September/008896.html
> 
> --
> 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vms are shutting off by themselves ovirt3.6.

2015-12-16 Thread Tomas Jelinek
well,in such cases please attach the engine, vdsm, libvirt and qemu logs

- Original Message -
> From: "Liam Curtis" 
> To: "users" 
> Sent: Tuesday, December 15, 2015 9:41:13 PM
> Subject: [ovirt-users] vms are shutting off by themselves ovirt3.6.
> 
> Hello All,
> 
> On ovirt3.6. Have run into issues whereby vms are shutting off by themselves
> for no apprent reason...logs are pretty verbose. Having hard time finding
> root cause.
> 
> Any known issues?
> 
> 3.6.0.2-1.el7.centos
> 
> --
> 
> ___
> 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] Migration of VM fails Failed in 'DestroyVDS' method Message: VDSM command failed: Virtual machine does not exist

2015-12-21 Thread Tomas Jelinek
Hey Johann,

I think this is not an actual bug but a general issue with the migration 
convergence + a general problem with reported error messages 
during migrations (both are being worked on and targeted to 4.0).

In your particular case the root cause seems like this from logs:
"The migration took 40 seconds which is exceeding the configured maximum time 
for migrations of 32 s
econds. The migration will be aborted."

So I'd say the VM was able to trash the memory faster than being moved to 
destination and after 40s it was aborted. 
What you can do is to go to the vdsm.conf on each host and tweak migration 
progress timeout, migration bandwidth (if you have capacity for more than 32 
MBps on the migration network per VM) and maybe max migration downtime (the 
time how long the VM can be paused at the end of migration).

Also from inside of the guest you can try to reduce the load if possible so it 
will not trash the memory so fast...

hope some of this helps,
Tomas

- Original Message -
> From: "Johann Kiefel" 
> To: users@ovirt.org
> Sent: Thursday, December 17, 2015 4:32:36 PM
> Subject: [ovirt-users] Migration of VM fails Failed in 'DestroyVDS' method 
> Message: VDSM command failed: Virtual
> machine does not exist
> 
> 
> Dear collegues,
> 
> please help us out. The migration of VMs from host to host fails, while we
> think that we configured everything properly. We searched through the
> mailing list and found nothing that describes/handles our error.
> 
> 
> The Details:
> 
> We have three identical hosts and completed the self_hosted_engine
> installation on all of them (Host OS is the latest CentOS 7). As shared
> storage we use a NFS share hosted by an independent storage server. The
> shares are presented on a dedicated network: (192.168.23.0/24). All of the
> hosts have two networks. The management network is 192.168.10.0\24 and the
> 10Gbit storage network: 192.168.23.0/24.
> 
> Our hosted engine (192.168.10.20) is up and running. All three hosts are
> connected and in status up. We create the second logical network "storage"
> for our physical storage network. Syncing and testing it on every host. This
> "storage" Network get the roles "migration" and "gluster" the Hosted-Engine
> UI.
> We create and mount our Data, Iso and Export domains in the Hosted-Engine UI
> over 192.168.23.0 (storage) network. We successfully install an CentOs 6 or
> 7 VM and can connect to them.
> 
> Now if we try to migrate the VM, the migration fails.
> 
> 
> The Logs:
> 
> 
> 
> ###
> engine.log from the Engine VM
> 
> ###
> 
> 
> 2015-12-17 13:50:09,033 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVDSCommand]
> (DefaultQuartzScheduler_Worker-34) [20ed2774] START,
> FullListVDSCommand(HostName = ,
> FullListVDSCommandParameters:{runAsync='true', hostId='62e30
> d77-fe4b-41d4-a9f7-b66d0a6ad7bd',
> vds='Host[,62e30d77-fe4b-41d4-a9f7-b66d0a6ad7bd]',
> vmIds='[408e7c39-d2a2-4412-8522-6eda216f17e0]'}), log id: 34cea1dd
> 2015-12-17 13:50:09,075 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVDSCommand]
> (DefaultQuartzScheduler_Worker-34) [20ed2774] FINISH, FullListVDSCommand,
> return: [{status=Up, nicModel=rtl8139,pv, emulatedMachine=pc, guestDisk
> Mapping={398398f3-9572-4d67-8={name=/dev/vda}, QEMU_DVD-ROM={name=/dev/sr0}},
> vmId=408e7c39-d2a2-4412-8522-6eda216f17e0, pid=19010,
> devices=[Ljava.lang.Object;@69e4cf40, smp=4, vmType=kvm, displayIp=0,
> display=vnc, displaySecurePort=-1, m
> emSize=4096, displayPort=5900, cpuType=SandyBridge,
> spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir,
> statusTime=4455363570, vmName=HostedEngine, clientIp=, pauseCode=NOERR}],
> log id: 34cea1dd
> 2015-12-17 13:50:09,076 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVDSCommand]
> (DefaultQuartzScheduler_Worker-34) [20ed2774] START,
> FullListVDSCommand(HostName = ,
> FullListVDSCommandParameters:{runAsync='true', hostId='62e30
> d77-fe4b-41d4-a9f7-b66d0a6ad7bd',
> vds='Host[,62e30d77-fe4b-41d4-a9f7-b66d0a6ad7bd]',
> vmIds='[0e956372-f4bd-4535-8472-73829277593f]'}), log id: 74f63ccf
> 2015-12-17 13:50:09,105 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVDSCommand]
> (DefaultQuartzScheduler_Worker-34) [20ed2774] FINISH, FullListVDSCommand,
> return: [{acpiEnable=true, emulatedMachine=pc-i440fx-rhel7.2.0, tabletE
> nable=true, pid=30907, memGuaranteedSize=512, transparentHugePages=true,
> displaySecurePort=-1, spiceSslCipherSuite=DEFAULT, cpuType=SandyBridge,
> smp=1, pauseCode=NOERR, guestNumaNodes=[Ljava.lang.Object;@74afaff3,
> smartcardEnable=false, n
> umaTune={nodeset=0,1, mode=interleave}, custom={}, vmType=kvm, memSize=512,
> smpCoresPerSocket=1, vmName=tiny-i1, nice=0, status=Up, maxMemSize=4194304,
> bootMenuEnable=false, vmId=0e956372-f4bd-4535-8472-73829277593f,
> displayIp=0, displayP
> ort=5901, guestDiskMapping={},
> sp

Re: [ovirt-users] Disable spice proxy by default

2016-01-28 Thread Tomas Jelinek


- Original Message -
> From: "Cristian Mammoli" 
> To: "users" 
> Sent: Tuesday, January 26, 2016 2:38:27 PM
> Subject: [ovirt-users] Disable spice proxy by default
> 
> Hi, is there a way to:
> 1) Define spice proxy as cluster level

yes, in the edit cluster dialog under console side tab

> 2) Disable it by default and only enable it when needed

per vm you can enable/disable the proxy in the console options dialog (when the 
VM is running than right click it and the console options). 
This setting is than persisted on the client side (in browser). 
But by default, when the proxy is enabled per cluster, it will be enabled per 
VM.

> 
> The reason behind this is that I want users to connect to vdi machines
> directly when they are in the office and only enable proxy manually when
> they try to access from outside
> 
> Ty
> ___
> 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] shutting down a host witn running vms on it.

2016-03-14 Thread Tomas Jelinek


- Original Message -
> From: "Nathanaël Blanchet" 
> To: users@ovirt.org
> Sent: Wednesday, February 24, 2016 3:55:29 PM
> Subject: [ovirt-users] shutting down a host witn running vms on it.
> 
> Hi all,
> 
> What is the behaviour of a host with running vms when a reboot is
> initiated, for instance by a powerchute shutdown event or an init event?
> In such a case, will vms will properly shutdown?

no, VDSM does not catch any such events to clean the VMs up.
You should not interact with the hosts directly this way.
If you need to, than you should first put the host to maintenance mode. 
Moving to maintenance mode will than migrate the VMs out of the
running host and prepare everything in a way that the host is again yours.

> Thank you for your help.
> 
> --
> Nathanaël Blanchet
> 
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Announcing moVirt 1.3 (a mobile client for oVirt)

2016-03-15 Thread Tomas Jelinek
The moVirt Project is pleased to announce the availability of the moVirt 1.3,
an Android client for oVirt.

This release is available either on Google Play store or using a direct link 
[1].

This release supports oVirt 3.4+ and Android 4.1+.

This release of moVirt 1.3 includes numerous bug fixes and UX enhancements.
The main feature of the release is support for VM snapshots.

For more information about moVirt look at project page [2], short video [3] or 
long
video [4] (both slightly older versions so the UX is a much better now).

Huge thanks to all who have contributed, either by contributing code or 
submitting bug reports!

Tomas

[1]: 
https://github.com/matobet/moVirt/blob/master/moVirt/moVirt-release.apk?raw=true
[2]: https://github.com/matobet/movirt
[3]: https://www.youtube.com/watch?v=QnD9v70oefA
[4]: https://www.youtube.com/watch?v=6w9t1wxNKBE 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to move disk on (non-)stateless machine

2016-03-18 Thread Tomas Jelinek


- Original Message -
> From: nico...@devels.es
> To: users@ovirt.org
> Sent: Wednesday, March 16, 2016 7:14:22 PM
> Subject: [ovirt-users] Unable to move disk on (non-)stateless machine
> 
> Hi,
> 
> We're running oVirt 3.6.3.4-1. We have 2 storage domains of the same
> kind (both iSCSI). We're moving some of the disks from one to other,
> preferably without shutting down the machine. When moving a disk with
> the VM started, the following error is thrown:
> 
>  Error while executing action: Cannot move Virtual Machine Disk. The
> VM is running as Stateless. Please try again when VM is not running as
> Stateless.
> 
> This machine is inside a VM pool based on a template that is not
> stateless, nor is the VM pool, nor the VM itself.
> 
> In [1]: template = api.templates.get(name='templatename')
> In [2]: template.get_stateless()
> Out[2]: False
> 
> In [3]: vm = api.vms.get(name='vmname')
> In [4]: vm.get_stateless()
> Out[4]: False
> 
> Additionally, in the General tab of the VM Pool:
> 
>  Is Stateless:false
> 
> If nothing is stateless, why is the error shown?

The VMs in a pool are always stateless. 
There is an RFE [1] making the pools stateful, but not yet implemented.

But the reporting is not correct, we should not report they are stateless if 
they are not.
Can you please open a bug for this?
Thank you!

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1234394

> 
> Thanks.
> 
> Nicolás
> ___
> 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] cloned vm template id

2016-05-04 Thread Tomas Jelinek
the thing is that:
- if you create a VM from a template using the "clone" provisioning the VM is 
detached from the VM and is considered to be based on Blank
- this is why the VM dialog shows blank and the REST returns blank
- there has been a feature implemented (in 3.5 IIRC) which introduced the 
concept of "original template" - so we remember also what template it was 
cloned from (both name and ID)
- it seems this particular field is not exposed to REST API, only to UI

So, could you please open a bug for this to expose also this field to REST API? 
Thank you.

- Original Message -
> From: "Dobó László" 
> To: "Michal Skrivanek" 
> Cc: "users" 
> Sent: Wednesday, May 4, 2016 1:04:04 PM
> Subject: Re: [ovirt-users] cloned vm template id
> 
> Here is that part:
> 
>  template_id = '91e35bf5-b338-4115-ab63-309372a819ac'
> #Ubuntu-14.04 template
> 
>  template = api.templates.get(id=template_id)
>  template_disk_id = template.disks.list()[0].id
>  storage_id = 'UUID' #random storage id from storage list
>  cluster = api.clusters.get(name=vm_data['cluster_name'])
>  cpuparams = params.CPU(topology = params.CpuTopology(cores = 1,
> sockets = vm_data['vm_cpus']))
>  disks = params.Disks(clone=True,
> disk=[params.Disk(id=template_disk_id,
> storage_domains=params.StorageDomains(storage_domain=[params.StorageDomain(id=storage_id)]))])
> 
> 
> 
>  vmparams = params.VM(
>  id = vm_data['vm_id'],
>  name = vm_data['vm_name'],
>  memory = vm_data['vm_memory'] * MB,
>  cluster=cluster,
>  template=template,
>  cpu = cpuparams,
>  disks = disks,
>  custom_properties = custom_properties,
>  )
>  vmparams.set_type = 'server'
> 
>  vm = api.vms.add(vmparams)
> 
> 
> Every thing works fine, just showing blank template id instead of ubuntu
> template id.
> 
> 
> Thanks,
> 
> enax
> 
> 
> 
> On 05/04/2016 12:44 PM, Michal Skrivanek wrote:
> >> On 04 May 2016, at 12:43, Dobó László  wrote:
> >>
> >> That vm is based on ubuntu template, the general subtab showing right.
> > and how exactly did you create that VM? anything special about it? if you
> > now create a new VM, is it showing the same behavior?
> >
> >>
> >> On 05/04/2016 12:08 PM, Michal Skrivanek wrote:
>  On 04 May 2016, at 10:52, Dobó László  wrote:
> 
>  I just realize there is two general tab on web ui, so i understand now
>  where the blank id come.
> 
>  Yeah its looks like a bug, from the attachment picture will be clear
>  what is the problem.
> >>> ok, so it is based off blank, it’s just the general subtab of the main
> >>> view showing something else
> >>>
>  Thanks,
> 
>  enax
> 
> 
>  On 05/04/2016 10:31 AM, Michal Skrivanek wrote:
> >> On 04 May 2016, at 10:24, Dobó László  wrote:
> >>
> >> Yes, its cloned from different template than Blank, and later i need
> >> to know which one was that template.
> >>
> >>
> >> Thanks,
> >>
> >> enax
> >>
> >>
> >> On 05/04/2016 09:49 AM, Michal Skrivanek wrote:
>  On 02 May 2016, at 13:13, Dobó László  wrote:
> 
>  Hello,
> 
>  How can i get back the original template id after vm is cloned with
>  python sdk?
>  print api.vms.get(id=vm_id).template.id
>  result: ---- (blank template)
> 
>  However under vm general tab on web ui, the tamplate name is showing
>  correctli.
> >>> what do you mean correctly - what does it show? Did you clone it from
> >>> a different template or is it a new VM from Blank
> > ah, ok, so you’re saying it shows blank id in REST API but it shows the
> > correct id in the UI, right?
> >
> > filing a bug sounds like a good idea.
> >
> > Thanks,
> > michal
> >
> >>> Thanks,
> >>> michal
> >>>
>  regards,
>  enax
> 
> 
> 
>  ___
>  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] Open in Full Screen

2016-05-04 Thread Tomas Jelinek
Hi Colin,

no, there is no such option.

Tomas

- Original Message -
> From: "Colin Coe" 
> To: "Marek Libra" 
> Cc: "users" 
> Sent: Wednesday, May 4, 2016 2:57:56 PM
> Subject: Re: [ovirt-users] Open in Full Screen
> 
> Hi Marek and thanks for the reply.
> 
> Can the "Connect Automatically" check box on the User Portal login page be
> set to a global default of unchecked ?
> 
> Thanks
> 
> On Wed, May 4, 2016 at 7:59 PM, Marek Libra < mli...@redhat.com > wrote:
> 
> 
> 
> The "Open in Full Screen" will be configurable via engine-config in 4.0
> 
> 
> 
> 
> 
> From: "Colin Coe" < colin@gmail.com >
> To: "users" < Users@ovirt.org >
> Sent: Friday, April 29, 2016 6:20:29 AM
> Subject: [ovirt-users] Open in Full Screen
> 
> 
> Hi all
> 
> Is there a setting for globally turning on the console option of "Open in
> Full Screen"?
> 
> Also, can the "Connect Automatically" be permanently and globally disabled?
> 
> We're on RHEV 3.5.7
> 
> Thanks
> 
> CC
> 
> ___
> 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] Stale VM template

2016-05-04 Thread Tomas Jelinek
Hi Bhaskarkairan,

how long the template has been locked?
Could you please attach the logs (engine, vdsm) from the relevant time period?

Thank you,
Tomas

- Original Message -
> From: "Bhaskarakiran" 
> To: users@ovirt.org
> Sent: Wednesday, May 4, 2016 6:58:26 PM
> Subject: [ovirt-users] Stale VM template
> 
> Hi,
> 
> I was trying to make a template of RHEL7.2 VM from GUI (hosted engine) and
> the status shows "Image Locked" for a very long time now. Tried restarting
> ovirt-engine and didn't help. Can someone let me know how do i cancel that
> operation.
> 
> Thanks,
> Bhaskarkairan.
> 
> ___
> 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] 3.6.5.3: UI Uncaught Exception: New VM from Template

2016-05-10 Thread Tomas Jelinek


- Original Message -
> From: "Richard Chan" 
> To: users@ovirt.org
> Sent: Sunday, May 8, 2016 5:08:40 AM
> Subject: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from Template
> 
> Hello list, I hope you can help with a UI exception from New VM from
> Template.
> 
> 1. User (PowerUser) is able to create New VMs manually
> 2. New VM from template gives a UI exception:

It does not happen to me, I will have some questions:
- is it in userportal, right?
- what exact permissions the user has?
- is this working for admin@internal user?
- what exact browser generated this exception? (so I will be able to match the 
property 'f' to something)
- is some quota around?

Thanx, 
Tomas

> 
> __gwt$exception: : Cannot read property 'f' of undefined
> 
> 2016-05-08 11:04:50,875 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default
> task-28) [] Permutation name: 56114F8548175924C03C3BC67436871E
> 2016-05-08 11:04:50,875 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default
> task-28) [] Uncaught exception: :
> com.google.gwt.core.client.JavaScriptException: (TypeError)
> __gwt$exception: : f is undefined
> at
> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$updateImageToDestinationDomainMap(DisksAllocationModel.java:288)
> at
> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$getImageToDestinationDomainMap(DisksAllocationModel.java:130)
> at
> org.ovirt.engine.ui.uicommonweb.models.templates.VmBaseListModel.$saveNewVm(VmBaseListModel.java:354)
> at
> org.ovirt.engine.ui.uicommonweb.models.templates.VmBaseListModel.$onSaveVM(VmBaseListModel.java:331)
> at
> org.ovirt.engine.ui.uicommonweb.models.templates.VmBaseListModel$6.onSuccess(VmBaseListModel.java:309)
> at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:244)
> [frontend.jar:]
> 
> 
> 
> 
> 
> --
> Richard Chan
> 
> 
> ___
> 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] vioscsi.sys BSOD with Win 7

2016-05-10 Thread Tomas Jelinek
Hi,

please try to install this guest tools:
http://resources.ovirt.org/pub/ovirt-3.6/rpm/el6/noarch/ovirt-guest-tools-iso-3.6-3.fc23.noarch.rpm

Also please make sure you point windows to the correct driver in the 
sub-directory for w7

Tomas

- Original Message -
> From: "Cam Mac" 
> To: users@ovirt.org
> Sent: Monday, May 9, 2016 7:28:57 PM
> Subject: [ovirt-users] vioscsi.sys BSOD with Win 7
> 
> Hi,
> 
> I'm running oVirt 3.6.3.4-1.el7.centos and when I install a Win 7 guest VM,
> using VirtIO disk, networking etc, it goes through the install process ok,
> but blue screens upon boot with a vioscsi.sys error (attached). I have tried
> the official version ovirt-guest-tools-iso 3.6.0 0.2_master.fc22, as well as
> some earlier and later versions. I am using a PXE boot method with a Windows
> deployment server, which has the drivers from the oVirt tools ISO installed
> (indeed, it picks up the drive and networking and I can see it installing
> the drivers). I have tried with the generic IDE and rtl8139 config on the
> guest, and it also fails with the same vioscsi.sys error after rebooting
> upon finishing installation even though I'm using IDE as the disk driver.
> 
> I have uploaded a win 7 x64 ISO and tried installing that, and it loads the
> VirtIO viostor driver (using the method at:
> https://www.ovirt.org/documentation/how-to/virtual-machines/create-a-windows-7-virtual-machine/
> ), and even manages to partition the disks, but fails to install on the disk
> (screenshot attached).
> 
> I've tried temporarily removing the vioscsi files from the install server as
> a last resort, but as expected it fails to install properly, though I
> thought it used the viostor driver instead.
> 
> Thanks for any help.
> 
> Regards,
> 
> Cam
> 
> ___
> 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] vioscsi.sys BSOD with Win 7

2016-05-10 Thread Tomas Jelinek
Hi Ladi,

do you know if the upstream virtio drivers are correctly signed?
In particular:
http://resources.ovirt.org/pub/ovirt-3.6/rpm/el6/noarch/ovirt-guest-tools-iso-3.6-3.fc23.noarch.rpm

If yes, any idea what can be the issue Cam faces?

thank you,
Tomas

- Original Message -
> From: "Arman Khalatyan" 
> To: "Cam Mac" 
> Cc: "Tomas Jelinek" , "users" 
> Sent: Tuesday, May 10, 2016 9:19:49 PM
> Subject: Re: [ovirt-users] vioscsi.sys BSOD with Win 7
> 
> Same bsod was with win2008 server, in order to fix it we changed nics to
> e1000 and disks to IDE. Now it boots w/o trouble.
> Am 10.05.2016 7:43 nachm. schrieb "Cam Mac" :
> 
> > Hi Tomas,
> >
> > The install went ok, but Windows complains:
> >
> > "File: \windows\system32\drivers\vioscsi.sys
> > status: 0xc428
> > Windows cannot verify the digital signature for this file"
> >
> > Regards,
> >
> > Campbell
> >
> > On Tue, May 10, 2016 at 6:29 PM, Cam Mac  wrote:
> >
> >> Hi Tomas,
> >>
> >> Thanks, I will test that later tonight and let you know.
> >>
> >> Regards,
> >>
> >> Cam
> >>
> >> On Tue, May 10, 2016 at 3:28 PM, Tomas Jelinek 
> >> wrote:
> >>
> >>> Hi,
> >>>
> >>> please try to install this guest tools:
> >>>
> >>> http://resources.ovirt.org/pub/ovirt-3.6/rpm/el6/noarch/ovirt-guest-tools-iso-3.6-3.fc23.noarch.rpm
> >>>
> >>> Also please make sure you point windows to the correct driver in the
> >>> sub-directory for w7
> >>>
> >>> Tomas
> >>>
> >>> - Original Message -
> >>> > From: "Cam Mac" 
> >>> > To: users@ovirt.org
> >>> > Sent: Monday, May 9, 2016 7:28:57 PM
> >>> > Subject: [ovirt-users] vioscsi.sys BSOD with Win 7
> >>> >
> >>> > Hi,
> >>> >
> >>> > I'm running oVirt 3.6.3.4-1.el7.centos and when I install a Win 7
> >>> guest VM,
> >>> > using VirtIO disk, networking etc, it goes through the install process
> >>> ok,
> >>> > but blue screens upon boot with a vioscsi.sys error (attached). I have
> >>> tried
> >>> > the official version ovirt-guest-tools-iso 3.6.0 0.2_master.fc22, as
> >>> well as
> >>> > some earlier and later versions. I am using a PXE boot method with a
> >>> Windows
> >>> > deployment server, which has the drivers from the oVirt tools ISO
> >>> installed
> >>> > (indeed, it picks up the drive and networking and I can see it
> >>> installing
> >>> > the drivers). I have tried with the generic IDE and rtl8139 config on
> >>> the
> >>> > guest, and it also fails with the same vioscsi.sys error after
> >>> rebooting
> >>> > upon finishing installation even though I'm using IDE as the disk
> >>> driver.
> >>> >
> >>> > I have uploaded a win 7 x64 ISO and tried installing that, and it
> >>> loads the
> >>> > VirtIO viostor driver (using the method at:
> >>> >
> >>> https://www.ovirt.org/documentation/how-to/virtual-machines/create-a-windows-7-virtual-machine/
> >>> > ), and even manages to partition the disks, but fails to install on
> >>> the disk
> >>> > (screenshot attached).
> >>> >
> >>> > I've tried temporarily removing the vioscsi files from the install
> >>> server as
> >>> > a last resort, but as expected it fails to install properly, though I
> >>> > thought it used the viostor driver instead.
> >>> >
> >>> > Thanks for any help.
> >>> >
> >>> > Regards,
> >>> >
> >>> > Cam
> >>> >
> >>> > ___
> >>> > 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] Exclamation mark on Windows guests Ovirt 3.6.5

2016-05-11 Thread Tomas Jelinek
Hi Darryl,

do you have an ovirt guest agent installed on your guests? If yes, could you 
please check in webadmin
in VM main tab -> pick your VM which show this exclamation mark -> guest info 
subtab -> what is in "type" part?

Thanx,
Tomas

- Original Message -
> From: "Darryl Bond" 
> To: "users" 
> Sent: Wednesday, May 11, 2016 1:31:42 AM
> Subject: [ovirt-users] Exclamation mark on Windows guests Ovirt 3.6.5
> 
> Why do all my windows guests display an exclamation mark with the message
> 'Actual operating system type differs from the configuration' They don't.
> 
> There is a variety of Windows OS installed from XP to Server 2102 all
> configured correctly.
> 
> My linux VM's don't have an exclamation mark
> 
> 
> I installed the QEMU guest tools on an XP guest. No difference.
> 
> vdsClient -s 0 getVmStats  show no obvious difference between the
> Windows and linux guests.
> 
> 
> 
> Regards
> 
> Darryl
> 
> ?
> 
> 
> 
> 
> The contents of this electronic message and any attachments are intended only
> for the addressee and may contain legally privileged, personal, sensitive or
> confidential information. If you are not the intended addressee, and have
> received this email, any transmission, distribution, downloading, printing
> or photocopying of the contents of this message or attachments is strictly
> prohibited. Any legal privilege or confidentiality attached to this message
> and attachments is not waived, lost or destroyed by reason of delivery to
> any person other than intended addressee. If you have received this message
> and are not the intended addressee you should notify the sender by return
> email and destroy all copies of the message and any attachments. Unless
> expressly attributed, the views expressed in this email do not necessarily
> represent the views of the company.
> ___
> 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] [moVirt] Add several datacenters

2016-05-13 Thread Tomas Jelinek


- Original Message -
> From: "Nicolas Ecarnot" 
> To: "users" 
> Sent: Friday, May 13, 2016 3:54:03 PM
> Subject: [ovirt-users] [moVirt] Add several datacenters
> 
> Hello,
> 
> I finally was able to correctly connect to one of our DC with moVirt, so
> I can show off and it is so cool.
> But I find no way to add several datacenters.

If you mean by "datacenter" the datacenters inside one ovirt installation then 
it should work and you should see VMs from all of them (with ability to filter 
by cluster).

If you mean several ovirt installations than it is not implemented, but it is 
one of the things we would like to implement.
So I have opened an issue for it: https://github.com/matobet/moVirt/issues/174

> 
> May someone help please?
> 
> --
> Nicolas ECARNOT
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to migrate un-migratable VMs?

2016-05-17 Thread Tomas Jelinek


- Original Message -
> From: "Nicolas Ecarnot" 
> To: users@ovirt.org
> Sent: Monday, May 16, 2016 12:32:31 PM
> Subject: [ovirt-users] How to migrate un-migratable VMs?
> 
> Hi,
> 
> Some VMs are doing high guest-memory writes (mainly files and mail
> servers, but not only), so migrations are reproductively failing.
> I found some info here :
> https://bugzilla.redhat.com/show_bug.cgi?id=919201
> that confirm what I was fearing.
> 
> This BZ is aging from dinosaurs times, so I was wondering now we're in
> the 3.6.x age and 4.x coming, are there advices one may give to migrate
> those verbose VMs?

hi,

in 4.0 we have been working hard to enhance the migrations:
https://bugzilla.redhat.com/1252426

in 4.0 it should:
- make use of the bandwidth much better
- have some policies which will be managing the downtime and you will be able 
to pick per cluster and override per VM
- have ability to write custom hooks inside the guest which will be notified 
that now the VM is migrating (if you have some custom logic you want to do)

...and some more enhancements

Long story short, in 4.0 it your VMs should migrate much more smooth

> 
> I guess increasing the allowed page memory is not a correct answer as it
> will fill as before.
> 
> Any thoughts?
> 
> --
> Nicolas ECARNOT
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] moVirt 1.4 RC1 (Android client for oVirt)

2016-05-25 Thread Tomas Jelinek
Hey All,

the first RC of moVirt 1.4 has been released! 

It can be downloaded only using direct link[1] - the play store will be 
upgraded after considered stable.

The most important feature of this release was to enhance the dashboard so it 
will look similar to the one coming to oVirt 4.0.
Screenshot attached.

Other changes:
- Added new dashboard functionality (virtual/physical consumption, clickable 
cpu/memory consumption)
- Better UI (dashboard, adding/editing triggers)
- Better sorting in lists
- Memory units are now displayed correctly
- Fixed crashing bugs when looking at hosted engine

Would you like to help/contribute?
Sure, for example you can:
- give feedback on the new dashboard (the one from the attachment)
- download RC [1], test it and report bugs
- patches are also welcome :)

have a nice day,
Tomas

[1]: 
https://github.com/matobet/moVirt/blob/master/moVirt/moVirt-release.apk?raw=true___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moVirt 1.4 stable! (Android client for oVirt)

2016-05-27 Thread Tomas Jelinek
Thanks everyone for the comments, the new stable moVirt 1.4 has just been 
released to play store - should arrive to your devices in the next couple of 
hours.

Changes from RC 1:
- on dashboard showing only one of most utilized list (either VMs or Hosts, 
depending on the view)
- show colored icons in top boxes only if there is some error/warning. 
Otherwise white
- units are changed to display by IEC standard - KiB, MiB, etc.

The new screenshot attached.

Thank you everybody for useful comments! And special thank to Filip to actually 
implement them :)

Now, the main adventure for v1.5 will be to start using the new oVirt 4.0 API.

have a nice weekend,
Tomas
 
- Original Message -
> From: "Filip Krepinsky" 
> To: "Yaniv Kaul" 
> Cc: "Suomi II" , "users" , "Michal 
> Skrivanek" 
> Sent: Thursday, May 26, 2016 6:05:16 PM
> Subject: Re: [ovirt-users] moVirt 1.4 RC1 (Android client for oVirt)
> 
> 
> 
> 
> 
> 
> 
> - Original Message -
> > 
> > 
> > On Wed, May 25, 2016 at 6:32 PM, Michal Skrivanek < mskri...@redhat.com >
> > wrote:
> > 
> > 
> > 
> > > On 25 May 2016, at 13:50, Tomas Jelinek < tjeli...@redhat.com > wrote:
> > > 
> > > Hey All,
> > > 
> > > the first RC of moVirt 1.4 has been released!
> > > 
> > > It can be downloaded only using direct link[1] - the play store will be
> > > upgraded after considered stable.
> > > 
> > > The most important feature of this release was to enhance the dashboard
> > > so
> > > it will look similar to the one coming to oVirt 4.0.
> > > Screenshot attached.
> > > 
> > > Other changes:
> > > - Added new dashboard functionality (virtual/physical consumption,
> > > clickable cpu/memory consumption)
> > > - Better UI (dashboard, adding/editing triggers)
> > > - Better sorting in lists
> > > - Memory units are now displayed correctly
> > > - Fixed crashing bugs when looking at hosted engine
> > > 
> > > Would you like to help/contribute?
> > > Sure, for example you can:
> > > - give feedback on the new dashboard (the one from the attachment)
> > 
> > Looks great!
> 
> Thanks for the feedback everyone.
> 
> > 
> > 
> > 
> > I guess the two lists in portrait mode are truncated all the time, it would
> > probably make more sense to show only one column and switch hosts/vms via
> > real/virtual toggle
> > 
> > Or show the top 5 VMs and below it, the top 5 hosts. This way the text
> > isn't
> > cut:
> 
> I think we should show only one list (hosts/vms) depending on the state of
> the view (physical/virtual), which I think will make more sense from UI
> perspective.
> 
> > 
> > Most utilized VMs:
> > abc-vm 107%
> > def-vm 105%
> > this-and-that-vm 44%
> > 
> > Most utilized hosts:
> > this-host 27%
> > that-host 30%
> > 
> > ...
> > 
> > 
> > 
> > 
> > 
> > > - download RC [1], test it and report bugs
> > 
> > Small nitpick - the color of the warning icon should not be yellow if there
> > are no warnings.
> > Y.
> 
> Yes this would be better for warnings and error events.
> 
> > 
> > 
> > > - patches are also welcome :)
> > > 
> > > have a nice day,
> > > Tomas
> > > 
> > > [1]:
> > > https://github.com/matobet/moVirt/blob/master/moVirt/moVirt-release.apk?raw=true
> > > ___
> 
> The link to the APK has been updated to RC2 (units were changed to display by
> IEC standard - KiB, MiB, etc.)
> 
> > > Users mailing list
> 
> I will start working on the changes mentioned.
> Filip
> 
> > > 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] Ovirt Engine - Wait For Launch

2016-05-31 Thread Tomas Jelinek
We will need some more details:
- VDSM and engine version
- logs (engine and vdsm)
- please make a REST request to /ovirt-engine/api/vms and check if 
the VMs are reported as UP or wait for launch

A quick and nasty recommendation would be to restart VDSM and engine and lets 
see if helps.

Tomas

- Original Message -
> From: "Brett Maton" 
> To: "Ovirt Users" 
> Sent: Wednesday, May 25, 2016 9:19:19 AM
> Subject: [ovirt-users] Ovirt Engine - Wait For Launch
> 
> I did a yum update on one of my Ovirt Hosts a few days ago.
> All of the VM's on that host have been shown in the web UI with a status of
> 'Wait For Launch'.
> 
> The VM's all appear to still be up and running but I can't manage/migrate
> them.
> 
> Is there anything I can do to clear this issue ?
> 
> Regards,
> Brett
> 
> ___
> 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] Hiding extended user interface

2016-06-01 Thread Tomas Jelinek


- Original Message -
> From: "Alexis HAUSER" 
> To: "users" 
> Sent: Wednesday, June 1, 2016 10:39:15 AM
> Subject: [ovirt-users] Hiding extended user interface
> 
> Hi,
> 
> 
> Is there a way to hide the "extended" user interface, and show only the
> "basic" one ?

yes, but it depends on the roles. If you have a user which is allowed only to 
start/stop/reboot the vm and connect to console (UserRole I think) than in user 
portal he will see only the basic user portal. Otherwise both basic and power.

> Is it also possible to show only the extended and hide the basic ?

no, this is not possible

> ___
> 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: [Users] oVirt 3.3 SPICE console error 500

2013-07-26 Thread Tomas Jelinek
Well, this is an error introduced by upgrading the GWT and it broke our 
serialization mechanism.
There is a bug opened (well, not exactly your issue but a different which is 
caused by the same problem - see the comments).

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

- Original Message -
> From: "Jakub Bittner" 
> To: users@ovirt.org
> Sent: Friday, July 26, 2013 8:01:04 AM
> Subject: [Users] oVirt 3.3 SPICE console error 500
> 
> Hello,
> I upgraded oVirt to 3.3 and when I want to launch SPICE console I get
> error 500 on web ui. I tried to install websovketproxy package, enabled
> it by "engine-config -s WebSocketProxy="Engine:6100" " But it did not
> help. I dont know what I did wrong. Logs are bellow. Thank you for advice
> 
> ==> ovirt-engine/engine.log <==
> 2013-07-25 15:22:31,717 INFO
> [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-8)
> Running command: SetVmTicketCommand internal: false. Entities affected
> :  ID: 8c6ea349-902f-4457-8c3f-49ee5d4cf6b9 Type: VM
> 2013-07-25 15:22:31,726 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> (ajp--127.0.0.1-8702-8) START, SetVmTicketVDSCommand(HostName =
> node19.nbu.cz, HostId = dc1fde46-66af-4f66-947a-12791cd6b9a0,
> vmId=8c6ea349-902f-4457-8c3f-49ee5d4cf6b9, ticket=7LP81DPq1CpR,
> validTime=120,m userName=admin@internal,
> userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 1b7e23bf
> 2013-07-25 15:22:31,764 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> (ajp--127.0.0.1-8702-8) FINISH, SetVmTicketVDSCommand, log id: 1b7e23bf
> 
> ==> ovirt-engine/server.log <==
> 2013-07-25 15:22:31,865 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/webadmin]]
> (ajp--127.0.0.1-8702-8) Exception while dispatching incoming RPC call:
> java.lang.NullPointerException
> at
> com.google.gwt.rpc.server.WebModePayloadSink.getBytes(WebModePayloadSink.java:860)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.push(WebModePayloadSink.java:767)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.constructorFunction(WebModePayloadSink.java:636)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:259)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:236)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.ArrayValueCommand.traverse(ArrayValueCommand.java:53)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:291)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:375)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.InvokeCustomFieldSerializerCommand.traverse(InvokeCustomFieldSerializerCommand.java:76)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:236)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.ArrayValueCommand.traverse(ArrayValueCommand.java:53)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:291)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54)
> [gwt-servlet.jar:]
> at
> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
> [gwt-servle

Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+

2013-12-09 Thread Tomas Jelinek
Hi Frank,

could you please attach the frontend logs from FF if there are any exceptions?
You can do it by:
Tools -> Web Developer -> Error Console
and than refresh the browser and navigate to the tabs where the issues are.

Thanx,
Tomas

- Original Message -
> From: "Frank Wall" 
> To: "oVirt Users" 
> Sent: Monday, December 9, 2013 10:41:22 AM
> Subject: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+
> 
> Hi,
> 
> I'm experiencing a strange UI bug in the Amdin Portal. The
> "Virtual Machines" tab is unusable in serval ways:
> 
> - when selecting a VM, all buttons are greyed-out, except "New VM"
> - you cannot power on, power off, open console or edit a VM
> - when selecting a VM, the VM-specific tabs do not appear on the bottom
> 
> All other tabs, especially the "Hosts" tab are working as expected.
> 
> Initially I suspected an incompatible browser on my side, so I
> tried with Firefox 25, Chrome and IE 11. No success.
> 
> This UI bug hit me after upgrading from oVirt 3.3.0 to 3.3.1.
> And it is still reproducable in oVirt 3.3.2 BETA1.
> 
> Any hint on this? Or any advice how to provide some useful
> debug output?
> 
> I have to mention that I am able to workaround this bug:
> 
> - select a VM
> - right click, choose "New VM", click "Cancel"
> - now most VM actions are no longer greyed-out
> - power on the VM
> - still the "console" button remains greyed-out
> 
> 
> Thanks
> - Frank
> ___
> 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: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+

2013-12-09 Thread Tomas Jelinek

- Original Message -
> From: "Frank Wall" 
> To: "Tomas Jelinek" 
> Cc: "oVirt Users" 
> Sent: Monday, December 9, 2013 11:08:14 AM
> Subject: Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+
> 
> Hi Tomas,
> 
> Am 2013-12-09 10:47, schrieb Tomas Jelinek:
> > could you please attach the frontend logs from FF if there
> > are any exceptions?
> 
> not much, but this is what I got:
> http://pastebin.com/5p3PbSRG

Quite a lot actually - seems like a class cast exception. Let me compile that 
exact version of oVirt and see what that actually says.
Just to make sure to avoid unnecessary compilation: this logs are from 3.3.2 
BETA1, right?

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


Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+

2013-12-09 Thread Tomas Jelinek
Hey Frank,

so according to the logs it seems that it failed in 
AsyncDataProvider.hasSpiceSupport(...) 
because of access to the map failed on NPE. Problem is that there are two 
accesses to map.
So, there are two possibilities what happened:

1: the OsRepository query failed (to verify this please attach the engine logs 
(the part right after you log into webadmin - the values get cached and not 
requested anymore)

2: spiceSupportMatrix.get(osId) returned null. This could be because of the OS 
of ANY of the VMs currently shown in the VM list is not present in libosinfo 
config. 
I would guess this is the issue. To verify this could you please paste here the 
content of all .../osinfo.conf.d/*.properties and also the result of 
"select os, vm_name from vm_static" DB query so we can find which value is not 
there.

Thanx,
Tomas

- Original Message -
> From: "Tomas Jelinek" 
> To: "Frank Wall" 
> Cc: "oVirt Users" 
> Sent: Monday, December 9, 2013 11:12:28 AM
> Subject: Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+
> 
> 
> - Original Message -
> > From: "Frank Wall" 
> > To: "Tomas Jelinek" 
> > Cc: "oVirt Users" 
> > Sent: Monday, December 9, 2013 11:08:14 AM
> > Subject: Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+
> > 
> > Hi Tomas,
> > 
> > Am 2013-12-09 10:47, schrieb Tomas Jelinek:
> > > could you please attach the frontend logs from FF if there
> > > are any exceptions?
> > 
> > not much, but this is what I got:
> > http://pastebin.com/5p3PbSRG
> 
> Quite a lot actually - seems like a class cast exception. Let me compile that
> exact version of oVirt and see what that actually says.
> Just to make sure to avoid unnecessary compilation: this logs are from 3.3.2
> BETA1, right?
> 
> > 
> > 
> > 
> > Thanks
> > - Frank
> > 
> ___
> 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: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+

2013-12-09 Thread Tomas Jelinek


- Original Message -
> From: "Frank Wall" 
> To: "Tomas Jelinek" 
> Cc: "oVirt Users" 
> Sent: Monday, December 9, 2013 3:56:21 PM
> Subject: Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+
> 
> Hi Tomas,
> 
> On 2013-12-09 14:22, Tomas Jelinek wrote:
> > 2: spiceSupportMatrix.get(osId) returned null. [...]
> > I would guess this is the issue. To verify this could you please paste
> > here the content of all .../osinfo.conf.d/*.properties and also the
> > result of
> > "select os, vm_name from vm_static" DB query so we can find which
> > value is not there.
> 
> you're right. I did a lookup in the database and compared the values
> to the entries in /etc/ovirt-engine/osinfo.conf.d/*.properties.
> I noticed that the "os" ID 6 is assigned multiple times, but not
> defined in a .properties file (anymore).
> 
> A quick check in the Admin Portal confirms this:
> open "Edit Virtual Machine" => Operating System: null
> 
> I can't remember what "os" ID 6 was in previous releases. Anyway,
> since I used this to classify my FreeBSD VMs, I've setup a new
> file defining it:
> 
> # cat /etc/ovirt-engine/osinfo.conf.d/freebsd.properties
> # FreeBSD(6, OsType.BSD, false),
> os.freebsd.id.value = 6
> os.freebsd.name.value = FreeBSD
> os.freebsd.derivedFrom.value = other
> os.freebsd.description.value = FreeBSD Operating System
> os.freebsd.family.value = BSD
> 
> This fixed my issue, but I still would like to know why ID 6
> was silently removed in 3.3.1 :-) Maybe it should be re-added
> in 3.3.2 to avoid this UI breakage for other people.

Awesome!

So I had a look into the history of the osinfo-defaults.properties and the "6" 
used to be "Other":
# Other(6, OsType.Other, false)
os.Other.id.value = 6
os.Other.name.value = Other
os.Other.derivedFrom.value = Unassigned 

and it disappeared in this patch:
http://gerrit.ovirt.org/#/c/16679/11

@Roy:
Any reason this has been removed?

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


Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+

2013-12-11 Thread Tomas Jelinek
While the question how did this happened I would like to start a parallel 
discussion about what to
do when it happens next time (since this osinfo property files are editable we 
have to expect that
some used OS will be deleted). It is certainly not correct to fail on NPE on 
FE...

I can imagine following options to fix it:
- fix only on FE by logic like: if the VM has assigned an OS which is not 
known, consider it is "other" (e.g. "0") 
  - brings up the question what if the user deletes the "0" from the property 
file

- fix this on engine side and do the magic (e.g. set the "other" if it is 
undefined) so the FE will never get an incorrectly assigned OS ID

- have an "undefined" OS ID hardcoded in the engine which can not be deleted by 
the user and we can assign it when the actual does not exist
  - again, we can do this re-assignment on FE or engine
  - brings up the question what the ID should be and what if the user adds some 
custom item with this ID

- do not transfer OS as ID and than some properties which maps to this IDs but 
real objects. So we could do instead of:
AsyncDataProvider.hasSpiceSupport(getEntity().getOs(), 
getEntity().getVdsGroupCompatibilityVersion())
something like getEntity().getOs().hasSpiceSupport()
So we could have an implementation of "undefined" os which could react 
appropriately.

I like most the last option but at the same time it is quite a big 
refactoring...
 
What do you think?

- Original Message -
> From: "Frank Wall" 
> To: "Roy Golan" 
> Cc: "oVirt Users" 
> Sent: Wednesday, December 11, 2013 10:48:15 AM
> Subject: Re: [Users] Strange UI bug: tab "VM" unusable / oVirt 3.3.1+
> 
> On 2013-12-11 8:18, Roy Golan wrote:
> > how was this engine installed, upgraded in time? nightly or with
> > official releases?
> 
> This is my complete release timeline for this host/engine:
> 
> Sep 02 17:50:37 Installed: ovirt-engine-3.3.0-0.7.rc2.fc19.noarch
> Sep 13 22:09:41 Updated: ovirt-engine-3.3.0-3.fc19.noarch
> Sep 22 18:37:26 Updated: ovirt-engine-3.3.0-4.fc19.noarch
> Okt 27 21:29:08 Updated: ovirt-engine-3.3.0.1-1.fc19.noarch
> Dec 05 15:22:38 Updated: ovirt-engine-3.3.1-2.fc19.noarch
> Dez 08 21:31:55 Updated: ovirt-engine-3.3.2-0.1.beta1.fc19.noarch
> 
> 
> Regards
> - Frank
> ___
> 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: [Users] Spice Proxy seems to try connect to host and not defined proxy

2013-12-16 Thread Tomas Jelinek
Hi,

AFAIK this feature is present in windows clients only.

@SPICE devel:
Is there a plan to add this support also to Linux clients? To what version?

thanx,
Tomas

PS: I will update the wiki according to the results from this discussion.

- Original Message -
> From: "Gianluca Cecchi" 
> To: "users" 
> Sent: Sunday, December 15, 2013 6:40:26 PM
> Subject: [Users] Spice Proxy seems to try connect to host and not defined 
> proxy
> 
> Hello,
> wrking on 3.3.2 beta on F19 ovirt repo
> 
> For simplicity I set
> - no Websocket Procy on engine
> # engine-config -g WebSocketProxy
> WebSocketProxy:  version: general
> 
> - Stop my WebSocketProxy previosuly configured
> # systemctl status ovirt-websocket-proxy.service
> ovirt-websocket-proxy.service - oVirt Engine websockets proxy
>Loaded: loaded
> (/usr/lib/systemd/system/ovirt-websocket-proxy.service; enabled)
>Active: inactive (dead) since Sun 2013-12-15 17:58:45 CET; 18min ago
>  Main PID: 23556 (code=exited, status=0/SUCCESS)
>CGroup: name=systemd:/system/ovirt-websocket-proxy.service
> 
> - set SpiceProxyDefault
> # engine-config -g SpiceProxyDefault
> SpiceProxyDefault: http://10.4.4.63:3128 version: general
> 
> 10.4.4.63 is a CentOS 5.10 server with squid enabled
> [root@c510 squid]# diff squid.conf squid.conf.orig
> 578,581d577
> <
> < acl localnet src 10.4.3.0/24# RFC1918 possible internal network
> < acl localnet src 10.4.4.0/24# RFC1918 possible internal network
> <
> 624c620
> < #http_access deny CONNECT !SSL_ports
> ---
> > http_access deny CONNECT !SSL_ports
> 638d633
> < http_access allow localnet
> 
> restart ovirt-engine service
> 
> My engine is 10.4.4.60
> My host is fedora 19 with ip 10.4.4.59 and a running VM
> My client is a Fedora 19 with firefox 26 and ip 10.4.3.24
> 
> If I open user portal in my client I see that "enable SpiceProxy" is
> checked against this VM
> (as I set it gobally via engine-config command)
> But when I click console button I see this on my client:
> 
> $ netstat -an | egrep "10.4.4"
> tcp0  0 10.4.3.24:38061 10.4.4.60:443   TIME_WAIT
> tcp0  0 10.4.3.24:46284 10.4.4.60:22
> ESTABLISHED
> tcp0  1 10.4.3.24:43066 10.4.4.59:5900  SYN_SENT
> 
> and an error in browser about
> unable to connect to graphic server
> 
> so it attempts to go to host.
> In client /var/log/messages:
> 
> Dec 15 18:21:21 tekkaman gnome-session[2864]: (plugin-container:8024):
> SpiceXPI-CRITICAL **: controller connect: No such file or directory
> Dec 15 18:21:21 tekkaman gnome-session[2864]: (plugin-container:8024):
> SpiceXPI-CRITICAL **: controller connect: No such file or directory
> Dec 15 18:21:21 tekkaman spice: starting remote-viewer --spice-controller ...
> Dec 15 18:21:21 tekkaman spice: XDG_VTNR=1
> Dec 15 18:21:21 tekkaman spice: ORBIT_SOCKETDIR=/var/tmp/orbit-g.cecchi
> Dec 15 18:21:21 tekkaman spice: XSUNTRANSPORT=shmem
> Dec 15 18:21:21 tekkaman spice: XDG_SESSION_ID=1
> Dec 15 18:21:21 tekkaman spice: HOSTNAME=tekkaman.localdomain.local
> Dec 15 18:21:21 tekkaman spice: GIO_LAUNCHED_DESKTOP_FILE_PID=6719
> Dec 15 18:21:21 tekkaman spice: IMSETTINGS_INTEGRATE_DESKTOP=yes
> Dec 15 18:21:21 tekkaman spice:
> GPG_AGENT_INFO=/run/user/1000/keyring-uNXVI0/gpg:0:1
> Dec 15 18:21:21 tekkaman spice: XDG_MENU_PREFIX=gnome-
> Dec 15 18:21:21 tekkaman spice: TERM=dumb
> Dec 15 18:21:21 tekkaman spice: SHELL=/bin/bash
> Dec 15 18:21:21 tekkaman spice: HISTSIZE=1000
> Dec 15 18:21:21 tekkaman spice: TMPDIR=/var/tmp
> Dec 15 18:21:21 tekkaman spice: XRE_PROFILE_NAME=
> Dec 15 18:21:21 tekkaman spice: GJS_DEBUG_OUTPUT=stderr
> Dec 15 18:21:21 tekkaman spice:
> GNOME_KEYRING_CONTROL=/run/user/1000/keyring-uNXVI0
> Dec 15 18:21:21 tekkaman spice: QTDIR=/usr/lib64/qt-3.3
> Dec 15 18:21:21 tekkaman spice: GJS_DEBUG_TOPICS=JS ERROR;JS LOG
> Dec 15 18:21:21 tekkaman spice: QTINC=/usr/lib64/qt-3.3/include
> Dec 15 18:21:21 tekkaman spice: MOZILLA_FIVE_HOME=/usr/lib64/firefox
> Dec 15 18:21:21 tekkaman spice: NSS_SSL_CBC_RANDOM_IV=1
> Dec 15 18:21:21 tekkaman spice: IMSETTINGS_MODULE=none
> Dec 15 18:21:21 tekkaman spice: QT_GRAPHICSSYSTEM_CHECKED=1
> Dec 15 18:21:21 tekkaman spice: XRE_PROFILE_LOCAL_PATH=
> Dec 15 18:21:21 tekkaman spice: USER=g.cecchi
> Dec 15 18:21:21 tekkaman spice: XRE_START_OFFLINE=
> Dec 15 18:21:21 tekkaman spice:
> LD_LIBRARY_PATH=/usr/lib64/firefox/xulrunner:/usr/lib64/firefox:/usr/lib64/firefox/plugins:/usr/lib64/firefox
> Dec 15 18:21:21 tekkaman spice:
> SSH_AUTH_SOCK=/run/user/1000/keyring-uNXVI0/ssh
> Dec 15 18:21:21 tekkaman spice: GNOME_DISABLE_CRASH_DIALOG=1
> Dec 15 18:21:21 tekkaman spice:
> SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2864,unix/unix:/tmp/.ICE-unix/2864
> Dec 15 18:21:21 tekkaman spice: USERNAME=g.cecchi
> Dec 15 18:21:21 tekkaman spice: LIBPATH=/usr/lib64/firefox:/usr/lib64/firefox
> Dec 15 18:21:21 tekkaman spice: MOZ_APP_LAUNCHER=/usr/bin/firefox
> Dec 15 18:21:21 tekkaman spice:
> MOZ_PLUGIN_

Re: [Users] [Spice-devel] Spice Proxy seems to try connect to host and not defined proxy

2013-12-16 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Marc-André Lureau" 
> Cc: "Tomas Jelinek" , spice-de...@lists.freedesktop.org, 
> "users" 
> Sent: Monday, December 16, 2013 3:09:45 PM
> Subject: Re: [Spice-devel] [Users] Spice Proxy seems to try connect to host 
> and not defined proxy
> 
> On Mon, Dec 16, 2013 at 2:56 PM, Marc-André Lureau wrote:
> 
> >
> > I am not a RHEVM user, I don't know where is the documentation you are
> > talking about.
> >
> 
> Note that my original post was to ovirt-users mailing list. See here for it:
> http://lists.ovirt.org/pipermail/users/2013-December/018735.html
> (see what I got in /var/log/messages output there)
> 
> Tomas then forwarded to spice-devel too at a certain point.
> So the doc links  I referred were:
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3-Beta/html/Installation_Guide/sect-SPICE_Proxy.html
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.2/html/Installation_Guide/sect-SPICE_Proxy.html
> 
> 
> > But I know that we track spice-gtk/virt-viewer RFE in bug and erratas for
> > RHEL/RHEVM.
> >
> I'm going to search for them to get more info on this, thanks
> 
> 
> >>
> >> But for sure I tested with an updated Fedora 19 client and if I'm not
> >> wrong also with a Fedora 20 beta
> >> And none of them worked...
> >
> > That's surprising, SPICE_PROXY=http://... and virt-viewer "proxy"
> > configuration should work. Can you describe what you are testing?
> >
> >> So how far from "upstream spice-gtk" are Fedora 19-20?
> >
> > Not very far.
> >
> >> On my Fedora 19 client I have spice-gtk3-0.20-6.fc19.x86_64 btw
> >> When I run console with Spice Proxy  enabled from this Fedora 19
> >> client I see that it runs remote-viewer indeed that is included in
> >> installed virt-viewer-0.5.6-1.fc19.x86_64 and
> >> rpm -qR virt-viewer gives also
> >> libspice-client-gtk-3.0.so.4 (the one included in spice-gtk3 version
> >> mentioned above)..
> >>
> >> So what I'm missing to be "compliant" on fedora 19 client?
> >
> > You said you are using ovirt? With XPI or mime? Could you get the
> > SPICE_DEBUG=1 log and check that proxy is being used?
> >
> > Could you check from command line that your HTTP proxy is correctly
> > configured (allow CONNECT etc)
> >
> > ex: SPICE_PROXY=http://proxy:3128 remote-viewer spice://host:port
> 
> I'm going to test what you suggested and report
> The test was made from fedora 19 in firefox browser and with spice-xpi
> installed, against oVirt 3.3.2 beta (based on f19 too and ovirt-beta
> repo).
> In VM I had set "auto" for spice, so I think it should use virt-viewer
> as it did, correct?

If 'auto' is set than it first tries to use the XPI plugin. If it does not find 
it than the native impl (using .vv file)

> And I also have pre-marked the Spice-Proxy checkbox (inherited by
> global config set)
> Does Spice Proxy work with both the plugin and the native
> remote-viewer or only with the latter?

Should with both. For XPI we set the ".Proxy" property (with capital "P") and 
for the native we put 
"proxy=..." to the .vv file (with small "p") which is AFAIK correct.

If you are using the native impl could you please verify that the "proxy=..." 
is indeed present in the .vv file?

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


Re: [Users] [Spice-devel] Spice Proxy seems to try connect to host and not defined proxy

2013-12-17 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Tomas Jelinek" 
> Cc: "Marc-André Lureau" , 
> spice-de...@lists.freedesktop.org, "users" 
> Sent: Tuesday, December 17, 2013 12:04:08 AM
> Subject: Re: [Spice-devel] [Users] Spice Proxy seems to try connect to host 
> and not defined proxy
> 
> On Mon, Dec 16, 2013 at 4:36 PM, Tomas Jelinek  wrote:
> 
> >> >> But for sure I tested with an updated Fedora 19 client and if I'm not
> >> >> wrong also with a Fedora 20 beta
> >> >> And none of them worked...
> 
> 
> OK... my expression "for sure" was not the reality ;-)
> 
> The problem was that I didn't report correctly the clients used (f19
> and f20 were actually used for another test).
> I had used CentOS 5.10 and CentOS 6.4 in my first tests, so as
> Marc-Andre' clarified, they are not able to connect.
> I have just tried now with a Fedora 20 with firefox and it was able to
> use proxy both with native client and plugin.
> Tried also with Fedora 19 and Chrome and was able to use proxy too
> In its generated .vv fie I correctly see these lines:
> host=10.4.4.58 (one of the two hypervisors)
> proxy=http://10.4.4.63:3128 (my setup proxy)

Awesome!

BTW the root cause of this issue was that it was not mentioned on 
http://www.ovirt.org/Features/Spice_Proxy ;)

I would love to put the missing info there but I'm still not sure what are the 
specific versions where the support has been added.

@Marc-Andre: do you happen to know what where the win/linux versions where this 
support has been added to spice? I did not find it anywhere...


> 
> Sorry for my confusion, but at least I learnt that there are indeed
> client dependencies...
> 
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Spice-devel] Spice Proxy seems to try connect to host and not defined proxy

2013-12-17 Thread Tomas Jelinek

> 
> - Original Message -
> > @Marc-Andre: do you happen to know what where the win/linux versions where
> > this support has been added to spice? I did not find it anywhere...
> 
> checking the NEWS files:
> 
> spice-gtk v0.15
> virt-viewer v0.5.5
> spice-xpi v2.8.90

Thnx, enriched the wiki with this info.

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


Re: [ovirt-users] cannot change cluster compatibility version from 3.6 to 4.0

2016-06-29 Thread Tomas Jelinek


- Original Message -
> From: "Jiří Sléžka" 
> To: users@ovirt.org
> Sent: Tuesday, June 28, 2016 5:37:33 PM
> Subject: Re: [ovirt-users] cannot change cluster compatibility version from 
> 3.6 to 4.0
> 
> Dne 28.6.2016 v 17:19 Alexander Wels napsal(a):
> > On Tuesday, June 28, 2016 05:11:14 PM Jiří Sléžka wrote:
> >> I forgot attach the screenshot...
> >>
> >> Jiri
> >>
> >
> > The label that has the dotted line under it should have a tooltip
> > explaining
> > the issue. But some of the most likely issues are:
> 
> you are righ, there is a tooltip explaining tha I have to shutdown all
> vms before changing compatibility version (I suppose this is valid only
> for 3->4 upgrade because minor upgrades were possible without downtime)

there is a bug for that: https://bugzilla.redhat.com/show_bug.cgi?id=1348907
When this will get in, your VMs will only be marked by a delta sign telling you 
that some of the changes
require the VM to be restarted to take effect. So you will be able to update 
the cluster level without the 
VMs being down, but in order to be able to use the new features of the new 
cluster for a particular VM, you will have to 
restart it.

> 
> > 1. DC is at 3.6 and you can't have 4.0 clusters in 3.6 DC.
> 
> but when I try to change DC version from 3.6 to 4.0 I got
> 
> "Error while executing action: Cannot update Data Center compatibility
> version to a value that is greater than its Cluster's version. The
> following clusters should be upgraded CIT-oVirt."
> 
> > 2. Active host on 3.6 in the cluster. You can put the hosts in maintenance
> > and
> > upgrade the cluster, you will obviously also have to upgrade the hosts
> > after
> > that before you can activate them again.
> 
> ok, thanks for help. I have to schedule maintenance window.
> 
> Cheers, Jiri
> 
> 
> >
> >> Dne 28.6.2016 v 17:06 Jiří Sléžka napsal(a):
> >>> Hi all,
> >>>
> >>> I have just upgraded engine from 3.6.6 to 4.0 (all worked fine except
> >>> custom certificate problem which is described and solved here
> >>> https://bugzilla.redhat.com/show_bug.cgi?id=1336838).
> >>>
> >>> Then I upgraded all hosts in cluster and I would like to change cluster
> >>> compatibility level but it fails in a way there is a red border around
> >>> "Compatibility Version" dropdown box but no explanation why. There are
> >>> no entries in logs...
> >>>
> >>> What are prerequisities to change cluster compatibility level to 4.0? Do
> >>> I missing something?
> >>>
> >>> Engine (standalone) and hosts are CentOS 7.2
> >>>
> >>> btw. dashboard looks really nice!
> >>>
> >>> Cheers, Jiri
> >>>
> >>>
> >>> ___
> >>> 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] moVirt and spice problem

2016-07-06 Thread Tomas Jelinek
Hi Gianluca,

unfortunately you can not connect to SPICE console from moVirt when you have a 
spice-proxy
on the way. The reason is that aSPICE (the client we use) does not support 
SPICE proxy.

So, it is currently not supported - I have opened a bug for it 
(https://github.com/matobet/moVirt/issues/188)
to have all info I have looked up now on one place so we can handle it. 

thank you for the feedback!
Tomas

- Original Message -
> From: "Gianluca Cecchi" 
> To: "users" 
> Sent: Saturday, July 2, 2016 7:35:55 PM
> Subject: [ovirt-users] moVirt and spice problem
> 
> Hello,
> I'm testing moVirt 1.4 on Samsung Note Pro (Android 5.1) to connect through
> spice to a self hosted engine configuration with single host, version 3.6.6,
> configured with spice proxy (squid)
> 
> I can walk through all parts inside the app (always better in new versions,
> thanks!) but not the console to vm
> 
> mOvirt connection configured as
> https://192.168.1.212/ovirt-engine/api
> and
> ignore certificate checking in advanced settings
> 
> In mOvirt I receive, after about one minute when I click "Console":
> 
> Unable to connect or authenticate, please check server address, password, and
> cert authority and subject.
> 
> In engine.log, as I click connect to console in mOvirt I see these lines
> 
> 
> 2016-07-02 19:23:30,868 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand]
> (default task-12) [32908848] Running command: SetVmTicketCommand internal:
> false. Entities affected : ID: e9491274-460a-40a1-84bb-503078df9f29 Type:
> VMAction group CONNECT_TO_VM with role type USER
> 2016-07-02 19:23:30,872 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (default
> task-12) [32908848] START, SetVmTicketVDSCommand(HostName = hosted_engine_1,
> SetVmTicketVDSCommandParameters:{runAsync='true',
> hostId='459f6e56-f813-4c73-9950-994a7de8dbb5',
> vmId='e9491274-460a-40a1-84bb-503078df9f29', protocol='SPICE',
> ticket='X5TDD2OB3FI3', validTime='7200', userName='admin',
> userId='001a-001a-001a-001a-014f',
> disconnectAction='LOCK_SCREEN'}), log id: 507f589b
> 2016-07-02 19:23:31,891 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (default
> task-12) [32908848] FINISH, SetVmTicketVDSCommand, log id: 507f589b
> 2016-07-02 19:23:31,902 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (default task-12) [32908848] Correlation ID: 32908848, Call Stack: null,
> Custom Event ID: -1, Message: User admin@internal initiated console session
> for VM f24
> 
> no more
> 
> I have verified that through web browser, both in user portal and in admin
> portal, the user "admin" can connect to f24 VM and open spice connection
> going trough squid proxy.
> Actually on squid logs I don't see any access when I use mOvirt, so it seems
> it doesn't reach it at all...
> Actually I think the problem doesn't depend in squid setting and I would have
> the problem also without it. It seems problem between tablet and engine
> connection
> 
> Is there any particular restriction to be able to use spice console with
> mOvirt 1.4? For example am I force to use and trust certificate to use spice
> console?
> 
> Thanks in advance for any help,
> Gianluca
> 
> 
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moVirt and spice problem

2016-07-07 Thread Tomas Jelinek


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Tomas Jelinek" 
> Cc: "users" 
> Sent: Thursday, July 7, 2016 10:21:20 AM
> Subject: Re: [ovirt-users] moVirt and spice problem
> 
> On Thu, Jul 7, 2016 at 8:43 AM, Tomas Jelinek  wrote:
> 
> > Hi Gianluca,
> >
> > unfortunately you can not connect to SPICE console from moVirt when you
> > have a spice-proxy
> > on the way. The reason is that aSPICE (the client we use) does not support
> > SPICE proxy.
> >
> > So, it is currently not supported - I have opened a bug for it (
> > https://github.com/matobet/moVirt/issues/188)
> > to have all info I have looked up now on one place so we can handle it.
> >
> > thank you for the feedback!
> > Tomas
> >
> >
> Ok, Tomas.
> When available I will be glad to test it.
> In the mean time, suppose I don'u e proxy, is there any requirement to use
> aSPICE to connect to spice console?
> Is https necessary? Other details? Or should it simply work?
> 

it should just work. If use secure connection (if you did not disable it 
deliberately than you do :) ) 
than first time you connect to console it asks you for importing the 
certificate. When you then do import it, it should work.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] moVirt 1.6 released!

2016-09-21 Thread Tomas Jelinek
Dear all,

a new release of moVirt (Android client for oVirt) 1.6 has just been released!

The main aim of this version was to move fully to the 4.0 API (changelog: [1]).

If you have it already installed on your device, stay tuned and it will arrive 
soon.
If you don't, you can either install it from google play store [2] or from 
direct link [3].

Please share any feedback!
Tomas

[1]: https://github.com/matobet/movirt#v16
[2]: https://play.google.com/store/apps/details?id=org.ovirt.mobile.movirt
[3]: 
https://github.com/matobet/moVirt/blob/master/moVirt/moVirt-release.apk?raw=true
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moVirt 1.6 released!

2016-09-21 Thread Tomas Jelinek


- Original Message -
> From: "Karli Sjöberg" 
> To: "Tomas Jelinek" 
> Cc: "users" , "Filip Krepinsky" 
> Sent: Wednesday, September 21, 2016 10:01:24 PM
> Subject: Re: [ovirt-users] moVirt 1.6 released!
> 
> 
> Den 21 sep 2016 11:38 skrev Tomas Jelinek :
> >
> > Dear all,
> >
> > a new release of moVirt (Android client for oVirt) 1.6 has just been
> > released!
> >
> > The main aim of this version was to move fully to the 4.0 API (changelog:
> > [1]).
> >
> > If you have it already installed on your device, stay tuned and it will
> > arrive soon.
> > If you don't, you can either install it from google play store [2] or from
> > direct link [3].
> >
> > Please share any feedback!
> 
> Hi!
> 
> Works like a charm with our 3.6 engine! Just confusing that I had to swipe
> down (refresh) to get a listing of VM's and such, I thought it did that by
> itself? That is, if I open up the app and do nothing, just wait, the list
> stays empty regardless of how long I waited. I started to think there was
> something wrong and began to troubleshoot, first the app-settings (address,
> login, password) and then from the engine before I realized I had to swipe
> down to see anything:) Is that by design or a bug?

seems like a bug, opened one: https://github.com/matobet/moVirt/issues/196

> 
> Also tested that aSPICE works, which is awesome! Keep up the great work!
> 
> /K
> 
> > Tomas
> >
> > [1]: https://github.com/matobet/movirt#v16
> > [2]: https://play.google.com/store/apps/details?id=org.ovirt.mobile.movirt
> > [3]:
> > https://github.com/matobet/moVirt/blob/master/moVirt/moVirt-release.apk?raw=true
> > ___
> > 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] moVirt 1.6 released!

2016-09-21 Thread Tomas Jelinek


- Original Message -
> From: "NUNIN Roberto" 
> To: "Karli Sjöberg" , "Tomas Jelinek" 
> 
> Cc: "users" , "Filip Krepinsky" 
> Sent: Thursday, September 22, 2016 7:26:37 AM
> Subject: Re: [ovirt-users] moVirt 1.6 released!
> 
> 
> >Also tested that aSPICE works, which is >awesome! Keep up the great work!
> 
> Interesting: did you have used aSpice to act as a console viewer ?
> Could you share basics ?

You may hitting an issue that we do not support SPICE proxy: 
https://github.com/matobet/moVirt/issues/188

Is that the case?

> 
> TIA
> 
> Roberto
> 
> 
> 
> Questo messaggio e' indirizzato esclusivamente al destinatario indicato e
> potrebbe contenere informazioni confidenziali, riservate o proprietarie.
> Qualora la presente venisse ricevuta per errore, si prega di segnalarlo
> immediatamente al mittente, cancellando l'originale e ogni sua copia e
> distruggendo eventuali copie cartacee. Ogni altro uso e' strettamente
> proibito e potrebbe essere fonte di violazione di legge.
> 
> This message is for the designated recipient only and may contain privileged,
> proprietary, or otherwise private information. If you have received it in
> error, please notify the sender immediately, deleting the original and all
> copies and destroying any hard copies. Any other use is strictly prohibited
> and may be unlawful.
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM pauses/hangs after migration

2016-09-29 Thread Tomas Jelinek


- Original Message -
> From: "Davide Ferrari" 
> To: "users" 
> Sent: Wednesday, September 28, 2016 2:59:59 PM
> Subject: [ovirt-users] VM pauses/hangs after migration
> 
> Hello
> 
> trying to migrate a VM from one host to another, a big VM with 96GB of RAM, I
> found that when the migration completes, the VM goes to a paused satte and
> cannot be resumed. The libvirt/qemu log it gives is this:
> 
> 2016-09-28T12:18:15.679176Z qemu-kvm: error while loading state section id
> 2(ram)
> 2016-09-28T12:18:15.680010Z qemu-kvm: load of migration failed: Input/output
> error
> 2016-09-28 12:18:15.872+: shutting down
> 2016-09-28 12:22:21.467+: starting up libvirt version: 1.2.17, package:
> 13.el7_2.5 (CentOS BuildSystem < http://bugs.centos.org >,
> 2016-06-23-14:23:27, worker1.bsys.centos.org ), qemu version: 2.3.0
> (qemu-kvm-ev-2.3.0-31.el7.16.1)
> LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
> QEMU_AUDIO_DRV=spice /usr/libexec/qemu-kvm -name front04.billydomain.com -S
> -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu Haswell-noTSX -m
> size=100663296k,slots=16,maxmem=4294967296k -realtime mlock=off -smp
> 32,sockets=16,cores=1,threads=2 -numa node,nodeid=0,cpus=0-31,mem=98304
> -uuid 4511d1c0-6607-418f-ae75-34f605b2ad68 -smbios
> type=1,manufacturer=oVirt,product=oVirt
> Node,version=7-2.1511.el7.centos.2.10,serial=4C4C4544-004A-3310-8054-B2C04F474432,uuid=4511d1c0-6607-418f-ae75-34f605b2ad68
> -no-user-config -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/
> domain-front04.billydomain.com/monitor.sock,server,nowait -mon
> chardev=charmonitor,id=monitor,mode=control -rtc
> base=2016-09-28T14:22:21,driftfix=slew -global
> kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on
> -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
> virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x7 -device
> virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive
> if=none,id=drive-ide0-1-0,readonly=on,format=raw -device
> ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
> file=/rhev/data-center/0001-0001-0001-0001-03e3/ba2bd397-9222-424d-aecc-eb652c0169d9/images/b5b49d5c-2378-4639-9469-362e37ae7473/24fd0d3c-309b-458d-9818-4321023afacf,if=none,id=drive-virtio-disk0,format=qcow2,serial=b5b49d5c-2378-4639-9469-362e37ae7473,cache=none,werror=stop,rerror=stop,aio=threads
> -device
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> -drive
> file=/rhev/data-center/0001-0001-0001-0001-03e3/ba2bd397-9222-424d-aecc-eb652c0169d9/images/f02ac1ce-52cd-4b81-8b29-f8006d0469e0/ff4e49c6-3084-4234-80a1-18a67615c527,if=none,id=drive-virtio-disk1,format=raw,serial=f02ac1ce-52cd-4b81-8b29-f8006d0469e0,cache=none,werror=stop,rerror=stop,aio=threads
> -device
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x8,drive=drive-virtio-disk1,id=virtio-disk1
> -netdev tap,fd=30,id=hostnet0,vhost=on,vhostfd=31 -device
> virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:56,bus=pci.0,addr=0x3
> -chardev
> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/4511d1c0-6607-418f-ae75-34f605b2ad68.com.redhat.rhevm.vdsm,server,nowait
> -device
> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
> -chardev
> socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/4511d1c0-6607-418f-ae75-34f605b2ad68.org.qemu.guest_agent.0,server,nowait
> -device
> virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
> -chardev spicevmc,id=charchannel2,name=vdagent -device
> virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
> -vnc 192.168.10.225:1 ,password -k es -spice
> tls-port=5902,addr=192.168.10.225,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=default,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on
> -k es -device
> qxl-vga,id=video0,ram_size=67108864,vram_size=8388608,vgamem_mb=16,bus=pci.0,addr=0x2
> -incoming tcp: 0.0.0.0:49156 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
> Domain id=5 is tainted: hook-script
> red_dispatcher_loadvm_commands:
> KVM: entry failed, hardware error 0x8
> RAX=ffed RBX=8817ba00c000 RCX=0100
> RDX=
> RSI= RDI=0046 RBP=8817ba00fe98
> RSP=8817ba00fe98
> R8 = R9 = R10=
> R11=
> R12=0006 R13=8817ba00c000 R14=8817ba00c000
> R15=
> RIP=81058e96 RFL=00010286 [--S--P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
> ES =   
> CS =0010   00a09b00 DPL=0 CS64 [-RA]
> SS =0018   00c09300 DPL=0 DS [-WA

Re: [ovirt-users] oVirt SDK v4 backwards compatibility

2016-11-07 Thread Tomas Jelinek


- Original Message -
> From: "Rafael Martins" 
> To: "Karli Sjöberg" 
> Cc: users@ovirt.org
> Sent: Monday, November 7, 2016 7:06:33 PM
> Subject: Re: [ovirt-users] oVirt SDK v4 backwards compatibility
> 
> - Original Message -
> > From: "Karli Sjöberg" 
> > To: "Rafael Martins" 
> > Cc: users@ovirt.org
> > Sent: Monday, November 7, 2016 6:13:33 PM
> > Subject: Re: [ovirt-users] oVirt SDK v4 backwards compatibility
> > 
> > 
> > Den 7 nov. 2016 15:53 skrev Rafael Martins :
> > >
> > > - Original Message -
> > > > From: "Karli Sjöberg" 
> > > > To: users@ovirt.org
> > > > Sent: Monday, November 7, 2016 3:06:10 PM
> > > > Subject: [ovirt-users] oVirt SDK v4 backwards compatibility
> > > >
> > > > Heya!
> > > >
> > > > Quick question, if I have on my computer installed a newer version
> > > > Python SDK than what´s installed on the engine (4.0.3 locally and 3.6.X
> > > > in engine), is it possible to connect?
> > >
> > > It is not possible, but you can still install the RPM for the version 3
> > > of
> > > the SDK. Please note that the code of the SDK versions is not compatible.
> > 
> > Ok, as I thought. But how does others handle that, like moVirt e.g? Is
> > there
> > a best-practice for backwards compatibility?

moVirt is not using the SDKs, it is talking to API directly. But the general 
rule for the clients 
(moVirt but also ManageIQ) works like this:
- check the version of the API right at the beginning
- according to the found version use either the new or the old api

> 
> Right now if you use the old SDK you should be able to "talk" with both 3.6
> and 4.0, because 4.0 api provides backward compatibility with 3.6. But I'm
> not sure if you can rely on this. Juan may have more details for you.
> 
> Thanks,
> Rafael
> 
> > /K
> > 
> > >
> > > > TIA
> > > > Karli Sjöberg
> > > > ___
> > > > 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


  1   2   >