Please check if you openstack configuration are all correct. Specifically – Username, password, TenantId, vnfPubKey.
Regards, Kuldeep From: [email protected] <[email protected]> On Behalf Of skoksal via Lists.Onap.Org Sent: Wednesday, November 20, 2019 1:04 PM To: [email protected] Subject: [onap-discuss] ONAP Robot ./demo-k8s.sh onap init_customer Fails #robot Hi, I am trying to do E2E Automation vLB & vFW w/ CDS Use Case - ONAP-01-Installation-Required Component (El Alto). I deployed El Alto version of ONAP. I run the command "./demo-k8s.sh onap init_customer" and got the following error: root@k8s-m1:~/oom/kubernetes/robot# sudo ./demo-k8s.sh onap init_customer Number of parameters: 2 KEY: init_customer ++ kubectl --namespace onap get pods ++ grep robot ++ sed 's/ .*//' + POD=dev3-robot-robot-854688b9ff-vd72c ++ dirname ./demo-k8s.sh + DIR=. + SCRIPTDIR=scripts/demoscript + ETEHOME=/var/opt/ONAP + '[' ']' ++ kubectl --namespace onap exec dev3-robot-robot-854688b9ff-vd72c -- bash -c 'ls -1q /share/logs/ | wc -l' + export GLOBAL_BUILD_NUMBER=12 + GLOBAL_BUILD_NUMBER=12 ++ printf %04d 12 + OUTPUT_FOLDER=0012_demo_init_customer + DISPLAY_NUM=102 + VARIABLEFILES='-V /share/config/robot_properties.py' + kubectl --namespace onap exec dev3-robot-robot-854688b9ff-vd72c -- /var/opt/ONAP/runTags.sh -V /share/config/robot_properties.py -d /share/logs/0012_demo_init_customer -i InitCustomer --display 102 Starting Xvfb on display :102 with res 1280x1024x24 Executing robot tests at log level TRACE ============================================================================== Testsuites ============================================================================== Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu... ============================================================================== Initialize Customer | FAIL | '200 <= 401 < 300' should be true. ------------------------------------------------------------------------------ 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/0012_demo_init_customer/output.xml Log: /share/logs/0012_demo_init_customer/log.html Report: /share/logs/0012_demo_init_customer/report.html This is my robot part of my override.yaml while deploying ONAP: robot: enabled: true config: openStackEncryptedPasswordHere: 38bf98fdd312a1fa214a7655223a471d openStackFlavourMedium: m1.medium openStackKeystoneAPIVersion: v3 openStackKeyStoneUrl: https://xxxxxxxxx:13000 openStackPublicNetId: 1a33c923-37fb-405f-a5d2-4f3f6009b779 openStackPassword: xxx openStackRegion: regionOne openStackTenantId: c654a27a276f4c25b7c20f2daded681f openStackUserName: xxx ubuntu14Image: ubuntuonap1804new ubuntu16Image: ubuntu1604 openStackPrivateNetId: 182c09f5-04e0-4a4b-8830-e6cd5baeb62f openStackSecurityGroup: 44da3486-142a-4dd4-a8ab-edf428cb0230 openStackPrivateSubnetId: ab94627a-d932-412a-b645-0d65856efe6f openStackPrivateNetCidr: "172.17.100.0/24" vnfPubKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfE$ When look to the report.xml of this "./demo-k8s.sh onap init_customer" command, I found the error part. It seems to be HTTP 401 error. Related part in report is like following: <msg timestamp="20191120 10:21:56.643" level="DEBUG">Starting new HTTPS connection (1): xxxx:13000</msg> <msg timestamp="20191120 10:21:56.677" level="DEBUG">https://xxxxx:13000<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhvlcloud.5ghvl.local%3A13000%2F&data=02%7C01%7Ckuldeepsinghn%40hcl.com%7C0309d98ce60341330bd108d76d8c0561%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637098320472642023&sdata=yBhUuVbw%2Fmi6QCcXCNsr1eNmSI%2Fb0o0gxbWmrp%2BqEn4%3D&reserved=0> "POST /v3/auth/tokens HTTP/1.1" 401 114</msg> <msg timestamp="20191120 10:21:56.679" level="DEBUG">post response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}</msg> <msg timestamp="20191120 10:21:56.679" level="INFO">Post Request using : alias=keystone, uri=/v3/auth/tokens, data={ I would be happy if someone can help me about this issue. Thanks, ::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 (#19520): https://lists.onap.org/g/onap-discuss/message/19520 Mute This Topic: https://lists.onap.org/mt/60777059/21656 Mute #robot: https://lists.onap.org/mk?hashtag=robot&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
