remove all ceph related attributes and specs

Change-Id: I24b1a8f8e735e50de535e191cb6cfca489923c25
This commit is contained in:
Jan Klare 2018-04-05 16:30:31 +02:00
parent 6a083d4ab0
commit 607fd77784
No known key found for this signature in database
GPG Key ID: 1F8C347A7DC77FD2
3 changed files with 0 additions and 14 deletions

View File

@ -97,7 +97,6 @@ when 'rhel' # :pragma-foodcritic: ~FC024 - won't fix this
'cinder_backup_service' => 'openstack-cinder-backup', 'cinder_backup_service' => 'openstack-cinder-backup',
'cinder_iscsitarget_packages' => ['targetcli', 'dbus-python'], 'cinder_iscsitarget_packages' => ['targetcli', 'dbus-python'],
'cinder_iscsitarget_service' => 'target', 'cinder_iscsitarget_service' => 'target',
'cinder_ceph_packages' => ['python-ceph', 'ceph-common'],
'cinder_nfs_packages' => ['nfs-utils', 'nfs-utils-lib'], 'cinder_nfs_packages' => ['nfs-utils', 'nfs-utils-lib'],
'cinder_emc_packages' => ['pywbem'], 'cinder_emc_packages' => ['pywbem'],
'cinder_svc_packages' => ['sysfsutils'], 'cinder_svc_packages' => ['sysfsutils'],
@ -117,7 +116,6 @@ when 'debian'
'cinder_scheduler_service' => 'cinder-scheduler', 'cinder_scheduler_service' => 'cinder-scheduler',
'cinder_backup_packages' => ['cinder-backup'], 'cinder_backup_packages' => ['cinder-backup'],
'cinder_backup_service' => 'cinder-backup', 'cinder_backup_service' => 'cinder-backup',
'cinder_ceph_packages' => ['python-ceph', 'ceph-common'],
'cinder_iscsitarget_packages' => ['targetcli'], 'cinder_iscsitarget_packages' => ['targetcli'],
'cinder_iscsitarget_service' => 'tgt', 'cinder_iscsitarget_service' => 'tgt',
'cinder_nfs_packages' => ['nfs-common'], 'cinder_nfs_packages' => ['nfs-common'],

View File

@ -164,12 +164,6 @@ describe 'openstack-block-storage::cinder-common' do
end end
end end
context 'rbd attributes' do
before do
node.set['openstack']['block-storage']['volume']['driver'] = 'cinder.volume.drivers.rbd.RBDDriver'
end
end
context 'netapp ISCSI settings' do context 'netapp ISCSI settings' do
before do before do
node.set['openstack']['block-storage']['conf']['DEFAULT']['volume_driver'] = 'cinder.volume.drivers.netapp.NetAppISCSIDriver' node.set['openstack']['block-storage']['conf']['DEFAULT']['volume_driver'] = 'cinder.volume.drivers.netapp.NetAppISCSIDriver'

View File

@ -31,9 +31,6 @@ shared_context 'block-storage-stubs' do
allow_any_instance_of(Chef::Recipe).to receive(:get_password) allow_any_instance_of(Chef::Recipe).to receive(:get_password)
.with('db', anything) .with('db', anything)
.and_return('') .and_return('')
allow_any_instance_of(Chef::Recipe).to receive(:get_password)
.with('token', 'rbd_secret_uuid')
.and_return('b0ff3bba-e07b-49b1-beed-09a45552b1ad')
allow_any_instance_of(Chef::Recipe).to receive(:get_password) allow_any_instance_of(Chef::Recipe).to receive(:get_password)
.with('token', 'openstack_vmware_secret_name') .with('token', 'openstack_vmware_secret_name')
.and_return 'vmware_secret_name' .and_return 'vmware_secret_name'
@ -46,9 +43,6 @@ shared_context 'block-storage-stubs' do
allow_any_instance_of(Chef::Recipe).to receive(:get_password) allow_any_instance_of(Chef::Recipe).to receive(:get_password)
.with('service', 'openstack-block-storage') .with('service', 'openstack-block-storage')
.and_return('cinder-pass') .and_return('cinder-pass')
allow_any_instance_of(Chef::Recipe).to receive(:get_password)
.with('service', 'openstack_image_cephx_key')
.and_return('cephx-key')
allow_any_instance_of(Chef::Recipe).to receive(:get_password) allow_any_instance_of(Chef::Recipe).to receive(:get_password)
.with('user', 'admin') .with('user', 'admin')
.and_return('emc_test_pass') .and_return('emc_test_pass')