++ openstack service list -f csv --quote none ++ sed -e s/,magnum,container-infra//g ++ grep ',magnum,container-infra$' + OS_SERVICE_ID=e63405c94f7d432db632053290b08b20 ++ 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 e63405c94f7d432db632053290b08b20 public https://container-infra.199-19-213-90.nip.io/v1 + OS_ENDPOINT_ID=9d6c2318ae5d4596a1908c13120077c0 + openstack endpoint show 9d6c2318ae5d4596a1908c13120077c0 +--------------+-------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------+ | enabled | True | | id | 9d6c2318ae5d4596a1908c13120077c0 | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | e63405c94f7d432db632053290b08b20 | | url | https://container-infra.199-19-213-90.nip.io/v1 | | service_name | magnum | | service_type | container-infra | +--------------+-------------------------------------------------+