
As recently Nova merged commit https://review.openstack.org/#/c/124468/ which have switched to use Cinder v2 api, and cookbook will register Cinder v2 endpoint. So openrc file also need to be updated for cinder v2 support. Change-Id: I3bcd3ca95d5f65c33eb5ddfda611280785412549
17 lines
487 B
Plaintext
17 lines
487 B
Plaintext
<%= node['openstack']['common']['custom_template_banner'] %>
|
|
|
|
# COMMON OPENSTACK ENVS
|
|
export OS_USERNAME=<%= @user %>
|
|
export OS_PASSWORD=<%= @password %>
|
|
export OS_TENANT_NAME=<%= @tenant %>
|
|
export OS_AUTH_URL=<%= @identity_endpoint %>
|
|
export OS_REGION_NAME=<%= node['openstack']['region'] %>
|
|
export OS_VOLUME_API_VERSION=<%= @volume_api_version %>
|
|
|
|
<% if node['openstack']['misc_openrc'] %>
|
|
# Misc options
|
|
<% node['openstack']['misc_openrc'].each do |m| %>
|
|
<%= m %>
|
|
<% end %>
|
|
<% end %>
|