[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 8 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=591438.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2010-05-12T09:14:50+00:00 M wrote:

Description of problem:
If I have QEMU/KVM guest started in libvirtd and then restart libvirtd, 
libvirtd no longer knows mapping between guests and tun devices on host and 
quering virDomainInterfaceStats do not work.


Version-Release number of selected component (if applicable):
libvirt version 0.7.1 (Fedora 12 rpm: libvirt-0.7.1-15.fc12.x86_64)

also tested with Centos 5.4 and libvirt 0.6.3

How reproducible:
every time

Steps to Reproduce:
1. Start QEMU/KVM guest with: virsh start vm01
2. restart libvirtd: /sbin/service libvrtd restart
3. Get statistics with virsh domifstat vm01 vnet0
  
Actual results:
[root@kvm01 ~]# virsh domifstat vm01 vnet0
error: Failed to get interface stats vm01 vnet0
error: invalid argument in invalid path, 'vnet0' is not a known interface


Expected results:
[root@kvm01 ~]# virsh domifstat vm01 vnet0
vnet0 rx_bytes 83980
vnet0 rx_packets 1612
vnet0 rx_errs 0
vnet0 rx_drop 0
vnet0 tx_bytes 3546
vnet0 tx_packets 15
vnet0 tx_errs 0
vnet0 tx_drop 0


Additional info:
I found out that after libvirtd forgets mapping for virtual interfaces. Here 
are the output from virsh dumpxml vm01 before restart:

  
  
  
  


and after restart of libvirtd:

  
  
  


the   is missing.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/comments/0


On 2010-05-21T17:45:26+00:00 Cole wrote:

Thanks for the report, sounds like a real bug.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/comments/1


On 2010-07-12T17:16:31+00:00 Fedora wrote:

libvirt-0.8.2-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/libvirt-0.8.2-1.fc13

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/comments/2


On 2010-07-12T17:22:20+00:00 Fedora wrote:

libvirt-0.8.2-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/libvirt-0.8.2-1.fc12

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/comments/3


On 2010-07-13T07:43:51+00:00 Fedora wrote:

libvirt-0.8.2-1.fc12 has been pushed to the Fedora 12 testing repository.  If 
problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libvirt'.  You can provide 
feedback for this update here: 
http://admin.fedoraproject.org/updates/libvirt-0.8.2-1.fc12

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/comments/4


On 2010-07-13T12:40:35+00:00 Cole wrote:

Danpb, has this really been fixed? I don't remember an upstream patch
addressing it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/comments/5


On 2010-07-13T12:54:56+00:00 Daniel wrote:

Yep, in this patch:

commit 362bc09a4d9441f9abd14956546777f86d8b9d79
Author: Jiri Denemark 
Date:   Tue May 4 15:16:29 2010 +0200

Don't wipe generated iface target in active domains

Wipe generated interface target only when reading configuration of
inactive domains.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/comments/6


On 2010-07-27T02:48:21+00:00 Fedora wrote:

libvirt-0.8.2-1.fc12 has been pushed to the Fedora 12 stable repository.
If problems still persist, please make note of it in this bug report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/comments/7


** Changed in: libvirt (Fedora)
   Status: Unknown => Fix Released

** Changed in: libvirt (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network
  interface info.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinf

[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2011-09-19 Thread Ubuntu QA's Bug Bot
** Tags added: testcase

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network
  interface info.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-12-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-updates/libvirt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-12-21 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 0.7.5-5ubuntu27.8

---
libvirt (0.7.5-5ubuntu27.8) lucid-proposed; urgency=low

  * debian/patches/9903-lp668042.patch:  When libvirtd is restarted, do not
remove network interface details from active domains. Patched based on
upstream git commit.  (LP: #668042)
 -- Dave Walker (Daviey)Thu, 25 Nov 2010 02:41:24 
+

** Changed in: libvirt (Ubuntu Lucid)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-12-20 Thread Martin Pitt
** Tags added: verification-done
** Tags removed: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-12-15 Thread Imre Gergely
Confirmed.

Before the fix:

gi...@voy:~$ virsh start utest-lls32
Domain utest-lls32 started
gi...@voy:~$ sudo restart libvirt-bin
libvirt-bin start/running, process 8683
gi...@voy:~$ sudo virsh domifstat utest-lls32 vnet0
error: Failed to get interface stats utest-lls32 vnet0
error: invalid argument in invalid path, 'vnet0' is not a known interface

After the fix:

gi...@voy:~$ apt-cache policy libvirt-bin
libvirt-bin:
  Installed: 0.7.5-5ubuntu27.8
  Candidate: 0.7.5-5ubuntu27.8
  Version table:
 *** 0.7.5-5ubuntu27.8 0
500 http://archive.ubuntu.com/ubuntu/ lucid-proposed/main Packages
100 /var/lib/dpkg/status
 0.7.5-5ubuntu27.7 0
500 http://ro.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
500 http://ro.archive.ubuntu.com/ubuntu/ lucid-security/main Packages
 0.7.5-5ubuntu27 0
500 http://ro.archive.ubuntu.com/ubuntu/ lucid/main Packages

gi...@voy:~$ virsh start utest-lls32
Domain utest-lls32 started

gi...@voy:~$ sudo virsh domifstat utest-lls32 vnet0
vnet0 rx_bytes 3294
vnet0 rx_packets 42
vnet0 rx_errs 0
vnet0 rx_drop 0
vnet0 tx_bytes 1912
vnet0 tx_packets 18
vnet0 tx_errs 0
vnet0 tx_drop 0

gi...@voy:~$ sudo restart libvirt-bin
libvirt-bin start/running, process 9232

gi...@voy:~$ sudo virsh domifstat utest-lls32 vnet0
vnet0 rx_bytes 3906
vnet0 rx_packets 54
vnet0 rx_errs 0
vnet0 rx_drop 0
vnet0 tx_bytes 1912
vnet0 tx_packets 18
vnet0 tx_errs 0
vnet0 tx_drop 0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-12-13 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/libvirt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-12-13 Thread Steve Langasek
Accepted into lucid-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-12-13 Thread Dave Walker
@Steven, hopefully it should soon hit the -proposed archive which it's
currently in the queue for.  Then verification needs to be undertaken on
that package (your help there would be appreciated!).  Once that is
done, it should land in -updates shortly afterwards.  Until then, it
makes sense to keep using my PPA package (which i've intentionality left
the version number such that when this does hit -updates you'll upgrade
automatically).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-12-10 Thread Steven Wagner
how will I be able to tell when this hits  lucid-updates ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-12-03 Thread Steven Wagner
Dave - Ive been running the ppa package for almost a week. I can verify
the fix works as expected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/668042

Title:
  If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-11-28 Thread Steven Wagner
I installed the package Dave. So far so good, ill let it run for a
while. Thank you.

-- 
If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.
https://bugs.launchpad.net/bugs/668042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-11-26 Thread Dave Walker
** Changed in: libvirt (Ubuntu Lucid)
   Status: New => Fix Committed

** Changed in: libvirt (Ubuntu Lucid)
 Assignee: (unassigned) => Dave Walker (davewalker)

** Changed in: libvirt (Ubuntu)
   Status: Triaged => Fix Released

** Changed in: libvirt (Ubuntu Lucid)
   Importance: Undecided => Low

-- 
If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.
https://bugs.launchpad.net/bugs/668042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-11-26 Thread Martin Pitt
** Also affects: libvirt (Ubuntu Lucid)
   Importance: Undecided
   Status: New

-- 
If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.
https://bugs.launchpad.net/bugs/668042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-11-25 Thread Dave Walker
** Description changed:

- Missing target device info makes it impossible to retrieve network usage
- information about a guest from libvirt.
+ IMPACT:  If libvirt daemon is restarted, it forgets about domain interfaces 
(breaking domifstat)
+ RESOLUTION: Check that the domain is inactive before wiping knowledge of it.
+ PATCH: Based on upstream commit, attached comment #6.
+ TEST CASE: (Based on Fedora bug report)
  
- Reproduce:
- Trigger of issue unknown. 
+ {{{
+ 1. Start QEMU/KVM guest with: sudo virsh start vm01
+ 2. restart libvirtd: sudo restart libvrtd
+ 3. Get statistics with sudo virsh domifstat vm01 vnet0
  
- Workaround:
- Restart the guest, and the network device info reappears again.
+ Actual results:
+ $ sudo virsh domifstat vm01 vnet0
+ error: Failed to get interface stats vm01 vnet0
+ error: invalid argument in invalid path, 'vnet0' is not a known interface
  
- Detect:
- Use virsh with the dumpxml command to view information about a running guest.
+ Expected results:
+ $ sudo virsh domifstat vm01 vnet0
+ vnet0 rx_bytes 83980
+ vnet0 rx_packets 1612
+ vnet0 rx_errs 0
+ vnet0 rx_drop 0
+ vnet0 tx_bytes 3546
+ vnet0 tx_packets 15
+ vnet0 tx_errs 0
+ vnet0 tx_drop 0
  
- Good result:
- virsh # dumpxml myhost1
- ...
- 
-   
-   
-   
-   
- 
- ...
+ }}}
  
- Bad result:
- virsh # dumpxml myhost2
- ...
- 
-   
-   
-   
- 
- ...
- 
- I am attaching an image of my munin graphs to illustrate the effects of
- the bug.
+ REGRESSION POTENTIAL:  This would seem to be low, the patch adds an
+ extra conditional statement before wiping the domain network interface
+ knowledge.  The patch has been in upstream Git since 4/05/2010, and has
+ had at least one upstream release and is also in Maverick.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: libvirt-bin 0.7.5-5ubuntu27.6
  ProcVersionSignature: Ubuntu 2.6.32-23.37-server 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-23-server x86_64
  Architecture: amd64
  Date: Thu Oct 28 13:40:36 2010
  InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 
(20100427)
  ProcEnviron:
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: libvirt

-- 
If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.
https://bugs.launchpad.net/bugs/668042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 668042] Re: If Libvirtd is restarted, libvirt drops active domains lose network interface info.

2010-11-25 Thread Dave Walker
** Bug watch added: Red Hat Bugzilla #591438
   https://bugzilla.redhat.com/show_bug.cgi?id=591438

** Also affects: libvirt (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=591438
   Importance: Unknown
   Status: Unknown

-- 
If Libvirtd is restarted, libvirt drops active domains lose network interface 
info.
https://bugs.launchpad.net/bugs/668042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs