Hi Tuan, 1) The step of “source $creds” is not essential for cli “functest env prepare”, because “functest env prepare” will try to fetch the overcloudrc automatically and source it before running check_os.sh.
2) Could you please delete the file “openstack.creds” first, and then rerun the cli “functest env prepare”. Please have a try and tell me if it still does not work. Thank you. Linda Wang 发件人: [email protected] [mailto:[email protected]] 代表 l??ng h?u tu?n 发送时间: 2017年5月8日 15:59 收件人: Jose Lausuch 抄送: [email protected] 主题: Re: [opnfv-tech-discuss] [Danube][Functest][Apex][Nosdn-nofeature-ha] Functest docker fails Hi Jose, Here is the error: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-135151d0-41e3-4f07-94b7-3e527b2de64c) It happens when functest tries to prepare env and then verify OpenStack services: 2017-05-08 07:46:10,415 - prepare_env - INFO - ============================================== 2017-05-08 07:46:10,415 - prepare_env - INFO - Verifying OpenStack services... 2017-05-08 07:46:10,425 - prepare_env - INFO - Checking OpenStack endpoints: The request you have made requires authentication. (HTTP 401) (Request-ID: req-99814475-3ca8-4c7e-a926-a5cc36ccb9b3) 2017-05-08 07:46:11,851 - prepare_env - INFO - >>Verifying connectivity to the public endpoint :... 2017-05-08 07:46:21,886 - prepare_env - ERROR - ERROR: Cannot talk to the public endpoint : . 2017-05-08 07:46:21,886 - prepare_env - ERROR - Problem while running 'check_os.sh'. Some other information: - Version: Danube 1.0 - INSTALLER_IP: <IP_OF_APEX_VM_ON_JUMPHOST> - INSTALLER_TYPE: apex - This test is run on docker that is running on Jumphost. Br, Tuan On Sun, May 7, 2017 at 3:32 PM, Jose Lausuch <[email protected]<mailto:[email protected]>> wrote: Hi, +Juha (Nokia) Sure, please provide that info and make sure you have connectivity from the jumphost to the admin (api) network of your Apex deployment. Thanks, Jose ________________________________ From: lương hữu tuấn <[email protected]<mailto:[email protected]>> Sent: May 7, 2017 15:20 To: Jose Lausuch Cc: [email protected]<mailto:[email protected]> Subject: Re: [opnfv-tech-discuss] [Danube][Functest][Apex][Nosdn-nofeature-ha] Functest docker fails Hi Jose, I will access to the lab tomorrow for more information, e.g. docker image tag, log file, etc. As i remember well, the error happens when running check_os.sh. I use the creds of overcloud, all the checks before check_os run well. It seemed like it failed when trying to authenticate with keystone through auth_url that is provided within overcloud creds. Br, Tuan/Nokia On Sun, May 7, 2017 at 1:02 PM, Jose Lausuch <[email protected]<mailto:[email protected]>> wrote: Hi Tuan, Are you using latest tag of the docker image? We are currently working on refactoring some code at the moment, so we can take action to solve that. Could you provide more console logs? In the meantime, you can use danube.1.0 instead of latest. Thanks, Jose From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of luong h?u tu?n Sent: Saturday, May 06, 2017 16:34 PM To: [email protected]<mailto:[email protected]> Subject: [opnfv-tech-discuss] [Danube][Functest][Apex][Nosdn-nofeature-ha] Functest docker fails Hi, When i run "functest prepare env" , it raises an error: The request you have made requires authentication. (HTTP 401) I source the $cred before that. Does any one know about this problem in functest. Br, Tuan/Nokia
_______________________________________________ opnfv-tech-discuss mailing list [email protected] https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
