Configure listen_address for libvirtd when TLS is enabled
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 23 Aug 2017 05:24:32 +0000 (08:24 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 23 Aug 2017 05:24:32 +0000 (08:24 +0300)
It wasn't being configured, and the default is to listen on all
interfaces. This fixes that.

Change-Id: I00da25474fb1544eabdedaf126e67d5a6617f02f
Closes-Bug: #1712475

puppet/services/nova-libvirt.yaml

index df9e88f..3f37cd9 100644 (file)
@@ -170,6 +170,8 @@ outputs:
               -
                 generate_service_certificates: true
                 tripleo::profile::base::nova::migration::client::libvirt_tls: true
+                nova::migration::libvirt::listen_address:
+                  get_param: [ServiceNetMap, NovaLibvirtNetwork]
                 nova::migration::libvirt::live_migration_inbound_addr:
                   str_replace:
                     template: