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