[RESOLVED] Bug: Dynamic agent configuration

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 13, 2025 - 11:57

WAPT Version: 2.6.0.16714 - Enterprise Edition
Server OS: Debian 12
Target Machines: Windows Server 19
Administration Machine: Windows Server 2022

Hello,

we've encountered a small issue since upgrading to version 2.6. When we go to the "Edit Agent Dynamic Configurations" menu, some advanced settings reset themselves (become empty), notably "host_organizational_unit_dn". Even if we re-enter it, it resets again on the next launch.

Have you ever experienced this problem? What can we do?

Thank you
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 13, 2025 - 12:08

I tried it here and I don't have the problem.

But I might have a lead. It could be another parameter currently in the configuration that no longer exists and is preventing the save.

Can you provide a list of the other parameters you have?

Alternatively, can you create another configuration to see if the problem occurs in another configuration package?
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 13, 2025 - 12:58

I don't know if it's actually a registration problem.
I have 5 different configurations, and the field randomly resets to one of the 5 configurations every time the console is launched: once, the "host_organizational_unit_dn" field of configuration 1 will be reset, but if you close and relaunch the console, it will be on configuration 3, and so on.
TomTom
Messages: 79
Registration: May 25, 2018 - 3:43 p.m.

January 14, 2025 - 11:48

I'll add my two cents here as well. I ran the test and indeed I get the same behavior. That said, I don't use all those settings, and as Simon mentioned, they might be resetting because they're no longer supported in version 2.6?
WAPT version: 2.6.0.17392 (Enterprise Edition)
Server OS: Debian 12 "Bookworm"
Administration/package creation machine OS: Windows 11 24h2
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 14, 2025 - 12:38

Does it do the same thing if you do it with a newly created configuration package?
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 14, 2025 - 1:06 PM

The problem is that if I create a new configuration package, it will save the empty field on an already existing package.

Actually, when I launch the console:
If I look at the "linux" configuration, the field is filled
1.PNG
1.PNG (44.1 KB) Viewed 11473 times
if I go to a configuration where the field is empty, for example "Srv_Hors_domain"
2.PNG
2.PNG (45.23 KB) Viewed 11473 times
And if I go back to the "Linux" configuration, the field appears empty
3.PNG
3.PNG (56.62 KB) Viewed 11473 times
So if I save, it will erase all my settings...
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 14, 2025 - 1:20 PM

Okay, after your screenshot I think I know (to be confirmed)



that include_dmi_inventory and include_wmi_inventory have disappeared from the wapt configuration in 2.6.
And saving this parameter, which no longer exists, must be causing it to crash, in my opinion.

Can you try deleting the parameter on the right?
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 14, 2025 - 1:29 PM

sfonteneau wrote: Jan 14, 2025 - 1:20 PM Okay, after your screenshot I think I know, to be confirmed,



include_dmi_inventory and include_wmi_inventory have disappeared from the wapt configuration in 2.6.
And saving this parameter, which no longer exists, must cause it to crash in my opinion.

Can you try deleting the parameter on the right?
The same problem persists, and as a result, it cleared the field of all configurations.
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 14, 2025 - 1:40 PM

However, if I delete all existing configurations and recreate them, the field remains filled in.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 14, 2025 - 1:52 PM

clafon wrote: Jan 14, 2025 - 1:40 PM However, if I delete all existing configurations and recreate them, the field remains filled in...
Ah, that's interesting. I just spent 15 minutes trying to reproduce the problem here without success
Locked