Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Ismail_Eltahawy
Explorer

Network Group locked for deletion

Hi Guys,

an API script adding new hosts then editing a group object has broken for some reason, session was disconnected but not discarded so seems that has locked the group and i'm not able to publish or discard the locked changes anymore,

 

following script didn't help:

#!/bin/bash
mgmt_cli login -r true > id.txt; current_sid=$(mgmt_cli show session -s id.txt -f json | $CPDIR/jq/jq .uid); for sid in $(mgmt_cli -s id.txt show sessions details-level full -f json | $CPDIR/jq/jq '.objects[] | select ( .["application"] | contains ("WEB_API")) | .uid' | grep -v ${current_sid}); do mgmt_cli discard uid ${sid} -s id.txt ; done; mgmt_cli logout -s id.txt

would anyone please advise in that ?

i've attached the locked object and the sessional list

Capture1.PNGno_sessions_disconnected.PNG

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

So your API session is not showing in SmartConsole either?
May need to get the TAC involved.
0 Kudos
Ismail_Eltahawy
Explorer

no not like everytime session got distrubted, this time it's not showing in the smartconsole !

yes will involve the TAC maybe

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events