dbconsole: unable to login to any tenant if default tenant is not active #120084
Labels
A-observability-inf
branch-release-24.1
Used to mark GA and release blockers, technical advisories, and bugs for 24.1
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
GA-blocker
O-testcluster
Issues found or occurred on a test cluster, i.e. a long-running internal cluster
P-1
Issues/test failures with a fix SLA of 1 month
Expected: loading the db console would present a login page allowing logging in to one of the tenants -- the system tenant perhaps -- regardless of the value of the
server.controller.default_tenant
setting.Actual behavior: the console does not load.
It appears that the page is failing to load when it get a 500 trying to load
bundle.js
.Adding ?cluster=system or some other active cluster does not appear to fix this, since
bundle.js
is fetched without the?cluster=x
parameter.bundle.js
is available logged out, so it isn't clear why the default default tenant needs to be active to fetch it.Steps to reproduce on a new crdb cluster:
SET CLUSTER SETTING server.controller.default_tenant.check_service.enabled = false
SET CLUSTER SETTING server.controller.default_tenant = 'doesnotexist'
Try to load the db console.
Jira issue: CRDB-36465
The text was updated successfully, but these errors were encountered: