Symptom
NXOS is not generating error message when removing a non-existent track object in configuration.
switch(config)# configure terminal
switch(config)#
switch(config)# track 1 ip sla 1 reachability
switch(config-track)# track 2 ip sla 1 reachability <<< Configured 2 consecutive tracks.
switch(config-track)# exit
switch(config)#
switch(config)# show running-config track
!Command: show running-config track
!Running configuration last done at: Thu Jan 26 18:34:01 2023
!Time: Thu Jan 26 18:34:01 2023
version 9.3(9) Bios:version 05.45
track 1 ip sla 1 reachability
track 2 ip sla 1 reachability
switch(config)# no track 1 ip sla 1 reachability <<< Removing track 1 entry from configuration successfully.
switch(config)# no track 1 ip sla 1 reachability <<< No error message has been generated even when object was removed by previous command since there is one more track objects in configuration.
switch(config)#
switch(config)# no track 2 ip sla 1 reachability <<< Removing track 2 successfully
switch(config)# no track 2 ip sla 1 reachability <<< Trying to remove track object again from configuration.
ERROR: Object does not exist <<< NXOS generates error message since there is no track objects left in configuration.
Conditions
There should be at least one extra track object in addition to the one we are removing + Nexus device should be running affected software version.
Workaround
Cosmetic behavior, configuration is being removed properly.
Further Problem Description