Revert "Fix nova notifications"

This reverts commit 6c8b6630b0.
This has been fixed in the 2012.2.2 nova packages
This commit is contained in:
François Charlier 2013-01-10 16:53:55 +01:00
parent c68a36d341
commit a9c8517710
2 changed files with 0 additions and 27 deletions

View File

@ -1,12 +0,0 @@
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -425,6 +425,9 @@ global_opts = [
'include: libvirt.LibvirtDriver, xenapi.XenAPIDriver, '
'fake.FakeDriver, baremetal.BareMetalDriver, '
'vmwareapi.VMWareESXDriver'),
+ cfg.StrOpt('control_exchange',
+ default='nova',
+ help='AMQP exchange to connect to if using RabbitMQ or Qpid'),
]
FLAGS.register_opts(global_opts)

View File

@ -74,19 +74,4 @@ class ceilometer(
'DEFAULT/notification_topics' : value => 'notifications,glance_notifications';
}
file { '/tmp/670b3882-fix-rpc-control_exchange-regression.patch':
source => 'puppet:///modules/ceilometer/patches/670b3882-fix-rpc-control_exchange-regression.patch'
}
exec { 'patch_nova':
command => 'patch -p1 < /tmp/670b3882-fix-rpc-control_exchange-regression.patch',
unless => 'grep -q control_exchange /usr/share/pyshared/nova/flags.py',
cwd => '/usr/share/pyshared',
require => Package['python-nova'],
}
Exec['patch_nova'] ~> Service<| title == 'nova-api' |>
Exec['patch_nova'] ~> Service<| title == 'nova-compute' |>
Exec['patch_nova'] ~> Service<| title == 'nova-network' |>
}