Closed jaromirk closed 2 years ago
Looks like OMS is installed and configured.
kubectl logs omsagent-rs-95d89dc8f-9tnm2 -n kube-system
customResourceId:/subscriptions/0d2cb74f-ef20-4daf-9888-32c8a4846fcf/resourceGroups/AzSHCI-Cluster-rg/providers/Microsoft.Kubernetes/connectedClusters/demo
customRegion:eastus
Making curl request to oms endpint with domain: opinsights.azure.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl request to oms endpoint succeeded.
****************Start Config Processing********************
Both stdout & stderr log collection are turned off for namespaces: '*_kube-system_*.log'
****************End Config Processing********************
****************Start Config Processing********************
****************Start NPM Config Processing********************
config::npm::Successfully substituted the NPM placeholders into /etc/opt/microsoft/docker-cimprov/telegraf-rs.conf file for ReplicaSet
****************Start Prometheus Config Processing********************
config::No configmap mounted for prometheus custom config, using defaults
****************End Prometheus Config Processing********************
****************Start MDM Metrics Config Processing********************
****************End MDM Metrics Config Processing********************
****************Start Metric Collection Settings Processing********************
****************End Metric Collection Settings Processing********************
Making wget request to cadvisor endpoint with port 10250
Wget request using port 10250 succeeded. Using 10250
Making curl request to cadvisor endpoint /pods with port 10250 to get the configured container runtime on kubelet
configured container runtime on kubelet is : containerd
set caps for ruby process to read container env from proc
moc-l3z5a8d9wdy
* Starting periodic command scheduler cron
...done.
docker-cimprov 16.0.0.0
DOCKER_CIMPROV_VERSION=16.0.0.0
*** activating oneagent in legacy auth mode ***
setting mdsd workspaceid & key for workspace:ef10cd6b-8512-45ef-8422-9e3cc829348e
azure-mdsd 1.14.2-build.master.284
starting mdsd mode in main container...
setting up cronjob for ci agent log rotation
*** starting fluentd v1 in replicaset
starting fluent-bit and setting telegraf conf file for replicaset
nodename: moc-l3z5a8d9wdy
replacing nodename in telegraf config
checking for listener on tcp #25226 and waiting for 30 secs if not..
File Doesnt Exist. Creating file...
←[1mFluent Bit v1.6.8←[0m
* ←[1m←[93mCopyright (C) 2019-2020 The Fluent Bit Authors←[0m
* ←[1m←[93mCopyright (C) 2015-2018 Treasure Data←[0m
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
Routing container logs thru v2 route...
waitforlisteneronTCPport found listener on port:25226 in 1 secs
2022-01-06T08:47:50Z I! Starting Telegraf 1.18.0
Telegraf 1.18.0 (git: HEAD ac5c7f6a)
td-agent-bit 1.6.8
stopping rsyslog...
* Stopping enhanced syslogd rsyslogd
...done.
getting rsyslog status...
* rsyslogd is not running
2022-01-06T08:47:53.3453110Z: Onboarding success. Sucessfully registered certificate with OMS Homing service.
Onboarding success
Fixed in latest commit. There were some changes I guess. Helm is no longer needed.
helm chart is deployed, but not working...