Error: Invalid metadata has been detected for role lisuper
search cancel

Error: Invalid metadata has been detected for role lisuper

book

Article ID: 424565

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • Attempting to run the command cqlsh-no-pass on a worker node produces the error:

    • Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042': AuthenticationFailed('Failed to authenticate to 127.0.0.1:9042: Error from server: code=0000 [Server error] message="java.lang.RuntimeException: Invalid metadata has been detected for role lisuper"')})


  • You see errors in the runtime.log:
    • [2026-01-05 22:12:16.542+0000] ["s141-admin-1"/##.##.###.### WARN] [com.datastax.oss.driver.internal.core.control.ControlConnection] [[s141] Error connecting to Node(endPoint=##.##.###.###:9042, hostId=null, hashCode=698132ba), trying next node (IllegalArgumentException: [s141|control|id: 0x58f04eb6, L:/##.##.###.###:54022 - R:/##.##.###.###:9042] Protocol initialization request, step 3 (AUTH_RESPONSE): server replied with unexpected error code [SERVER_ERROR]: java.lang.RuntimeException: Invalid metadata has been detected for role lisuper)]

 

Environment

Aria Operations for Logs 8.18.x

 

Cause

Some of the metadata for the user "lisuper" is set to "null" incorrectly.

Run the following commands to verify

  1. open an SSH Session as root on the primary node

  2. cqlsh-no-pass

  3. select * from system_auth.roles where role = 'lisuper';

    • The values for "can_login" and "is_superuser" should be set to "True". If they are set to "null" that will result in the error above.

Resolution

Set Metadata for user "lisuper" to True:

From an SSH session on the primary node run the commands below:

  1. cqlsh-no-pass
  2. UPDATE system_auth.roles SET can_login = True WHERE role = 'lisuper';
  3. UPDATE system_auth.roles SET is_superuser = True WHERE role = 'lisuper';
  4. select * from system_auth.roles where role = 'lisuper';   ( To verify the change has been successful)
  5. exit

Note: "member_of" field can be null.