1 heat_template_version: 2016-04-08
4 OpenStack Nova Compute service configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
27 CinderEnableNfsBackend:
29 description: Whether to enable or not the NFS backend for Cinder
31 CinderEnableRbdBackend:
33 description: Whether to enable or not the Rbd backend for Cinder
37 description: Whether to enable or not the Rbd backend for Nova
39 NovaComputeLibvirtVifDriver:
41 description: Libvirt VIF driver configuration for the network
45 A list or range of physical CPU cores to reserve for virtual machine
47 Ex. NovaVcpuPinSet: ['4-12','^8'] will reserve cores from 4-12 excluding 8
48 type: comma_delimited_list
52 type: ./nova-base.yaml
54 ServiceNetMap: {get_param: ServiceNetMap}
55 DefaultPasswords: {get_param: DefaultPasswords}
56 EndpointMap: {get_param: EndpointMap}
60 description: Role data for the Nova Compute service.
62 service_name: nova_compute
65 - get_attr: [NovaBase, role_data, config_settings]
66 - nova::compute::libvirt::manage_libvirt_services: false
67 nova::compute::vcpu_pin_set: {get_param: NovaVcpuPinSet}
68 # we manage migration in nova common puppet profile
69 nova::compute::libvirt::migration_support: false
70 tripleo::profile::base::nova::manage_migration: true
71 tripleo::profile::base::nova::nova_compute_enabled: true
72 nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
73 nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
74 tripleo::profile::base::nova::compute::cinder_nfs_backend: {get_param: CinderEnableNfsBackend}
75 rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
76 nova::compute::rbd::rbd_keyring:
80 - {get_param: CephClientUserName}
81 nova::compute::rbd::libvirt_rbd_secret_uuid: '"%{hiera(\"ceph::profile::params::fsid\")}"'
82 nova::compute::instance_usage_audit: true
83 nova::compute::instance_usage_audit_period: 'hour'
84 nova::compute::rbd::ephemeral_storage: {get_param: NovaEnableRbdBackend}
85 # TUNNELLED mode provides a security enhancement when using shared
86 # storage but is not supported when not using shared storage.
87 # See https://bugzilla.redhat.com/show_bug.cgi?id=1301986#c12
88 # In future versions of QEMU (2.6, mostly), danpb's native
89 # encryption work will obsolete the need to use TUNNELLED transport
91 nova::migration::live_migration_tunnelled: {get_param: NovaEnableRbdBackend}
92 # Changing the default from 512MB. The current templates can not deploy
93 # overclouds with swap. On an idle compute node, we see ~1024MB of RAM
94 # used. 2048 is suggested to account for other possible operations for
95 # example openvswitch.
96 nova::compute::reserved_host_memory: 2048
97 nova::compute::neutron::libvirt_vif_driver: {get_param: NovaComputeLibvirtVifDriver}
98 # NOTE: bind IP is found in Heat replacing the network name with the
99 # local node IP for the given network; replacement examples
100 # (eg. for internal_api):
102 # internal_api_uri -> [IP]
103 # internal_api_subnet - > IP/CIDR
104 nova::compute::vncserver_proxyclient_address: {get_param: [ServiceNetMap, NovaVncProxyNetwork]}
105 nova::compute::vncproxy_host: {get_param: [EndpointMap, NovaPublic, host]}
107 # TODO(emilien): figure how to deal with libvirt profile.
108 # We'll probably treat it like we do with Neutron plugins.
109 # Until then, just include it in the default nova-compute role.
110 include tripleo::profile::base::nova::compute::libvirt