Guest

Preview Tool

Cisco Bug: CSCvt77907 - MGBL-CONFIG_HIST_UPDATE-3-SYSDB_GET errors with ZTP utilities xrcmd & xrapply_string_with_reason

Last Modified

Oct 07, 2020

Products (1)

  • Cisco Network Convergence System 5500 Series

Known Affected Releases

6.3.3.CE 6.6.2.BASE

Description (partial)

Symptom:
While using ZTP utilities, following errors can be observed:

xrcmd:
RP/0/RP0/CPU0:5516-B#bash
 
Tue Mar 31 17:21:26.662 UTC
[5516-B:~]$ source /pkg/bin/ztp_helper.sh
[5516-B:~]$ xrcmd "show run formal interface"
 
 
RP/0/RP0/CPU0:5516-B# show log last 10
 
RP/0/RP0/CPU0:Mar 31 17:21:26.746 UTC: bash_cmd[69468]: %INFRA-INFRA_MSG-5-RUN_LOGIN : User upulugur logged into shell from vty0
RP/0/RP0/CPU0:Mar 31 17:23:07.260 UTC: nvgen[65603]: %MGBL-CONFIG_HIST_UPDATE-3-SYSDB_GET : Error 'sysdb' detected the 'warning' condition 'A verifier or EDM callback function returned: 'not found'' getting host address from  sysdb
RP/0/RP0/CPU0:Mar 31 17:23:11.595 UTC: bash_cmd[69468]: %INFRA-INFRA_MSG-5-RUN_LOGOUT : User upulugur logged out of shell from vty0

xrapply_string_with_reason: Issue can also be reproduced with commit utility without defining configuration:

RP/0/RP0/CPU0:5516-B#bash
Mon Apr  6 17:03:53.064 UTC
[5516-B:~]$ source /pkg/bin/ztp_helper.sh
[5516-B:~]$ xrapply_string_with_reason "Test" ""
 
RP/0/RP0/CPU0:Apr  6 17:03:12.535 UTC: SSHD_[66746]: %SECURITY-SSHD-6-INFO_SUCCESS : Successfully authenticated user 'upulugur' from '10.20.208.164' on 'vty1'(cipher 'aes128-ctr', mac 'hmac-sha2-256')
RP/0/RP0/CPU0:Apr  6 17:03:53.140 UTC: bash_cmd[66800]: %INFRA-INFRA_MSG-5-RUN_LOGIN : User upulugur logged into shell from vty1
RP/0/RP0/CPU0:Apr  6 17:05:51.611 UTC: config[67038]: %MGBL-CONFIG_HIST_UPDATE-3-SYSDB_GET : Error 'sysdb' detected the 'warning' condition 'A verifier or EDM callback function returned: 'not found'' getting host address from  sysdb
RP/0/RP0/CPU0:Apr  6 17:05:56.041 UTC: nvgen[67115]: %MGBL-CONFIG_HIST_UPDATE-3-SYSDB_GET : Error 'sysdb' detected the 'warning' condition 'A verifier or EDM callback function returned: 'not found'' getting host address from  sysdb
RP/0/RP0/CPU0:Apr  6 17:06:02.747 UTC: bash_cmd[66800]: %INFRA-INFRA_MSG-5-RUN_LOGOUT : User upulugur logged out of shell from vty1

Conditions:
While using ZTP helper APIs from bash shell, following syslog is seen


RP/0/RP0/CPU0:Mar 31 17:23:07.260 UTC: nvgen[65603]: %MGBL-CONFIG_HIST_UPDATE-3-SYSDB_GET : Error 'sysdb' detected the 'warning' condition 'A verifier or EDM callback function returned: 'not found'' getting host address from  sysdb
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.