[Users] php on jboss
i need a php file to execute some bash scripts on the server, but when i integrate the ui-plugin ot the ovirt portal, it does not find path to my .php file. I have the HTML where as .PHP residing in the same location, can someone guide on uploading PHP files on JBOSS server, since ovirt runs on it.. if i want to run a PHP file, where should i save it? -- -Aditya Mamidwar ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [Engine-devel] adding scripts
Hey, my team is working on adding AoE protocol support to ovirt. am thus facing following difficulties: 1 : i wrote the required code using in bash scripting, which i wish to invoke after a click of button in the ovirt-portal. (which does not seem to be possible). can you help on that? which programming language should i use, and how that file should be invoked. 2. for ISOs to be available, i need to enable hosts configured in clusters and storage domains of ATA type. (currently NFS, iSCSI and FC are done). which files should i focus on changing for above functionality. 3. How do i change the custom layout of the engine? (like adding a few extra buttons.) please specify the files responsible. 4. the above questions stress that am facing difficulty in identifying files responsible for a particular module. is there a better way to do that instead of digging up the entire source code. ( a documentation if available.) On Mon, Mar 17, 2014 at 5:52 PM, Alexander Wels aw...@redhat.com wrote: Aditya, That is because that file doesn't exist. We map that name to a servlet in web.xml. If you want to modify the GWT host page take a look at GwtDynamicHostPageServlet.java and its sub classes (for user portal and webadmin). As well as GwtHostPage.jsp. You will find there is almost nothing in that page as all the HTML is being generated at runtime using GWT. Since you are not really explaining what you are trying to do we can't help you better on the best strategy to achieve what you want. Alexander On Saturday, March 15, 2014 06:00:21 PM Aditya Mamidwar wrote: Hey thanks on the previous issue. Also is there a way i can access WebAdmin.Html to add custom buttons and make few tweaks for personal use? I just cant find that file after using git. Aditya Mamidwar -Original Message- From: Einav Cohen eco...@redhat.com Sent: 14-03-2014 01:21 To: aditya mamidwar aditya.mamid...@gmail.com; Vojtech Szocs vsz...@redhat.com Cc: users@ovirt.org users@ovirt.org; engine-de...@ovirt.org engine-de...@ovirt.org Subject: Re: [Users] adding scripts if you are trying to hook into UI-specific events, it sounds like you will need to write an oVirt UI Plugin [1] in order to do that. However, I believe that the oVirt UI Plugins infrastructure doesn't support hooking to events such as tab x was selected and/or button b was clicked. It does allow you to add new (custom) tabs/sub-tabs/buttons of your own, and there is a chance that it allows you to hook into events such as 'row x was selected in the grid'. @Vojtech will know better. Vojtech? if you are trying to hook into engine events (e.g. you want to run a script every time a VM is started in oVirt, no matter if the user started it by clicking the 'run' button in the oVirt- engine webadmin, or invoked a REST API request, or an SDK command), then it will require some sort of an engine-plugin infrastructure that we don't have at the moment AFAIK. there is a chance that for some of the events you will be able to utilize the VDSM hooks (at the Host level) [2]. Thanks, Einav [1] http://www.ovirt.org/Features/UIPlugins [2] http://www.ovirt.org/VDSM-Hooks - Original Message - From: aditya mamidwar aditya.mamid...@gmail.com To: users@ovirt.org, engine-de...@ovirt.org Sent: Thursday, March 13, 2014 11:23:35 AM Subject: [Users] adding scripts I want to commit changes to the engine by adding some bash scripts. the scripts should be invoked once a button or tab is selected in the webadmin portal by the user. can someone guide on achieving this. -- -Aditya Mamidwar ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- -Aditya Mamidwar ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] migration of VM, which protocol actually works?
i wanted to learn about the modules so that i could understand how the engine POSTS and sends data to the backend sql database and other scripts to perform various options. for e.g i need to know which code actually collects the storage path for the ISO s during ISCSI storage domain setup. also how the hosts, clusters and data centers are made and stored at the backend. if i want to add a new UI that bypasses some of these complicated tasks (again for personal understanding), will I be able to do that. Also i would like to mention that am working on making a little changes to how the ISCSI protocol works.. My another doubt is: when are the NFS/ISCSI/FC protocols actually used in ovirt. like what part of the VM running state? are their purpose limited to just copying the ISO from the storage center to the path required by the Host. Are the protocols them self responsible for sending and getting data during VM execution on a node. The concept of node and migration has left me a little confused. since each node can run multiple VMs , so during the running/execution of the VM , do the network protocols actully work, if not , then how is that achieved. if yes, again my question arises, which module should i focus on regarding this issue. thanks -- -Aditya Mamidwar ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] adding scripts
Hey thanks on the previous issue. Also is there a way i can access WebAdmin.Html to add custom buttons and make few tweaks for personal use? I just cant find that file after using git. Aditya Mamidwar -Original Message- From: Einav Cohen eco...@redhat.com Sent: 14-03-2014 01:21 To: aditya mamidwar aditya.mamid...@gmail.com; Vojtech Szocs vsz...@redhat.com Cc: users@ovirt.org users@ovirt.org; engine-de...@ovirt.org engine-de...@ovirt.org Subject: Re: [Users] adding scripts if you are trying to hook into UI-specific events, it sounds like you will need to write an oVirt UI Plugin [1] in order to do that. However, I believe that the oVirt UI Plugins infrastructure doesn't support hooking to events such as tab x was selected and/or button b was clicked. It does allow you to add new (custom) tabs/sub-tabs/buttons of your own, and there is a chance that it allows you to hook into events such as 'row x was selected in the grid'. @Vojtech will know better. Vojtech? if you are trying to hook into engine events (e.g. you want to run a script every time a VM is started in oVirt, no matter if the user started it by clicking the 'run' button in the oVirt- engine webadmin, or invoked a REST API request, or an SDK command), then it will require some sort of an engine-plugin infrastructure that we don't have at the moment AFAIK. there is a chance that for some of the events you will be able to utilize the VDSM hooks (at the Host level) [2]. Thanks, Einav [1] http://www.ovirt.org/Features/UIPlugins [2] http://www.ovirt.org/VDSM-Hooks - Original Message - From: aditya mamidwar aditya.mamid...@gmail.com To: users@ovirt.org, engine-de...@ovirt.org Sent: Thursday, March 13, 2014 11:23:35 AM Subject: [Users] adding scripts I want to commit changes to the engine by adding some bash scripts. the scripts should be invoked once a button or tab is selected in the webadmin portal by the user. can someone guide on achieving this. -- -Aditya Mamidwar ___ 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] Source code unerstanding
Hey, is there a simpler way to know which code is responsible for which module of the engine. is there a documentation maintained. or how can identify the files which are important for me. -- -Aditya Mamidwar ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] adding scripts
I want to commit changes to the engine by adding some bash scripts. the scripts should be invoked once a button or tab is selected in the webadmin portal by the user. can someone guide on achieving this. -- -Aditya Mamidwar ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] building engine, facing issues.
i installed ovirt 3.3 and i need to build the engine for my changes to backend implementation files to take place. The build engine guide on the community says that the procedure is now obsolete for my version. also git clone git://gerrit.ovirt.org/ovirt-engine doenot clone the $OVIRT_HOME/backend/manager/dbscripts. hence i cannot continue with the next steps. -- -Aditya Mamidwar ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] help requested
hey, i want to study how ovirt implements the ISCSI protocol for disk access in SANs, i want to study the source code files. from where can i get them? am thinking of implementing the aoe protocol. also can i get help on how such plugins are made for ovirt, which files need to be changed, and procedure to test the plugin by building the engine. -- -Aditya Mamidwar ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users