oopt-goldstone / goldstone-mgmt

TIP Goldstone management layer implementation
Apache License 2.0
7 stars 9 forks source link

North-netconf pod is CrashLoopBackOff #84

Open Prajwal027 opened 10 months ago

Prajwal027 commented 10 months ago

Hi, I was trying to bring up the goldstone-mgmt but facing the below issue.

image

If we describe this:

image

Please let me know, Thanks.

ishidawataru commented 10 months ago

Could you show me the log of the netconf pod?

Prajwal027 commented 10 months ago

server logs: prajwal@goldstone:~$ sudo kubectl logs north-netconf-z5ghd -c server [INF]: LY: Searching for "ietf-inet-types" in "/var/lib/sysrepo/yang". [INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision. [INF]: LY: Searching for "ietf-yang-types" in "/var/lib/sysrepo/yang". [INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision. [INF]: LY: Searching for "ietf-inet-types" in "/var/lib/sysrepo/yang". [INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision. [INF]: LY: Searching for "ietf-yang-types" in "/var/lib/sysrepo/yang". [INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision. [INF]: LY: Searching for "ietf-datastores" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-datastores@2018-02-14.yang" file. [INF]: LY: Searching for "ietf-yang-library" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-yang-library@2019-01-04.yang" file. [INF]: LY: Searching for "ietf-netconf-acm" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-netconf-acm@2018-02-14.yang" file. [INF]: LY: Searching for "sysrepo-monitoring" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/sysrepo-monitoring@2022-04-08.yang" file. [INF]: LY: Implemented module "ietf-datastores@2018-02-14" is not used for import, revision "2018-02-14" is imported instead. [INF]: LY: Searching for "sysrepo-plugind" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/sysrepo-plugind@2022-03-10.yang" file. [INF]: LY: Searching for "ietf-netconf" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-netconf@2013-09-29.yang" file. [INF]: LY: Searching for "ietf-yang-metadata" in "/var/lib/sysrepo/yang". [INF]: LY: Newer revision than "ietf-yang-metadata@2016-08-05" not found, using this as the latest revision. [INF]: LY: Searching for "ietf-netconf-with-defaults" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-netconf-with-defaults@2011-06-01.yang" file. [INF]: LY: Searching for "ietf-netconf-notifications" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-netconf-notifications@2012-02-06.yang" file. [INF]: LY: Implemented module "ietf-netconf@2013-09-29" is not used for import, revision "2013-09-29" is imported instead. [INF]: LY: Searching for "ietf-origin" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-origin@2018-02-14.yang" file. [INF]: LY: Searching for "goldstone-platform" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-platform@2019-11-01.yang" file. [INF]: LY: Searching for "goldstone-component-connection" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-component-connection@2021-11-01.yang" file. [INF]: LY: Searching for "goldstone-interfaces" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-interfaces@2020-10-13.yang" file. [INF]: LY: Searching for "goldstone-transponder" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-transponder@2019-11-01.yang" file. [INF]: LY: Searching for "goldstone-sonic" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-sonic@2021-12-06.yang" file. [INF]: LY: Implemented module "goldstone-interfaces@2020-10-13" is not used for import, revision "2020-10-13" is imported instead. [INF]: LY: Searching for "goldstone-vlan" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-vlan@2020-10-13.yang" file. [INF]: LY: Implemented module "goldstone-interfaces@2020-10-13" is not used for import, revision "2020-10-13" is imported instead. [INF]: LY: Searching for "goldstone-uplink-failure-detection" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-uplink-failure-detection@2021-05-28.yang" file. [INF]: LY: Implemented module "goldstone-interfaces@2020-10-13" is not used for import, revision "2020-10-13" is imported instead. [INF]: LY: Searching for "goldstone-portchannel" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-portchannel@2021-05-30.yang" file. [INF]: LY: Implemented module "goldstone-interfaces@2020-10-13" is not used for import, revision "2020-10-13" is imported instead. [INF]: LY: Searching for "goldstone-aaa" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-aaa@2020-10-13.yang" file. [INF]: LY: Searching for "goldstone-system" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-system@2020-11-23.yang" file. [INF]: LY: Searching for "iana-if-type" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/iana-if-type@2017-01-19.yang" file. [INF]: LY: Searching for "ietf-interfaces" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-interfaces@2018-02-20.yang" file. [INF]: LY: Searching for "openconfig-types" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-types@2019-04-16.yang" file. [INF]: LY: Searching for "openconfig-extensions" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-extensions@2020-06-16.yang" file. [INF]: LY: Searching for "openconfig-yang-types" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-yang-types@2021-03-02.yang" file. [INF]: LY: Searching for "openconfig-interfaces" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-interfaces@2021-04-06.yang" file. [INF]: LY: Searching for "openconfig-if-ethernet" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-if-ethernet@2021-07-07.yang" file. [INF]: LY: Searching for "openconfig-platform-types" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-platform-types@2021-01-18.yang" file. [INF]: LY: Implemented module "openconfig-types@2019-04-16" is not used for import, revision "2019-04-16" is imported instead. [INF]: LY: Implemented module "openconfig-yang-types@2021-03-02" is not used for import, revision "2021-03-02" is imported instead. [INF]: LY: Searching for "openconfig-platform" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-platform@2021-01-18.yang" file. [INF]: LY: Searching for "openconfig-alarm-types" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-alarm-types@2018-11-21.yang" file. [INF]: LY: Implemented module "openconfig-yang-types@2021-03-02" is not used for import, revision "2021-03-02" is imported instead. [INF]: LY: Searching for "openconfig-platform-port" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-platform-port@2021-06-16.yang" file. [INF]: LY: Implemented module "openconfig-interfaces@2021-04-06" is not used for import, revision "2021-04-06" is imported instead. [INF]: LY: Searching for "openconfig-platform-transceiver" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-platform-transceiver@2021-02-23.yang" file. [INF]: LY: Implemented module "openconfig-platform@2021-01-18" is not used for import, revision "2021-01-18" is imported instead. [INF]: LY: Implemented module "openconfig-platform-types@2021-01-18" is not used for import, revision "2021-01-18" is imported instead. [INF]: LY: Implemented module "openconfig-interfaces@2021-04-06" is not used for import, revision "2021-04-06" is imported instead. [INF]: LY: Searching for "openconfig-transport-types" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-transport-types@2021-03-22.yang" file. [INF]: LY: Implemented module "openconfig-platform-types@2021-01-18" is not used for import, revision "2021-01-18" is imported instead. [INF]: LY: Implemented module "openconfig-types@2019-04-16" is not used for import, revision "2019-04-16" is imported instead. [INF]: LY: Implemented module "openconfig-types@2019-04-16" is not used for import, revision "2019-04-16" is imported instead. [INF]: LY: Implemented module "openconfig-yang-types@2021-03-02" is not used for import, revision "2021-03-02" is imported instead. [INF]: LY: Searching for "openconfig-platform-fan" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-platform-fan@2018-11-21.yang" file. [INF]: LY: Implemented module "openconfig-platform@2021-01-18" is not used for import, revision "2021-01-18" is imported instead. [INF]: LY: Searching for "openconfig-platform-psu" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-platform-psu@2018-11-21.yang" file. [INF]: LY: Implemented module "openconfig-types@2019-04-16" is not used for import, revision "2019-04-16" is imported instead. [INF]: LY: Implemented module "openconfig-platform@2021-01-18" is not used for import, revision "2021-01-18" is imported instead. [INF]: LY: Searching for "openconfig-terminal-device" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-terminal-device@2021-02-23.yang" file. [INF]: LY: Implemented module "openconfig-types@2019-04-16" is not used for import, revision "2019-04-16" is imported instead. [INF]: LY: Implemented module "openconfig-if-ethernet@2021-07-07" is not used for import, revision "2021-07-07" is imported instead. [INF]: LY: Implemented module "openconfig-interfaces@2021-04-06" is not used for import, revision "2021-04-06" is imported instead. [INF]: LY: Implemented module "openconfig-platform@2021-01-18" is not used for import, revision "2021-01-18" is imported instead. [INF]: LY: Searching for "openconfig-lldp" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-lldp@2018-11-21.yang" file. [INF]: LY: Searching for "openconfig-lldp-types" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-lldp-types@2018-11-21.yang" file. [INF]: LY: Implemented module "openconfig-interfaces@2021-04-06" is not used for import, revision "2021-04-06" is imported instead. [INF]: LY: Implemented module "openconfig-yang-types@2021-03-02" is not used for import, revision "2021-03-02" is imported instead. [INF]: LY: Searching for "openconfig-transport-line-common" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-transport-line-common@2019-06-03.yang" file. [INF]: LY: Implemented module "iana-if-type@2017-01-19" is not used for import, revision "2017-01-19" is imported instead. [INF]: LY: Implemented module "openconfig-interfaces@2021-04-06" is not used for import, revision "2021-04-06" is imported instead. [INF]: LY: Implemented module "openconfig-platform@2021-01-18" is not used for import, revision "2021-01-18" is imported instead. [INF]: LY: Implemented module "openconfig-types@2019-04-16" is not used for import, revision "2019-04-16" is imported instead. [INF]: LY: Implemented module "openconfig-platform-transceiver@2021-02-23" is not used for import, revision "2021-02-23" is imported instead. [INF]: LY: Searching for "openconfig-telemetry" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-telemetry@2018-11-21.yang" file. [INF]: LY: Searching for "openconfig-inet-types" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-inet-types@2021-01-07.yang" file. [INF]: LY: Searching for "openconfig-telemetry-types" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/openconfig-telemetry-types@2018-11-21.yang" file. [INF]: LY: Searching for "goldstone-telemetry" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/goldstone-telemetry@2022-05-25.yang" file. [INF]: LY: Searching for "ietf-netconf-monitoring" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-netconf-monitoring@2010-10-04.yang" file. [INF]: LY: Searching for "ietf-netconf-nmda" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-netconf-nmda@2019-01-07.yang" file. [INF]: LY: Implemented module "ietf-datastores@2018-02-14" is not used for import, revision "2018-02-14" is imported instead. [INF]: LY: Implemented module "ietf-netconf@2013-09-29" is not used for import, revision "2013-09-29" is imported instead. [INF]: LY: Searching for "nc-notifications" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/nc-notifications@2008-07-14.yang" file. [INF]: LY: Searching for "notifications" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/notifications@2008-07-14.yang" file. [INF]: LY: Searching for "ietf-x509-cert-to-name" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-x509-cert-to-name@2014-12-10.yang" file. [INF]: LY: Searching for "ietf-crypto-types" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-crypto-types@2019-07-02.yang" file. [INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead. [INF]: LY: Searching for "ietf-keystore" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-keystore@2019-07-02.yang" file. [INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead. [INF]: LY: Searching for "ietf-truststore" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-truststore@2019-07-02.yang" file. [INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead. [INF]: LY: Implemented module "ietf-crypto-types@2019-07-02" is not used for import, revision "2019-07-02" is imported instead. [INF]: LY: Searching for "ietf-tcp-common" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-tcp-common@2019-07-02.yang" file. [INF]: LY: Searching for "ietf-ssh-server" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-ssh-server@2019-07-02.yang" file. [INF]: LY: Searching for "ietf-ssh-common" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-ssh-common@2019-07-02.yang" file. [INF]: LY: Searching for "iana-crypt-hash" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/iana-crypt-hash@2014-08-06.yang" file. [INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead. [INF]: LY: Searching for "ietf-tls-server" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-tls-server@2019-07-02.yang" file. [INF]: LY: Searching for "ietf-tls-common" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-tls-common@2019-07-02.yang" file. [INF]: LY: Implemented module "ietf-keystore@2019-07-02" is not used for import, revision "2019-07-02" is imported instead. [INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead. [INF]: LY: Searching for "ietf-netconf-server" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-netconf-server@2019-07-02.yang" file. [INF]: LY: Searching for "ietf-tcp-client" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-tcp-client@2019-07-02.yang" file. [INF]: LY: Searching for "ietf-tcp-server" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-tcp-server@2019-07-02.yang" file. [INF]: LY: Implemented module "ietf-tcp-common@2019-07-02" is not used for import, revision "2019-07-02" is imported instead. [INF]: LY: Searching for "ietf-ip" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-ip@2018-02-22.yang" file. [INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead. [INF]: LY: Searching for "ietf-network-instance" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-network-instance@2019-01-21.yang" file. [INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead. [INF]: LY: Searching for "ietf-subscribed-notifications" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-subscribed-notifications@2019-09-09.yang" file. [INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead. [INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead. [INF]: LY: Searching for "ietf-restconf" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-restconf@2017-01-26.yang" file. [INF]: LY: Searching for "ietf-yang-push" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-yang-push@2019-09-09.yang" file. [INF]: LY: Implemented module "ietf-datastores@2018-02-14" is not used for import, revision "2018-02-14" is imported instead. [INF]: LY: Searching for "ietf-yang-patch" in "/var/lib/sysrepo/yang". [INF]: LY: Loading schema from "/var/lib/sysrepo/yang/ietf-yang-patch@2017-02-22.yang" file. [INF]: LY: Use of anydata to define configuration data is not recommended. /ietf-subscribed-notifications:filters/stream-filter/{uses='stream-filter-elements'}/filter-spec/stream-subtree-filter/stream-subtree-filter [INF]: LY: Use of anydata to define configuration data is not recommended. /ietf-yang-push:{augment='/sn:filters'}/ietf-yang-push:selection-filter/{uses='selection-filter-types'}/filter-spec/datastore-subtree-filter/datastore-subtree-filter [INF]: LY: Use of anydata to define configuration data is not recommended. /ietf-subscribed-notifications:subscriptions/subscription/{uses='subscription-policy'}/{uses='subscription-policy-dynamic'}/{uses='subscription-policy-modifiable'}/target/stream/stream-filter/within-subscription/{uses='stream-filter-elements'}/filter-spec/stream-subtree-filter/stream-subtree-filter [INF]: LY: Use of anydata to define configuration data is not recommended. /ietf-yang-push:{augment='/sn:subscriptions/sn:subscription/sn:target'}/ietf-yang-push:datastore/{uses='datastore-criteria'}/{uses='selection-filter-objects'}/selection-filter/within-subscription/{uses='selection-filter-types'}/filter-spec/datastore-subtree-filter/datastore-subtree-filter [INF]: LY: Missing explicit "deprecated" status specified in parent "subnet", inheriting for "prefix-length". [INF]: LY: Missing explicit "deprecated" status specified in parent "subnet", inheriting for "netmask". [INF]: LY: The ordered-by statement is ignored in lists representing notification content (/ietf-yang-push:push-change-update/datastore-changes/{uses='ypatch:yang-patch'}/yang-patch/edit). [WRN]: LY: Identityref "logical-channel-type" comparison with identity "PROT_ETHERNET" without prefix, consider adding a prefix or best using "derived-from(-or-self)()" functions. [WRN]: LY: Previous warning generated by XPath subexpression[9] "logical-channel-type = 'PROT_ETHERNET'" with context node "/openconfig-terminal-device:terminal-device/logical-channels/channel". [WRN]: LY: Identityref "logical-channel-type" comparison with identity "PROT_OTN" without prefix, consider adding a prefix or best using "derived-from(-or-self)()" functions. [WRN]: LY: Previous warning generated by XPath subexpression[9] "logical-channel-type = 'PROT_OTN'" with context node "/openconfig-terminal-device:terminal-device/logical-channels/channel". [INF]: SR: Connection 131 created. [INF]: SR: Session 741 (user "root", CID 131) created. [ERR]: NP: Module "ietf-netconf" feature "writable-running" not enabled in sysrepo. [ERR]: NP: Server init failed. [INF]: NP: Server terminated. [WRN]: SR: Recovered a read-lock of CID 130 (_sr_session_stop). [INF]: SR: No datastore changes to apply.

Prajwal027 commented 10 months ago

Could you show me the log of the netconf pod?

Hi, I have shared you the netconf pod logs.