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