Facing issue in "MAAPI_APPLY_TRANS" api call

Hi Team,

I have been encountered with the below issue when trying to update some alarm details in confd db.
Below is the logs for the same.

TRACE Connected (maapi) to ConfD
TRACE MAAPI_START_USER_SESSION  --> CONFD_OK
TRACE MAAPI_START_TRANS  --> CONFD_OK
TRACE MAAPI_EXISTS /ME/AlarmList{0} --> CONFD_OK
TRACE MAAPI_EXISTS /ME/AlarmList{0}/AlarmRecordGrp{57382 PLATFORM_0} --> CONFD_OK
TRACE MAAPI_CREATE /ME/AlarmList{0}/AlarmRecordGrp{57382 PLATFORM_0} --> CONFD_OK
TRACE MAAPI_GET_ELEM /ME/AlarmList{0}/numOfAlarmRecordsDEBUG item does not exist - /ngnrm:ME/AlarmList{0}/numOfAlarmRecords does not exist
 --> CONFD_ERR
TRACE MAAPI_CREATE /ME/AlarmList{0}/numOfAlarmRecordsDEBUG item is not creatable -
 --> CONFD_ERR
TRACE MAAPI_SET_ELEM2 /ME/AlarmList{0}/numOfAlarmRecords --> CONFD_OK
TRACE MAAPI_SET_ELEM2 /ME/AlarmList{0}/AlarmRecordGrp{57382 PLATFORM_0}/alarmType --> CONFD_OK
TRACE MAAPI_SET_ELEM2 /ME/AlarmList{0}/AlarmRecordGrp{57382 PLATFORM_0}/alarmName --> CONFD_OK
TRACE MAAPI_SET_ELEM2 /ME/AlarmList{0}/AlarmRecordGrp{57382 PLATFORM_0}/probableCause --> CONFD_OK
TRACE MAAPI_SET_ELEM2 /ME/AlarmList{0}/AlarmRecordGrp{57382 PLATFORM_0}/perceivedSeverity --> CONFD_OK
TRACE MAAPI_SET_ELEM2 /ME/AlarmList{0}/AlarmRecordGrp{57382 PLATFORM_0}/alarmRaisedTime --> CONFD_OK
TRACE MAAPI_EXISTS /ME/AlarmList{0}/AlarmRecordGrp{57382 PLATFORM_0}/clearUserId --> CONFD_OK
TRACE MAAPI_EXISTS /ME/AlarmList{0}/AlarmRecordGrp{57382 PLATFORM_0}/alarmClearedTime --> CONFD_OK
TRACE MAAPI_SET_ELEM2 /ME/AlarmList{0}/lastModification --> CONFD_OK
TRACE MAAPI_APPLY_TRANS DEBUG external error - application communication failure
 --> CONFD_ERR
TRACE MAAPI_STOP_TRANS  --> CONFD_OK
TRACE MAAPI_END_USER_SESSION  --> CONFD_OK

In the mean time i have check the devel.log in netconf server, i have seen the below line is printed.

<INFO> 23-Nov-2022::05:40:50.797 du-oam-server-6f749c4d8b-c8bpw confd[33]: confd Getting delta diff, no alt-name: true

Can you please let me know what is the reason of getting ā€œapplication communication failureā€.

Thanks
Nishant Kumar

ā€œApplication communication failureā€ means that a daemon (e.g. a data provider) did not respond as ConfD expected - sent an invalid response or did not respond at all. You should definitely see more in devel.log, in particular if you set /confdConfig/logs/developerLogLevel to trace.

Hi ,

Thanks for the update.
But i am not able to see any fileld like " developerLogLevel".

i can see only the below section in our conf file.

<developerLog>
      <enabled>true</enabled>
      <file>
        <enabled>true</enabled>
        <name>./devel.log</name>
      </file>
      <syslog>
        <enabled>false</enabled>
      </syslog>
    </developerLog>

Keep developerLogLevel under ā€œlogsā€ section as follows

<logs>
<developerLog>
...
</developerLog>
<developerLogLevel>trace</developerLogLevel>
...
</logs>
1 Like