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:
lqslan
2015-01-21 17:23:21 +08:00
parent 2f788ab80f
commit 6ef4275296
5 changed files with 16 additions and 3 deletions

View File

@@ -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