Check the availability of the binary in the ogLive. If necessary use the sources from $ OGLIB / burg / burg.tgz
Live. If necessary use the sources from $ OGLIB / burg / burg.tgz
Remote Cloning Wizard shows "partition configuration table" before the form.
The table shows the content of the images in the cache
Code from the other Wizards is reused.
The multidimensional array that is generated from the configurations doubled the entries.
The multidimensional array is changed to a simple array where the index is the string composed of disk id part id
The select "idpartition" form will have the array index as text.
The netboot web form does not correctly filter the computer group scope.
There is a BUG in the "case" to filter the scopes.
The file is boot_grub4dos.php
Irina reports that the Wake on Lan command does not work in queued
commands.
This bug appeared when we fixed duplicated command execution when added
to the queue (ccb862b). It is caused because the client needs to be ON
to ask itself for the queued command, but the WoL command can not work
this way because the client is OFF.
This commit changes the behaviour of gestor_Comandos.php to always send
the WoL command immediately.
Irina reports that the bug fixed in 78a97c5 happens again when you run a
command with a session (queue of actions).
The bug was introduced in 78a97c5, the goal of the commit was
to change the behaviour of respuestaEstandar to always check
the result of a command, whether it has a session or not. But, instead
of this behaviour, the commit changes respuestaEstandar to only check the
commands without session.
Irina reports that the Wake on Lan command does not work in procedures.
The client/computer does not turn on, causing that any of the other
commands are executed.
This bug appears when we adapt the procedures and tasks to work with the
new API REST of the ogAdmServer. It is caused because the client needs
to be on to ask itself for the pending commands, but the WoL command can
not work this way because the client is off.
This commit changes the behaviour of recorreProcedimientos to send the
WoL command without the client has to ask.
This patch fixes duplicated command execution by running queue scheduler instead
of directly calling the command's REST API function.
If command is already queued, then execute pending commands. Otherwise,
invoke the OgAdmServer REST API.
This patch includes tests for the remaining REST API commands:
POST /shell/output
POST /session
POST /poweroff
POST /reboot
POST /stop
POST /refresh
POST /hardware
POST /software
POST /image/create
POST /image/restore
POST /setup
POST /image/create/basic
POST /image/create/incremental
POST /image/restore/basic
POST /image/restore/incremental
POST /run/schedule
This test covers requests that are missing one of the parameters in its
payload.
This patch extends tests for requests without any payload in the following REST
API POST functions:
- /clients
- /wol
- /shell/run
- /shell/output
- /session
- /poweroff
- /reboot
- /stop
- /refresh
- /hardware
- /software