Hi.

First off - just getting started with openwisp & its pretty awesome!


*The issue I'm having is as follows (with `Merge Configuration` enabled)*
1. I create a template with some configuration variables
2. Using automatic registration, the device gets it config - *all good*
3. I adjust the configuration variables on the *device* settings, device 
gets updated config - *all good*
4. I modify the config `on device`, changes are applied - *all good*
5. I modify the original template json, devices locally applied changes are 
overridden - *bad*

So i thought that turning off `Merge Configuration` would resolve my issue, 
but this just seems to open another set of problems


*The issue I'm having is as follows (with `Merge Configuration` disabled)*

1. I create a template with some configuration variables
2. Using automatic registration, the device gets it config - *all good*
3. I adjust the configuration variables on the *device* settings, device 
gets updated config - *all good*
4. I modify the config `on device`, changes are applied - *all good*
5.  I modify the original template json, devices locally *NOT *applied BUT 
device goes offline as the Configuration Test seems to fail.


So I guess my question is, lets say I have a few hundred devices using a 
template to get an `initial` set of configuration properties (that the user 
can change at a later stage), every time I made an adjustment to that 
template, it will take all those devices offline for the period it takes 
for the test to fail - no way around this?

logread -f

Thu Sep 26 10:53:11 2024 daemon.info openwisp: Local configuration outdated

Thu Sep 26 10:53:11 2024 daemon.info openwisp: Downloading configuration 
from controller...

Thu Sep 26 10:53:11 2024 daemon.info openwisp: Configuration downloaded, 
now applying it...

Thu Sep 26 10:53:11 2024 daemon.info openwisp: Service network has been 
reloaded via procd/ubus

Thu Sep 26 10:53:11 2024 daemon.info openwisp: Service wireless has been 
reloaded via procd/ubus

Thu Sep 26 10:53:16 2024 daemon.info openwisp: Testing configuration...

Thu Sep 26 10:53:21 2024 daemon.warn openwisp: Configuration test failed 
(attempt 1)

Thu Sep 26 10:53:31 2024 daemon.warn openwisp: Configuration test failed 
(attempt 2)

Thu Sep 26 10:53:41 2024 daemon.warn openwisp: Configuration test failed 
(attempt 3)

Thu Sep 26 10:53:46 2024 daemon.err openwisp: Configuration test failed! 
Restoring previous backup

Thu Sep 26 10:53:46 2024 daemon.info openwisp: Service network has been 
reloaded via procd/ubus

Thu Sep 26 10:53:46 2024 daemon.info openwisp: Service wireless has been 
reloaded via procd/ubus


-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/1a99e751-70c8-4707-88ba-430b81f58b6an%40googlegroups.com.

Reply via email to