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