'Graph service is unavailable' error on Topology configuration
search cancel

'Graph service is unavailable' error on Topology configuration

book

Article ID: 406899

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

When trying to configure topology in the NetOps portal, the following popup appears with the error "Graph Services is unavailable"

The following errors can be seen in the hazelcast log file:

Exception during pool initialization.
java.sql.SQLException: Access denied for user 'topologyuser'@'PortalServerHost' (using password: YES)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121) ~[hazelcast-persistence-24.3.9-RELEASE.jar:?]
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:114) ~[hazelcast-persistence-24.3.9-RELEASE.jar:?]
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:837) ~[hazelcast-persistence-24.3.9-RELEASE.jar:?]
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:420) ~[hazelcast-persistence-24.3.9-RELEASE.jar:?]
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:238) ~[hazelcast-persistence-24.3.9-RELEASE.jar:?]
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:180) ~[hazelcast-persistence-24.3.9-RELEASE.jar:?]
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) ~[hazelcast-persistence-24.3.9-RELEASE.jar:?]
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:364) ~[hazelcast-persistence-24.3.9-RELEASE.jar:?]
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206) ~[hazelcast-persistence-24.3.9-RELEASE.jar:?]

Environment

DX NetOps Portal 24.3.11

Cause

During installation, if the MySQL password contains special characters (e.g., $, &, !), Hazelcast services fail with an Access Denied error—even though the initial MySQL connection test succeeds because it uses the plain password for the connection check.

Resolution

This issue is targeted to be resolved in 24.3.13. The following can be done as a workaround:

Workaround for version <= 24.3.12 :

On the NetOps Topology Server:

1. Navigate to the installer directory

2. Open the file provisioning/roles/common/tasks/encrypt_password.yaml.

3. Locate the text input={{enc_password}}.

4. Change this line to input='{{enc_password}}' (ensuring the password is enclosed in single quotes).

5. Run or re-run the deployment.