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