(host='1.2.3.4', port=5000): You did not set the openstack url correctly using the values in your openstack.rc in either values.yaml or the override file.
https://docs.onap.org/en/elalto/submodules/oom.git/docs/oom_quickstart_guide.html Example Keystone v3 (required for Rocky and later releases) # KEYSTONE Version 3 Required for Rocky and beyond openStackKeystoneAPIVersion: "v3" # OS_AUTH_URL without the /v3 from the openstack .RC file openStackKeyStoneUrl: "http://10.12.25.2:5000" # OS_PROJECT_ID from the openstack .RC file openStackTenantId: "09d8566ea45e43aa974cf447ed591d77" # OS_USERNAME from the openstack .RC file openStackUserName: "OS_USERNAME_HERE" # OS_PROJECT_DOMAIN_ID from the openstack .RC file # in some environments it is a string but in other environmens it may be a numeric openStackDomainId: "default" # OS_USER_DOMAIN_NAME from the openstack .RC file openStackUserDomain: "Default" openStackProjectName: "OPENSTACK_PROJECT_NAME_HERE" ubuntu14Image: "ubuntu-14-04-cloud-amd64" ubuntu16Image: "ubuntu-16-04-cloud-amd64" openStackPublicNetId: "971040b2-7059-49dc-b220-4fab50cb2ad4" openStackPrivateNetId: "83c84b68-80be-4990-8d7f-0220e3c6e5c8" openStackPrivateSubnetId: "e571c1d1-8ac0-4744-9b40-c3218d0a53a0" openStackPrivateNetCidr: "10.0.0.0/16" openStackOamNetworkCidrPrefix: "10.0" openStackSecurityGroup: "bbe028dc-b64f-4f11-a10f-5c6d8d26dc89" dcaeCollectorIp: "10.12.6.109" vnfPubKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh" demoArtifactsVersion: "1.4.0" demoArtifactsRepoUrl: "https://nexus.onap.org/content/repositories/releases" scriptVersion: "1.4.0" rancherIpAddress: "10.12.6.160" config: # use the python utility to encrypt the OS_PASSWORD for the OS_USERNAME openStackEncryptedPasswordHere: "XXXXXXXXXXXXXXXXXXXXXXXX_OPENSTACK_PYTHON_PASSWORD_HERE_XXXXXXXXXXXXXXXX" openStackSoEncryptedPassword: "YYYYYYYYYYYYYYYYYYYYYYYY_OPENSTACK_JAVA_PASSWORD_HERE_YYYYYYYYYYYYYYYY" From: [email protected] <[email protected]> On Behalf Of [email protected] Sent: Tuesday, April 7, 2020 2:09 PM To: [email protected] Subject: [onap-discuss] ONAP Issue while running "./demo-k8s.sh onap init" (El Alto release) #robot Hi, I am following the link https://wiki.onap.org/display/DW/vFWCL+instantiation%2C+testing%2C+and+debuging<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_vFWCL-2Binstantiation-252C-2Btesting-252C-2Band-2Bdebuging&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=UrQBr6i6Bt0UkRt8durBkewFq4R1xRr1JuOh7-UNLtc&s=LyMxGoHFQ8ncxEixhpoS7z5sLPGIS_tcEqmXr7RQFBE&e=> -- to run the vFW demo but the script demo-k8s.sh is failing while executing it with init parameter. Please see the logs below for reference. Could you please suggest what is this host it is trying to connect to and failing while do so. We have deployed ONAP on kubernetes pods. Please do let me know if any other information is required here. root@ip-172-31-30-56:/home/ubuntu/oom/kubernetes/robot# ./demo-k8s.sh onap init Number of parameters: 2 KEY: init ++ grep robot ++ sed 's/ .*//' ++ kubectl --namespace onap get pods + POD=dev-robot-robot-767577869c-xg75p ++ dirname ./demo-k8s.sh + DIR=. + SCRIPTDIR=scripts/demoscript + ETEHOME=/var/opt/ONAP + '[' ']' ++ kubectl --namespace onap exec dev-robot-robot-767577869c-xg75p -- bash -c 'ls -1q /share/logs/ | wc -l' + export GLOBAL_BUILD_NUMBER=9 + GLOBAL_BUILD_NUMBER=9 ++ printf %04d 9 + OUTPUT_FOLDER=0009_demo_init + DISPLAY_NUM=99 + VARIABLEFILES='-V /share/config/robot_properties.py' + kubectl --namespace onap exec dev-robot-robot-767577869c-xg75p -- /var/opt/ONAP/runTags.sh -V /share/config/robot_properties.py -d /share/logs/0009_demo_init -i InitDemo --display 99 Starting Xvfb on display :99 with res 1280x1024x24 Executing robot tests at log level TRACE ============================================================================== Testsuites ============================================================================== Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu... ============================================================================== Initialize Customer And Models | FAIL | ConnectionError: HTTPConnectionPool(host='1.2.3.4', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f30ab8601d0>: Failed to establish a new connection: [Errno 110] Connection timed out',)) ------------------------------------------------------------------------------ Initialize SO Openstack Identity For V3 | PASS | ------------------------------------------------------------------------------ Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL | 2 critical tests, 1 passed, 1 failed 2 tests total, 1 passed, 1 failed ============================================================================== Testsuites | FAIL | 2 critical tests, 1 passed, 1 failed 2 tests total, 1 passed, 1 failed ============================================================================== Output: /share/logs/0009_demo_init/output.xml Log: /share/logs/0009_demo_init/log.html Report: /share/logs/0009_demo_init/report.html -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20570): https://lists.onap.org/g/onap-discuss/message/20570 Mute This Topic: https://lists.onap.org/mt/72868495/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]] -=-=-=-=-=-=-=-=-=-=-=-
