Pass tenant_name to zuul config.
Turns out that while keystoneclient does not require a tenant_name be set swiftclient does require it so the fix to not pass a tenant_name to zuul did not work. Alex_Gaynor pointed out the reason using the normal tenant_name doesn't work with Rax object store is that the tenant_name for object store in Rax is different than the normal tenant_name. Use that different and correct tenant_name instead. Change-Id: I13d6b8dfc190d35178e7fc979d7feb58e7e1f8dd
This commit is contained in:
parent
77d09ef80e
commit
dd33ac2e10
@ -433,9 +433,7 @@ node 'zuul.openstack.org' {
|
||||
swift_authurl => 'https://identity.api.rackspacecloud.com/v2.0/',
|
||||
swift_user => 'infra-files-rw',
|
||||
swift_key => hiera('infra_files_rw_password'),
|
||||
# Yes, really unset the tenant name. Rax identity can't construct a
|
||||
# proper catalog when we provide the tenant here.
|
||||
swift_tenant_name => '',
|
||||
swift_tenant_name => hiera('infra_files_tenant_name'),
|
||||
swift_region_name => 'DFW',
|
||||
swift_default_container => 'infra-files',
|
||||
swift_default_logserver_prefix => 'http://logs.openstack.org/',
|
||||
|
@ -36,14 +36,7 @@ git_user_name=<%= git_name %>
|
||||
authurl=<%= swift_authurl %>
|
||||
user=<%= swift_user %>
|
||||
key=<%= swift_key %>
|
||||
<% if swift_tenant_name != "" -%>
|
||||
tenant_name=<%= swift_tenant_name %>
|
||||
<% else -%>
|
||||
# tenant_name is not provided here as some swift providers
|
||||
# do not have identity servers that work when tenant_name
|
||||
# is provided. You may set the tenant_name if necessary
|
||||
# but otherwise it is unset to accomodate these providers.
|
||||
<% end -%>
|
||||
region_name=<%= swift_region_name %>
|
||||
default_container=<%= swift_default_container %>
|
||||
default_logserver_prefix=<%= swift_default_logserver_prefix %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user