[Engine-devel] debug ovirt-engine
Hello,everybody.when I develop with ovirt-engine,I have meet some obstacles because of without the debug environment. So I really want to know how to debug the frontend and backend of ovirt-engine by break points or by step . Thank you for help! ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] debug ovirt-engine
Hi, For frontend debugging please follow the instructions here: http://www.ovirt.org/DebugFrontend For backend it is simpler. If you are using the development environment [1] than just connect your IDE to localhost:8787 Tomas [1]: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=README.developer;hb=HEAD - Original Message - From: 彭春洪 pengchunh...@gmail.com To: engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 9:13:05 AM Subject: [Engine-devel] debug ovirt-engine Hello,everybody.when I develop with ovirt-engine,I have meet some obstacles because of without the debug environment. So I really want to know how to debug the frontend and backend of ovirt-engine by break points or by step . Thank you for help! ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] debug ovirt-engine
Hi, Do you go through the wiki page OVirt Engine Development Environment http://www.ovirt.org/OVirt_Engine_Development_Environment you can debug with Debug port is available via port 8787, to be used by Eclipse or any other debugger. Best Regards, Jason Liao From: engine-devel-boun...@ovirt.org [mailto:engine-devel-boun...@ovirt.org] On Behalf Of 彭春洪 Sent: 2014年3月26日 16:13 To: engine-devel@ovirt.org Subject: [Engine-devel] debug ovirt-engine Hello,everybody.when I develop with ovirt-engine,I have meet some obstacles because of without the debug environment. So I really want to know how to debug the frontend and backend of ovirt-engine by break points or by step . Thank you for help! ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] debug ovirt-engine
btw, at least with eclipse you can debug both client and server together (two debug instances, port 8787 and 8000) note that debugging the client takes time!! don't be intimidated 8-) Thanks, Gilad. - Original Message - From: Chuan Liao (Jason Liao, HPservers-Core-OE-PSC) chuan.l...@hp.com To: 彭春洪 pengchunh...@gmail.com, engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 10:43:13 AM Subject: Re: [Engine-devel] debug ovirt-engine Hi, Do you go through the wiki page OVirt Engine Development Environment http://www.ovirt.org/OVirt_Engine_Development_Environment you can debug with Debug port is available via port 8787, to be used by Eclipse or any other debugger. Best Regards, Jason Liao From: engine-devel-boun...@ovirt.org [mailto:engine-devel-boun...@ovirt.org] On Behalf Of 彭春洪 Sent: 2014 年 3 月 26 日 16:13 To: engine-devel@ovirt.org Subject: [Engine-devel] debug ovirt-engine Hello,everybody.when I develop with ovirt-engine,I have meet some obstacles because of without the debug environment. So I really want to know how to debug the frontend and backend of ovirt-engine by break points or by step . Thank you for help! ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] REST API - where did bookmarks go?
I don't use bookmarks in RHEV-M but if I did, I wouldn't be pleased if I had to use another computer when things go wrong and in addition, engine wouldn't give me my bookmarks... IMO if bookmarks are to stay, they should be server-side. David On Po, 2014-03-24 at 11:28 -0400, Gilad Chaplik wrote: Hi Guys, Why we need bookmarks in API? a single liner that points out to another single liner? I know that we need it for 'UI over REST' migration, but... IMHO bookmarks should be saved in client side, maybe inject the search string in the url, and get 'real' bookmarks/favorites... I don't know :-) Thanks, Gilad. - Original Message - From: Vojtech Szocs vsz...@redhat.com To: Juan Hernandez jhern...@redhat.com Cc: engine-devel engine-devel@ovirt.org Sent: Wednesday, March 12, 2014 1:27:19 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? - Original Message - From: Juan Hernandez jhern...@redhat.com To: Vojtech Szocs vsz...@redhat.com, engine-devel engine-devel@ovirt.org Cc: Einav Cohen eco...@redhat.com Sent: Tuesday, March 11, 2014 7:22:35 PM Subject: Re: REST API - where did bookmarks go? On 03/11/2014 07:15 PM, Vojtech Szocs wrote: Hi guys, as part of prototyping new JavaScript binding for oVirt REST API, we chose a couple of business entities (resources) to experiment with. I just realized that requesting /ovirt-engine/api doesn't return any information about bookmarks. Where did bookmarks go? Is it possible to manage bookmarks through REST API? Note: WebAdmin currently gets bookmarks through GWT RPC by calling GetAllBookmarksQuery. Bookmark seems like proper backend business entity (with DAO and everything) so it should be exposed also via REST API.. or am I missing something? Thanks, Vojtech The didn't go anywhere, just never existed in the API. Please open a RFE to add them. Thanks, Juan. The RFE is here: https://bugzilla.redhat.com/1075556 -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] REST API - where did bookmarks go?
- Original Message - From: David Jaša dj...@redhat.com To: Gilad Chaplik gchap...@redhat.com Cc: Vojtech Szocs vsz...@redhat.com, Einav Cohen eco...@redhat.com, engine-devel engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 1:59:46 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? I don't use bookmarks in RHEV-M but if I did, I wouldn't be pleased if I had to use another computer when things go wrong and in addition, engine wouldn't give me my bookmarks... IMO if bookmarks are to stay, they should be server-side. I think that browser's bookmarks are much more advanced, sophisticated and native; i.e. I'd rather have in my browser a bookmark to down HA VMs search, instead of: - opening the application - open the bookmarks tab - searching the bookmark * and that's after I know how to use it (I've read the manual[??]/wasted time in playing with it), and remember how to use it from time to time. David On Po, 2014-03-24 at 11:28 -0400, Gilad Chaplik wrote: Hi Guys, Why we need bookmarks in API? a single liner that points out to another single liner? I know that we need it for 'UI over REST' migration, but... IMHO bookmarks should be saved in client side, maybe inject the search string in the url, and get 'real' bookmarks/favorites... I don't know :-) Thanks, Gilad. - Original Message - From: Vojtech Szocs vsz...@redhat.com To: Juan Hernandez jhern...@redhat.com Cc: engine-devel engine-devel@ovirt.org Sent: Wednesday, March 12, 2014 1:27:19 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? - Original Message - From: Juan Hernandez jhern...@redhat.com To: Vojtech Szocs vsz...@redhat.com, engine-devel engine-devel@ovirt.org Cc: Einav Cohen eco...@redhat.com Sent: Tuesday, March 11, 2014 7:22:35 PM Subject: Re: REST API - where did bookmarks go? On 03/11/2014 07:15 PM, Vojtech Szocs wrote: Hi guys, as part of prototyping new JavaScript binding for oVirt REST API, we chose a couple of business entities (resources) to experiment with. I just realized that requesting /ovirt-engine/api doesn't return any information about bookmarks. Where did bookmarks go? Is it possible to manage bookmarks through REST API? Note: WebAdmin currently gets bookmarks through GWT RPC by calling GetAllBookmarksQuery. Bookmark seems like proper backend business entity (with DAO and everything) so it should be exposed also via REST API.. or am I missing something? Thanks, Vojtech The didn't go anywhere, just never existed in the API. Please open a RFE to add them. Thanks, Juan. The RFE is here: https://bugzilla.redhat.com/1075556 -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] debug ovirt-engine
- Original Message - From: Gilad Chaplik gchap...@redhat.com To: 彭春洪 pengchunh...@gmail.com Cc: engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 11:45:25 AM Subject: Re: [Engine-devel] debug ovirt-engine btw, at least with eclipse you can debug both client and server together (two debug instances, port 8787 and 8000) note that debugging the client takes time!! don't be intimidated 8-) Right, GWT debugging might be slower than expected, here are some tips: - avoid compiling both WebAdmin UserPortal when you debug only one of them - specify target browser(s) via -Dgwt.userAgent=... (avoid compiling for all browsers) - GWT Developer Plugin doesn't work with recent Firefox, use Chrome instead In future, we'll upgrade GWT SDK version which should bring some improvements to the compile/debug process. Thanks, Gilad. - Original Message - From: Chuan Liao (Jason Liao, HPservers-Core-OE-PSC) chuan.l...@hp.com To: 彭春洪 pengchunh...@gmail.com, engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 10:43:13 AM Subject: Re: [Engine-devel] debug ovirt-engine Hi, Do you go through the wiki page OVirt Engine Development Environment http://www.ovirt.org/OVirt_Engine_Development_Environment you can debug with Debug port is available via port 8787, to be used by Eclipse or any other debugger. Best Regards, Jason Liao From: engine-devel-boun...@ovirt.org [mailto:engine-devel-boun...@ovirt.org] On Behalf Of 彭春洪 Sent: 2014 年 3 月 26 日 16:13 To: engine-devel@ovirt.org Subject: [Engine-devel] debug ovirt-engine Hello,everybody.when I develop with ovirt-engine,I have meet some obstacles because of without the debug environment. So I really want to know how to debug the frontend and backend of ovirt-engine by break points or by step . Thank you for help! ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] REST API - where did bookmarks go?
- Original Message - From: Gilad Chaplik gchap...@redhat.com To: dj...@redhat.com Cc: Vojtech Szocs vsz...@redhat.com, Einav Cohen eco...@redhat.com, engine-devel engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 2:27:41 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? - Original Message - From: David Jaša dj...@redhat.com To: Gilad Chaplik gchap...@redhat.com Cc: Vojtech Szocs vsz...@redhat.com, Einav Cohen eco...@redhat.com, engine-devel engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 1:59:46 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? I don't use bookmarks in RHEV-M but if I did, I wouldn't be pleased if I had to use another computer when things go wrong and in addition, engine wouldn't give me my bookmarks... IMO if bookmarks are to stay, they should be server-side. I think that browser's bookmarks are much more advanced, sophisticated and native; i.e. I'd rather have in my browser a bookmark to down HA VMs search, instead of: - opening the application - open the bookmarks tab - searching the bookmark * and that's after I know how to use it (I've read the manual[??]/wasted time in playing with it), and remember how to use it from time to time. If this means embedding search string in WebAdmin's URL like [1], I'm for it. [1] WebAdmin.html#search;q={uri-encoded-search-string} This could be done as RFE on top of (existing) bookmark functionality, giving people more choice. David On Po, 2014-03-24 at 11:28 -0400, Gilad Chaplik wrote: Hi Guys, Why we need bookmarks in API? a single liner that points out to another single liner? I know that we need it for 'UI over REST' migration, but... IMHO bookmarks should be saved in client side, maybe inject the search string in the url, and get 'real' bookmarks/favorites... I don't know :-) Thanks, Gilad. - Original Message - From: Vojtech Szocs vsz...@redhat.com To: Juan Hernandez jhern...@redhat.com Cc: engine-devel engine-devel@ovirt.org Sent: Wednesday, March 12, 2014 1:27:19 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? - Original Message - From: Juan Hernandez jhern...@redhat.com To: Vojtech Szocs vsz...@redhat.com, engine-devel engine-devel@ovirt.org Cc: Einav Cohen eco...@redhat.com Sent: Tuesday, March 11, 2014 7:22:35 PM Subject: Re: REST API - where did bookmarks go? On 03/11/2014 07:15 PM, Vojtech Szocs wrote: Hi guys, as part of prototyping new JavaScript binding for oVirt REST API, we chose a couple of business entities (resources) to experiment with. I just realized that requesting /ovirt-engine/api doesn't return any information about bookmarks. Where did bookmarks go? Is it possible to manage bookmarks through REST API? Note: WebAdmin currently gets bookmarks through GWT RPC by calling GetAllBookmarksQuery. Bookmark seems like proper backend business entity (with DAO and everything) so it should be exposed also via REST API.. or am I missing something? Thanks, Vojtech The didn't go anywhere, just never existed in the API. Please open a RFE to add them. Thanks, Juan. The RFE is here: https://bugzilla.redhat.com/1075556 -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
Re: [Engine-devel] REST API - where did bookmarks go?
thank you Vojtech! fyi, if we hadn't have the 3.X compatibility issues, I'm for removing current bookmarks. Thanks, Gilad. - Original Message - From: Vojtech Szocs vsz...@redhat.com To: Gilad Chaplik gchap...@redhat.com Cc: dj...@redhat.com, Einav Cohen eco...@redhat.com, engine-devel engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 3:36:35 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? - Original Message - From: Gilad Chaplik gchap...@redhat.com To: dj...@redhat.com Cc: Vojtech Szocs vsz...@redhat.com, Einav Cohen eco...@redhat.com, engine-devel engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 2:27:41 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? - Original Message - From: David Jaša dj...@redhat.com To: Gilad Chaplik gchap...@redhat.com Cc: Vojtech Szocs vsz...@redhat.com, Einav Cohen eco...@redhat.com, engine-devel engine-devel@ovirt.org Sent: Wednesday, March 26, 2014 1:59:46 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? I don't use bookmarks in RHEV-M but if I did, I wouldn't be pleased if I had to use another computer when things go wrong and in addition, engine wouldn't give me my bookmarks... IMO if bookmarks are to stay, they should be server-side. I think that browser's bookmarks are much more advanced, sophisticated and native; i.e. I'd rather have in my browser a bookmark to down HA VMs search, instead of: - opening the application - open the bookmarks tab - searching the bookmark * and that's after I know how to use it (I've read the manual[??]/wasted time in playing with it), and remember how to use it from time to time. If this means embedding search string in WebAdmin's URL like [1], I'm for it. [1] WebAdmin.html#search;q={uri-encoded-search-string} This could be done as RFE on top of (existing) bookmark functionality, giving people more choice. David On Po, 2014-03-24 at 11:28 -0400, Gilad Chaplik wrote: Hi Guys, Why we need bookmarks in API? a single liner that points out to another single liner? I know that we need it for 'UI over REST' migration, but... IMHO bookmarks should be saved in client side, maybe inject the search string in the url, and get 'real' bookmarks/favorites... I don't know :-) Thanks, Gilad. - Original Message - From: Vojtech Szocs vsz...@redhat.com To: Juan Hernandez jhern...@redhat.com Cc: engine-devel engine-devel@ovirt.org Sent: Wednesday, March 12, 2014 1:27:19 PM Subject: Re: [Engine-devel] REST API - where did bookmarks go? - Original Message - From: Juan Hernandez jhern...@redhat.com To: Vojtech Szocs vsz...@redhat.com, engine-devel engine-devel@ovirt.org Cc: Einav Cohen eco...@redhat.com Sent: Tuesday, March 11, 2014 7:22:35 PM Subject: Re: REST API - where did bookmarks go? On 03/11/2014 07:15 PM, Vojtech Szocs wrote: Hi guys, as part of prototyping new JavaScript binding for oVirt REST API, we chose a couple of business entities (resources) to experiment with. I just realized that requesting /ovirt-engine/api doesn't return any information about bookmarks. Where did bookmarks go? Is it possible to manage bookmarks through REST API? Note: WebAdmin currently gets bookmarks through GWT RPC by calling GetAllBookmarksQuery. Bookmark seems like proper backend business entity (with DAO and everything) so it should be exposed also via REST API.. or am I missing something? Thanks, Vojtech The didn't go anywhere, just never existed in the API. Please open a RFE to add them. Thanks, Juan. The RFE is here: https://bugzilla.redhat.com/1075556 -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
[Engine-devel] Playing with GWT Super Dev Mode
Hi guys, I wrote a patch [1] that adds the ability to debug WebAdmin using GWT Super Dev Mode, an alternative to current (Classic) Dev Mode. [1] http://gerrit.ovirt.org/#/c/26093/ I've encountered some issues, for some reason calls to GWT RPC server endpoint /ovirt-engine/webadmin/GenericApiGWTService fail with HTTP 500 (internal server error). The way Super Dev Mode works is selector script (webadmin.nocache.js) loads actual permutation files from Super Dev Mode's code server at localhost:9876 - JS inside makes GWT RPC calls which fails, not sure if this is due to experimental stage of Super Dev Mode in GWT 2.5.1 or if its related to direct-eval RPC implementation in use. You can take the patch above and play with it, in the worst case I will abandon it and revisit when we upgrade to newer GWT version (which will fully support Super Dev Mode). As you might already know, GWT team is focusing on Super Dev Mode in the long term, as maintaining different browser plugins for GWT debugging (used with Classic Dev Mode) is problematic; for example, recent Firefox versions have issues with GWT Developer Plugin. Regards, Vojtech ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
[Engine-devel] Attention: Mailing list change
All: One of the long-standing requests in the oVirt community is the merging of the [arch] and [engine-devel] mailing lists. This note is an announcement that on Monday, March 31, this will get done. What will happen: 1) Subscribers from [arch] and [engine-devel] will be migrated to a new [devel] list. 2) Archives from [arch] will be left as is, and available for searching on the list.ovirt.org/mailman site. 3) Archived from [engine-devel] (this list) will be renamed to [devel] If you have any comments or concerns, let me know. Thank you for your patience in this matter, Brian -- Brian Proffitt - oVirt Community Manager Open Source and Standards, Red Hat - http://community.redhat.com Phone: +1 574 383 9BKP IRC: bkp @ OFTC ___ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel