Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Services not being deleted. Still advertised on the mesh. #29

Closed
mre33 opened this issue Feb 26, 2019 · 15 comments
Closed

Services not being deleted. Still advertised on the mesh. #29

mre33 opened this issue Feb 26, 2019 · 15 comments
Labels
bug Something isn't working

Comments

@mre33
Copy link

mre33 commented Feb 26, 2019

Running 3.18.9.0 on a NSM2 XM

I set up a service and didn't like the name of it so I renamed it and saved the changes a few times. On my local mesh status page everything looked fine and it showed the service with the last name I used. I then went to a neighbor's mesh status page and discovered that every name I used was listed under my advertised services. I then completely deleted all services and saved the changes but when I refreshed and examined the neighbor's (tun) mesh status page they were still displayed. Apparently what was showing up correctly on my local mesh status page was fine but what was being sent out over the mesh was not being deleted internally. After several attempts to reset the services page and clear the internal memory by rebooting the node I finally gave up, pressed and held the reset button to bring the node back to ground zero. I rebuilt it all from the ground up, this time carefully entering my services. Now my local mesh status and my neighbor's mesh status agree and only list my active services.

Now I am new to AREDN so I very well could be overlooking something but this appears to be a bug. It appears that when you delete a service it is not being deleted from the internal memory that is sent out over the mesh. The local node will look fine but remote nodes will still see the deleted services.

I posted this on the arednmesh.org forum and was advised to re-post it here. This bug should be easy to verify with two connected nodes. Rename or delete services from one node and see if they get deleted from the mesh status screen of the neighbor node.

@denis133
Copy link

Did you try to reboot the neighbor's mesh?

@mre33
Copy link
Author

mre33 commented Feb 26, 2019 via email

@r1de
Copy link
Contributor

r1de commented Feb 27, 2019

What we do to "clear the list" for the entire network (so to speak), is to just shut your node down for about 20-30 min (or temporarily change to a different channel/bandwidth/ssid), after that time it seems that OLSR (and the rest of the network) will "forget" about your node and remove it from the list.

Boot your node back up (or change back to the correct settings) and you should see the newer info.

Rebooting your immediate network neighbors (if you can), should work too.

@mre33
Copy link
Author

mre33 commented Feb 27, 2019 via email

@denis133
Copy link

It should clear itself in 24 hours or so if you don't reboot all.

@mre33
Copy link
Author

mre33 commented Feb 27, 2019 via email

@ae6xe
Copy link
Contributor

ae6xe commented Feb 28, 2019

This is a bug, just not recorded here yet. The workarounds exist, and don't diminish this bug. This may already be reported upstream to the OSLR project, if not, we'll need to report it. Also, need to check and possibly bump to a current OLSR version to get fixes into an AREDN release, which means it would be a good idea to review this now.

@mre33
Copy link
Author

mre33 commented Feb 28, 2019 via email

@gelmce
Copy link

gelmce commented Mar 5, 2019

https://www.arednmesh.org/content/after-editing-nodeservice-name
'/etc/init.d/olsrd stop;sleep 7m;reboot'
will 'fix' the double node/service names whose node-name or service was recently changed.
Please consider a fix like adding a (default unset) [toggle] radio button so that
the node will stop OLSRD, wait [7] minutes, then reboot.
Chuck nc8q

@ae6xe
Copy link
Contributor

ae6xe commented Mar 5, 2019

Does 7m do the trick? Any testing to know if this is minimally sufficient?

@gelmce
Copy link

gelmce commented Mar 9, 2019 via email

@gelmce
Copy link

gelmce commented Mar 9, 2019 via email

@gelmce
Copy link

gelmce commented Mar 9, 2019 via email

@r1de
Copy link
Contributor

r1de commented Feb 15, 2020

This may still be a thing.
I recently, since the new year, had a similar issue and it had me scratching my head.
If it happens again I will try to get some more info.

I was like the services were not propagating or being removed at all...

(sorry, I am re-reading a lot of the old issues :) )

@ae6xe ae6xe transferred this issue from aredn/aredn_ar71xx Dec 16, 2020
@ae6xe ae6xe added the bug Something isn't working label Sep 11, 2021
@aanon4
Copy link
Contributor

aanon4 commented Apr 29, 2022

Killing this one finally - aredn/aredn_packages#11

@dman776 dman776 closed this as completed Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants