Merge "Install dbus package in anvil Bug: 1203175" into stable/folsom

This commit is contained in:
Jenkins 2013-07-22 19:52:55 +00:00 committed by Gerrit Code Review
commit 3c6c598399
2 changed files with 8 additions and 2 deletions

View File

@ -76,8 +76,9 @@ class Virsh(object):
LOG.warn("Could not clear out libvirt domain %s due to: %s", colorizer.quote(dom_name), e)
def restart_service(self):
cmd = self.distro.get_command('libvirt', 'restart')
sh.execute(*cmd, run_as_root=True)
for srv in ('messagebus', 'libvirt'):
cmd = self.distro.get_command(srv, 'restart')
sh.execute(*cmd, run_as_root=True)
def wait_active(self):
# TODO(harlowja) fix this by using the component wait active...

View File

@ -19,6 +19,9 @@ commands:
status: service libvirtd status
# This is just used to check that libvirt will work with a given protocol
verify: virsh -c $VIRT_PROTOCOL uri
dbus:
restart: service messagebus restart
status: service messagebus status
mysql:
# NOTE: we aren't stopping any sql injection...
create_db: mysql --user=$USER --password=$PASSWORD -e
@ -406,6 +409,8 @@ components:
removable: false
- name: libguestfs-tools
removable: false
- name: dbus
removable: false
- name: libvirt
removable: false
- name: libvirt-client