From db70dbea0214bd4236fe00cbd5dbfa2d7a4e8f32 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Tue, 22 May 2012 10:04:14 -0700 Subject: [PATCH 1/4] Change verbose default to false This commit changes the default of verbose to false for openstack::all. --- manifests/all.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/all.pp b/manifests/all.pp index be7dfa8..38b901a 100644 --- a/manifests/all.pp +++ b/manifests/all.pp @@ -26,7 +26,7 @@ class openstack::all( $glance_db_password = 'glance_pass', $glance_user_password = 'glance_pass', # config - $verbose = true, + $verbose = false, $purge_nova_config = true, $libvirt_type = 'kvm' ) { From 83eccdfa7dea5830136f85cdcb87abfbbbc2b1e2 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Tue, 22 May 2012 10:05:11 -0700 Subject: [PATCH 2/4] Ensure that verbose is set for nova class Previously, the verbose option was not being passed to the nova class. This commit resolves the issue. --- manifests/all.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/all.pp b/manifests/all.pp index 38b901a..dd5bfc0 100644 --- a/manifests/all.pp +++ b/manifests/all.pp @@ -144,6 +144,7 @@ class openstack::all( rabbit_password => $rabbit_password, image_service => 'nova.image.glance.GlanceImageService', glance_api_servers => '127.0.0.1:9292', + verbose => $verbose, } class { 'nova::api': From 13f0c78b0cf3b62ce74bd8ee2107faba97c204a7 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Tue, 22 May 2012 10:10:10 -0700 Subject: [PATCH 3/4] Add nova::volume:iscsi class to nova::all This class adds nova::volume::iscsi to the nova::all class. This ensures that volumes can be managed --- manifests/all.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/all.pp b/manifests/all.pp index dd5bfc0..9f94d45 100644 --- a/manifests/all.pp +++ b/manifests/all.pp @@ -193,6 +193,10 @@ class openstack::all( vncserver_listen => '127.0.0.1', } + class { 'nova::volume::iscsi': + iscsi_ip_address => '127.0.0.1', + } + # nova::network::bridge { 'br100': # ip => '11.0.0.1', # netmask => '255.255.255.0', From 6e8f566cde37657b651ef96c4e50e19645b07cab Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Tue, 22 May 2012 10:11:05 -0700 Subject: [PATCH 4/4] Change fixed_range default to /24 Having the default set to /16 was causing issues on some versions of openstack that complained this range was too big. This commit decreases the size of the network being created. --- manifests/all.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/all.pp b/manifests/all.pp index 9f94d45..a3e670d 100644 --- a/manifests/all.pp +++ b/manifests/all.pp @@ -9,7 +9,7 @@ class openstack::all( $public_interface, $private_interface, $floating_range = false, - $fixed_range = '10.0.0.0/16', + $fixed_range = '10.0.0.0/24', $network_manager = 'nova.network.manager.FlatDHCPManager', $network_config = {}, # middleware credentials