VNA 23.3.x 24.3.x install failing on Liquibase installation
search cancel

VNA 23.3.x 24.3.x install failing on Liquibase installation

book

Article ID: 386427

calendar_today

Updated On:

Products

Virtual Network Assurance

Issue/Introduction

VNA 23.3.x 24.3.x install failing on Liquibase installation

 

mysqld is alive
Copying Liquibase
Executing Database Update (logLevel = SEVERE)
/opt/CA/VNA/liquibase /tmp/2435
Jan 22, 2025 1:29:52 PM liquibase.servicelocator
INFO: Cannot load service: liquibase.command.CommandStep: Provider com.datical.liquibase.ext.command.init.InitHubCommandStep could not be instantiated
####################################################
##   _     _             _ _                      ##
##  | |   (_)           (_) |                     ##
##  | |    _  __ _ _   _ _| |__   __ _ ___  ___   ##
##  | |   | |/ _` | | | | | '_ \ / _` / __|/ _ \  ##
##  | |___| | (_| | |_| | | |_) | (_| \__ \  __/  ##
##  \_____/_|\__, |\__,_|_|_.__/ \__,_|___/\___|  ##
##              | |                               ##
##              |_|                               ##
##                                                ##
##  Get documentation at docs.liquibase.com       ##
##  Get certified courses at learn.liquibase.com  ##
##  Free schema change activity reports at        ##
##      https://hub.liquibase.com                 ##
##                                                ##
####################################################
Starting Liquibase at 13:29:52 (version 4.8.0 #1581 built at 2022-02-18 21:43+0000)
Liquibase Version: 4.8.0
Liquibase Community 4.8.0 by Liquibase
Jan 22, 2025 1:29:53 PM liquibase.integration
SEVERE: Connection could not be created to jdbc:mysql://localhost:3306/vna_2435_rocky9?createDatabaseIfNotExist=true&serverTimezone=UTC with driver com.mysql.cj.jdbc.Driver.  Access denied for user 'root'@'localhost' (using password: YES)
liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: Unexpected error running Liquibase: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: Connection could not be created to jdbc:mysql://localhost:3306/vna_2435_rocky9?createDatabaseIfNotExist=true&serverTimezone=UTC with driver com.mysql.cj.jdbc.Driver.  Access denied for user 'root'@'localhost' (using password: YES)
        at liquibase.command.CommandScope.execute(CommandScope.java:163)
        at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:51)
        at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:21)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$1(LiquibaseCommandLine.java:325)
        at liquibase.Scope.child(Scope.java:189)
        at liquibase.Scope.child(Scope.java:165)
        at liquibase.integration.commandline.LiquibaseCommandLine.execute(LiquibaseCommandLine.java:291)
        at liquibase.integration.commandline.LiquibaseCommandLine.main(LiquibaseCommandLine.java:80)
Caused by: liquibase.exception.LiquibaseException: Unexpected error running Liquibase: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: Connection could not be created to jdbc:mysql://localhost:3306/vna_2435_rocky9?createDatabaseIfNotExist=true&serverTimezone=UTC with driver com.mysql.cj.jdbc.Driver.  Access denied for user 'root'@'localhost' (using password: YES)
        at liquibase.integration.commandline.Main$1.run(Main.java:443)
        at liquibase.integration.commandline.Main$1.run(Main.java:221)
        at liquibase.Scope.child(Scope.java:189)
        at liquibase.Scope.child(Scope.java:165)
        at liquibase.integration.commandline.Main.run(Main.java:221)
        at liquibase.command.AbstractCliWrapperCommandStep.run(AbstractCliWrapperCommandStep.java:32)
        at liquibase.command.CommandScope.execute(CommandScope.java:157)
        ... 14 more

Environment

Red Hat 9

Cause

Missing Library 

Resolution

dnf --enablerepo=devel install -y ncurses-compat-libs

Additional Information

VNA Package Requirements

RHEL 9.x    
libaio
ncurses-compat-libs
numactl-libs
openssl
Install one of the following:
python3 | python3.9 | python3.11 | python3.12