Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop sending unexpected format frame from live-crawler to sas #357

Open
tatsuhirochiba opened this issue Feb 5, 2018 · 0 comments
Open

Comments

@tatsuhirochiba
Copy link
Contributor

Description

SAS requires concrete format for live container frame (source_type=container and namespace=k8s-ns/pod-name/container-id) and image frame (source_type=image and namespace=repository/k8s-ns/image-name:tag). Since both crawlers (live and reg) run on the same node, live-crawler daemon always detects docker container creation event for reg-crawler target container. source_type env in live-crawler and reg-crawler is fixed as container and image respectively. In this situation, live crawler tries to send an unexpected namespace formatted frame to sas. (i.e. send a frame with image crawling namespace and source_type=container)

How to Reproduce

Log Output

Debugging Commands Output

Output of docker version:

(paste your output here)

Output of docker info:

(paste your output here)

Output of python --version:

(paste your output here)

Output of pip freeze:

(paste your output here)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant