From 2cb575f3311c67d295c7cd876c4c6d565c29f078 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Thu, 25 Oct 2012 17:52:43 -0700 Subject: [PATCH] Add code that sets up a test volume on the compute node for testing. --- manifests/site.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifests/site.pp b/manifests/site.pp index bbcacea..a858bfd 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -308,6 +308,13 @@ node /compute/ { # $vnc_proxy_addr = unique(query_nodes('Class[nova::vncproxy]', 'ipaddress_eth1')) # $glance_api_addr = unique(query_nodes('Class[glance::api]', 'ipaddress_eth1')) + # + # This is just for testing. It creates a loopback interface + # that can be mounted by cinder. In real deployments, you should + # partition your physical disks to have volume groups. + # + class { 'cinder::setup_test_volume': } -> Service<||> + class { 'openstack::compute': internal_address => $::ipaddress_eth1, libvirt_type => $libvirt_type,