++ openstack service list -f csv --quote none ++ grep ',manila,share$' ++ sed -e s/,manila,share//g + OS_SERVICE_ID=ceb87cc36b7f4ba2b35a16ad634a179a ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,manila,share,True,admin,' ++ awk -F , '{ print $1 }' Failure: Unable to establish connection to http://keystone-api.openstack.svc.cluster.local:5000/v3/services/a33e1279319c46a28a51d9e98709c978: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying in 0.5s. 1 retries left + 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 ceb87cc36b7f4ba2b35a16ad634a179a admin http://manila-api.openstack.svc.cluster.local:8786/v1 + OS_ENDPOINT_ID=8c9630f99092455087ecd0cca65751d5 + openstack endpoint show 8c9630f99092455087ecd0cca65751d5 +--------------+-------------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------------+ | enabled | True | | id | 8c9630f99092455087ecd0cca65751d5 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | ceb87cc36b7f4ba2b35a16ad634a179a | | url | http://manila-api.openstack.svc.cluster.local:8786/v1 | | service_name | manila | | service_type | share | +--------------+-------------------------------------------------------+