block-storage refactor for Pike and Chef 13
- deprecated postgresql support - dropped apt cookbook dependency - deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax - implemented foodcritic and cookstyle corrections - migrated cinder api to a Chef-managed config - deprecated cinder-group-active service, as it is no longer needed and gets in the way of functionality - added lvm cookbook dependency for better pv/vg handling Implements blueprint modern-chef Change-Id: Id248c9267af6750c871487bc8b577aa2011a782a
This commit is contained in:
@@ -22,6 +22,10 @@ describe 'openstack-block-storage::volume' do
|
||||
expect(chef_run).to upgrade_package 'qemu-utils'
|
||||
end
|
||||
|
||||
it 'upgrades thin provisioning tools package' do
|
||||
expect(chef_run).to upgrade_package 'thin-provisioning-tools'
|
||||
end
|
||||
|
||||
it 'starts cinder volume' do
|
||||
expect(chef_run).to start_service 'cinder-volume'
|
||||
end
|
||||
@@ -38,13 +42,6 @@ describe 'openstack-block-storage::volume' do
|
||||
expect(chef_run).to upgrade_package 'python-mysqldb'
|
||||
end
|
||||
|
||||
it 'upgrades postgresql python packages if explicitly told' do
|
||||
node.set['openstack']['db']['block-storage']['service_type'] = 'postgresql'
|
||||
|
||||
expect(chef_run).to upgrade_package 'python-psycopg2'
|
||||
expect(chef_run).not_to upgrade_package 'python-mysqldb'
|
||||
end
|
||||
|
||||
it 'upgrades cinder iscsi package' do
|
||||
expect(chef_run).to upgrade_package 'tgt'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user