You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I want to remove a Loopback0 IP while swss/orchagent/syncd are down.
We cannot do:
config loopback remove Loopback0 1.2.3.4/32
Because it needs to interface with the backends, and they are down.
Instead, we'll want to edit /etc/sonic/config_db.json, remove the offending config and replace all of the config.
However, we run into madness like this:
# config replace -v /etc/sonic/config_db.json...Error: Given patch will produce invalid config. Error: Data Loading FailedAll Keys are not parsed in LOGGERdict_keys(['xcvrd'])exceptionList:["'require_manual_refresh'"]
Removing that from the config_db.json is insufficient. There is a backend where this is stored too and that fails also.
Description
Let's say I want to remove a Loopback0 IP while swss/orchagent/syncd are down.
We cannot do:
Because it needs to interface with the backends, and they are down.
Instead, we'll want to edit
/etc/sonic/config_db.json
, remove the offending config and replace all of the config.However, we run into madness like this:
Removing that from the
config_db.json
is insufficient. There is a backend where this is stored too and that fails also.Actions:
^- not sure what this is
^- this is an option
^- here is the offending config
# redis-cli -n 4 del 'LOGGER|xcvrd'
Now we can finally replace the config:
Which build are we running (if any)
SONiC-OS-ossomain.0-41ea968fc
(2024-11-12)Upstream issues/PRs
The text was updated successfully, but these errors were encountered: