Hi!

Can you please send the content of /root/openrc  in controller node so as 
content of ~/functest/conf/openstack.creds? Note that releng replaces original 
OS_AUTH_URL with keystone public endpoint:

if [ "$public_ip" != "" ]; then
    info "Exchanging keystone public IP in rc file to $public_ip"
    sed -i  "/OS_AUTH_URL/c\export OS_AUTH_URL=\'$public_ip'" $dest_path
fi

-Viktor

From: [email protected] 
[mailto:[email protected]] On Behalf Of joehuang
Sent: Friday, August 19, 2016 8:46 AM
To: [email protected]
Subject: [opnfv-tech-discuss] [Functest][Multisite] check_os.sh failed during 
openstack endpoint list


Hello, Functest and Multisite:



The CI job failed again and again at "OpenStack endpoint list" in check_os.sh. 
But if log into the Functest container, and "source 
~/functest/conf/openstack.creds" , then manually execute "OpenStack endpoint 
list", it succeeds.



Please help to find out why the check_os.sh failed.



================================================================



https://build.opnfv.org/ci/job/functest-fuel-virtual-suite-master/64/console



https://build.opnfv.org/ci/job/functest-fuel-virtual-suite-master/63/console



https://build.opnfv.org/ci/job/functest-fuel-virtual-suite-master/56/console



..............



Started by user m00133142<https://build.opnfv.org/ci/user/m00133142>

[EnvInject] - Loading node environment variables.

Building remotely on 
intel-virtual6<https://build.opnfv.org/ci/computer/intel-virtual6> 
(opnfv-sysinfo multisite ci-resource) in workspace 
/home/jenkins/opnfv/slave_root/workspace/functest-fuel-virtual-suite-master

Wiping out workspace first.

Cloning the remote Git repository

Cloning repository https://gerrit.opnfv.org/gerrit/functest

 > git init 
 > /home/jenkins/opnfv/slave_root/workspace/functest-fuel-virtual-suite-master 
 > # timeout=10

...............................

2016-08-19 05:11:47,270 - prepare_env - INFO - ######### Preparing Functest 
environment #########



2016-08-19 05:11:47,271 - prepare_env - INFO - 
==============================================

2016-08-19 05:11:47,271 - prepare_env - INFO - Checking environment variables...

2016-08-19 05:11:47,271 - prepare_env - INFO -     INSTALLER_TYPE=fuel

2016-08-19 05:11:47,271 - prepare_env - INFO -     INSTALLER_IP=10.20.0.2

2016-08-19 05:11:47,271 - prepare_env - INFO -     
DEPLOY_SCENARIO=os-odl_l2-multisite-ha

2016-08-19 05:11:47,271 - prepare_env - INFO -     CI_DEBUG=false

2016-08-19 05:11:47,271 - prepare_env - INFO -     NODE_NAME=intel-virtual6

2016-08-19 05:11:47,271 - prepare_env - INFO -     
BUILD_TAG=jenkins-functest-fuel-virtual-suite-master-64

2016-08-19 05:11:47,271 - prepare_env - INFO - 
==============================================

2016-08-19 05:11:47,271 - prepare_env - INFO - Creating needed directories...

2016-08-19 05:11:47,272 - prepare_env - INFO - 
==============================================

2016-08-19 05:11:47,272 - prepare_env - INFO - Fetching RC file...

2016-08-19 05:11:47,272 - prepare_env - INFO - RC file not provided. Fetching 
it from the installer...

fetch_os_creds.info: Verifying connectivity to 10.20.0.2...

fetch_os_creds.info: 10.20.0.2 is reachable!

fetch_os_creds.info: Fetching rc file from controller 10.20.0.3...

Warning: Permanently added '10.20.0.2' (ECDSA) to the list of known hosts.

Warning: Permanently added '10.20.0.3' (ECDSA) to the list of known hosts.

fetch_os_creds.info: Exchanging keystone public IP in rc file to 
http://172.16.0.3:5000/v2.0

2016-08-19 05:11:53,358 - prepare_env - INFO - Sourcing the OpenStack RC file...

2016-08-19 05:11:53,371 - prepare_env - INFO - 
==============================================

2016-08-19 05:11:53,371 - prepare_env - INFO - Verifying OpenStack services...

2016-08-19 05:11:53,378 - prepare_env - INFO - Checking OpenStack endpoints:

2016-08-19 05:11:53,386 - prepare_env - INFO - >>Verifying connectivity to the 
public endpoint 172.16.0.3:5000...

2016-08-19 05:11:53,393 - prepare_env - INFO -   ...OK

2016-08-19 05:11:54,520 - prepare_env - INFO - >>Verifying connectivity to the 
admin endpoint 192.168.0.2:35357...

2016-08-19 05:11:54,526 - prepare_env - INFO -   ...OK

2016-08-19 05:11:54,526 - prepare_env - INFO - Checking OpenStack basic 
services:

2016-08-19 05:11:54,530 - prepare_env - INFO - >>Checking openstack service...

2016-08-19 05:11:59,269 - prepare_env - ERROR - ERROR: Failed execution 
openstack endpoint list. The openstack does not seem to be working.

Problem while running 'check_os.sh'.

Build step 'Execute shell' marked build as failure

Finished: FAILURE
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to