Hi Aniello, My suspicion is that the "secrets" corresponding to the AAI config are not getting pre-loaded correctly into AAF-SMS.
Thanks, Shankar. *--------------------------------------------------------------* *Shankaranarayanan Puzhavakath Narayanan* *Principal Inventive Scientist* *Network and Cloud Systems Research* *AT&T Labs Research* On Wed, Jul 8, 2020 at 11:43 AM Aniello Paolo Malinconico via lists.onap.org <aniellopaolo.malinconico=guest.telecomitalia...@lists.onap.org> wrote: > Hi all, > > I have deployed Onap Frankfurt using the frankfurt branch updated at > 08/07/2020 . > I have installed a subset of pods according to the onap 5G use case (using > the yaml at oom/kubernetes/onap/resources/overrides/onap-5G.yaml). > All pods are into Running state, except for the following: > > NAME READY STATUS > RESTARTS AGE > dev-aaf-cert-service-9b6bf767d-2n7sv 0/1 Running > 22 76m​ > dev-aaf-oauth-6dc97c6dd4-jcrj9 0/1 CrashLoopBackOff > 23 76m > dev-aai-data-router-cc894c554-x2fjk 1/2 Running > 10 76m > > dev-oof-has-api-86d546646d-rshh8 0/1 Init:0/3 > 6 62m > dev-oof-has-controller-86f8798fb5-dxwlz 0/1 CrashLoopBackOff > 14 62m > dev-oof-has-data-cbdf647c5-6rnd2 0/1 Init:2/4 > 5 62m > dev-oof-has-reservation-7567677695-62dmk 0/1 Init:2/4 > 5 62m > dev-oof-has-solver-86bf95866d-lfqqt 0/1 Init:2/4 > 5 62m > > > > In particular, I have an issue regarding the OOF component. > The oof-has-controller pod log is : > > root@control-1:~/onap_scripts# kubectl logs > dev-oof-has-controller-86f8798fb5-dxwlz -n onap > /opt/has/conductor/conductor/data/plugins/inventory_provider/aai.py:721: > SyntaxWarning: "is not" with a literal. Did you mean "!="? > restricted_value is not '' and \ > 2020-07-08 > 14:57:59,499||140645833661768|DEBUG|connectionpool|urllib3.connectionpool: > [-] Starting new HTTPS connection (1): aaf-sms.onap:10443 > 2020-07-08 > 14:57:59,547||140645833661768|DEBUG|connectionpool|urllib3.connectionpool: > [-] https://aaf-sms.onap:10443 "GET /v1/sms/domain/has/secret HTTP/1.1" > 200 63 > 2020-07-08 > 14:57:59,714||140645833661768|DEBUG|connectionpool|urllib3.connectionpool: > [-] https://aaf-sms.onap:10443 "GET /v1/sms/domain/has/secret/aaf_api > HTTP/1.1" 200 135 > 2020-07-08 > 14:57:59,729||140645833661768|DEBUG|connectionpool|urllib3.connectionpool: > [-] https://aaf-sms.onap:10443 "GET > /v1/sms/domain/has/secret/conductor_api HTTP/1.1" 200 77 > 2020-07-08 > 14:57:59,812||140645833661768|DEBUG|connectionpool|urllib3.connectionpool: > [-] https://aaf-sms.onap:10443 "GET /v1/sms/domain/has/secret/music_api > HTTP/1.1" 200 96 > 2020-07-08 > 14:57:59,914||140645833661768|DEBUG|connectionpool|urllib3.connectionpool: > [-] https://aaf-sms.onap:10443 "GET /v1/sms/domain/has/secret/sdnc > HTTP/1.1" 200 103 > 2020-07-08 14:57:59,915||140645833661768|DEBUG|sms|conductor.common.sms: > [-] Secret Dictionary Retrieval Success > 2020-07-08 14:57:59,915||140645833661768|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 104, in > load_secrets > config.set_override('username', secret_dict['aai']['username'], 'aai') > KeyError: 'aai' > > > > Can someone help me to troubleshoot this issue? > > Thanks, > Aniello Paolo Malinconico > ----------------------------------------------------------------- > *TIM* > *Aniello Paolo Malinconico* > Chief Innovation & Partnership Office > Technology Innovation > > *TIM S.p.A.* > Via G. Reiss Romoli, 274 – 10148 TORINO > email: aniellopaolo.malincon...@guest.telecomitalia.it > Tim Official: *Facebook* <https://www.facebook.com/TimOfficialPage> - > *Twitter* <https://twitter.com/tim_official> - *www.tim.it* > <http://www.tim.it/> > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21625): https://lists.onap.org/g/onap-discuss/message/21625 Mute This Topic: https://lists.onap.org/mt/75378990/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-