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