ConfD User Community

Report "Authentication failed." when run the netconf-console command


#1

HI,
I use the command:
netconf-console --copy-config=/dev/null --db=running

to delete the running datastore, but after I delete, the netconf-console can’t connect the the confd server now, it always reports the “Authentication failed”, what’s the root cause? Thanks!

/root/confd/bin > netconf-console --db=running --get-config
Authentication failed.

The confd server is running:
/root/confd/bin > netstat -anp|grep confd
tcp 0 0 127.0.0.1:4565 0.0.0.0:* LISTEN 13285/confd
tcp 0 0 0.0.0.0:2022 0.0.0.0:* LISTEN 13285/confd
tcp 0 0 127.0.0.1:2023 0.0.0.0:* LISTEN 13285/confd
tcp 0 0 0.0.0.0:2024 0.0.0.0:* LISTEN 13285/confd
unix 2 [ ] DGRAM 80847140 13285/confd

openssl version
OpenSSL 1.0.2k-fips 26 Jan 2017

cat /etc/os-release
NAME=“Red Hat Enterprise Linux Server”
VERSION=“7.4 (Maipo)”
ID=“rhel”
ID_LIKE=“fedora”
VARIANT=“Server”
VARIANT_ID=“server”
VERSION_ID=“7.4”
PRETTY_NAME=“Red Hat Enterprise Linux Server 7.4 (Maipo)”
ANSI_COLOR=“0;31”
CPE_NAME=“cpe:/o:redhat:enterprise_linux:7.4:GA:server”
HOME_URL=“https://www.redhat.com/
BUG_REPORT_URL=“https://bugzilla.redhat.com/

REDHAT_BUGZILLA_PRODUCT=“Red Hat Enterprise Linux 7”
REDHAT_BUGZILLA_PRODUCT_VERSION=7.4
REDHAT_SUPPORT_PRODUCT=“Red Hat Enterprise Linux”
REDHAT_SUPPORT_PRODUCT_VERSION=“7.4”

Thanks
Darcy


Is delete-config on candidate DB supported by netconf
#2

Can it be that you have deleted AAA part of database and thus lost all authentication configuration?


#3

Hi,
Thanks for the response! Yes, I deleted the AAA part of database, the confd is OK after after restore it.

Thanks
Darcy