Skip to content

Commit

Permalink
Merge pull request #225 from mansam/send-tenant-with-identity-service…
Browse files Browse the repository at this point in the history
…-requests

Send tenant with identity service requests
  • Loading branch information
aufi authored Feb 12, 2018
2 parents df2b8df + 6b3f609 commit c1cbd5f
Show file tree
Hide file tree
Showing 25 changed files with 32,915 additions and 38,102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,11 @@ def connect(options = {})
opts.delete(:auth_type)

unless tenant
tenant = "any_tenant" if service == "Identity"
tenant ||= default_tenant_name
end

unless service == "Identity"
opts[:openstack_tenant] = tenant
# For identity ,there is only domain scope, with project_name nil
opts[:openstack_project_name] = @project_name = tenant
end

opts[:openstack_tenant] = tenant
# For identity ,there is only domain scope, with project_name nil
opts[:openstack_project_name] = @project_name = tenant
opts[:openstack_project_domain_id] = domain
opts[:openstack_user_domain_id] = domain
opts[:openstack_region] = region
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,812 changes: 1,248 additions & 1,564 deletions spec/vcr_cassettes/manageiq/providers/openstack/cloud_manager/refresher_rhos_juno.yml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,948 changes: 1,306 additions & 1,642 deletions spec/vcr_cassettes/manageiq/providers/openstack/cloud_manager/refresher_rhos_kilo.yml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit c1cbd5f

Please sign in to comment.