ConfD User Community

Confd restarts when waiting registration of data provider api for more than 2 minutes

Hi tail-f support,

We met such an issue:

When confd started in the foreground and proceeded to phase0, if registering data provider api didn’t happen for more than 2 minutes, confd restarted, the error code was -1.

The logs of confd is shown as below:

<INFO> 25-Nov-2021::11:32:26.939 test-766db87f49-fpbfl confd[233]: - Writing daemon log to /opt/confd/var/confd/log/confd.log
<INFO> 25-Nov-2021::11:32:26.946 test-766db87f49-fpbfl confd[233]: - Daemon logging started
<DEBUG> 25-Nov-2021::11:32:26.966 test-766db87f49-fpbfl confd[233]: - Skipping file /opt/confd/etc/confd/tailf-last-login.fxs: CDB oper is disabled
<DEBUG> 25-Nov-2021::11:32:26.966 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/ietf-netconf-notifications.fxs
<DEBUG> 25-Nov-2021::11:32:26.967 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/ietf-origin.fxs
<DEBUG> 25-Nov-2021::11:32:26.967 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/lib/confd/lib/core/confd/priv/ietf-interfaces.fxs
<DEBUG> 25-Nov-2021::11:32:26.967 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/ietf-netconf-monitoring.fxs
<DEBUG> 25-Nov-2021::11:32:26.968 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-common-monitoring.fxs
<DEBUG> 25-Nov-2021::11:32:26.969 test-766db87f49-fpbfl confd[233]: - Loading file /opt/adp/fxs/test-netconf-acm-ext.fxs
<DEBUG> 25-Nov-2021::11:32:26.969 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-rollback.fxs
<DEBUG> 25-Nov-2021::11:32:26.970 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-common-query.fxs
<DEBUG> 25-Nov-2021::11:32:26.970 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-netconf-transactions.fxs
<DEBUG> 25-Nov-2021::11:32:26.970 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-common.fxs
<DEBUG> 25-Nov-2021::11:32:26.971 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-progress.fxs
<DEBUG> 25-Nov-2021::11:32:26.972 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/iana-crypt-hash.fxs
<DEBUG> 25-Nov-2021::11:32:26.972 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/lib/confd/lib/core/confd/priv/ietf-ip.fxs
<DEBUG> 25-Nov-2021::11:32:26.972 test-766db87f49-fpbfl confd[233]: - Loading file /opt/adp/fxs/test-yp-validations.fxs
<DEBUG> 25-Nov-2021::11:32:26.972 test-766db87f49-fpbfl confd[233]: - Loading file /opt/adp/fxs/test-yang-types.fxs
<DEBUG> 25-Nov-2021::11:32:26.973 test-766db87f49-fpbfl confd[233]: - Loading file /opt/adp/fxs/test-yang-library-ext.fxs
<DEBUG> 25-Nov-2021::11:32:26.973 test-766db87f49-fpbfl confd[233]: - Loading file /opt/adp/fxs/test-yang-extensions.fxs
<DEBUG> 25-Nov-2021::11:32:26.974 test-766db87f49-fpbfl confd[233]: - Loading file /opt/adp/fxs/test-tailf-acm-ext.fxs
<DEBUG> 25-Nov-2021::11:32:26.974 test-766db87f49-fpbfl confd[233]: - Loading file /opt/adp/fxs/test-notifications-library-ext.fxs
<DEBUG> 25-Nov-2021::11:32:26.974 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/ietf-yang-schema-mount.fxs
<DEBUG> 25-Nov-2021::11:32:26.975 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/ietf-yang-metadata.fxs
<DEBUG> 25-Nov-2021::11:32:26.975 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/lib/confd/lib/core/confd/priv/ietf-network-instance.fxs
<DEBUG> 25-Nov-2021::11:32:26.975 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/ietf-netconf-nmda.fxs
<DEBUG> 25-Nov-2021::11:32:26.976 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/ietf-netconf-partial-lock.fxs
<DEBUG> 25-Nov-2021::11:32:26.976 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-xsd-types.fxs
<DEBUG> 25-Nov-2021::11:32:26.976 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-netconf-monitoring.fxs
<DEBUG> 25-Nov-2021::11:32:26.977 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-confd-monitoring.fxs
<DEBUG> 25-Nov-2021::11:32:26.980 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-acm.fxs
<DEBUG> 25-Nov-2021::11:32:26.981 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-restconf.fxs
<DEBUG> 25-Nov-2021::11:32:26.982 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-netconf-with-transaction-id.fxs
<DEBUG> 25-Nov-2021::11:32:26.982 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-netconf-with-rollback-id.fxs
<DEBUG> 25-Nov-2021::11:32:26.983 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-netconf-rollback.fxs
<DEBUG> 25-Nov-2021::11:32:26.983 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-netconf-query.fxs
<DEBUG> 25-Nov-2021::11:32:26.984 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-netconf-inactive.fxs
<DEBUG> 25-Nov-2021::11:32:26.984 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-netconf-forward.fxs
<DEBUG> 25-Nov-2021::11:32:26.985 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-netconf-extensions.fxs
<DEBUG> 25-Nov-2021::11:32:26.985 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-kicker.fxs
<DEBUG> 25-Nov-2021::11:32:26.986 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-confd-progress.fxs
<DEBUG> 25-Nov-2021::11:32:26.986 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/tailf-aaa.fxs
<DEBUG> 25-Nov-2021::11:32:27.018 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/cm_yp_cli_adjustments.ccl
<DEBUG> 25-Nov-2021::11:32:27.025 test-766db87f49-fpbfl confd[233]: - Loading file /opt/confd/etc/confd/confd.ccl
<INFO> 25-Nov-2021::11:32:27.088 test-766db87f49-fpbfl confd[233]: - Starting to listen for Internal IPC on 127.0.0.1:4565
<INFO> 25-Nov-2021::11:32:27.351 test-766db87f49-fpbfl confd[233]: - ConfD phase0 started
Ended with exit code -1.

Is this situation the expected behavior? If so, how do we modify the time waiting for the registration of data provider api?

Thanks in advance.
Best,
Li

You change your timeout settings in the confd.conf configuration file. See the confd.conf(5) man page. Check your developer log (with log level “trace” set in your confd.conf) to get more information on what is happening.

Best regards