++ openstack service list -f csv --quote none ++ grep ',glance,image$' ++ sed -e s/,glance,image//g Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + OS_SERVICE_ID=a45578d0d335416cb668c97028eff823 ++ openstack endpoint list -f csv --quote none ++ grep '^[a-z0-9]*,RegionOne,glance,image,True,admin,' ++ awk -F , '{ print $1 }' Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + 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 a45578d0d335416cb668c97028eff823 admin http://glance-api.openstack.svc.cluster.local:9292 Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' + OS_ENDPOINT_ID=ad5314d1e0124a699bea2aec0f159b34 + openstack endpoint show ad5314d1e0124a699bea2aec0f159b34 Could not load 'reservation_host_unset': module 'blazarclient.v1.shell_commands.hosts' has no attribute 'UnsetAttributeHost' +--------------+----------------------------------------------------+ | Field | Value | +--------------+----------------------------------------------------+ | enabled | True | | id | ad5314d1e0124a699bea2aec0f159b34 | | interface | admin | | region | RegionOne | | region_id | RegionOne | | service_id | a45578d0d335416cb668c97028eff823 | | url | http://glance-api.openstack.svc.cluster.local:9292 | | service_name | glance | | service_type | image | +--------------+----------------------------------------------------+