GitHub user sainikhilsamineni added a comment to the discussion: superset k8s 
deployment via helm

@dosu 10.190.110.26 - - [17/Dec/2025:05:09:30 +0000] "GET /health HTTP/1.1" 200 
2 "-" "kube-probe/1.33+"
10.190.3.27 - - [17/Dec/2025:05:09:35 +0000] "GET /health HTTP/1.1" 200 2 "-" 
"ELB-HealthChecker/2.0"
2025-12-17 05:09:39,490:WARNING:superset.views.error_handling:Exception
Traceback (most recent call last):
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/sql/base.py", line 
1694, in _entity_namespace_key
    return getattr(ns, key)
AttributeError: type object 'Role' has no attribute 'username'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/.venv/lib/python3.10/site-packages/flask/app.py", line 1484, in 
full_dispatch_request
    rv = self.dispatch_request()
  File "/app/.venv/lib/python3.10/site-packages/flask/app.py", line 1469, in 
dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/app/superset/multi_tenant.py", line 180, in login_with_tenant
    return super().login()
  File 
"/app/.venv/lib/python3.10/site-packages/flask_appbuilder/security/decorators.py",
 line 36, in wrapped_view
    response = make_response(view(*args, **kwargs))
  File 
"/app/.venv/lib/python3.10/site-packages/flask_appbuilder/security/views.py", 
line 530, in login
    user = self.appbuilder.sm.auth_user_db(
  File "/app/superset/multi_tenant.py", line 351, in auth_user_db
    user = self.get_session.query(self.user_model).filter_by(
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 
1806, in filter_by
    clauses = [
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 
1807, in <listcomp>
    _entity_namespace_key(from_entity, key) == value
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/sql/base.py", line 
1696, in _entity_namespace_key
    util.raise_(
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/util/compat.py", 
line 211, in raise_
    raise exception
sqlalchemy.exc.InvalidRequestError: Entity namespace for "mapped class 
Role->ab_role" has no property "username"
2025-12-17 05:09:39,491:ERROR:superset.views.error_handling:Entity namespace 
for "mapped class Role->ab_role" has no property "username"
Traceback (most recent call last):
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/sql/base.py", line 
1694, in _entity_namespace_key
    return getattr(ns, key)
AttributeError: type object 'Role' has no attribute 'username'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/.venv/lib/python3.10/site-packages/flask/app.py", line 1484, in 
full_dispatch_request
    rv = self.dispatch_request()
  File "/app/.venv/lib/python3.10/site-packages/flask/app.py", line 1469, in 
dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/app/superset/multi_tenant.py", line 180, in login_with_tenant
    return super().login()
  File 
"/app/.venv/lib/python3.10/site-packages/flask_appbuilder/security/decorators.py",
 line 36, in wrapped_view
    response = make_response(view(*args, **kwargs))
  File 
"/app/.venv/lib/python3.10/site-packages/flask_appbuilder/security/views.py", 
line 530, in login
    user = self.appbuilder.sm.auth_user_db(
  File "/app/superset/multi_tenant.py", line 351, in auth_user_db
    user = self.get_session.query(self.user_model).filter_by(
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 
1806, in filter_by
    clauses = [
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 
1807, in <listcomp>
    _entity_namespace_key(from_entity, key) == value
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/sql/base.py", line 
1696, in _entity_namespace_key
    util.raise_(
  File "/app/.venv/lib/python3.10/site-packages/sqlalchemy/util/compat.py", 
line 211, in raise_
    raise exception
sqlalchemy.exc.InvalidRequestError: Entity namespace for "mapped class 
Role->ab_role" has no property "username"
Login attempt for tenant: HXGNDEV0025_AX1
Authenticating user: [email protected] with tenantid 
from request
Tenant ID from request: HXGNDEV0025_AX1
10.190.2.100 - - [17/Dec/2025:05:09:39 +0000] "POST 
/login?tenant=HXGNDEV0025_AX1 HTTP/1.1" 500 0 
"https://superset.pcrt.stg.hxgnsmartcloud.com/login?tenant=HXGNDEV0025_AX1"; 
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/143.0.0.0 Safari/537.36"
10.190.2.100 - - [17/Dec/2025:05:09:39 +0000] "GET 
/static/assets/b01fb73b111d937e4c09.png HTTP/1.1" 200 0 
"https://superset.pcrt.stg.hxgnsmartcloud.com/login?tenant=HXGNDEV0025_AX1"; 
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/143.0.0.0 Safari/537.36"
10.190.2.100 - - [17/Dec/2025:05:09:40 +0000] "GET 
/static/assets/e3bafb62eb2592c0bb0e.png HTTP/1.1" 200 0 
"https://superset.pcrt.stg.hxgnsmartcloud.com/login?tenant=HXGNDEV0025_AX1"; 
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/143.0.0.0 Safari/537.36"
10.190.1.109 - - [17/Dec/2025:05:09:40 +0000] "GET /health HTTP/1.1"

GitHub link: 
https://github.com/apache/superset/discussions/36687#discussioncomment-15275828

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to