[ovirt-users] Obfuscated UI exception message debugging

2016-01-08 Thread Alexander Wels
Hi,

With the release of oVirt 3.6 the UI team added a handler for any uncaught 
exceptions. This handlers shows a popup that basically says the following:

Uncaught exception occurred. Please try reloading the page. Details:  [some 
information]

With the some information giving some indication of what happened. Usually 
that information is less than helpful. You can see the associated stack trace 
in the browser console, but since all the code is obfuscated the stack trace 
is usually pretty useless as well. I have been seeing a lot of bugs being 
opened about the popup. In an effort to help everyone understand what is going 
on and help us debug the root cause of the problem I created a wiki page [1] 
that shows some steps to 'de-obfuscate' manually the stack trace and provide 
hopefully some useful information.

Doing all of this labor intensive and not very intuitive, so in an effort to 
automate the process, I have also created a patch that sends the obfuscated 
stack trace to the engine and some code to automatically de-obfuscate the 
stack trace and write it to a UI specific log [2]. Once that patch is merged 
looking up UI exceptions should be as simple as looking in that log.

Hopefully the above will aid everyone in debugging any strange exceptions 
generated by the UI.

Alexander

[1] http://www.ovirt.org/OVirt_Engine_Debug_Obfuscated_UI
[2] https://gerrit.ovirt.org/#/c/51558/
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] heavy webadmin

2016-01-08 Thread Nathanaël Blanchet

Hi all,

Since I upgraded engine to 3.6, I noticed that the webadmin takes a lot 
of ressources whatever is the browser. It can become very slow even for 
small actions, like changing tabs or editing a vm. The browser activity 
becomes intensive (100% of cpu) and the processor very hot with a 
increased fan activity. I suppose javascript to be responsible of this 
behaviour. Is there a way to reduce the resource allocated to the webadmin?

(This is not a weakness of my laptop which is an i7 cpu with 16GB of RAM)

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


Re: [ovirt-users] User with SuperAdmin Role has not MANIPULATE_STORAGE_DOMAIN

2016-01-08 Thread Oved Ourfali
CC-ing someone from the storage team to take a look.
On Jan 7, 2016 6:43 PM, "Kevin C"  wrote:

> Hi,
>
> I set it on "system" level, on right upper side.
>
> Regards,
>
> Le 07/01/2016 17:39, Oved Ourfali a écrit :
>
> Permissions in ovirt are composed of the role, user/group, and object.
>
> I guess you refer to the SuperUser role. Question is what object you've
> granted it on.
>
> In order to have a permission on "system" level, you gave to go to the
> configure dialog (see right upper side of your screen).
>
> Regards,
> Oved Ourfali
> Hi list,
>
> I set the SuperAdmin Role on a AD group. I use my account in this group to
> use oVirt. I try today to add an Export Domain but I failed with this error
> in log :
>
> 2016-01-07 16:46:28,883 INFO
> [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
> (default task-1) [68d5410a] No permission found for user
> '8ac67747-110c-4125-86f1-1f52ca0e7705' or one of the groups he is member
> of, when running action 'AttachStorageDomainToPool', Required permissions
> are: Action type: 'ADMIN' Action group: 'MANIPULATE_STORAGE_DOMAIN' Object
> type: 'Storage'  Object ID: 'c7dee64d-a27e-446e-8656-cef2d8ea42a6'.
>
>
> Where can I set the good permission ?
>
> Thanks a lot
> ---
> Kevin C
> ___
> 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] how to get infos about dev of ovirt 4.0

2016-01-08 Thread Nathanaël Blanchet
Since meetings have been canceled (and reports), I find it difficult for 
community to get informations about the development state of ovirt.
How and where can we follow the release management, in particular for 
4.0, i.e. the new integrated features, the blocking bugs, etc... I 
didn't find any documents like the one that was used for previous 
release (http://goo.gl/9X3G49)


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


[ovirt-users] convert/import images to ovirt

2016-01-08 Thread alireza sadeh seighalan
hi everyone

how can i convert and impoart a qcow/raw/etc... image  format to ovirt?
i installed virt-v2v and  libguestfs-winsupport for convert and import  my
windows image to ovirt . i created export domain too . but i dont know how
can i run it? i dont have any  operational example. thanks inadvance
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-engine-3.6.2.4 engine-setup failed

2016-01-08 Thread Dewey Du
Hello,

I cloned the project from https://github.com/oVirt/ovirt-engine, and make
clean install PREFIX="/home/worker/ovirt-engine".

After make install successfully, I try ./bin/engine-setup, get the
following error.

Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Yum Status: Downloading Packages
[ INFO  ] Yum Download/Verify: antlr-tool-2.7.7-30.el7.noarch
...
...
...
[ INFO ] Configuring PostgreSQL
[ ERROR ] Failed to execute stage 'Misc configuration': 'str' object has no
attribute 'isResolvedByDNS'
[ INFO  ] Yum Performing yum transaction rollback
...
...
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Retrieving KVM Guest IP adresses

2016-01-08 Thread Jean-Pierre Ribeauville
Hi,



By using libvirt API  or virsh  domifaddr, I'm not able to retrieve Guest IP 
addresses.

But , ovirt GUI   shows these addresses correctly.
I would need some hint to understand how ovirt manages to retrieve it.

Is there any interaction with Guest agent (qemu , vdsm ) ?

If I have to dive in source code , which tail's cat I have to pull  ?

Thx for help.

Regards,


J.P. Ribeauville


P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5  Bureau 4

jpribeauvi...@axway.com
http://www.axway.com



P Pensez à l'environnement avant d'imprimer.



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


Re: [ovirt-users] heavy webadmin

2016-01-08 Thread Nir Soffer
On Fri, Jan 8, 2016 at 1:13 PM, Nathanaël Blanchet  wrote:
> Hi all,
>
> Since I upgraded engine to 3.6, I noticed that the webadmin takes a lot of
> ressources whatever is the browser. It can become very slow even for small
> actions, like changing tabs or editing a vm. The browser activity becomes
> intensive (100% of cpu) and the processor very hot with a increased fan
> activity. I suppose javascript to be responsible of this behaviour. Is there
> a way to reduce the resource allocated to the webadmin?
> (This is not a weakness of my laptop which is an i7 cpu with 16GB of RAM)

Sounds like https://bugzilla.redhat.com/1264809

It was closed because we could not reproduce it with current versions.

I would try first to upgrade to latest 3.6 version, and if you can reproduce it,
please reopen this bug.

Alexander: can you advice on how to debug this?

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


Re: [ovirt-users] heavy webadmin

2016-01-08 Thread Alexander Wels
On Friday, January 08, 2016 04:29:47 PM Nir Soffer wrote:
> On Fri, Jan 8, 2016 at 1:13 PM, Nathanaël Blanchet  wrote:
> > Hi all,
> > 
> > Since I upgraded engine to 3.6, I noticed that the webadmin takes a lot of
> > ressources whatever is the browser. It can become very slow even for small
> > actions, like changing tabs or editing a vm. The browser activity becomes
> > intensive (100% of cpu) and the processor very hot with a increased fan
> > activity. I suppose javascript to be responsible of this behaviour. Is
> > there a way to reduce the resource allocated to the webadmin?
> > (This is not a weakness of my laptop which is an i7 cpu with 16GB of RAM)
> 
> Sounds like https://bugzilla.redhat.com/1264809
> 
> It was closed because we could not reproduce it with current versions.
> 
> I would try first to upgrade to latest 3.6 version, and if you can reproduce
> it, please reopen this bug.
> 
> Alexander: can you advice on how to debug this?
> 
> Nir

If you are willing to spend some time helping us debug that would be great as 
obviously we are unable to reproduce. If you have Chrome, can you open the 
development tools (ctrl-shift-i) and go to the 'Profiles' tab. That should give 
you the option to 'Collect Javascript CPU Profile' among other things. Make 
sure you select that, and click start. Then go in the web admin and do 
something that makes your CPU spike. Let it go for a little bit doesn't have 
to be long.

Go back to the CPU profiles tab and click stop. That will generate a profile 
and 
that profile will include the percentage of CPU usage per method. It should be 
sorted by percentage. If you can take a screen shot of that and give me the 
exact rpm version, I can use that to de-obfuscate the method name and 
hopefully get some useful information.

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


Re: [ovirt-users] Retrieving KVM Guest IP adresses

2016-01-08 Thread Jean-Pierre Ribeauville
Thx.

J.P.

-Message d'origine-
De : Marcin Mirecki [mailto:mmire...@redhat.com] 
Envoyé : vendredi 8 janvier 2016 13:38
À : Jean-Pierre Ribeauville
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Retrieving KVM Guest IP adresses

You might want to take a look at guestagent.py located on vdsm in:
/usr/share/vdsm/virt/guestagent.py

This handles the guestagents on the vdsm side.

Regards,
Marcin

- Original Message -
From: "Jean-Pierre Ribeauville" 
To: users@ovirt.org
Sent: Friday, January 8, 2016 10:53:23 AM
Subject: [ovirt-users] Retrieving KVM Guest IP adresses



Hi, 



By using libvirt API or virsh domifaddr, I’m not able to retrieve Guest IP 
addresses. 

But , ovirt GUI shows these addresses correctly. 

I would need some hint to understand how ovirt manages to retrieve it. 



Is there any interaction with Guest agent (qemu , vdsm ) ? 



If I have to dive in source code , which tail’s cat I have to pull ? 



Thx for help. 



Regards, 






J.P. Ribeauville 




P: +33.(0).1.47.17.20.49 

. 

Puteaux 3 Etage 5 Bureau 4 



jpribeauvi...@axway.com 
http://www.axway.com 






P Pensez à l’environnement avant d’imprimer. 





___
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] Retrieving KVM Guest IP adresses

2016-01-08 Thread Marcin Mirecki
You might want to take a look at guestagent.py located on vdsm in:
/usr/share/vdsm/virt/guestagent.py

This handles the guestagents on the vdsm side.

Regards,
Marcin

- Original Message -
From: "Jean-Pierre Ribeauville" 
To: users@ovirt.org
Sent: Friday, January 8, 2016 10:53:23 AM
Subject: [ovirt-users] Retrieving KVM Guest IP adresses



Hi, 



By using libvirt API or virsh domifaddr, I’m not able to retrieve Guest IP 
addresses. 

But , ovirt GUI shows these addresses correctly. 

I would need some hint to understand how ovirt manages to retrieve it. 



Is there any interaction with Guest agent (qemu , vdsm ) ? 



If I have to dive in source code , which tail’s cat I have to pull ? 



Thx for help. 



Regards, 






J.P. Ribeauville 




P: +33.(0).1.47.17.20.49 

. 

Puteaux 3 Etage 5 Bureau 4 



jpribeauvi...@axway.com 
http://www.axway.com 






P Pensez à l’environnement avant d’imprimer. 





___
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] Retrieving KVM Guest IP adresses

2016-01-08 Thread Rathidevi Ramajayam
Hi,

Using "qemu:///system" command in KVM server to collect the Guest information 
like name , state etc. For this u used the Domain class from libvirt api.

Is there any methods available to retrieve Guest IP ?

Thanks & Regards
Rathidevi



From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Jean-Pierre Ribeauville
Sent: Friday, January 08, 2016 3:23 PM
To: users@ovirt.org
Subject: [ovirt-users] Retrieving KVM Guest IP adresses


Hi,



By using libvirt API  or virsh  domifaddr, I'm not able to retrieve Guest IP 
addresses.

But , ovirt GUI   shows these addresses correctly.
I would need some hint to understand how ovirt manages to retrieve it.

Is there any interaction with Guest agent (qemu , vdsm ) ?

If I have to dive in source code , which tail's cat I have to pull  ?

Thx for help.

Regards,


J.P. Ribeauville


P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5  Bureau 4

jpribeauvi...@axway.com
http://www.axway.com



P Pensez à l'environnement avant d'imprimer.



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


Re: [ovirt-users] how to get infos about dev of ovirt 4.0

2016-01-08 Thread Fabian Deutsch
On Fri, Jan 8, 2016 at 12:22 PM, Nathanaël Blanchet  wrote:
> Since meetings have been canceled (and reports), I find it difficult for
> community to get informations about the development state of ovirt.
> How and where can we follow the release management, in particular for 4.0,
> i.e. the new integrated features, the blocking bugs, etc... I didn't find
> any documents like the one that was used for previous release
> (http://goo.gl/9X3G49)

Hey Nathanaël,

were you following any specific meetings?

- fabian

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


Re: [ovirt-users] heavy webadmin

2016-01-08 Thread Nir Soffer
On Fri, Jan 8, 2016 at 4:42 PM, Alexander Wels  wrote:
> On Friday, January 08, 2016 04:29:47 PM Nir Soffer wrote:
>> On Fri, Jan 8, 2016 at 1:13 PM, Nathanaël Blanchet  wrote:
>> > Hi all,
>> >
>> > Since I upgraded engine to 3.6, I noticed that the webadmin takes a lot of
>> > ressources whatever is the browser. It can become very slow even for small
>> > actions, like changing tabs or editing a vm. The browser activity becomes
>> > intensive (100% of cpu) and the processor very hot with a increased fan
>> > activity. I suppose javascript to be responsible of this behaviour. Is
>> > there a way to reduce the resource allocated to the webadmin?
>> > (This is not a weakness of my laptop which is an i7 cpu with 16GB of RAM)
>>
>> Sounds like https://bugzilla.redhat.com/1264809
>>
>> It was closed because we could not reproduce it with current versions.
>>
>> I would try first to upgrade to latest 3.6 version, and if you can reproduce
>> it, please reopen this bug.
>>
>> Alexander: can you advice on how to debug this?
>>
>> Nir
>
> If you are willing to spend some time helping us debug that would be great as
> obviously we are unable to reproduce. If you have Chrome, can you open the
> development tools (ctrl-shift-i) and go to the 'Profiles' tab. That should 
> give
> you the option to 'Collect Javascript CPU Profile' among other things. Make
> sure you select that, and click start. Then go in the web admin and do
> something that makes your CPU spike. Let it go for a little bit doesn't have
> to be long.
>
> Go back to the CPU profiles tab and click stop. That will generate a profile 
> and
> that profile will include the percentage of CPU usage per method. It should be
> sorted by percentage. If you can take a screen shot of that and give me the
> exact rpm version, I can use that to de-obfuscate the method name and
> hopefully get some useful information.

You can also save such profile to file, and attach it to the bug.

When I reorted this, this was also reproducible in Firefox, and both profiles
are attached to the bug.

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


Re: [ovirt-users] Webadmin UI not reporting # of VMs correctly

2016-01-08 Thread Michal Skrivanek

> On 07 Jan 2016, at 18:32, Will Dennis  wrote:
> 
> No, it was definitely wrong at the time - there were no other VMs other than 
> the hosted engine, and no migrations… However, when I was able to finally 
> re-import/activate the hosted_storage SD, and the HE VM correctly showed up 
> in the UI, then it corrected itself, and has remained correct since… As shown 
> in my post, it also did not agree at the time with the output of 
> “hosted-engine —vm-status”, but since the re-import of the SD, it now is 
> correctly in sync with that as well.

Those reported values do rely on status of the host, which in turn is derived 
from its storage health. So it might be “wrong” when hosts are not happy. You 
would need to correlate it with other events, though…there are various timings 
in play, so it’s a bit tricky to know for sure until/unless it is stuck in a 
wrong way for a long time

Thanks,
mcihal

> 
> 
>> On Jan 7, 2016, at 4:42 AM, Michal Skrivanek  
>> wrote:
>> 
>> 
>> Might be, but I would doubt it. It merely reflects what hosts are reporting
>> are there other VMs?
>> migrations going on?
> 

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


[ovirt-users] UI problem with Edit NIC

2016-01-08 Thread Staniforth, Paul
Hello,

   we are using ovirt 3.6.0 and have a private network switch installed 
that we would like users to be able to attach VMs to but we don't want them to 
have access the the ovirtmgnt network.


When we take away the permission VnicProfileUser on Vnic Profile ovirtmgmt the 
is no Profiles listed in the Edit Network Interface profile drop down menu in 
the User Portal.


Once we put the VnicProfileUser on Vnic Profile ovirtmgmt the list of available 
profiles is listed.


Thanks for any help.


Paul S.

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