Sensu-agent not showing up under entities

I am using sensu-go OSS version 6.0.0 and having an issue with seeing my entity in a namespace. Everything was working correctly on the default namespace, but when i create a namespace and restart the agent pointing to the namespace, checks, events, etc are visible.

The entity is not…

When I click on the entity tab in the UI there is nothing, but when i go directly to the web address it is visible: /n//entities/entityname

Also using sensuctl the result is the same:

@:~# sensuctl --namespace namespace entity info entityname
=== entityname
Name: entityname
Entity Class: agent
Subscriptions: linux, dpe
Last Seen: 2020-11-19 11:09:08 -0500 EST
Hostname: entityname
OS: linux
Platform: ubuntu
Platform Family: debian
Platform Version: 18.04
Auto-Deregistration: false
Deregistration Handler:
@:~# sensuctl --namespace namespace entity list
ID Class OS Subscriptions Last Seen
──── ─────── ──── ─────────────── ───────────

Has anyone seen anything like this? I am using the admin account, which is a cluster-admin.

I registered a new agent, and it is not showing up in entities. Log is showing that it is registered and events are coming up fine, just no entity…

Summary

Nov 23 11:19:07 sensutest-agent4 systemd[1]: Started Sensu Agent Service.

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:“compacting api queue”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:“finished api queue compaction”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:“using password auth”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“debug”,“msg”:“validating agent name”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“debug”,“msg”:“validating keepalive warning timeout”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“debug”,“msg”:“validating keepalive critical timeout”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“debug”,“msg”:“validating backend URLs is defined”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“debug”,“msg”:“validating backend URLs[wss://sxxxxxx:8081]”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“debug”,“msg”:“validating backend URLwss://xxxxxx:8081”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:“configuration successfully validated”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“cache”:"/var/opt/sensu-go/cache/sensu/sensu-agent",“component”:“asset-manager”,“level”:“debug”,“msg”:“initializing cache directory”,“time”:“2020-11-23T11:19:07-05:00”

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“cache”:"/var/opt/sensu-go/cache/sensu/sensu-agent",“component”:“asset-manager”,“level”:“debug”,“msg”:“done initializing cache directory”,“time”:"2020-11-23T11:19:07-0

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:“starting statsd server on address: 127.0.0.1:8125”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“event”:{“Title”:“Gostatsd started”,“Text”:“Gostatsd started”,“DateHappened”:1606148347,“Hostname”:“sensutest-agent4”,“AggregationKey”:"","SourceTy

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:“starting UDP listener on address: 127.0.0.1:3030”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:“starting TCP listener on address: 127.0.0.1:3030”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:“starting api on address: 127.0.0.1:3031”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:"connecting to backend URL “wss://xxxxxxxx:8081"”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:07 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“header”:“Accept: application/octet-stream”,“level”:“debug”,“msg”:“setting header”,“time”:“2020-11-23T11:19:07-05:00”}

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“info”,“msg”:“successfully connected”,“time”:“2020-11-23T11:19:08-05:00”}

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“header”:“Accept: [application/octet-stream application/json]”,“level”:“debug”,“msg”:“received header”,“time”:“2020-11-23T11:19:08-05:00”}

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“format”:“protobuf”,“level”:“debug”,“msg”:“setting serialization/deserialization”,“time”:“2020-11-23T11:19:08-05:00”}

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“header”:“Content-Type: application/octet-stream”,“level”:“debug”,“msg”:“setting header”,“time”:“2020-11-23T11:19:08-05:00”}

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“content_type”:“application/octet-stream”,“level”:“info”,“msg”:“message received”,“payload_size”:27,“time”:“2020-11-23T11:19:08-05:00”,“type”:"enti

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“debug”,“msg”:“received an entity config from the backend”,“time”:“2020-11-23T11:19:08-05:00”}

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“debug”,“msg”:“successfully received the initial entity config”,“time”:“2020-11-23T11:19:08-05:00”}

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“check”:“keepalive”,“component”:“agent”,“entity”:“sensutest-agent4”,“event_uuid”:“c999381b-184a-4265-93b6-be6948fab91f”,“level”:“info”,“msg”:“sending event to backend”

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“content_type”:“application/octet-stream”,“level”:“info”,“msg”:“message received”,“payload_size”:160,“time”:“2020-11-23T11:19:08-05:00”,“type”:"ent

Nov 23 11:19:08 sensutest-agent4 sensu-agent[11112]: {“component”:“agent”,“level”:“debug”,“msg”:“received an entity config from the backend”,“time”:“2020-11-23T11:19:08-05:00”}

xxxxx @xxxxx : ~ # sensuctl --namespace pes entity list

ID Class OS Subscriptions Last Seen

──── ─────── ──── ─────────────── ───────────

Turns out once i updated to 6.1.2 this problem resolved itself.

thanks for the awesome information.