Guest

Preview Tool

Cisco Bug: CSCvu92621 - Netconf session not unlocked immediately after command "clear netconf-yang session <n>"

Last Modified

Jul 24, 2020

Products (1)

  • Cisco ASR 1000 Series Aggregation Services Routers

Known Affected Releases

17.2.1r

Description (partial)

Symptom:
- After issue "clear netconf-yang session <n>" session datastore is not unlocked until timesout or config sync is done.

ASR-LAB#sh netconf-ya se
R: Global-lock on running datastore
C: Global-lock on candidate datastore
S: Global-lock on startup datastore

Number of sessions : 1

session-id  transport    username             source-host            global-lock  
--------------------------------------------------------------------------------
57          netconf-ssh  cisco                x.x.x.x          R, C         

ASR-LAB#clear netconf-yang ses 57
ASR-LAB#sh netconf-ya se         
R: Global-lock on running datastore
C: Global-lock on candidate datastore
S: Global-lock on startup datastore

Number of sessions : 1

session-id  transport    username             source-host            global-lock  
--------------------------------------------------------------------------------
57          netconf-ssh  cisco                x.x.x.x          None

ncclient.operations.rpc.RPCError: the configuration database is locked by session 57 cisco ssh (netconf from x.x.x.x) on since 2020-07-10 19:24:10

Conditions:
- Global-lock on running datastore and candidate datastore.
- "netconf-yang feature candidate-datastore" configured.
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.