~1chb1n/charms/trusty/nova-compute/backport-lp1427660

« back to all changes in this revision

Viewing changes to hooks/nova_compute_hooks.py

  • Committer: Ryan Beisner
  • Date: 2015-04-09 17:18:29 UTC
  • Revision ID: ryan.beisner@canonical.com-20150409171829-me1ox5b9w88sy45b
backport fix for bug 1427660 - librbd1

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
)
18
18
from charmhelpers.core.host import (
19
19
    restart_on_change,
 
20
    service_restart,
20
21
)
21
22
 
22
23
from charmhelpers.fetch import (
234
235
@restart_on_change(restart_map())
235
236
def ceph_joined():
236
237
    apt_install(filter_installed_packages(['ceph-common']), fatal=True)
 
238
    # Bug 1427660
 
239
    service_restart('libvirt-bin')
237
240
 
238
241
 
239
242
@hooks.hook('ceph-relation-changed')