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