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