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