Bug 1223876
Summary: | 'virsh net-start default' reports only "out of memory" if ip6tables is missing | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Agostino Sarubbo <ago> |
Component: | libvirt | Assignee: | Laine Stump <laine> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | berrange, laine, rbalakri |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-05-26 14:41:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Agostino Sarubbo
2015-05-21 15:20:11 UTC
FYI when writing this code it was decided that we would mandate the existence of ip6tables, since that is the common case, and even if people have IPv6 switched off in the running kernel, there's no serious downside to having the ip6tables binary available unconditionally. Assuming this simplified the error handling in the libvirt code. Agreed, we nneed a much improved error message though. I just posted this upstream: https://www.redhat.com/archives/libvir-list/2015-May/msg00747.html It follows Dan's suggestion of logging the error: Failed to initialize a valid firewall backend instead of out of memory Pushed upstream, will be in 1.2.16: commit a9c53462fbaee15b9aa151cbd35fe906bdda1810 Author: Laine Stump <laine> Date: Thu May 21 13:36:18 2015 -0400 util: better error message after failure to initialize firewall backend |