Install qemu-img package for cinder-volume node
Currently the qemu-img package is not installed by default for a cinder-volume node. This causes cinder to fail when trying to create images using the qemu-img command. This patch will change the 'cinder_volume_packages' attribute to also install the qemu-img package for cinder-volume nodes. Change-Id: Idb923f3edfa39720178e498433d94e4e37a76f7d Closes-bug: #1413088
This commit is contained in:
@@ -19,6 +19,10 @@ describe 'openstack-block-storage::volume' do
|
||||
expect(chef_run).to upgrade_package 'cinder-volume'
|
||||
end
|
||||
|
||||
it 'upgrades qemu utils package' do
|
||||
expect(chef_run).to upgrade_package 'qemu-utils'
|
||||
end
|
||||
|
||||
it 'starts cinder volume' do
|
||||
expect(chef_run).to start_service 'cinder-volume'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user