Hi Sylvain, As discussed on weekly call yesterday regarding the OOM robot script failing issue, Could you please check and confirm the patch attached is one that needs to applied? And this is for which release? If this is not the one kindly point to the one we need here. Thanks
Best Regards, Himesh Shukla From: [email protected] <[email protected]> On Behalf Of Himesh Shukla via lists.onap.org Sent: Monday, April 27, 2020 11:49 PM To: FREEMAN, BRIAN D <[email protected]> Cc: [email protected]; [email protected] Subject: Re: [onap-discuss] #elalto #oom #robot [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] Yes Brian, In El Alto release, we have robot_properties.py in place of thevm_properties.py. As far as OOM repo is concerned, I took the git clone -b 5.0.1-ONAP http://gerrit.onap.org/r/oom --recurse-submodules. And I haven’t used an override.yaml for deployment. I have used onap-all.yaml and openstack in place of an override.yaml for deployment of ONAP components. Best Regards, Himesh Shukla From: FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>> Sent: Monday, April 27, 2020 9:35 PM To: Himesh Shukla <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] #elalto #oom #robot [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] Somehow you have the Dublin vm_proeprties.py instead of the elalto robot_properties.py or at least that is what I think. In Dublin the oom/Kubernetes/robot …./resources/config/vm_properties.py 18 GLOBAL_INJECTED_AAI1_IP_ADDR = 'aai.{{include "common.namespace" .}}' 19 GLOBAL_INJECTED_AAI2_IP_ADDR = 'N/A' In elalto testsuite/oom/..reousrces/config/robot_proeprties.py 16 GLOBAL_INJECTED_AAI_IP_ADDR = 'aai.{{include "common.namespace" .}}' So if you are seeing AAI1 in the scrtips in the container then you are pulling the dublin image of robot for some reason. Not sure how you could get Dublin testsuite/robot image - did you do the “git clone –recurse-submodule -b 3.0.2-ONAP http://gerrit.onap.org/r/oom<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgerrit.onap.org%2Fr%2Foom&data=02%7C01%7Chimesh.s%40hcl.com%7C6dde6539f7914ac0cf7e08d7ead78944%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637236083775652233&sdata=qWrZjMifJHf5cm1UgOX%2B%2B87jVxoPd16Xq3yan2xKr6s%3D&reserved=0>” so that the robot charts are from the testsuite.oom repo ? are you using an override file that is using Dublin image reference for robot by mistake ? Brian From: Himesh Shukla <[email protected]<mailto:[email protected]>> Sent: Monday, April 27, 2020 11:50 AM To: FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] #elalto #oom #robot That’s correct Brian. The demo-k8s.sh file had this /share/config/robot_properties.py entry initially to look for file in demo script. And I was continued getting the below mentioned issue with that settings. I believe that /share/config is read only, So, I copied the file somewhere to /var/opt/ONAP/robot_properties.py' to triage on this issue with all the verified variables and updated this path in demo-k8s.sh script and trying executing the demo script. Do you think that could be a problem? Best Regards, Himesh Shukla From: FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>> Sent: Monday, April 27, 2020 9:00 PM To: [email protected]<mailto:[email protected]>; Himesh Shukla <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] #elalto #oom #robot [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] + VARIABLEFILES='-V /var/opt/ONAP/robot_properties.py' Shouldn’t that be /share/config/robot_properties.py ? Kubectl exec into the robot container and make sure the file is where you think it should be. Brian From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of Himesh Shukla Sent: Monday, April 27, 2020 11:16 AM To: [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] #elalto #oom #robot Thanks Morgan for prompt response. So, On re-checking my robot configmap, I do see the AAI variables and other expected variables in robot configmap. [ ubuntu@onap-elalto-controller-1:~/oom/kubernetes/robot$ kubectl describe configmap apr17-robot-robot-eteshare-configmap -n onap Name: apr17-robot-robot-eteshare-configmap Namespace: onap Labels: app=robot chart=robot-5.0.0 heritage=Tiller release=apr17-robot Annotations: <none> Data ==== robot_properties.py: ---- # Copyright (c) 2018 Amdocs, Bell Canada, and others # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__apc01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttp-2D3A-5F-5Fwww.apache.org-5Flicenses-5FLICENSE-2D2D2.0-2526d-253DDwQFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253Dw9jrlViMu2vjLA5MIjag7oPyxWT80GET9r4LGFSCax8-2526s-253D7bjcWAYRZdJ63QAV0AC2uJWqkggX3oAXaawPCaeXF6M-2526e-253D-26data-3D02-257C01-257Chimesh.s-2540hcl.com-257C28de68681d9440058f5d08d7eabfeb46-257C189de737c93a4f5a8b686f4ca9941912-257C0-257C0-257C637235982337658463-26sdata-3D6teDRC-252BR7ZxlxaMe4KxI8BKuFZHFEuMSPUsZU6ZfV5U-253D-26reserved-3D0%26d%3DDwMGaQ%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DgI0vd9HbHYvTA5lnW1NxORByvyPqNCHq0VMXilOkmEk%26s%3DKoFCD-gZKXdq5dt_KLLxLI6q-wVgUfhXNFeFwxoEzC8%26e%3D&data=02%7C01%7Chimesh.s%40hcl.com%7C6dde6539f7914ac0cf7e08d7ead78944%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637236083775662231&sdata=zVATBNJUeowo1B2Nt6thixPrKZYun2Y0dpxtYltoh%2FE%3D&reserved=0> # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. GLOBAL_INJECTED_AAF_IP_ADDR = 'aaf-service.onap' GLOBAL_INJECTED_AAI_IP_ADDR = 'aai.onap' GLOBAL_INJECTED_APPC_IP_ADDR = 'appc.onap' GLOBAL_INJECTED_APPC_CDT_IP_ADDR = 'appc-cdt.onap' GLOBAL_INJECTED_ARTIFACTS_VERSION = '1.4.0-SNAPSHOT' . .. … ] Best Regards, Himesh Shukla From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> Sent: Monday, April 27, 2020 8:24 PM To: [email protected]<mailto:[email protected]>; Himesh Shukla <[email protected]<mailto:[email protected]>> Subject: RE:[onap-discuss] #elalto #oom #robot [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] 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]<mailto:[email protected]> [[email protected]] de la part de Himesh Shukla [[email protected]] Envoyé : lundi 27 avril 2020 16:14 À : [email protected]<mailto:[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<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__apc01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fapc01.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Fdocs.onap.org-2D252Fen-2D252Felalto-2D252Fsubmodules-2D252Foom.git-2D252Fdocs-2D252Foom-2D5Fquickstart-2D5Fguide.html-2D26data-2D3D02-2D257C01-2D257Chimesh.s-2D2540hcl.com-2D257Cd437792149b44e4e679708d7eabac8ff-2D257C189de737c93a4f5a8b686f4ca9941912-2D257C0-2D257C0-2D257C637235960280679030-2D26sdata-2D3DCYWIE0lcJUbYacWfy8V-2D252Bjuq7wqEqxxrEByTmobSSZLc-2D253D-2D26reserved-2D3D0-2526d-253DDwMFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253Dw9jrlViMu2vjLA5MIjag7oPyxWT80GET9r4LGFSCax8-2526s-253D27A-2DQDhTdHIRBhPMb-2DkOypFs2zaJF70OQBHbkpd9XV4-2526e-253D-26data-3D02-257C01-257Chimesh.s-2540hcl.com-257C28de68681d9440058f5d08d7eabfeb46-257C189de737c93a4f5a8b686f4ca9941912-257C0-257C0-257C637235982337668456-26sdata-3DUDrViOiLov4NGblZDLUqKKWGX-252FqJToG06Y-252B25hC19oc-253D-26reserved-3D0%26d%3DDwMGaQ%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DgI0vd9HbHYvTA5lnW1NxORByvyPqNCHq0VMXilOkmEk%26s%3DMTemOVHCplvaDOQPBcdNOK8xhiM7XN8SNPW-1wDDHvM%26e%3D&data=02%7C01%7Chimesh.s%40hcl.com%7C6dde6539f7914ac0cf7e08d7ead78944%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637236083775662231&sdata=GLWoXpddUPOCSG9qTpHp2mxr2I%2BWBcMpPVqLWFeBR5s%3D&reserved=0> 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<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__apc01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fapc01.safelinks.protection.outlook.com-5F-2D3Furl-2D3Dhttps-2D253A-2D252F-2D252Fwiki.onap.org-2D252Fpages-2D252Fviewpage.action-2D253FpageId-2D253D71832134-2D26data-2D3D02-2D257C01-2D257Chimesh.s-2D2540hcl.com-2D257Cd437792149b44e4e679708d7eabac8ff-2D257C189de737c93a4f5a8b686f4ca9941912-2D257C0-2D257C0-2D257C637235960280684020-2D26sdata-2D3DqChaBrZD3Pyd6RodTU-2D252B5lsP8kZJb1cyO-2D252FnqZ2BGQb4A-2D253D-2D26reserved-2D3D0-2526d-253DDwMFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253Dw9jrlViMu2vjLA5MIjag7oPyxWT80GET9r4LGFSCax8-2526s-253DGEE8PE6vcI3M08-5FWRByB3Bk6wEqwOBQ-5FN-5FtQkQsnjvM-2526e-253D-26data-3D02-257C01-257Chimesh.s-2540hcl.com-257C28de68681d9440058f5d08d7eabfeb46-257C189de737c93a4f5a8b686f4ca9941912-257C0-257C0-257C637235982337668456-26sdata-3DNy6jFq-252Bv-252FR-252Bl2aYER0NraW3mMMRgP-252B-252BYPC70lTAGPjc-253D-26reserved-3D0%26d%3DDwMGaQ%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DgI0vd9HbHYvTA5lnW1NxORByvyPqNCHq0VMXilOkmEk%26s%3Dkb3Tm9zooirXsKSvtkKV21lqKAqjt8cGoX5cJJTeRVY%26e%3D&data=02%7C01%7Chimesh.s%40hcl.com%7C6dde6539f7914ac0cf7e08d7ead78944%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637236083775672221&sdata=JYahsaRlZBhHzt1Oh7l6DnHdk8yULMx8W4NgLxR965g%3D&reserved=0> 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. ::DISCLAIMER:: ________________________________ The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ________________________________ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20895): https://lists.onap.org/g/onap-discuss/message/20895 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]] -=-=-=-=-=-=-=-=-=-=-=-
aai-ssl-cert-patch-104514.tar.gz
Description: aai-ssl-cert-patch-104514.tar.gz
