Hello,
I'm setting up secondary repositories on all sites.
Everything works with the secondary repositories themselves.
However, in the agent configuration, `use_repo_rules` is always set to `false`.
I've regenerated the agent several times, checking the "Use repository access rules" option, but it doesn't change anything.
Have I missed something?
Thanks!
PS: I'm on version 2.3 on a Debian Buster server.
[SOLVED] wapt agent and repo_rules
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
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
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Hello,
could you please specify whether you are using the enterprise version of wapt (licensed version), or the discovery version?
could you please specify whether you are using the enterprise version of wapt (licensed version), or the discovery version?
In the enterprise version, but indeed, by retrieving the wapt-conf-policy package and adapting it for my needs, I was able to set the use_repo_rules variable to False everywhere.
Now I don't understand why my agents are finding 0 available packages on the remote repositories even though the rules are configured and synchronization is complete.
Now I don't understand why my agents are finding 0 available packages on the remote repositories even though the rules are configured and synchronization is complete.
I don't know if this will help, but I had a problem with my rules.guigeek wrote: ↑March 3, 2023 - 2:44 PM in the enterprise version, but indeed, by retrieving the wapt-conf-policy package and adapting it for my needs, I was able to set the use_repo_rules variable to False everywhere.
Now I don't understand why my agents are finding 0 available packages on the remote repositories even though the rules are configured and the synchronization is also in place.![]()
For example, if I used the IP address 192.168.0.1/13 to retrieve all IP addresses in the 192.168.XX range, it didn't work, but using 192.168.0.0/13 worked immediately.
Debian 11
WAPT Version: 2.4.0.14143
WAPT Version: 2.4.0.14143
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
That's normal then: https://mxtoolbox.com/subnetcalculator.aspxjdziadek wrote: ↑March 6, 2023 - 12:48I don't know if this will help, but I had a problem with my rules.guigeek wrote: ↑March 3, 2023 - 2:44 PM in the enterprise version, but indeed, by retrieving the wapt-conf-policy package and adapting it for my needs, I was able to set the use_repo_rules variable to False everywhere.
Now I don't understand why my agents are finding 0 available packages on the remote repositories even though the rules are configured and the synchronization is also in place.![]()
For example, if I used the IP address 192.168.0.1/13 to retrieve all IP addresses in the 192.168.XX range, it didn't work, but using 192.168.0.0/13 worked immediately.
for 192.168.0.1/13 192.168.0.1 is not valid
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
In the agent's repository tab, is the correct repository appearing?guigeek wrote: ↑March 3, 2023 - 2:44 PM in the enterprise version, but indeed, by retrieving the wapt-conf-policy package and adapting it for my needs, I was able to set the use_repo_rules variable to False everywhere.
Now I don't understand why my agents are finding 0 available packages on the remote repositories even though the rules are configured and the synchronization is also in place.![]()
Yes, it's definitely the right repo!
And in the tasks, we can clearly see that it's searching the correct repo and finding a significant number of packages to examine... but it doesn't see any packages to update, even though there are some!
And in the tasks, we can clearly see that it's searching the correct repo and finding a significant number of packages to examine... but it doesn't see any packages to update, even though there are some!
