File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 44keystone_settings = KeystoneHelper . keystone_settings ( node , @cookbook_name )
55register_auth_hash = { user : keystone_settings [ "admin_user" ] ,
66 password : keystone_settings [ "admin_password" ] ,
7- tenant : keystone_settings [ "admin_tenant" ] }
7+ domain : keystone_settings [ "admin_domain" ] ,
8+ project : keystone_settings [ "admin_project" ] }
89
910crowbar_pacemaker_sync_mark "wait-radosgw_register"
1011
2526 auth register_auth_hash
2627 user_name keystone_settings [ "service_user" ]
2728 user_password keystone_settings [ "service_password" ]
28- tenant_name keystone_settings [ "service_tenant" ]
29+ project_name keystone_settings [ "service_tenant" ]
2930 action :add_user
3031end
3132
3637 port keystone_settings [ "admin_port" ]
3738 auth register_auth_hash
3839 user_name keystone_settings [ "service_user" ]
39- tenant_name keystone_settings [ "service_tenant" ]
40+ project_name keystone_settings [ "service_tenant" ]
4041 role_name "admin"
4142 action :add_access
4243end
9192 endpoint_publicURL "#{ protocol } ://#{ public_host } :#{ port } /swift/v1"
9293 endpoint_adminURL "#{ protocol } ://#{ admin_host } :#{ port } /swift/v1"
9394 endpoint_internalURL "#{ protocol } ://#{ admin_host } :#{ port } /swift/v1"
94- action :add_endpoint_template
95+ action :add_endpoint
9596end
9697
9798crowbar_pacemaker_sync_mark "create-radosgw_register"
Original file line number Diff line number Diff line change 132132 <% unless node[:ceph][:keystone_instance].nil? || node[:ceph][:keystone_instance].empty? || @keystone_settings.empty? -%>
133133 rgw keystone url = <%= @keystone_settings['admin_auth_url'] %>
134134 rgw keystone admin user = <%= @keystone_settings['service_user'] %>
135- rgw keystone admin tenant = <%= @keystone_settings['service_tenant'] %>
135+ rgw keystone admin domain = <%= @keystone_settings['admin_domain'] %>
136+ rgw keystone admin project = <%= @keystone_settings['admin_project'] %>
136137 rgw keystone admin password = <%= @keystone_settings['service_password'] %>
137138<% if @keystone_settings['insecure'] -%>
138139 rgw keystone verify ssl = false
You can’t perform that action at this time.
0 commit comments