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