1 heat_template_version: 2016-04-08
4 OpenStack Nova Compute service configured with Puppet
9 description: Mapping of service endpoint -> protocol. Typically set
10 via parameter_defaults in the resource registry.
18 CinderEnableNfsBackend:
20 description: Whether to enable or not the NFS backend for Cinder
22 CinderEnableRbdBackend:
24 description: Whether to enable or not the Rbd backend for Cinder
28 description: Whether to enable or not the Rbd backend for Nova
30 NovaComputeLibvirtVifDriver:
32 description: Libvirt VIF driver configuration for the network
37 type: ./nova-base.yaml
39 EndpointMap: {get_param: EndpointMap}
43 description: Role data for the Nova Compute service.
45 service_name: nova_compute
48 - get_attr: [NovaBase, role_data, config_settings]
49 - nova::compute::libvirt::manage_libvirt_services: false
50 # we manage migration in nova common puppet profile
51 nova::compute::libvirt::migration_support: false
52 tripleo::profile::base::nova::manage_migration: true
53 tripleo::profile::base::nova::nova_compute_enabled: true
54 nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
55 nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
56 tripleo::profile::base::nova::compute::cinder_nfs_backend: {get_param: CinderEnableNfsBackend}
57 rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
58 nova::compute::rbd::rbd_keyring:
62 - {get_param: CephClientUserName}
63 nova::compute::rbd::libvirt_rbd_secret_uuid: '"%{hiera(\"ceph::profile::params::fsid\")}"'
64 nova::compute::instance_usage_audit: true
65 nova::compute::instance_usage_audit_period: 'hour'
66 nova::compute::rbd::ephemeral_storage: {get_param: NovaEnableRbdBackend}
67 # TUNNELLED mode provides a security enhancement when using shared
68 # storage but is not supported when not using shared storage.
69 # See https://bugzilla.redhat.com/show_bug.cgi?id=1301986#c12
70 # In future versions of QEMU (2.6, mostly), danpb's native
71 # encryption work will obsolete the need to use TUNNELLED transport
73 nova::migration::live_migration_tunnelled: {get_param: NovaEnableRbdBackend}
74 # Changing the default from 512MB. The current templates can not deploy
75 # overclouds with swap. On an idle compute node, we see ~1024MB of RAM
76 # used. 2048 is suggested to account for other possible operations for
77 # example openvswitch.
78 nova::compute::reserved_host_memory: 2048
79 nova::compute::neutron::libvirt_vif_driver: {get_param: NovaComputeLibvirtVifDriver}
82 # TODO(emilien): figure how to deal with libvirt profile.
83 # We'll probably treat it like we do with Neutron plugins.
84 # Until then, just include it in the default nova-compute role.
85 include tripleo::profile::base::nova::compute::libvirt