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