2018-03-22 11:50:25 |
bugproxy |
bug |
|
|
added bug |
2018-03-22 11:50:26 |
bugproxy |
tags |
|
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- |
|
2018-03-22 11:51:12 |
bugproxy |
attachment added |
|
Sosreport. https://bugs.launchpad.net/bugs/1758037/+attachment/5086914/+files/sosreport-ltc-boston8-20180228055309.tar.xz |
|
2018-03-22 11:51:14 |
bugproxy |
attachment added |
|
guest.xml https://bugs.launchpad.net/bugs/1758037/+attachment/5086915/+files/165229-guest_xml |
|
2018-03-22 11:51:15 |
bugproxy |
ubuntu: assignee |
|
Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
|
2018-03-22 11:51:17 |
bugproxy |
affects |
ubuntu |
libvirt (Ubuntu) |
|
2018-03-22 12:09:09 |
Andrew Cloke |
bug task added |
|
ubuntu-power-systems |
|
2018-03-22 12:09:20 |
Andrew Cloke |
ubuntu-power-systems: importance |
Undecided |
High |
|
2018-03-22 12:09:27 |
Andrew Cloke |
ubuntu-power-systems: assignee |
|
Canonical Server Team (canonical-server) |
|
2018-03-22 12:09:37 |
Andrew Cloke |
tags |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g |
|
2018-03-22 13:13:42 |
Christian Ehrhardt |
libvirt (Ubuntu): status |
New |
Incomplete |
|
2018-03-22 14:11:57 |
Andrew Cloke |
ubuntu-power-systems: status |
New |
Incomplete |
|
2018-04-20 09:28:17 |
Christian Ehrhardt |
libvirt (Ubuntu): status |
Incomplete |
Confirmed |
|
2018-04-20 09:28:19 |
Christian Ehrhardt |
libvirt (Ubuntu): importance |
Undecided |
Low |
|
2018-04-20 10:12:42 |
Frank Heimes |
ubuntu-power-systems: status |
Incomplete |
Confirmed |
|
2018-04-25 08:00:46 |
Christian Ehrhardt |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=1547237 |
|
2018-04-25 08:00:46 |
Christian Ehrhardt |
bug task added |
|
libvirt |
|
2018-04-25 08:37:18 |
Bug Watch Updater |
libvirt: status |
Unknown |
Confirmed |
|
2018-04-25 08:37:18 |
Bug Watch Updater |
libvirt: importance |
Unknown |
Undecided |
|
2018-04-28 09:42:36 |
Bug Watch Updater |
libvirt: status |
Confirmed |
Unknown |
|
2018-04-30 04:33:19 |
Christian Ehrhardt |
libvirt (Ubuntu): status |
Confirmed |
Triaged |
|
2018-05-09 08:43:38 |
Christian Ehrhardt |
description |
== Comment: #2 - Mallesh N. Koti <magadagi@in.ibm.com> - 2018-02-28 05:02:49 ==
Guest Xml
=======
ISSUE
=======
Defining a network filter and Starting a VM with this nwfiter in VM's xml is failing with "cause is unknown".
==================
Recreation Steps
==================
1. Define a network filter as:
virsh nwfilter-define filter.xml
2. Add nwfilter in guest xml and start guest.
virsh start VM1
It fails with :
# virsh start VM1
error: Failed to start domain VM1
error: An error occurred, but the cause is unknown
XML used for defining network filter:
```<?xml version='1.0' encoding='UTF-8'?>
<filter chain="root" name="clean-traffic" priority="">
<uuid>11111111-b071-6127-b4ec-111111111111</uuid>
<filterref filter="no-mac-spoofing" /><filterref filter="no-ip-spoofing" /><filterref filter="allow-incoming-ipv4" /><filterref filter="no-arp-spoofing" /><filterref filter="qemu-announce-self" /><rule action="accept" direction="out" priority="-650" statematch="None">
<mac protocolid="ipv4" /></rule><rule action="accept" direction="inout" priority="-500" statematch="None">
<mac protocolid="arp" /></rule></filter>
```
will be attaching the guest xml
The issue happens with Ubuntu 18.04 host - where not able to start the guest with network defined with value dhcp.
<parameter name='CTRL_IP_LEARNING' value='dhcp'/>
.
Found following commit is not there in 18.04 Ubuntu source. There could be some dependent commit too. we are facing some build issue and hence not able to verify it.
.
https://github.com/libvirt/libvirt/commit/e62cb4a9b78c7f4499a206635fb4f06e6ac627e5
. |
[Impact]
* nwfilters were not usable if configured to use dhcp based learning
* Fix by backporting upstream bug
[Test Case]
* Add the following to the interface section of a guest description in
libvirt:
<filterref filter='clean-traffic'>
<parameter name='CTRL_IP_LEARNING' value='dhcp'/>
</filterref>
Then start the guest.
Bad case:
error: Failed to start domain VM1
error: An error occurred, but the cause is unknown
Fixed:
Guest starts and works.
[Regression Potential]
* I thought a while on this. On first sight one might say there is a
regression risk due to increasing the size of the buffer. This risk
would arise on hyperscale environments where the memory consumption per
guest would increase by 2*128Kb*#guest-interfaces (not much, but can
sum up on MANY guests).
But then I realized that this is only true for the use case using
dhcpsnoop which is
a) clearly not the most common case
b) failing to work at all before this fix
So there can't be anyone today with a working setup that then runs OOM,
due to the setup either not using the feature (=no change) or failing
missing this fix.
So I actually think this mem consumption increase is not an issue in
terms of SRU considerations.
Due to that the only remaining regression would be users that had a
self-built libpcap without TPACKET_V3 to drive a workload like the
above, and even then only the rather small size bump is what changes.
[Other Info]
* I have added this case and a few deeper checks on the created rules for
iptables to the regression tests
---
== Comment: #2 - Mallesh N. Koti <magadagi@in.ibm.com> - 2018-02-28 05:02:49 ==
Guest Xml
=======
ISSUE
=======
Defining a network filter and Starting a VM with this nwfiter in VM's xml is failing with "cause is unknown".
==================
Recreation Steps
==================
1. Define a network filter as:
virsh nwfilter-define filter.xml
2. Add nwfilter in guest xml and start guest.
virsh start VM1
It fails with :
# virsh start VM1
error: Failed to start domain VM1
error: An error occurred, but the cause is unknown
XML used for defining network filter:
```<?xml version='1.0' encoding='UTF-8'?>
<filter chain="root" name="clean-traffic" priority="">
<uuid>11111111-b071-6127-b4ec-111111111111</uuid>
<filterref filter="no-mac-spoofing" /><filterref filter="no-ip-spoofing" /><filterref filter="allow-incoming-ipv4" /><filterref filter="no-arp-spoofing" /><filterref filter="qemu-announce-self" /><rule action="accept" direction="out" priority="-650" statematch="None">
<mac protocolid="ipv4" /></rule><rule action="accept" direction="inout" priority="-500" statematch="None">
<mac protocolid="arp" /></rule></filter>
```
will be attaching the guest xml
The issue happens with Ubuntu 18.04 host - where not able to start the guest with network defined with value dhcp.
<parameter name='CTRL_IP_LEARNING' value='dhcp'/>
.
Found following commit is not there in 18.04 Ubuntu source. There could be some dependent commit too. we are facing some build issue and hence not able to verify it.
.
https://github.com/libvirt/libvirt/commit/e62cb4a9b78c7f4499a206635fb4f06e6ac627e5
. |
|
2018-05-09 17:36:37 |
Launchpad Janitor |
libvirt (Ubuntu): status |
Triaged |
Fix Released |
|
2018-05-09 18:01:09 |
Frank Heimes |
ubuntu-power-systems: status |
Confirmed |
Fix Released |
|
2018-05-11 05:28:21 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Xenial |
|
2018-05-11 05:28:21 |
Christian Ehrhardt |
bug task added |
|
libvirt (Ubuntu Xenial) |
|
2018-05-11 05:28:21 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Bionic |
|
2018-05-11 05:28:21 |
Christian Ehrhardt |
bug task added |
|
libvirt (Ubuntu Bionic) |
|
2018-05-11 05:28:21 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Artful |
|
2018-05-11 05:28:21 |
Christian Ehrhardt |
bug task added |
|
libvirt (Ubuntu Artful) |
|
2018-05-11 05:28:29 |
Christian Ehrhardt |
libvirt (Ubuntu Xenial): status |
New |
Triaged |
|
2018-05-11 05:28:31 |
Christian Ehrhardt |
libvirt (Ubuntu Artful): status |
New |
Triaged |
|
2018-05-11 05:28:34 |
Christian Ehrhardt |
libvirt (Ubuntu Bionic): status |
New |
Triaged |
|
2018-05-11 07:00:42 |
Timo Aaltonen |
libvirt (Ubuntu Artful): status |
Triaged |
Fix Committed |
|
2018-05-11 07:00:45 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-05-11 07:00:48 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2018-05-11 07:00:50 |
Timo Aaltonen |
tags |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-artful |
|
2018-05-11 07:01:53 |
Timo Aaltonen |
libvirt (Ubuntu Xenial): status |
Triaged |
Fix Committed |
|
2018-05-11 07:01:58 |
Timo Aaltonen |
tags |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-artful |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-artful verification-needed-xenial |
|
2018-05-11 07:03:24 |
Timo Aaltonen |
libvirt (Ubuntu Bionic): status |
Triaged |
Fix Committed |
|
2018-05-11 07:03:29 |
Timo Aaltonen |
tags |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-artful verification-needed-xenial |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-artful verification-needed-bionic verification-needed-xenial |
|
2018-05-11 07:39:17 |
Andrew Cloke |
ubuntu-power-systems: status |
Fix Released |
Fix Committed |
|
2018-05-11 09:50:00 |
Christian Ehrhardt |
tags |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g verification-needed verification-needed-artful verification-needed-bionic verification-needed-xenial |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g verification-done verification-done-artful verification-done-bionic verification-done-xenial |
|
2018-05-21 06:53:39 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-05-21 06:57:44 |
Launchpad Janitor |
libvirt (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2018-05-21 06:58:19 |
Launchpad Janitor |
libvirt (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-05-21 07:03:42 |
Launchpad Janitor |
libvirt (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-05-21 07:37:46 |
Andrew Cloke |
ubuntu-power-systems: status |
Fix Committed |
Fix Released |
|
2018-06-04 09:20:38 |
bugproxy |
tags |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin--- triage-g verification-done verification-done-artful verification-done-bionic verification-done-xenial |
architecture-ppc64le bugnameltc-165229 severity-high targetmilestone-inin1804 triage-g verification-done verification-done-artful verification-done-bionic verification-done-xenial |
|
2018-07-04 00:22:43 |
Bug Watch Updater |
libvirt: status |
Unknown |
Fix Committed |
|