++ openstack service list -f csv --quote none ++ grep ',manila,share$' ++ sed -e s/,manila,share//g + OS_SERVICE_ID=774d22c09849438db80b23e769723437 ++ grep '^[a-z0-9]*,RegionOne,manila,share,True,admin,' ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' + OS_ENDPOINT_ID= ++ echo ++ wc -w + '[' 0 -gt 1 ']' + [[ -n '' ]] + OS_ENDPOINT_UPDATE=True + [[ True == \T\r\u\e ]] ++ openstack endpoint create -f value -c id --region=RegionOne 774d22c09849438db80b23e769723437 admin http://manila-api.openstack.svc.cluster.local:8786/v1 Failure: Unable to establish connection to http://keystone-api.openstack.svc.cluster.local:5000/v3/endpoints: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying in 0.5s. 1 retries left + OS_ENDPOINT_ID=314a99b10c1340f8ac131051810ffd54 + openstack endpoint show 314a99b10c1340f8ac131051810ffd54 +--------------+-------------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------------+ | enabled | True | | id | 314a99b10c1340f8ac131051810ffd54 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | 774d22c09849438db80b23e769723437 | | url | http://manila-api.openstack.svc.cluster.local:8786/v1 | | service_name | manila | | service_type | share | +--------------+-------------------------------------------------------+