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