++ openstack service list -f csv --quote none ++ grep ',cinderv3,volumev3$' ++ sed -e s/,cinderv3,volumev3//g + OS_SERVICE_ID=1365658419b84e06aea144e42e55569b ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,cinderv3,volumev3,True,public,' ++ awk -F , '{ print $1 }' + OS_ENDPOINT_ID=82b5db7cc8b44cd6b9ec4c8f8bbf5e32 ++ wc -w ++ echo 82b5db7cc8b44cd6b9ec4c8f8bbf5e32 + '[' 1 -gt 1 ']' + [[ -n 82b5db7cc8b44cd6b9ec4c8f8bbf5e32 ]] ++ openstack endpoint show 82b5db7cc8b44cd6b9ec4c8f8bbf5e32 -f value -c url Endpoints Match: no action required + OS_ENDPOINT_URL_CURRENT='https://volume.162-253-55-165.nip.io/v3/%(tenant_id)s' + '[' 'https://volume.162-253-55-165.nip.io/v3/%(tenant_id)s' == 'https://volume.162-253-55-165.nip.io/v3/%(tenant_id)s' ']' + echo 'Endpoints Match: no action required' + OS_ENDPOINT_UPDATE=False + [[ False == \T\r\u\e ]] + openstack endpoint show 82b5db7cc8b44cd6b9ec4c8f8bbf5e32 +--------------+-------------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------------+ | enabled | True | | id | 82b5db7cc8b44cd6b9ec4c8f8bbf5e32 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 1365658419b84e06aea144e42e55569b | | url | https://volume.162-253-55-165.nip.io/v3/%(tenant_id)s | | service_name | cinderv3 | | service_type | volumev3 | +--------------+-------------------------------------------------------+