On Thu, 5 Apr 2018, David Lang wrote:



now that I have it working, what do we want to do in this release to make it better :-) (thanks for your help by the way)

It still doesn't look like it is working.  There should be fields for kubernetes namespace_id, pod_id, labels, and usually annotations. If you're token really isn't "foobar", it is likely that the problem is that it is authenticating to kubernetes as a bogus user, and for some reason, we aren't getting or processing a 401 or 403 error, so there is no metadata returned.

Ok, I'll work on that tomorrow. Would it be a good idea to put something in the log saying that the lookup failed (and why)?

nothing useful is showing up in the debug log

# rsyslogd -dn |grep mmkubernetes.c |head -50
7503.650649084:main thread : mmkubernetes.c: mmkubernetes: module compiled with rsyslog version 8.34.0. 7503.650714517:main thread : modules.c: source file mmkubernetes.c requested reference for module 'lmregexp', reference count now 1 7503.650796305:main thread : mmkubernetes.c: entry point 'activateCnfPrePrivDrop' not present in module 7503.650800235:main thread : mmkubernetes.c: entry point 'doHUP' not present in module 7503.650802825:main thread : mmkubernetes.c: entry point 'doHUPWrkr' not present in module 7503.650804368:main thread : mmkubernetes.c: entry point 'SetShutdownImmdtPtr' not present in module 7503.650806816:main thread : mmkubernetes.c: entry point 'beginTransaction' not present in module 7503.650808726:main thread : mmkubernetes.c: entry point 'commitTransaction' not present in module 7503.650811100:main thread : mmkubernetes.c: entry point 'endTransaction' not present in module 7503.650826674:main thread : mmkubernetes.c: module (global) param blk for mmkubernetes:
7503.651251925:main thread    : mmkubernetes.c: newActInst (mmkubernetes)
7503.651254941:main thread : mmkubernetes.c: action param blk in mmkubernetes:
7503.654439159:main Q:Reg/w0  : mmkubernetes.c: mmkubernetes: filename: ''.
7503.654639544:main Q:Reg/w0  : mmkubernetes.c: mmkubernetes: filename: ''.
7503.654859942:main Q:Reg/w0  : mmkubernetes.c: mmkubernetes: filename: ''.
(this then repeats for every action)

It is establishing a connection with the kubernetes server and passing the SSL handshake, I can't see what's happening over the connection, so I don't know what messages are being passed.

Is there a way to get more detailed info from mmkubernetes?

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to