++ openstack service list -f csv --quote none ++ grep ',nova,compute$' ++ sed -e s/,nova,compute//g + OS_SERVICE_ID=d9508f2ea02448e0956e153605782da9 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,nova,compute,True,admin,' ++ 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 d9508f2ea02448e0956e153605782da9 admin http://nova-api.openstack.svc.cluster.local:8774/v2.1 + OS_ENDPOINT_ID=f571a82ac65049e5b672666574690027 + openstack endpoint show f571a82ac65049e5b672666574690027 +--------------+-------------------------------------------------------+ | Field | Value | +--------------+-------------------------------------------------------+ | enabled | True | | id | f571a82ac65049e5b672666574690027 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | d9508f2ea02448e0956e153605782da9 | | service_name | nova | | service_type | compute | | url | http://nova-api.openstack.svc.cluster.local:8774/v2.1 | +--------------+-------------------------------------------------------+