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