++ openstack project show -f value -c id admin + OS_PROJECT_ID=01b4cd94bffd40019efb7ce92458b98a ++ openstack user show -f value -c id admin-RegionOne + OS_USER_ID=35bd99994fcf4f4daf7849c9aada5db4 ++ openstack user show -f value -c id --domain service heat-trustee-RegionOne + SERVICE_OS_TRUSTEE_ID=886aceac20dd4c849e0bfdcd110b2afb + grep '^01b4cd94bffd40019efb7ce92458b98a 886aceac20dd4c849e0bfdcd110b2afb 35bd99994fcf4f4daf7849c9aada5db4$' + openstack trust list -f value -c 'Project ID' -c 'Trustee User ID' -c 'Trustor User ID' + '[' -z '' ']' + readarray -t roles ++ openstack role assignment list -f value -c Role --user=admin-RegionOne --project=01b4cd94bffd40019efb7ce92458b98a ++ openstack trust create -f value -c id --project=admin --role=9315a7dd848448db95959d1711200334 --trustee-domain=service admin-RegionOne heat-trustee-RegionOne + SERVICE_OS_TRUST_ID=c83292af6083410db4c9b1840d34af8c + openstack trust show c83292af6083410db4c9b1840d34af8c +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Field | Value | +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | expires_at | None | | id | c83292af6083410db4c9b1840d34af8c | | is_impersonation | False | | project_id | 01b4cd94bffd40019efb7ce92458b98a | | redelegated_trust_id | None | | redelegation_count | 0 | | remaining_uses | None | | roles | [{'id': '9315a7dd848448db95959d1711200334', 'name': 'admin', 'domain_id': None, 'description': None, 'options': {'immutable': True}, 'links': {'self': 'http://keystone-api.openstack.svc.cluster.local:5000/v3/roles/9315a7dd848448db95959d1711200334'}}] | | trustee_user_id | 886aceac20dd4c849e0bfdcd110b2afb | | trustor_user_id | 35bd99994fcf4f4daf7849c9aada5db4 | +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+