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