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