aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/check_os.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-05-02Add the choice of interface for keystoneclientLinda Wang1-24/+0
1. When functest is running on external host not jumpserver, keystoneclient is used to retrieve or create projects/tenants and users, which would fail to establish connection to the admin endpoint. 2. Keystoneclient will connect to the public endpoint by setting the env OS_INTERFACE to be public. 3. Remove the admin endpoint check in check_os.sh. JIRA: FUNCTEST-801 Change-Id: I324f5c8fdf61447319070a23f6b6bc6b1bbc1d48 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-04-13update check_os.sh admin port seds to match publicDan Radez1-2/+2
If there's not a / on the end of the admin url then port is not found public already handled this correctly. updating admin to match public JIRA: FUNCTEST-793 Change-Id: I01d654dfe247c6102a90ba7ea3921a9f15991789 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-13Support running on openstack which enabled httpshelenyao1-6/+23
JIRA: FUNCTEST-757 Change-Id: Ic87bee3020b9714bcd83105127440a9c1a7ff2ad Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-17Modifies check_os.sh to check services and cinder is optionalTim Rozet1-17/+46
This patch adds being able to detect if the service is enabled on the target openstack system prior to checking if the corresponding openstack command for that service works. It also makes cinder optional, and warns if that service is not up. We don't need cinder for every deployment type, for example: CSIT. Change-Id: I9556acabbd16f3b13f74b496812a5742b9000153 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-06Migrates more commands to openstack-pythonclient cmdsTim Rozet1-3/+3
Change-Id: I7be6a89d7b0fb7997ea05607d45e792e0ce57051 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-01-11[FUNCTEST] Correct right ip is used for public endpointNikolas Hermanns1-1/+1
At the moment it was done in a fishy way to grep for the public ip. This commit fixes it. Change-Id: If14488c18c67cd66e885a7376e1c50a3a28e17f7 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-11-24Extracted all global parameters into functest_constants.pyhelenyao1-0/+0
JIRA: FUNCTEST-533 1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly 2. Used os.path.join to replace '/' to come up with the path for better cross-platform support and improve the path accuracy 3. Removed unused variables 4. Updated the hardcoded path in Dockerfile by using variable reference 5. Removed "/" ending from all path variables 6. Updated the unit test Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-23Adapt check_os to OpenStack Newtonjose.lausuch1-1/+6
When printing the identity catalog using openstack catalog show identity, after the Fuel uplift, we noticed that it prints the line admin: http://192.168.0.2:35357/v2.0 Before it was adminURL: http://192.168.0.2:35357/v2.0 Change-Id: I6efc996040c6ff945c67b0f346bbad7f0a723428 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-10change path for python ci filesMorgan Richomme1-0/+90
JIRA: FUNCTEST-525 Change-Id: I6b09eaec55e42a3ee1474b21bc7ed87a71118e60 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>