Merge pull request #35979 from ivancich/wip-fix-orphan-list-teuthology

rgw: orphan list teuthology test & fully-qualified domain issue

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
This commit is contained in:
J. Eric Ivancich 2020-07-08 16:15:46 -04:00 committed by GitHub
commit 78c357a005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,13 @@ awscli_dir=${HOME}/awscli_temp
export PATH=${PATH}:${awscli_dir}
rgw_host=$(hostname --fqdn)
if echo "$rgw_host" | grep -q '\.' ; then
:
else
host_domain=".front.sepia.ceph.com"
echo "WARNING: rgw hostname -- $rgw_host -- does not appear to be fully qualified; PUNTING and appending $host_domain"
rgw_host="${rgw_host}${host_domain}"
fi
rgw_port=80
echo "Fully Qualified Domain Name: $rgw_host"