Hi Deepak,
If the lock is set as exclusive no other user can configure the device, to recover the router from this you can follow this KB:
https://supportportal.juniper.net/s/article/Junos-Error-during-commit-error-configuration-database-locked-by?language=en_US
Thanks,
Adrian.
------------------------------
Teodor Adrian Soroceanu
------------------------------
Original Message:
Sent: 04-19-2023 05:09
From: djadhav
Subject: Question on the PyEZ lock() method
Hi.
If my PyEZ script locks a device's configuration database via the Config.lock() method, and loses connection with the device before unlocking its database, will the configuration database be locked to all other users? How do I recover from this?
Thanks,
Deepak
Juniper Business Use Only