Configure VNC Server listen address through t-h-t
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 1 Feb 2017 20:35:42 +0000 (22:35 +0200)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 1 Feb 2017 20:35:42 +0000 (22:35 +0200)
This adds an entry for libvirt (which is used by the VNC server) on
which we can tell it via t-h-t on which IP address to listen on.

Change-Id: Ie377c09734e9f6170daa519aed69c53fc67c366b
Related-Bug: #1660099

network/service_net_map.j2.yaml
puppet/services/nova-libvirt.yaml

index 390b18b..b2562c7 100644 (file)
@@ -49,6 +49,7 @@ parameters:
       NovaPlacementNetwork: internal_api
       NovaMetadataNetwork: internal_api
       NovaVncProxyNetwork: internal_api
+      NovaLibvirtNetwork: internal_api
       Ec2ApiNetwork: internal_api
       Ec2ApiMetadataNetwork: internal_api
       SwiftStorageNetwork: storage_mgmt
index a9b2b3f..faf1ae4 100644 (file)
@@ -62,6 +62,7 @@ outputs:
             nova::compute::libvirt::qemu::configure_qemu: true
             nova::compute::libvirt::qemu::max_files: 32768
             nova::compute::libvirt::qemu::max_processes: 131072
+            nova::compute::libvirt::vncserver_listen: {get_param: [ServiceNetMap, NovaLibvirtNetwork]}
             tripleo.nova_libvirt.firewall_rules:
               '200 nova_libvirt':
                 dport: