-
Bug
-
Resolution: Done
-
Highest
-
Dublin Release
-
SB-04 with staging image
After ONAP deployment with staging, Pod oof-has-contoller enters CrashLoopBackOff. The pod console shows the following exception:
root@sb04-rancher:~# kubectl -n onap log dev-oof-oof-has-controller-7bd86955d5-gdlk6 2019-05-30 17:53:39,608||140120363928424|DEBUG|connectionpool|urllib3.connectionpool: [-] Starting new HTTPS connection (1): aaf-sms.onap:10443 2019-05-30 17:53:39,756||140120363928424|DEBUG|connectionpool|urllib3.connectionpool: [-] https://aaf-sms.onap:10443 "GET /v1/sms/domain/has/secret HTTP/1.1" 200 59 2019-05-30 17:53:39,983||140120363928424|DEBUG|connectionpool|urllib3.connectionpool: [-] https://aaf-sms.onap:10443 "GET /v1/sms/domain/has/secret/aai HTTP/1.1" 200 81 2019-05-30 17:53:40,267||140120363928424|DEBUG|connectionpool|urllib3.connectionpool: [-] https://aaf-sms.onap:10443 "GET /v1/sms/domain/has/secret/conductor_api HTTP/1.1" 200 77 2019-05-30 17:53:40,407||140120363928424|DEBUG|connectionpool|urllib3.connectionpool: [-] https://aaf-sms.onap:10443 "GET /v1/sms/domain/has/secret/music_api HTTP/1.1" 200 96 2019-05-30 17:53:40,499||140120363928424|DEBUG|connectionpool|urllib3.connectionpool: [-] https://aaf-sms.onap:10443 "GET /v1/sms/domain/has/secret/sdnc HTTP/1.1" 200 103 2019-05-30 17:53:40,508||140120363928424|DEBUG|sms|conductor.common.sms: [-] Secret Dictionary Retrieval Success 2019-05-30 17:53:40,528||140120363928424|CRITICAL|log|conductor: [-] Unhandled error Traceback (most recent call last): File "/usr/local/bin/conductor-controller", line 10, in <module> sys.exit(main()) File "/opt/has/conductor/conductor/cmd/controller.py", line 25, in main conf = service.prepare_service() File "/opt/has/conductor/conductor/service.py", line 113, in prepare_service sms.load_secrets() File "/opt/has/conductor/conductor/common/sms.py", line 114, in load_secrets config.set_override('username', secret_dict['aaf_api']['username'], 'aaf_api') KeyError: 'aaf_api'
A quick run of curl to aaf-sms shows HAS has 4 secrets:
bash-4.4# curl https://aaf-sms.onap:10443/v1/sms/domain/has/secret -k {"secretnames":["aai","conductor_api","music_api","sdnc"]}