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