++ openstack service list -f csv --quote none ++ grep ',manilav2,sharev2$' ++ sed -e s/,manilav2,sharev2//g + OS_SERVICE_ID=5188fe205b6244679d85be9c6f210332 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,manilav2,sharev2,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 5188fe205b6244679d85be9c6f210332 public https://share.162-253-55-181.nip.io/v2 + OS_ENDPOINT_ID=b55f9c60bd9343709aca32b168d1aa48 + openstack endpoint show b55f9c60bd9343709aca32b168d1aa48 +--------------+----------------------------------------+ | Field | Value | +--------------+----------------------------------------+ | enabled | True | | id | b55f9c60bd9343709aca32b168d1aa48 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 5188fe205b6244679d85be9c6f210332 | | url | https://share.162-253-55-181.nip.io/v2 | | service_name | manilav2 | | service_type | sharev2 | +--------------+----------------------------------------+