Alon Bar-Lev has uploaded a new change for review. Change subject: vdsm: pacakges: stop network manager before starting network ......................................................................
vdsm: pacakges: stop network manager before starting network Change-Id: Iade5655bcbe54cfc1d8b75eeced26aaaa799dbc8 Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M src/plugins/ovirt-host-deploy/vdsm/packages.py 1 file changed, 12 insertions(+), 12 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy refs/changes/35/17635/1 diff --git a/src/plugins/ovirt-host-deploy/vdsm/packages.py b/src/plugins/ovirt-host-deploy/vdsm/packages.py index 06c9f42..a2514bb 100644 --- a/src/plugins/ovirt-host-deploy/vdsm/packages.py +++ b/src/plugins/ovirt-host-deploy/vdsm/packages.py @@ -169,18 +169,6 @@ self.services.state('libvirtd', True) # - # vdsm requires network to be active - # it cannot depend on this service as - # it will be stopped when network is stopped - # so we do this manually. - # - if self.services.exists('network'): - # rhel network fails on second restart - if not self.services.status('network'): - self.services.state('network', True) - self.services.startup('network', True) - - # # remove network manager as it create timing # issues with the network service and vdsm # see rhbz#879180 @@ -192,6 +180,18 @@ self.services.state('NetworkManager', False) self.services.startup('NetworkManager', False) + # + # vdsm requires network to be active + # it cannot depend on this service as + # it will be stopped when network is stopped + # so we do this manually. + # + if self.services.exists('network'): + # rhel network fails on second restart + if not self.services.status('network'): + self.services.state('network', True) + self.services.startup('network', True) + self.services.state('vdsmd', True) -- To view, visit http://gerrit.ovirt.org/17635 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iade5655bcbe54cfc1d8b75eeced26aaaa799dbc8 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-host-deploy Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches