++ openstack service list -f csv --quote none ++ grep ',manila,share$' ++ sed -e s/,manila,share//g + OS_SERVICE_ID=a2074df05c004ba9b0ca0d84e8c60ed3 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,manila,share,True,admin,' ++ 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 a2074df05c004ba9b0ca0d84e8c60ed3 admin http://manila-api.openstack.svc.cluster.local:8786/v1 + OS_ENDPOINT_ID=00f6cb517b02491ca930df7f06d181a0 + openstack endpoint show 00f6cb517b02491ca930df7f06d181a0 +--------------+-------------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------------+ | enabled | True | | id | 00f6cb517b02491ca930df7f06d181a0 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | a2074df05c004ba9b0ca0d84e8c60ed3 | | url | http://manila-api.openstack.svc.cluster.local:8786/v1 | | service_name | manila | | service_type | share | +--------------+-------------------------------------------------------+