Juan Manuel Bardallo
49efbaae1f
Merge pull request 'Corregido fallo setRemotePc en la entidad Imagen al sincronizar un repositorio' ( #116 ) from setRemotePc-problem into devel
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #116
2026-05-18 13:39:39 +02:00
Juan Manuel Bardallo
17f8a897fa
Corregido fallo setRemotePc en la entidad Imagen al sincronizar un repositorio
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/pr-devel Build started...
Details
2026-05-18 13:32:48 +02:00
Nicolas Arenas
513a0cba81
Add logrotate for clients
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
2026-05-18 12:58:15 +02:00
Nicolas Arenas
00107d04de
Add clients log rotation
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
2026-05-18 12:52:37 +02:00
Nicolas Arenas
11122db156
Revert logrotate change for components journal
2026-05-18 12:49:29 +02:00
Nicolas Arenas
ebb6edf161
Update changelog
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
2026-05-18 12:29:09 +02:00
Nicolas Arenas
a35d49e483
Updted CHANGELOG.md
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
2026-05-18 12:09:08 +02:00
Nicolas Arenas
34582d5199
Updated CHANGELOG.md
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
2026-05-18 11:48:50 +02:00
Nicolas Arenas
d20e1b2789
fix(ogcore): robustez y rotación de logs en infraestructura journal-pull
...
ogcore-debian-package/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
- journal-pull@.service: Restart=always para reconectar tras salida limpia,
ExecStartPre elimina el fichero solo si está vacío para evitar cursor inválido
- JournalPullSubscriber: protección contra borrado de IP compartida entre
componentes al eliminar un servidor; comprueba que ninguna otra entidad
BootServer, DhcpServer o ImageRepository usa la misma IP antes de
eliminarla de journal-pull-sources.conf
- logrotate.d/journal-pull: rotación diaria con 10 días de retención para
los ficheros de journal remoto; nocompress para ficheros binarios;
para/arranca los servicios journal-pull@ durante la rotación
- debian/control: añadidos logrotate y systemd-journal-remote como dependencias
- debian/ogcore.postinst: enlace de logrotate config, permisos 775 en api/var/
2026-05-18 11:31:37 +02:00
Nicolas Arenas
45bb270198
update CHANGELOG.md
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
2026-05-14 21:46:34 +02:00
Nicolas Arenas
6099f6be4b
feat(oggui): soporte de múltiples SYSLOG_IDENTIFIER en visor de logs de disco
...
- StatusLogsComponent: @Input identifiers[] en lugar de identifier string,
parseo de entries JSON estructurado con formato [timestamp] ID: mensaje
- Templates ogboot, ogdhcp, ogrepository, ogcore-status: identifiers correctos
por componente y host basado en IP en lugar de nombre del servidor
- Añadidos métodos getSelectedXxxIp() en ogboot, ogdhcp y ogrepository status
2026-05-14 21:39:33 +02:00
Nicolas Arenas
3c4d179c86
add remote journal as dependency
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
2026-05-14 19:07:09 +02:00
Nicolas Arenas
f23aeda308
Fix non_interaction problem in ogcore
ogcore-debian-package/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
2026-05-14 18:51:47 +02:00
Nicolas Arenas
98ba1ff94b
fix Jenkins
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
2026-05-14 17:45:42 +02:00
Nicolas Arenas
341f10fc97
Testing devel
ogcore-debian-package/pipeline/head There was a failure building this commit
Details
2026-05-14 17:36:12 +02:00
Juan Manuel Bardallo
935561e399
Creado endpoint para mostrar logs desde disco de los distintos componentes de OG
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
2026-05-14 13:24:15 +02:00
Juan Manuel Bardallo
02f5d5248a
Creado endpoint para mostrar logs desde disco de los distintos componentes de OG
2026-05-14 13:22:57 +02:00
Juan Manuel Bardallo
d2b7b0265a
Creado endpoint para mostrar logs desde disco de los distintos componentes de OG
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
2026-05-14 13:18:10 +02:00
Nicolas Arenas
fb6e3c0e53
Merge pull request 'fix(ogcore): corregido error al importar imagen desde repositorio' ( #115 ) from import_image into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #115
2026-05-14 10:27:42 +02:00
Nicolas Arenas
71e7b8a129
fix(ogcore): corregido error al importar imagen desde repositorio
...
testing/ogcore-api/pipeline/pr-main Build started...
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
- Eliminada llamada a setRemotePc() en ImportAction, método inexistente
desde que la propiedad remotePc fue eliminada de la entidad Image en v1.7.0
- Actualizado CHANGELOG.md con entrada 1.7.11
2026-05-14 10:26:13 +02:00
Juan Manuel Bardallo
856080083b
Merge pull request 'Modificado setClientBootMode para crear una traza en caso de ejecución en modo temporal,' ( #114 ) from setbootmode into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #114
2026-05-13 15:00:28 +02:00
Juan Manuel Bardallo
65bfe26833
Modificado setClientBootMode para crear una traza en caso de ejecución en modo temporal, el id de dicha traza se le pasa al comando opengnsys:pxe:sync para que pueda sincronizar el fichero PXE del cliente y finalizar la traza indicando si se ha realizado correctamente o no
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/pr-main Build queued...
Details
2026-05-13 14:51:48 +02:00
Juan Manuel Bardallo
01d39e00a5
Merge pull request 'Añadida nueva ruta para cambiar la plantilla de un cliente /clients/set-boot-mode, recibe el nombre de la plantilla, el modo 0=temporal, 1=permanente y puede enviarse mac, ip o nombre del cliente o nombre del aula.' ( #113 ) from setbootmode into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #113
2026-05-12 14:57:15 +02:00
Juan Manuel Bardallo
14bfc44a38
Añadida nueva ruta para cambiar la plantilla de un cliente /clients/set-boot-mode, recibe el nombre de la plantilla, el modo 0=temporal, 1=permanente y puede enviarse mac, ip o nombre del cliente o nombre del aula.
testing/ogcore-api/pipeline/head Build started...
Details
testing/ogcore-api/pipeline/pr-main Build queued...
Details
2026-05-12 14:53:50 +02:00
Juan Manuel Bardallo
2d6419107a
Merge pull request 'Al importar clientes se inicializan con estado off' ( #112 ) from import-legacy into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #112
2026-05-11 10:32:20 +02:00
Juan Manuel Bardallo
a013527f57
Al importar clientes se inicializan con estado off
testing/ogcore-api/pipeline/head Build started...
Details
testing/ogcore-api/pipeline/pr-main Build queued...
Details
2026-05-11 10:30:41 +02:00
Juan Manuel Bardallo
1e322a5286
Merge pull request 'Mejorado comando ImportLegacy y creada ruta api para invocarlo desde la consola web, controla errores e informa de cambios a través de mercure' ( #111 ) from import-legacy into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #111
2026-05-08 15:40:20 +02:00
Juan Manuel Bardallo
a0c871add5
Mejorado comando ImportLegacy y creada ruta api para invocarlo desde la consola web, controla errores e informa de cambios a través de mercure
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/pr-main Build queued...
Details
2026-05-08 15:36:57 +02:00
Juan Manuel Bardallo
7baacb820f
Merge pull request 'import-legacy' ( #110 ) from import-legacy into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #110
2026-05-08 10:39:34 +02:00
Juan Manuel Bardallo
53f22f3b21
eliminada relación de los perfiles software y los softwares con las OU, en la nueva version no existe dicha relacion
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/pr-main Build queued...
Details
2026-05-08 10:37:41 +02:00
Juan Manuel Bardallo
1dca0f0194
Creado importador completo de la base de datos Og 1.1 a Og 3.0, usa los comandos migrate ya creados anteriormente
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
2026-05-08 10:17:51 +02:00
Nicolas Arenas
dbf54ed81a
Merge pull request 'feat(ogcore): update client status from agent heartbeat busy field' ( #109 ) from notify_ogagent_status into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #109
2026-05-08 07:10:05 +02:00
Nicolas Arenas
90f06de0a0
feat(ogcore): update client status from agent heartbeat busy field
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit
Details
- StatusController: process 'busy' and 'st' fields from agent heartbeat
to keep client status in sync without waiting for a command response.
busy:true sets BUSY; busy:false reverts to og-live/linux/windows/macos
based on the 'st' field sent by the agent
- StatusController: add detailed logging for all status transitions
(heartbeat and REBOOT/POWEROFF) visible via journalctl -t ogcore
- PowerOffAction, RebootAction: distinguish HTTP 409 (agent busy) from
500 (agent error) and enqueue the command in both cases
2026-05-08 07:03:08 +02:00
Manuel Aranda Rosales
c846a7b824
Merge pull request 'Updated changelog' ( #108 ) from develop into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #108
2026-05-07 22:29:04 +02:00
Manuel Aranda Rosales
e2fedd38a9
Merge branch 'main' into develop
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/pr-main Build queued...
Details
2026-05-07 22:26:59 +02:00
Manuel Aranda Rosales
0225e9c0e7
updated changelog
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
2026-05-07 22:24:58 +02:00
Manuel Aranda Rosales
15e9fa796d
Merge pull request 'Fixed typo disk logs. Fixed scope in task.' ( #107 ) from develop into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #107
2026-05-06 17:35:25 +02:00
Manuel Aranda Rosales
99e4c02411
Fixed OU scope task
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit
Details
2026-05-06 17:34:21 +02:00
Manuel Aranda Rosales
4a97bc8aff
Merge branch 'main' into develop
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
2026-05-06 17:28:29 +02:00
Manuel Aranda Rosales
1915649d17
Fixed typo disk logs
2026-05-06 17:28:11 +02:00
Manuel Aranda Rosales
c1da9387da
Merge pull request 'fix(ogcore): fix scheduled task execution and UTC timezone handling' ( #106 ) from fix_scheduled_tasks into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #106
2026-05-06 17:26:56 +02:00
Nicolas Arenas
a8cdae154b
fix(ogcore): fix scheduled task execution and UTC timezone handling
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit
Details
- Fix executeReboot response check: use getStatusCode() instead of
json_decode(body)['status'], which never matched the Client entity body
- Fix executeRunScript: same check fix; remove duplicate trace status
update since RunScriptAction already handles it via updateExistingTrace
- Normalize executionDate/executionTime to UTC at API boundary in
CommandTaskScheduleInput to prevent client/server timezone drift
- Use UTC consistently in calculateNextExecutionDate and
RunScheduledCommandTasksCommand for all datetime comparisons
- Replace 30-second execution window (abs(difference) < 30) with
isDue && notYetExecuted logic so tasks missed by the cron are
recovered in the next cycle instead of being skipped forever
- Skip one-time (none) tasks with a past executionDate in
calculateNextExecutionDate so nextExecution is set to null after
execution and the task no longer appears in cron logs
2026-05-06 15:30:37 +02:00
Juan Manuel Bardallo
7fc2a10ff6
Merge pull request 'Modificada funcion para borrar imagen de cache, no se usa la partición que contenga una imagen desplegada, se usa directamente el nombre del fichero contenido en cache' ( #105 ) from delete-cache-image into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #105
2026-05-06 12:40:40 +02:00
Juan Manuel Bardallo
cd7a2484c5
Modificada funcion para borrar imagen de cache, no se usa la partición que contenga una imagen desplegada, se usa directamente el nombre del fichero contenido en cache
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit
Details
2026-05-06 12:28:28 +02:00
Manuel Aranda Rosales
2860161d93
Merge pull request 'New endpoint. Disk logs.' ( #104 ) from develop into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #104
2026-05-05 18:22:18 +02:00
Manuel Aranda Rosales
08aeb3b84d
Merge branch 'main' into develop
testing/ogcore-api/pipeline/pr-main Build queued...
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
2026-05-05 18:19:34 +02:00
Manuel Aranda Rosales
9f65d0083f
Added new endpoint. Disk logs
2026-05-05 18:19:31 +02:00
Manuel Aranda Rosales
e1f7bcec80
Merge pull request 'Removed status disconnecteed from "status" endpoint.' ( #103 ) from develop into main
...
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
ogcore-debian-package/pipeline/head This commit looks good
Details
Reviewed-on: #103
2026-05-05 10:15:28 +02:00
Manuel Aranda Rosales
4aa57fa984
Merge branch 'main' into develop
testing/ogcore-api/pipeline/pr-main Build queued...
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
2026-05-05 10:14:08 +02:00
Manuel Aranda Rosales
eaaba07f16
Removed disconnected from status
2026-05-05 10:13:51 +02:00