++ openstack service list -f csv --quote none ++ grep ',cinderv3,volumev3$' ++ sed -e s/,cinderv3,volumev3//g + OS_SERVICE_ID=ac8c17b06dfc4f28a64163df8e24abd8 ++ 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 ac8c17b06dfc4f28a64163df8e24abd8 public 'https://volume.199-19-213-18.nip.io/v3/%(tenant_id)s' + OS_ENDPOINT_ID=97a55eeb65fd40f79ca176fc41710684 + openstack endpoint show 97a55eeb65fd40f79ca176fc41710684 +--------------+------------------------------------------------------+ | Field | Value | +--------------+------------------------------------------------------+ | enabled | True | | id | 97a55eeb65fd40f79ca176fc41710684 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | ac8c17b06dfc4f28a64163df8e24abd8 | | service_name | cinderv3 | | service_type | volumev3 | | url | https://volume.199-19-213-18.nip.io/v3/%(tenant_id)s | +--------------+------------------------------------------------------+