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