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