I see the following while trying to commit a session:
Internal error: Restarting CLI…Too many sessions. Ongoing sessions:
SID USER CTX FROM PROTO LOGIN CONFIG MODE
12 root cli 10.59.200.100 ssh 15:35:51
Enter SID of session to terminate or ‘exit’:
Can you tell what can cause this error?
I don’t see a callback to t_prepare nor t_commit. only t_init and t_finish.
Something goes wrong in the CLI-session, I’m not sure what but maybe one of your callbacks returns a bad value. The second part, from
Too many sessions ... and onwards happen because ConfD creates a new session before the first one is closed and this isn’t allowed in ConfD Basic (only one session is supported).
Your log-files might have some information.
I am getting the same error. I am just using the IETF entity model and try to create a physical-entity. After entering the name and trying to see the next parameters by entering ‘?’ I’m getting the same error. I have turned on all logging to files and forced ConfD to reload them. I do not see any error message in the logs apart from this internal error too many sessions. I do not get this when I create an interface as defined in the IETF interfaces YANG model. How can I find out what is going wrong here?