Page MenuHomeVyOS Platform

Error on reboot after deleting "service snmp" and not "service lldp snmp enable"
Closed, ResolvedPublicBUG


Device boots with:

[  OK  ] Started OpenBSD Secure Shell session cleanup.
[   34.032767] vyos-router[801]: Waiting for NICs to settle down: settled in 3s.
[   41.682121] vyos-router[801]: Started watchfrr.
[   41.724679] vyos-router[801]: Mounting VyOS Config...done.
[   85.406862] vyos-router[801]: Starting VyOS router: migrate rl-system firewa!
[   85.673541] vyos-config[867]: Configuration error

Welcome to VyOS - vyos ttyS0

a subsequent

vyos@vyos# load /config/config.boot
Loading configuration from '/config/config.boot'
Load complete. Use 'commit' to make changes effective.

reveals that

vyos@vyos# show
 service {
+    lldp {
+        interface eth0.204 {
+        }
+        snmp {
+            enable
+        }
+    }

Thus when deleting SNMP we must check for the existence of the service lldp snmp enable node.


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Design mistake
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Event Timeline

c-po created this task.
c-po updated the task description. (Show Details)
c-po changed Why the issue appeared? from Will be filled on close to Design mistake.
erkin set Issue type to Bug (incorrect behavior).Aug 31 2021, 5:39 PM