No confd_notification event if "must" condition fails

Hi,

If “must” condition is not satisfied, a error caused while configuration is not logged in auditLog or developerLog files.
Also, confd_notification event of type CONFD_NOTIF_AUDIT or CONFD_NOTIF_DEVEL about error is not received if configuration fails because of “must” condition failure.

Sample yang:
container a {
list b {
key c;
leaf c {}
leaf d {}
must “some condition” {
error-message “ERROR MESSAGE”;
}
}
}

If configuration of “a” fails because of must condition failure, does confd sends any confd_notification event about this error?

Also if any action command gives error, is there any confd_notification event for this error?

Confd version - 6.4.3 and 7.3

Developer log entries and notifications (with developer log level set to “trace”) will not log the error message but will show that the transaction was aborted in the validation phase.

Example:

syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: applying transaction...
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: entering validate phase for running...
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: grabbing transaction lock...
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: grabbing transaction lock ok
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: creating rollback file...
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: creating rollback file ok
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: run transforms and transaction hooks...
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: run transforms and transaction hooks done
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: pre validate...
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: pre validate done
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: run validation over the changeset...
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: releasing transaction lock
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: leaving validate phase for running
syslog: sym=91/DEVEL_CONFD prio=7 msg=commit progress db=running usid=14 thandle=10: applying transaction done

If the transaction lock is released after the validation, the validataion did not succeed.

Thank you @cohult for response.
Created ticket to see if confd_notification event for same can be supported in future.