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.
21 type: ./nova-base.yaml
23 EndpointMap: {get_param: EndpointMap}
27 description: Role data for the Nova Compute service.
29 service_name: nova-compute
32 - get_attr: [NovaBase, role_data, config_settings]
33 - nova::compute::libvirt::manage_libvirt_services: false
34 # we manage migration in nova common puppet profile
35 nova::compute::libvirt::migration_support: false
36 tripleo::profile::base::nova::manage_migration: true
37 tripleo::profile::base::nova::nova_compute_enabled: true
38 nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
39 nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
40 nova::compute::rbd::rbd_keyring:
44 - {get_param: CephClientUserName}
45 nova::compute::rbd::libvirt_rbd_secret_uuid: '"%{hiera(\"ceph::profile::params::fsid\")}"'
46 nova::compute::instance_usage_audit: true
47 nova::compute::instance_usage_audit_period: 'hour'
48 # Changing the default from 512MB. The current templates can not deploy
49 # overclouds with swap. On an idle compute node, we see ~1024MB of RAM
50 # used. 2048 is suggested to account for other possible operations for
51 # example openvswitch.
52 nova::compute::reserved_host_memory: 2048
54 # TODO(emilien): figure how to deal with libvirt profile.
55 # We'll probably threat it like we do with Neutron plugins.
56 # Until then, just include it in the default nova-compute role.
57 include tripleo::profile::base::nova::compute::libvirt