++ grep ',cinderv3,volumev3$' ++ openstack service list -f csv --quote none ++ sed -e s/,cinderv3,volumev3//g + OS_SERVICE_ID=fbde9f868c60454c90f4476cdef38198 ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,cinderv3,volumev3,True,admin,' + 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 fbde9f868c60454c90f4476cdef38198 admin 'http://cinder-api.openstack.svc.cluster.local:8776/v3/%(tenant_id)s' + OS_ENDPOINT_ID=0a819497319843db89aaddbcbc9ea749 + openstack endpoint show 0a819497319843db89aaddbcbc9ea749 +--------------+---------------------------------------------------------------------+ | Field | Value | +--------------+---------------------------------------------------------------------+ | enabled | True | | id | 0a819497319843db89aaddbcbc9ea749 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | fbde9f868c60454c90f4476cdef38198 | | service_name | cinderv3 | | service_type | volumev3 | | url | http://cinder-api.openstack.svc.cluster.local:8776/v3/%(tenant_id)s | +--------------+---------------------------------------------------------------------+