Hi AAI Team,
I am trying to execute the runMigration utility of graphadmin but it fails:
aaiadmin@aai-graphadmin:/opt/app/aai-graphadmin/bin$ ./run_Migrations.sh -e
UpdateAaiUriIndexMigration --commit --skipPreMigrationSnapShot
Wed Apr 17 09:43:45 UTC 2019 Starting ./run_Migrations.sh
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at
org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:595)
Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException:
No qualifying bean of type 'org.onap.aai.setup.SchemaVersions' available:
expected single matching bean but found 3:
schemaServiceVersions,schemaConfigVersions,schemaVersions
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1042)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:344)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:339)
at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1094)
at
org.onap.aai.migration.MigrationController.main(MigrationController.java:82)
... 8 more
Failed to run the tool ./run_Migrations.sh successfully
It used to work fine few days back.
Please help here!!!
Thx,
Mahendra
This email and the information contained herein is proprietary and confidential
and subject to the Amdocs Email Terms of Service, which you may review at
https://www.amdocs.com/about/email-terms-of-service
<https://www.amdocs.com/about/email-terms-of-service>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16600): https://lists.onap.org/g/onap-discuss/message/16600
Mute This Topic: https://lists.onap.org/mt/31210147/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-