++ openstack service list -f csv --quote none ++ sed -e s/,cinderv3,volumev3//g ++ grep ',cinderv3,volumev3$' + OS_SERVICE_ID=ca15a1e540394e96b677dcf71006de51 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,cinderv3,volumev3,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 ca15a1e540394e96b677dcf71006de51 public 'https://volume.162-253-55-84.nip.io/v3/%(tenant_id)s' + OS_ENDPOINT_ID=a75e4a27249f410fb02376d319d8269f + openstack endpoint show a75e4a27249f410fb02376d319d8269f +--------------+------------------------------------------------------+ | Field | Value | +--------------+------------------------------------------------------+ | enabled | True | | id | a75e4a27249f410fb02376d319d8269f | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | ca15a1e540394e96b677dcf71006de51 | | service_name | cinderv3 | | service_type | volumev3 | | url | https://volume.162-253-55-84.nip.io/v3/%(tenant_id)s | +--------------+------------------------------------------------------+