diff options
| author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2020-07-28 08:44:55 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-07-30 15:45:58 -0400 |
| commit | 13fff861efce1e32bc19a375d81b2e36d9d394c4 (patch) | |
| tree | 21e5ec5441be0be55ca71611c049c7d0de27d267 /meta-openstack/recipes-devtools/python/python3-keystoneclient | |
| parent | ddfe1ab29a36032213eddeaa808aa1f05775a756 (diff) | |
| download | meta-cloud-services-13fff861efce1e32bc19a375d81b2e36d9d394c4.tar.gz | |
python3-keystoneclient: Change python to python3
Version updated to 3.13.1
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python3-keystoneclient')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python3-keystoneclient/keystone-api-check.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python3-keystoneclient/keystone-api-check.sh b/meta-openstack/recipes-devtools/python/python3-keystoneclient/keystone-api-check.sh new file mode 100644 index 0000000..aba6d5f --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-keystoneclient/keystone-api-check.sh | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #! /bin/bash | ||
| 2 | |||
| 3 | CMD="keystone endpoint-list" | ||
| 4 | |||
| 5 | data=$($CMD 2>&1) | ||
| 6 | res=$? | ||
| 7 | if [ ${res} -eq 127 ]; then | ||
| 8 | exit 0 | ||
| 9 | elif [ ${res} -ne 0 ]; then | ||
| 10 | echo "OpenStack \"keystone api\" failed: " | ||
| 11 | echo $data | ||
| 12 | exit $res | ||
| 13 | fi | ||
| 14 | exit 0 | ||
