-
Bug
-
Resolution: Done
-
Highest
-
Dublin Release
On startup of the so-sdc-conctroller pod it reads the configuration to get the password for the SDC link
This password fails to read. The encrytion/decryption of the password changed between casablanca and master so it is now broken. This is read from the override.yaml file supplied by oom
we just need to find what are the new values to put in there now
below is the exception we are getting now
2019-02-28T15:17:43.516Z|trace-#| org.onap.so.asdc.client.ASDCController - Initialize the ASDC Controller2019-02-28T15:17:43.516Z|trace-#| org.onap.so.asdc.client.ASDCController - Initialize the ASDC Controller2019-02-28T15:17:43.516Z|trace-#| org.onap.sdc.impl.DistributionClientImpl - DistributionClient - init2019-02-28T15:17:43.519Z|trace-#| org.onap.so.asdc.client.ASDCConfiguration - Exception while decrypting property: mso.asdc-connections.asdc-controller1.passwordjavax.crypto.AEADBadTagException: Tag mismatch! at com.sun.crypto.provider.GaloisCounterMode.decryptFinal(GaloisCounterMode.java:578) at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1049) at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:985) at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847) at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446) at javax.crypto.Cipher.doFinal(Cipher.java:2222) at org.onap.so.utils.CryptoUtils.decrypt(CryptoUtils.java:86) at org.onap.so.asdc.client.ASDCConfiguration.getEncryptedPropertyOrNull(ASDCConfiguration.java:177) at org.onap.so.asdc.client.ASDCConfiguration.getPassword(ASDCConfiguration.java:210) at org.onap.sdc.impl.DistributionClientImpl.validateAndInitConfiguration(DistributionClientImpl.java:501) at org.onap.sdc.impl.DistributionClientImpl.init(DistributionClientImpl.java:278) at org.onap.sdc.impl.DistributionClientImpl.init(DistributionClientImpl.java:259) at org.onap.so.asdc.client.ASDCController.initASDC(ASDCController.java:207) at org.onap.so.asdc.ASDCControllerSingleton.periodicControllerTask(ASDCControllerSingleton.java:53) 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.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
the relevent part of the override.yaml file is
asdc-connections:
asdc-controller1:
user: mso
consumerGroup: SO-OpenSource-Env11
consumerId: SO-COpenSource-Env11
environmentName: AUTO
asdcAddress: sdc-be.onap:8443
password: 613AF3483E695524F9857643B697FA51C7A9A0951094F53791485BF3458F9EADA37DBACCCEBD0CB242B85B4062745247
pollingInterval: 60
pollingTimeout: 60
relevantArtifactTypes: HEAT,HEAT_ENV,HEAT_VOL
useHttpsWithDmaap: false
activateServerTLSAuth: false
keyStorePassword:
keyStorePath:
watchDogTimeout: 300
isFitlerInEmptyResources: true
messageBusAddress: message-router.onap,message-router.onap
asdc:
config:
key: 566B754875657232314F5548556D3665
components:
count: 3,