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