You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to submitting an issue, check to see if one has already been created. If there is currently an open issue, add a thumbs-up emoji to identify that it is also affecting you.
Your Environment
Version: 1.8.0
Affected Component: Python Container (Access Gateway and Federation Gateway)
Affected Subcomponent: td-agent-bit on Docker Containers
After installing some AGWs (docker based) and some FeGs, we've seen that no logs were being sent to the fluentd component on the orc8r.
When we debugged it, we saw that the fluent-bit client, was closing the TLS handshake during the fluent-bit <-> fluentd communication.
The way we have our infrastructure, the installation of the AGW (docker based) and AGW (system based) is pretty similar, but we didn't have this error on our AGW (system based) servers.
We found out that the version of fluent-bit (td-agent-bit) being used in the AGW system based installations and AGW docker installations were different:
System based installation is using the version 1.7.8
Docker based installation (AGW and FeG) is using the 1.9.8
After forcing the 1.7.8 version on the docker containers, AGWs and FeG started to send logs properly, finishing the TLS handshake properly.
The issue is that in the Python Images, the fluentbit repository is being added, and the version being installed on the containers is not pinned:
Logs won't be sent to fluentd on orc8r as the communication will be closed by the fluentbit client.
Expected behavior
Logs being sent properly from AGW (docker based) and FeG (docker based) to orc8r fluentd and inserted into ES clusters.
Possible fixes
It will depent on how Magma maintainers want to maintain this component on the future, two fix are possible:
If for some reason, the fluentbit.io repository needs to be really added to the Python image, then pinning the version to a correct one will work.
If only the linuxfoundation.jfrog.io repository is finally present, and inside that repository the correct td-agent-bit is located, then there is no need to pin the version. The only thing to be sure is that ubuntu doesn't have a newer version than the one in the Magma repository.
My thoughts: pinning the version, and upload that particular version to the Magma repository is the way to go (assuming no modification to td-agent-bit has been done by the Magma project).
The text was updated successfully, but these errors were encountered:
Changes:
1. Pinned the version of td-agent-bit
Testing:
1. Deployed the docker agw and verified the version
2. Using netstat verified the connection is established
3. Events are getting posted to orc8r
Signed-off-by: moyilaakhila <moyilaakhila@gmail.com>
Prior to submitting an issue, check to see if one has already been created. If there is currently an open issue, add a thumbs-up emoji to identify that it is also affecting you.
Your Environment
Describe the Issue
After installing some AGWs (docker based) and some FeGs, we've seen that no logs were being sent to the fluentd component on the orc8r.
When we debugged it, we saw that the fluent-bit client, was closing the TLS handshake during the fluent-bit <-> fluentd communication.
The way we have our infrastructure, the installation of the AGW (docker based) and AGW (system based) is pretty similar, but we didn't have this error on our AGW (system based) servers.
We found out that the version of fluent-bit (td-agent-bit) being used in the AGW system based installations and AGW docker installations were different:
After forcing the 1.7.8 version on the docker containers, AGWs and FeG started to send logs properly, finishing the TLS handshake properly.
The issue is that in the Python Images, the fluentbit repository is being added, and the version being installed on the containers is not pinned:
It is also present on master, so it might happen again in the future:
magma/lte/gateway/docker/services/python/Dockerfile
Line 126 in 38c74d1
To Reproduce
Expected behavior
Logs being sent properly from AGW (docker based) and FeG (docker based) to orc8r fluentd and inserted into ES clusters.
Possible fixes
It will depent on how Magma maintainers want to maintain this component on the future, two fix are possible:
My thoughts: pinning the version, and upload that particular version to the Magma repository is the way to go (assuming no modification to td-agent-bit has been done by the Magma project).
The text was updated successfully, but these errors were encountered: