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