Restore NoopQuotaDriver in child cell with CellsV1
It is still required to disable quota checking in child cells. Change-Id: Icf0dc0ad8040a54147fd03f790825760b2c1a3f3 Closes-bug: #1738035
This commit is contained in:
@@ -171,6 +171,7 @@ class nova::cells (
|
|||||||
nova_config { 'cells/cell_type': value => 'api' }
|
nova_config { 'cells/cell_type': value => 'api' }
|
||||||
}
|
}
|
||||||
'child': {
|
'child': {
|
||||||
|
nova_config { 'DEFAULT/quota_driver': value => 'nova.quota.NoopQuotaDriver' }
|
||||||
nova_config { 'cells/cell_type': value => 'compute' }
|
nova_config { 'cells/cell_type': value => 'compute' }
|
||||||
}
|
}
|
||||||
default: { fail("Unsupported cell_type parameter value: '${cell_type}'. Should be 'parent' or 'child'.") }
|
default: { fail("Unsupported cell_type parameter value: '${cell_type}'. Should be 'parent' or 'child'.") }
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Restore NoopQuotaDriver quota_driver in child cell with CellsV1
|
||||||
|
as it is still required to disable quota checking in child cells.
|
||||||
@@ -132,6 +132,7 @@ describe 'nova::cells' do
|
|||||||
end
|
end
|
||||||
it { is_expected.to contain_nova_config('cells/name').with_value(expected_params[:cell_name]) }
|
it { is_expected.to contain_nova_config('cells/name').with_value(expected_params[:cell_name]) }
|
||||||
it { is_expected.to contain_nova_config('cells/cell_type').with_value('compute')}
|
it { is_expected.to contain_nova_config('cells/cell_type').with_value('compute')}
|
||||||
|
it { is_expected.to contain_nova_config('DEFAULT/quota_driver').with_value('nova.quota.NoopQuotaDriver')}
|
||||||
it_configures 'nova-cells'
|
it_configures 'nova-cells'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user