Hi
it seems that you have a configuration issue :)
As mentioned in the robot trace
Variable '${AAI_FRONTEND_ENDPOINT}' not found.
You can check it by auditing your robot configmap (no more a volume with
files..different from Dublin and before)
The variable AAI_FRONTEND_ENDPOINT is built with the data retrieved from the
config map
${AAI_FRONTEND_ENDPOINT}
${GLOBAL_AAI_SERVER_PROTOCOL}://${GLOBAL_INJECTED_AAI_IP_ADDR}:${GLOBAL_AAI_SERVER_PORT}
If you look at your config map, you shall see some variables, if they are
missing, your variable will not be set and you will get the error.
kubectl describe cm onap-robot-robot-eteshare-configmap -n onap |grep AAI
GLOBAL_INJECTED_AAI_IP_ADDR = 'aai.onap'
GLOBAL_INJECTED_POMBA_AAI_CONTEXT_BUILDER_IP_ADDR = 'pomba-aaictxbuilder.onap'
GLOBAL_AAI_SERVER_PROTOCOL = "https"
GLOBAL_AAI_SERVER_PORT = "8443"
GLOBAL_AAI_USERNAME = '[email protected]'
GLOBAL_AAI_PASSWORD = 'demo123456!'
GLOBAL_AAI_AUTHENTICATION = [GLOBAL_AAI_USERNAME, GLOBAL_AAI_PASSWORD]
GLOBAL_POMBA_AAICONTEXTBUILDER_PORT = "9530"
/Morgan
________________________________
De : [email protected] [[email protected]] de la part de
Himesh Shukla [[email protected]]
Envoyé : lundi 27 avril 2020 16:14
À : [email protected]
Objet : [onap-discuss] #elalto #oom #robot
Hi Team,
We want to execute vFW/vLB use case demo on EL Alto ONAP release deployed using
RKE based cluster.yml and kubernetes based environment.
I have deployed all the pods as the steps mentioned as per the below Link:
https://docs.onap.org/en/elalto/submodules/oom.git/docs/oom_quickstart_guide.html
Now, As part of E2E vFW use case – Installation steps, We have followed the
below link:
https://wiki.onap.org/pages/viewpage.action?pageId=71832134
Issue: demo-k8s.sh and Robot health check are failing in El Alto Release. (It
used to work fine in Dublin Release)
Health check fails for 57 out of 61 test cases and demo script also fails on
execution.
root@onap-elalto-controller-1:~/oom/kubernetes/robot# ./demo-k8s.sh onap
init_customer
Number of parameters:
2
KEY:
init_customer
++ kubectl --namespace onap get pods
++ sed 's/ .*//'
++ grep robot
+ POD=apr17-robot-robot-7c795bdb9d-qz68m
++ dirname ./demo-k8s.sh
+ DIR=.
+ SCRIPTDIR=scripts/demoscript
+ ETEHOME=/var/opt/ONAP
+ '[' ']'
++ kubectl --namespace onap exec apr17-robot-robot-7c795bdb9d-qz68m -- bash -c
'ls -1q /share/logs/ | wc -l'
+ export GLOBAL_BUILD_NUMBER=1
+ GLOBAL_BUILD_NUMBER=1
++ printf %04d 1
+ OUTPUT_FOLDER=0001_demo_init_customer
+ DISPLAY_NUM=91
+ VARIABLEFILES='-V /var/opt/ONAP/robot_properties.py'
+ kubectl --namespace onap exec apr17-robot-robot-7c795bdb9d-qz68m --
/var/opt/ONAP/runTags.sh -V /var/opt/ONAP/robot_properties.py -d
/share/logs/0001_demo_init_customer -i InitCustomer --display 91
Starting Xvfb on display :91 with res 1280x1024x24
Executing robot tests at log level TRACE
==============================================================================
Testsuites
==============================================================================
Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu...
==============================================================================
Initialize Customer | FAIL |
Variable '${AAI_FRONTEND_ENDPOINT}' not found.
------------------------------------------------------------------------------
Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Testsuites | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output: /share/logs/0001_demo_init_customer/output.xml
Log: /share/logs/0001_demo_init_customer/log.html
Report: /share/logs/0001_demo_init_customer/report.html
On troubleshooting above error,
Fisrt thing robo_properties.py file is not in the path mentioned in the
demo-k8s.sh script (+ VARIABLEFILES='-V /var/opt/ONAP/robot_properties.py') – I
had to copy this file here.
Then, the robot_properties.py files which gets all the dynamic variables was
incorrect under the robot vm file
/var/opt/ONAP/robot/resources/aai/aai_interface.robot.
The variable GLOBAL_INJECTED_AAI1_IP_ADDR is incorrect. The robot_properties.py
has the GLOBAL_INJECTED_AAI1_IP_ADDR variable without ‘1’ – on updating this,
the error resolves and moves to some other variables as below.
Similarly, got the issue for vid IP address varaible – on updating the variable
under /var/opt/ONAP/robot/resources/vid/vid_interface.robot resolves and moves
to another.
==============================================================================
Initialize Customer | FAIL |
Variable '${ GLOBAL_INJECTED_VID_IP_ADDR }' not found.
------------------------------------------------------------------------------
Openstack encrypted password – (which has been verfied )
==============================================================================
Initialize Customer | FAIL |
Variable '${GLOBAL_INJECTED_OPENSTACK_API_KEY}' not found.
------------------------------------------------------------------------------
Then the below:
==============================================================================
Initialize Customer | FAIL |
'403' does not match '^(201|200)$'
------------------------------------------------------------------------------
This seems continues for some or the other GLOBAL_INJECTED variables. These
things never happened in Dublin release.
Have gone through the previous community emails/discussions related to this
issue. But it didn’t helped me much to resolve it.
Any assistance/guidance to resolve it, will be much appreciated.
Thanks in advance !
Best Regards,
Himesh Shukla
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20854): https://lists.onap.org/g/onap-discuss/message/20854
Mute This Topic: https://lists.onap.org/mt/73304689/21656
Mute #oom: https://lists.onap.org/mk?hashtag=oom&subid=2740164
Mute #robot: https://lists.onap.org/mk?hashtag=robot&subid=2740164
Mute #elalto: https://lists.onap.org/mk?hashtag=elalto&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-