Nicolas Arenas
70a9d4ad51
implements reconnection in ogagent for oglive
ogagent/pipeline/head This commit looks good
Details
2026-04-30 13:42:02 +02:00
Nicolas Arenas
d585387f52
Reconnect to ogcore after connection loss
...
- Track registration state with _registered flag; monitoring thread
re-sends ogagent/started when contact with ogcore is restored
- Fix AttributeError in REST client when a network-level error
(timeout, connection refused) occurred: e.response is None for
non-HTTP failures, so guard before accessing .status_code
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 21:06:40 +02:00
Nicolas Arenas
22a1206f06
Updated CHANGELOG.md
2026-04-28 17:59:24 +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
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
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
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
Natalia Serrano
abc2de9f70
refs #2615 update changelogs
2025-08-08 13:14:05 +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
75d222c425
refs #2554 wait for zombies
2025-07-31 10:36:00 +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
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
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
Natalia Serrano
9cf7ec5a56
refs #2312 fix changelogs
2025-06-25 11:54:20 +02:00
Natalia Serrano
bb856e5b63
refs #2281 fix logout on windows
2025-06-23 12:27:45 +02:00
Natalia Serrano
8fea0737f2
refs #2217 merge oggit
2025-06-16 11:10:44 +02:00
Natalia Serrano
1a38999aef
refs #2208 improve fail condition when no network is detected
2025-06-13 10:03:24 +02:00
Natalia Serrano
165746a94b
refs #2211 send logout upon client disconnect
2025-06-12 15:37:17 +02:00
Natalia Serrano
b77b42ec22
refs #2177 correctly handle UNIX signals
2025-06-05 12:09:07 +02:00
Natalia Serrano
15d4f2cf6b
refs #2056 #2057 look for certs in a few places
2025-05-28 10:47:40 +02:00
Natalia Serrano
1fa2a4f0bb
refs #2060 launch QT6 browser, use dbus to change URLs
2025-05-21 16:02:46 +02:00
Natalia Serrano
ac9ab7e8f5
refs #2036 downgrade to qt4 browser again
2025-05-19 11:05:43 +02:00
Natalia Serrano
0d375e9aae
refs #2034 disable TLS on request
2025-05-19 09:45:43 +02:00
Natalia Serrano
acc9c2ed07
refs #1998 run the new browser
2025-05-16 14:49:35 +02:00
Natalia Serrano
d231816c0f
refs #1983 log length of sessions
2025-05-14 10:45:53 +02:00
Natalia Serrano
db9f4992be
refs #1952 fix url
2025-05-06 13:33:21 +02:00
Natalia Serrano
8431c60a78
refs #1948 add windows logout helper script
2025-05-06 13:20:19 +02:00
Natalia Serrano
cc65ece84a
refs #1936 authenticate to ogcore and check ogcore cert
2025-04-25 13:50:09 +02:00
Natalia Serrano
15e11e6ea3
refs #1848 decorate oglive methods
2025-04-24 15:35:07 +02:00
Natalia Serrano
4cf3d505de
refs #1834 update changelogs again
2025-04-14 13:59:10 +02:00
Natalia Serrano
16554e5d93
refs #1853 ping ogcore from the OS as well
2025-04-10 11:31:47 +02:00
Natalia Serrano
08dce3f2d9
refs #1850 improve changelog message
2025-04-07 12:03:18 +02:00
Natalia Serrano
b9ce7b7f25
refs #1850 ping ogcore, send timestamp
2025-04-07 12:01:46 +02:00
Natalia Serrano
e9a0b47e86
refs #1747 EjecutarScript: b64decode the param "scp"
2025-03-26 12:14:11 +01:00
Natalia Serrano
a57d148922
refs #1760 make cfg2obj more robust
2025-03-25 13:58:28 +01:00