Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions templates/nova.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ lock_path = {{ snap_common }}/lock
ovsdb_connection = {{ network.ovs_socket_path }}

[cinder]
service_type = volumev3
service_name = cinderv3
valid_interfaces = internal
catalog_info = volumev3::internalURL
Comment thread
hemanthnakkina marked this conversation as resolved.
region_name = {{ identity.region_name }}
{% if ca and ca.bundle -%}
cafile = {{ snap_common }}/etc/ssl/certs/receive-ca-bundle.pem
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_nova_clients_use_internal_interface():

assert "[cinder]" in output
assert "valid_interfaces = internal" in output
assert output.count("valid_interfaces = internal") == 2
assert output.count("valid_interfaces = internal") == 1
assert "[neutron]" in output
assert "[placement]" in output
assert "[barbican]" in output
Expand Down
Loading