Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update filesystems on /refresh | Roberto Hueso Gómez | 2020-05-18 | 1 | -0/+9 |
| | | | | This updates partitions.json filesystems. | ||||
* | Use virtio-vga to run VMs | Roberto Hueso Gómez | 2020-05-18 | 1 | -2/+2 |
| | | | | | | This is the device that has the best empirical performance right now and it seems like it is where most of the qemu development is directed towards for the future. | ||||
* | Adapt ogLinuxOperation to work with json config file | Javier Sánchez Parra | 2020-05-18 | 2 | -7/+5 |
| | | | | | | | ogClient changed its config file format to json. This patch adapts ogLinuxOperation to use new config file. Co-authored-by: Roberto Hueso <rhueso@soleta.eu> | ||||
* | Fix typo in configuration json | Roberto Hueso Gómez | 2020-05-15 | 1 | -1/+1 |
| | |||||
* | Wait before polling QMP for host poweroff | Roberto Hueso Gómez | 2020-05-14 | 1 | -2/+2 |
| | | | | | This patch waits before polling qemu with QMP so that it has time to be ready for requests. It also increases wait time in case the host machine is slow. | ||||
* | Fix typo on linux shellrun operation | Roberto Hueso Gómez | 2020-05-14 | 1 | -1/+1 |
| | |||||
* | Rename operation 'execCMD' to 'shellrun' | Roberto Hueso Gómez | 2020-05-13 | 3 | -5/+4 |
| | | | | This patch also ignores calls to shellrun when virtual mode is activated. | ||||
* | remove platform check | OpenGnSys Support Team | 2020-05-13 | 1 | -3/+0 |
| | |||||
* | Change permissions on virtual images for /refresh | Roberto Hueso Gómez | 2020-05-13 | 1 | -1/+1 |
| | | | | | Write permission is not needed to get information about each virtual drive so this patch changes permissions to 'only read'. This can prevent race conditions. | ||||
* | Add VNC support for virtual mode VMs | Roberto Hueso Gómez | 2020-05-13 | 1 | -7/+33 |
| | | | | | This patch makes possible to interact with guest OS from a remote machine using VNC. | ||||
* | Switch config file to json | Roberto Hueso Gómez | 2020-05-13 | 5 | -47/+51 |
| | | | | | This patch makes configuration parsing easier as well as making the full configuration available in many subclasses. | ||||
* | Extend use of OG_PARTITIONS_CFG_PATH for /setup and /refresh | Roberto Hueso Gómez | 2020-05-11 | 1 | -7/+4 |
| | | | | | This is a refactor to consolidate the use of this single variable across all virtual operations. | ||||
* | Poweroff when no VM and no jobs are running | Roberto Hueso Gómez | 2020-05-11 | 2 | -1/+40 |
| | | | | | | This patch calls poweroff in virtual mode when no VM is running and no jobs are being executed. This is useful when the guest OS shutdowns so that the host OS does not continue to run. | ||||
* | Add OgVM class to abstract VMs | Roberto Hueso Gómez | 2020-04-28 | 1 | -9/+36 |
| | | | | | This patch implements OgVM class. OgVM abstracts VM emulator from its operations. | ||||
* | Poweroff VM before some operations | Roberto Hueso Gómez | 2020-04-28 | 1 | -22/+20 |
| | | | | | | This patch includes changes to: - Poweroff VM before running operations that require access to virtual disks. - Poweroff VM before host system poweroff. | ||||
* | Send last stored setup if VM is running | Roberto Hueso Gómez | 2020-04-28 | 1 | -6/+21 |
| | | | | | When virtual mode is activated, send the last stored partitions setup because it is not possible to access a running virtual drive to get its information. | ||||
* | Add OgQMP recv method | Roberto Hueso Gómez | 2020-04-28 | 1 | -1/+23 |
| | | | | | | recv method is useful for receiving information that was not previously requested (such as "events"). This patch also implements automatic handshake on OgQMP by sending an "qmp_capabilities" request. | ||||
* | Fix disk used size calculation | Roberto Hueso Gómez | 2020-04-28 | 1 | -1/+1 |
| | | | | | This patch calculates correctly the percentage of disk used. This could cause an overflow on the ogAdmSever DB. | ||||
* | Control errors in OgQMP for virtual mode | Roberto Hueso Gómez | 2020-04-22 | 1 | -59/+78 |
| | | | | | This patch handles possible communication errors between ogclient and Qemu when making QMP requests. | ||||
* | Add realtime log menu | Javier Sánchez Parra | 2020-04-22 | 2 | -6/+27 |
| | | | | | | | | | | | We observed that with the new ogClient the ogLive did not show the realtime log menu*. This commit changes the ogClient to launch the browser and show the realtime log menu when some commands are executed. * The realtime log menu is a menu that shows current status and info about the command that the ogLive is executing. | ||||
* | Avoid killing ogclient in virtual mode | Roberto Hueso Gómez | 2020-04-20 | 1 | -8/+8 |
| | |||||
* | Avoid writting /software output to a file | Roberto Hueso Gómez | 2020-04-17 | 3 | -11/+9 |
| | |||||
* | Use samba for create and restore virtual partitions | Roberto Hueso Gómez | 2020-04-17 | 5 | -7/+41 |
| | | | | This requires to configure user and password for samba repositories. | ||||
* | Use libguestfs for virtual setup | Roberto Hueso Gómez | 2020-04-17 | 1 | -11/+12 |
| | |||||
* | Use libguestfs for virtual refresh | Roberto Hueso Gómez | 2020-04-17 | 1 | -14/+30 |
| | |||||
* | Transform absolute paths into relative paths for virtual mode | Roberto Hueso Gómez | 2020-04-17 | 1 | -15/+26 |
| | |||||
* | Increase HTML menu regeneration cases | Javier Sánchez Parra | 2020-04-16 | 1 | -0/+4 |
| | | | | | | | | | | We have observed that the ogLive browser did not show the changes when an image restoration o script execution was called. The problem was that the HTML menu was not updated/regenerated in these cases. This commit adds the call to the HTML regeneration function to image restore and script execution commands. This way, when the browser is restarted it loads the updated HTML menu. | ||||
* | Change browser behaviour | Javier Sánchez Parra | 2020-04-16 | 2 | -3/+21 |
| | | | | | | | | | | We have observed that the browser did not show changes. This happens because the ogClient opens the browser at the beginning and forget about it. To show correctly the changes ogClient had to restart the browser every time the menu html changes. This commit changes the behaviour to restart the browser when the menu html has changed. | ||||
* | Change default server port | Roberto Hueso Gómez | 2020-04-16 | 1 | -1/+1 |
| | |||||
* | wait for 1 second if connection is refused | OpenGnSys Support Team | 2020-04-14 | 1 | -18/+6 |
| | |||||
* | Sleep 1 second to avoid high CPU load | Roberto Hueso Gomez | 2020-04-14 | 1 | -0/+1 |
| | |||||
* | Avoid connection status infinite print loop | Roberto Hueso Gomez | 2020-04-14 | 1 | -7/+17 |
| | | | | This patch avoids infinite writting of connection status messages to the log. | ||||
* | Fix reboot and poweroff threads args | Roberto Hueso Gomez | 2020-04-13 | 1 | -2/+2 |
| | |||||
* | Add placeholder for virtual execCMD | Roberto Hueso Gomez | 2020-04-13 | 1 | -0/+4 |
| | |||||
* | Rename ogClient to ogclient in config path | Alvaro Neira Ayuso | 2020-04-12 | 1 | -1/+1 |
| | |||||
* | Launch browser only in linux configuration | Alvaro Neira Ayuso | 2020-04-12 | 1 | -1/+2 |
| | |||||
* | Use 75% of disk space in virtual mode | Roberto Hueso Gomez | 2020-04-08 | 1 | -0/+3 |
| | |||||
* | Add mode selection for ogClient | Roberto Hueso Gomez | 2020-04-08 | 4 | -20/+35 |
| | |||||
* | Encapsulate operations in classes | Roberto Hueso Gomez | 2020-04-08 | 2 | -515/+517 |
| | |||||
* | Add virtual operations | Roberto Hueso Gomez | 2020-04-07 | 2 | -0/+403 |
| | |||||
* | add shebang to python3 and update permission | OpenGnSys Support Team | 2020-03-31 | 1 | -0/+2 |
| | |||||
* | Rename config file | Javier Sanchez Parra | 2020-03-24 | 2 | -1/+1 |
| | | | | | This commit changes the name of the config file from ogagent.cfg to ogclient.cfg. | ||||
* | missing update to use ogConfig.OG_PATH in linux/ogOperations.py | OpenGnSys Support Team | 2020-03-20 | 1 | -1/+1 |
| | |||||
* | Make OG_PATH public | Javier Sanchez Parra | 2020-03-20 | 3 | -14/+17 |
| | | | | | This commit changes the OG_PATH to a public varible of the class ogConfig. This way we improve the configurability of the path. | ||||
* | rename getURI to get_uri in restRequest | OpenGnSys Support Team | 2020-03-09 | 2 | -2/+2 |
| | |||||
* | rename execcmd to shellrun | OpenGnSys Support Team | 2020-03-09 | 1 | -2/+2 |
| | |||||
* | use lowercase attribute name in restRequest | OpenGnSys Support Team | 2020-03-09 | 1 | -13/+13 |
| | |||||
* | Put state to IDLE after run/schedule | Roberto Hueso Gómez | 2020-03-03 | 1 | -0/+1 |
| | |||||
* | Send complete HTTP header when response has no body | Roberto Hueso Gómez | 2020-03-02 | 1 | -1/+2 |
| | |||||
* | Rename operation to method | OpenGnSys Support Team | 2020-02-26 | 3 | -8/+8 |
| | | | | As defined by the HTTP standard. |