
This commit adds a puppet class to update the actual compute code for volume management to use attach-dish instead of attach-volume. https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/996840
29 lines
767 B
Puppet
29 lines
767 B
Puppet
#
|
|
# This is a temporary manifest that patches
|
|
# nova compute to resolve the folowing issue:
|
|
# https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/996840
|
|
#
|
|
# This is only intended as a temporary fix and needs to be removed
|
|
# once the issue is resolved with upstream.
|
|
#
|
|
class nova::compute::file_hack() {
|
|
|
|
# this only works on Ubunty
|
|
|
|
File {
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '755',
|
|
require => Package['nova-compute'],
|
|
notify => Service['nova-compute'],
|
|
}
|
|
|
|
file { '/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py':
|
|
source => 'puppet:///modules/nova/connection.py',
|
|
}
|
|
|
|
file { '/usr/lib/python2.7/dist-packages/nova/rootwrap/compute.py':
|
|
source => 'puppet:///modules/nova/compute.py',
|
|
}
|
|
}
|