Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: setup: handle a yum error when no groups ......................................................................
packaging: setup: handle a yum error when no groups apparently, when querying yum for group, if no groups at all it raises an exception instead of return empty set. this is unexpected behavior of an api. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=973383 Change-Id: Ifb1f196006662d6571c7ca80554e0a9a17aaec2a Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M packaging/fedora/setup/miniyum.py 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/65/15665/1 diff --git a/packaging/fedora/setup/miniyum.py b/packaging/fedora/setup/miniyum.py index ba7aa06..d529f09 100755 --- a/packaging/fedora/setup/miniyum.py +++ b/packaging/fedora/setup/miniyum.py @@ -808,6 +808,9 @@ return ret + except Errors.GroupsError as e: + # rhbz#973383 empty groups raises an exception + self._sink.verbose('Ignoring group error: %s' % e) except Exception as e: self._sink.error(e) raise -- To view, visit http://gerrit.ovirt.org/15665 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifb1f196006662d6571c7ca80554e0a9a17aaec2a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine 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