Commit Graph

284 Commits (22a1206f068ca9fb6baa27941c6c5759b22556b0)

Author SHA1 Message Date
Nicolas Arenas 7086cf1467 Change http server order start 2026-04-28 17:57:41 +02:00
Nicolas Arenas ee5710fffc Add ogagent.token file in oglive mode only (#70)
ogagent/pipeline/head This commit looks good Details
## Summary

- Write the authentication token to `/tmp/ogagent.token` on oglive startup so local scripts can authenticate against the agent without needing to know the token in advance.
- Remove token file writing from OS/Windows mode (`OpenGnSys` module), where it was being written to `/opt/opengnsys/etc/ogagent.token`. The token file is now exclusive to oglive mode.

## Test plan

- [ ] Boot a machine into oglive and verify `/tmp/ogagent.token` is created with a 32-character alphanumeric token
- [ ] Verify a local script can read the token and use it to authenticate against the agent REST API
- [ ] Boot a machine into a normal OS (Windows/Linux) and verify `/opt/opengnsys/etc/ogagent.token` is **not** created
- [ ] Verify normal agent operation is not affected in OS mode (connection to ogcore, script execution, etc.)

Co-authored-by: Nicolas Arenas <nicolas.arenas@qindel.com>
Reviewed-on: #70
2026-03-23 17:38:50 +01:00
Nicolas Arenas c776f9c2ee Fix Redmine 2879 (#69)
ogagent/pipeline/head This commit looks good Details
Co-authored-by: Nicolas Arenas <nicolas.arenas@qindel.com>
Reviewed-on: #69
2026-03-18 17:35:34 +01:00
Natalia Serrano b922c4270c refs #2862 parches ugr 2025-10-16 14:52:04 +02:00
Natalia Serrano 9e750cef68 refs #2862 parches ugr 2025-10-16 14:49:50 +02:00
Natalia Serrano 150ea63764 refs #2862 parches ugr 2025-10-15 10:42:09 +02:00
Natalia Serrano cd16f873d5 refs #2850 show a user-friendly error if the agent fails to start 2025-09-29 15:42:03 +02:00
Natalia Serrano 99d9eba0c3 refs #2850 show a user-friendly error if the agent fails to start 2025-09-29 15:40:34 +02:00
Natalia Serrano f02198405e refs #2840 exit from the infinite loop 2025-09-23 13:46:22 +02:00
Natalia Serrano bbd03af7ad refs #2822 wait() in a loop 2025-09-18 11:29:29 +02:00
Natalia Serrano cd62b779a1 refs #2776 Fix EOF bug in interfaceAdm() 2025-09-11 16:33:21 +02:00
Natalia Serrano 07740884cb refs #2691 put InventarioHardware to work 2025-08-29 10:32:06 +02:00
Vadim vtroshchinskiy 8ba4240fee refs #2506 argument fixes 2025-08-28 15:20:27 +02:00
Vadim vtroshchinskiy 163c6fb4fe refs #2506 -- Make some parameters optional 2025-08-28 15:20:27 +02:00
Vadim Trochinsky 2a2fc3b0b2 refs #2506 -- More parameter rearranging 2025-08-28 15:20:27 +02:00
Vadim Trochinsky 0bf4b53ef8 refs #2506 -- Rearrange parameters, add ability to pass branch to oggit 2025-08-28 15:20:27 +02:00
Vadim Trochinsky 6ecf399ffe refs #2506 modificarimagen con branch y parametros 2025-08-28 15:20:27 +02:00
Natalia Serrano c60931ed9a refs #2688 make Configurar with gen-script=true both synchronous and faster 2025-08-28 12:48:45 +02:00
Natalia Serrano ac24d63b70 refs #2688 pass a new parameter "gen-script" to Configurar 2025-08-28 11:35:21 +02:00
Vadim vtroshchinskiy daff276aa0 refs #2621: Redo interfaceAdmin to avoid truncating output 2025-08-14 10:03:35 +02:00
Natalia Serrano abc2de9f70 refs #2615 update changelogs 2025-08-08 13:14:05 +02:00
Natalia Serrano e8e858d4ce refs #2615 return 409 on >1 background jobs 2025-08-08 13:12:21 +02:00
Natalia Serrano 40064be81d refs #2616 handle nested exceptions 2025-08-08 13:11:41 +02:00
Natalia Serrano b17d25083b refs #2600 wait() for the browser 2025-08-07 12:10:00 +02:00
Natalia Serrano 83a25947bd refs #2592 fix syntax 2025-08-04 14:37:56 +02:00
Natalia Serrano 8b8204d10f refs #2558 #2559 #2562 #2563 add versioning stuff 2025-08-04 14:24:22 +02:00
Natalia Serrano 25b2cb6cd8 refs #2558 #2559 return job_id to ogcore 2025-08-04 14:21:04 +02:00
Natalia Serrano fc8b072860 refs #2563 log the logging-out user 2025-08-04 12:26:19 +02:00
Natalia Serrano 860fb61677 refs #2562 keep track of the logging-out user 2025-08-04 12:25:56 +02:00
Natalia Serrano 75d222c425 refs #2554 wait for zombies 2025-07-31 10:36:00 +02:00
Natalia Serrano e783d7c1fa refs #2554 wait for zombies 2025-07-31 10:34:01 +02:00
Natalia Serrano ee183f6ad3 refs #2556 change "jobid" for "job_id" 2025-07-31 10:18:19 +02:00
Natalia Serrano 95360a244e refs #2547 add missing file stop-agent.ps1 2025-07-30 10:21:02 +02:00
Natalia Serrano 9fe1b5d1d5 refs #2509 use setsid, send signals to the pgrp 2025-07-29 14:12:56 +02:00
Natalia Serrano c53be3f3ec refs #2537 log whether we are in ogLive or not 2025-07-28 15:17:40 +02:00
Natalia Serrano 198353b214 refs #2537 log whether we are in ogLive or not 2025-07-28 13:56:56 +02:00
Natalia Serrano 61bd7a90dd refs #2520 don't pass the tag parameter to CrearImagenGit 2025-07-24 15:32:41 +02:00
Natalia Serrano 82abfbdd10 refs #2514 run the new extension-less scripts from the cloning engine 2025-07-18 14:28:34 +02:00
Natalia Serrano fb5cc452cf refs #2513 add versioning stuff 2025-07-18 14:22:58 +02:00
Natalia Serrano f833a31a82 refs #2513 bugfix: do not add empty entries 2025-07-18 14:18:32 +02:00
Natalia Serrano de74923fd8 refs #2513 poll quicker 2025-07-18 14:18:13 +02:00
Natalia Serrano 771ed4b378 refs #2513 support new parameter for Configurar 2025-07-18 14:17:26 +02:00
Natalia Serrano e0da448e90 refs #2504 add endpoint for GetGitData 2025-07-18 14:10:43 +02:00
Natalia Serrano 41a9f7ce21 refs #2504 add endpoint for GetGitData 2025-07-18 14:08:53 +02:00
Natalia Serrano 72b832d654 refs #2329 write output of launch_browser into a file 2025-06-26 12:46:37 +02:00
Vadim Trochinsky 60bab01556 refs #2247 Eliminar parametros sin usar 2025-06-25 11:44:50 +02:00
Vadim Trochinsky 2f5ac81235 refs #2247 Add ModificarImagenGit endpoint 2025-06-25 11:32:05 +02:00
Natalia Serrano 7be441ca99 refs #2281 last commit broke linux--fix 2025-06-23 12:37:42 +02:00
Natalia Serrano bb856e5b63 refs #2281 fix logout on windows 2025-06-23 12:27:45 +02:00
Natalia Serrano 22f7ce0bb9 refs #2257 rename some endpoints 2025-06-23 12:27:03 +02:00