Merge "Move rbd_default_features to ensure_resources"
This commit is contained in:
		@@ -51,12 +51,18 @@ class openstack_integration::ceph {
 | 
				
			|||||||
  class { '::ceph::profile::mon': }
 | 
					  class { '::ceph::profile::mon': }
 | 
				
			||||||
  class { '::ceph::profile::osd': }
 | 
					  class { '::ceph::profile::osd': }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # Needed until https://review.openstack.org/#/c/283359 lands
 | 
				
			||||||
 | 
					  $ceph_migration_config = {
 | 
				
			||||||
 | 
					    'client/rbd_default_features'         => { value => '15' },
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  ensure_resources(ceph_config, $ceph_migration_config)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Extra Ceph configuration to increase performances
 | 
					  # Extra Ceph configuration to increase performances
 | 
				
			||||||
  $ceph_extra_config = {
 | 
					  $ceph_extra_config = {
 | 
				
			||||||
    'client/rbd_default_features'         => { value => '15' },
 | 
					 | 
				
			||||||
    'global/osd_journal_size'             => { value => '100' },
 | 
					    'global/osd_journal_size'             => { value => '100' },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  class { '::ceph::conf':
 | 
					  class { '::ceph::conf':
 | 
				
			||||||
    args => $ceph_extra_config,
 | 
					    args => $ceph_extra_config,
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user