Allow guestfs section to be configured in nova.conf
Change-Id: I500ff9dcc324a2b8e637e3c2e36745dee2970372 Closes-Bug: #1453172
This commit is contained in:
parent
d3a29ed8c2
commit
a06c63ccff
|
@ -97,6 +97,9 @@ default['openstack']['compute']['network']['service_type'] = 'nova'
|
|||
# plugins from openstack-network
|
||||
default['openstack']['compute']['network']['plugins'] = ['openvswitch']
|
||||
|
||||
# Enable guestfs debug
|
||||
default['openstack']['compute']['guestfs']['debug'] = false
|
||||
|
||||
# rootwrap.conf
|
||||
default['openstack']['compute']['rootwrap']['filters_path'] = '/etc/nova/rootwrap.d,/usr/share/nova/rootwrap'
|
||||
default['openstack']['compute']['rootwrap']['exec_dirs'] = '/sbin,/usr/sbin,/bin,/usr/bin'
|
||||
|
|
|
@ -69,6 +69,10 @@ describe 'openstack-compute::nova-common' do
|
|||
)
|
||||
end
|
||||
|
||||
it 'has default set for guestfs debug' do
|
||||
expect(chef_run).to render_config_file(file.name).with_section_content('guestfs', /^debug=false$/)
|
||||
end
|
||||
|
||||
it 'has no rng_dev_path by default' do
|
||||
expect(chef_run).not_to render_config_file(file.name)\
|
||||
.with_section_content('libvirt', /^rng_dev_path=/)
|
||||
|
|
|
@ -299,6 +299,10 @@ osapi_compute_extension=<%= p %>
|
|||
<% end %>
|
||||
<% end %>
|
||||
|
||||
[guestfs]
|
||||
|
||||
# Enable guestfs debug
|
||||
debug=<%= node['openstack']['compute']['guestfs']['debug'] %>
|
||||
|
||||
[database]
|
||||
|
||||
|
|
Loading…
Reference in New Issue