++ openstack service list -f csv --quote none ++ sed -e s/,magnum,container-infra//g ++ grep ',magnum,container-infra$' + OS_SERVICE_ID=b9c23c410b904d0e8323d040e044a59e ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,magnum,container-infra,True,public,' + 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 b9c23c410b904d0e8323d040e044a59e public https://container-infra.199-204-45-70.nip.io/v1 + OS_ENDPOINT_ID=33c83e7a43cf4cf4b75709f52d2c9c3e + openstack endpoint show 33c83e7a43cf4cf4b75709f52d2c9c3e +--------------+-------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------+ | enabled | True | | id | 33c83e7a43cf4cf4b75709f52d2c9c3e | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | b9c23c410b904d0e8323d040e044a59e | | url | https://container-infra.199-204-45-70.nip.io/v1 | | service_name | magnum | | service_type | container-infra | +--------------+-------------------------------------------------+