
Cinder sometimes needs to communicate with nova, for example to notify VMs when live-resizing a disk. Under certain circumstances, the autodetected authentication details don't work, so we must add a dedicated section in the config for the nova client with proper credentials. This issue has been observed on victoria and newer, hence the addition of cinder.conf for victoria. func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/776 Closes-Bug: #1939389 Co-authored-by: Samuel Walladge <samuel.walladge@canonical.com> Change-Id: I6d44223b7c2863c6d9c62b46a41275fd360f92d1
32 lines
759 B
Plaintext
32 lines
759 B
Plaintext
# Authentication type to load (string value)
|
|
auth_type = password
|
|
|
|
# Authentication URL (string value)
|
|
auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}
|
|
|
|
# Username (string value)
|
|
username = {{ admin_user }}
|
|
|
|
# User's password (string value)
|
|
password = {{ admin_password }}
|
|
|
|
# Project name to scope to (string value)
|
|
project_name = {{ admin_tenant_name }}
|
|
|
|
|
|
{% if admin_domain_name -%}
|
|
project_domain_name = {{ admin_domain_name }}
|
|
user_domain_name = {{ admin_domain_name }}
|
|
{% else -%}
|
|
project_domain_name = default
|
|
user_domain_name = default
|
|
{% endif -%}
|
|
|
|
{% if ca_cert_path -%}
|
|
# PEM encoded Certificate Authority to use when verifying
|
|
# HTTPs connections. (string value)
|
|
cafile = {{ ca_cert_path }}
|
|
{% endif -%}
|
|
|
|
region_name = {{ region }}
|