Guest

Preview Tool

Cisco Bug: CSCvu56124 - RPC error in Cisco-IOS-XR-install-search-act.yang: "match-type" is not a valid element

Last Modified

Sep 29, 2020

Products (1)

  • Cisco ASR 9000 Series Aggregation Services Routers

Known Affected Releases

7.1.2.BASE

Description (partial)

Symptom:
The data returned via yang does not match the expected data according to the yang model.
The Inst-provides-match-type enumeration values can include '5' which is undefined by the model, and '4' with the string 'Provide' which is not a known string (the model expects '4' to be associated with 'Other').

Data can still be retrieved without issues, but users should take care when interpreting the Inst-provides-match-type in scripts.

As an example, RPC errors are seen while fetching output for "show install packages provides <package-name>" in NSO.

The error is as follows:
admin@ncs(config-device-ncs540l)# rpc install-search-act:rpc-provides provides search-files <package-name>
Error: RPC error towards ncs540l: bad_element: for /ncs:devices/ncs:device[ncs:name='ncs540l']/ncs:rpc/install-search-act:rpc-provides/install-search-act:provides/install-search-act:packages/install-search-act:package/install-search-act:provides-matches/install-search-act:provides-match/install-search-act:match-type: "match-type" is not a valid element
admin@ncs(config-device-ncs540l)#

Conditions:
This issue is seen while fetching output for "show install packages provides <package-name>" in NSO.
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.