rancher: [ipsec] router logs have repeated message about - "querying policy failed: No such file or directory"
NOTE: There is no functional impact of these messages on the regular operations of ipsec.
Rancher server version - v1.4.0-rc3 ipsec template version: v0.0.4(rancher/net:v0.8.6)
Steps to reproduce the problem: Deploy few services
ipsec-ipsec-router-1 logs have repeated message about - “querying policy failed: No such file or directory” :
1/26/2017 1:49:11 PM16[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM16[IKE] sending keep alive to 104.198.249.177[4500]
1/26/2017 1:49:11 PM09[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM09[IKE] sending keep alive to 35.184.95.198[4500]
1/26/2017 1:49:11 PM10[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM10[IKE] sending keep alive to 35.184.95.198[4500]
1/26/2017 1:49:11 PM15[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM15[IKE] sending keep alive to 104.198.249.177[4500]
1/26/2017 1:49:11 PM16[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM16[IKE] sending keep alive to 104.198.249.177[4500]
1/26/2017 1:49:11 PM09[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM09[IKE] sending keep alive to 35.184.95.198[4500]
1/26/2017 1:49:11 PM10[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM10[IKE] sending keep alive to 35.184.95.198[4500]
1/26/2017 1:49:11 PM15[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM15[IKE] sending keep alive to 104.198.249.177[4500]
1/26/2017 1:49:11 PM16[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM16[IKE] sending keep alive to 104.198.249.177[4500]
1/26/2017 1:49:11 PM09[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM09[IKE] sending keep alive to 35.184.95.198[4500]
1/26/2017 1:49:11 PM10[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM10[IKE] sending keep alive to 35.184.95.198[4500]
1/26/2017 1:49:11 PM15[KNL] querying policy failed: No such file or directory (2)
1/26/2017 1:49:11 PM15[IKE] sending keep alive to 104.198.249.177[4500]
1/26/2017 1:49:11 PM16[KNL] querying policy failed: No such file or directory (2)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 15
- Comments: 27 (3 by maintainers)
The log is being printed from the following line in file
src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c
:Currently the log level in rancher/ipsec is set to
1
.Reading through the code, for every ipsec connection, charon is periodically trying to find if there was any traffic destined to a policy with the given traffic selector … in Rancher’s use case, ipsec polices are managed outside of charon. Due to this, every time there is a policy lookup, it fails and the debug message is printed.
We recently upgraded our Rancher server to a new host and version 1.4.1 and are also experiencing this issue. Symptoms are that services work after initial launch, but eventually go down due to network failure. router logs have same message reported in this issue:
Network manager logs have errors as well:
Rancher server
Hosts
Thinking docker version on server might need to be downgraded and/or hosts might need to be upgraded. Any info others have is appreciated though.