summaryrefslogtreecommitdiffstats
path: root/puppet/hieradata
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2014-12-19 21:48:45 -0500
committerDan Prince <dprince@redhat.com>2015-01-08 09:52:50 -0500
commit9cf11371ac3a99648e21518059bfa310655769e0 (patch)
tree2683d1bf3d564626c7e604be29e8f40a08dfea10 /puppet/hieradata
parente38535b528e3a611d5fe623b3e0212b88c48395e (diff)
Puppet: overcloud controller config
This patch provides an alternate implementation of the OS::TripleO::Controller::SoftwareConfig which uses Puppet to drive the configuration. Using this it is possible to create a fully functional overcloud controller instance which has the controller node configured via Puppet stackforge modules. Initially this includes only the following services: MySQL RabbitMQ Keepalived/HAProxy (HA is not yet fully supported however) Nova Neutron Keystone Glance (file backend) Cinder Using these services it is possible to run devtest_overcloud.sh to completion. The idea is that we can quickly add more services once we have CI in place. In order to test this you'll want to build your images with these elements: os-net-config heat-config-puppet puppet-modules hiera None of the OpenStack specific TripleO elements should be used with this approach (the nova/neutron elements were NOT used to build the controller image). Also, rather than use neutron-openvswitch-agent to configure low level networking it is recommended that os-net-config by configured directly via heat modeling rather than parameter passing to init-neutron-ovs. This allows us to configure the physical network while avoiding the coupling to the neutron-openvswitch-element that our standard parameter driven networking currently uses. (We still need to move init-neutron-ovs so that it isn't coupled and/or deprecate its use entirely because the heat drive stuff is more flexible.) Packages may optionally be pre-installed via DIB using the -p option (-p openstack-neutron,openstack-nova) etc. Change-Id: If8462e4eacb08eced61a8b03fd7c3c4257e0b5b8
Diffstat (limited to 'puppet/hieradata')
-rw-r--r--puppet/hieradata/controller.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/puppet/hieradata/controller.yaml b/puppet/hieradata/controller.yaml
new file mode 100644
index 00000000..874d383b
--- /dev/null
+++ b/puppet/hieradata/controller.yaml
@@ -0,0 +1,43 @@
+# Hiera data here applies to all controller nodes
+nova::api::enabled: true
+nova::conductor::enabled: true
+nova::consoleauth::enabled: true
+nova::vncproxy::enabled: true
+nova::scheduler::enabled: true
+
+rabbitmq::delete_guest_user: false
+rabbitmq::wipe_db_on_cookie_change: true
+rabbitmq::port: '5672'
+rabbitmq::package_source: undef
+rabbitmq::repos_ensure: false
+
+# service tenant
+nova::api::admin_tenant_name: 'service'
+glance::api::keystone_tenant: 'service'
+glance::registry::keystone_tenant: 'service'
+neutron::server::auth_tenant: 'service'
+neutron::agents::metadata::auth_tenant: 'service'
+cinder::api::keystone_tenant: 'service'
+
+# glance
+glance::api::pipeline: 'keystone'
+glance::registry::pipeline: 'keystone'
+glance::registry::manage_service: true
+
+# neutron
+neutron::core_plugin: 'ml2'
+neutron::service_plugins:
+ - 'neutron.services.l3_router.l3_router_plugin.L3RouterPlugin'
+neutron::dhcp_agents_per_network: 2
+neutron::plugins::ml2::tunnel_id_ranges:
+ - '1:1000'
+neutron::server::sync_db: true
+
+# nova
+nova::notify_on_state_change: 'vm_and_task_state'
+nova::api::osapi_v3: true
+
+# cinder
+cinder::scheduler::scheduler_driver: cinder.scheduler.filter_scheduler.FilterScheduler
+
+mysql::server::manage_config_file: true