[Bug 801038] Re: libvirt-bin can not check the correct status of libvirtd

2011-06-24 Thread Qiao Liyong
Hi James :

What does a separate process mean?
How can I know which libvirtd servicing qemu:///system or qemu:///session?

Run libvirtd manually and run libvirtd by service libvirt-bin start ,
they use the same pid file :

root@qiaoliyong-ThinkPad-T410:~# libvirtd -d
root@qiaoliyong-ThinkPad-T410:~# cat /var/run/libvirtd.pid 
9036
root@qiaoliyong-ThinkPad-T410:~# service libvirt-bin status
libvirt-bin stop/waiting
root@qiaoliyong-ThinkPad-T410:~# service libvirt-bin start
libvirt-bin start/running, process 9199
root@qiaoliyong-ThinkPad-T410:~# cat /var/run/libvirtd.pid 
9199
root@qiaoliyong-ThinkPad-T410:~# ps -ef | grep libvirtd
root  9036 1  0 15:49 ?00:00:00 libvirtd -d
root  9199 1  0 15:50 ?00:00:00 /usr/sbin/libvirtd -d
root@qiaoliyong-ThinkPad-T410:~# kill -9 9036
root@qiaoliyong-ThinkPad-T410:~# libvirtd -d
libvirtd: error: Unable to obtain pidfile. Check /var/log/messages or run 
without --daemon for more info.


I don't unstand, why the libvirt-bin can use /var/run/libvirtd.pid
again?

thanks .

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/801038

Title:
  libvirt-bin can not check the correct status of libvirtd

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 801038] Re: libvirt-bin upstart configuration does not check for existing libvirtd processes

2011-06-24 Thread Qiao Liyong
Hi Dave:
 I have no idea , It 's just a coincidence.  I am working for 
libvirt/kvm-qemu/kvm project recently , so just make some test to familiar with 
the code.

By the way , it 's Qiao ,not Qaio  , ^_

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/801038

Title:
  libvirt-bin upstart configuration does not check for existing libvirtd
  processes

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 801038] [NEW] libvirt-bin can not check the correct status of libvirtd

2011-06-23 Thread Qiao Liyong
Public bug reported:

Description:Ubuntu 10.10
Release:10.10

libvirt-bin:
  已安装:  0.8.3-1ubuntu18
  候选软件包:0.8.3-1ubuntu18
  版本列表:
 *** 0.8.3-1ubuntu18 0
500 http://cn.archive.ubuntu.com/ubuntu/ maverick-updates/main i386 
Packages
500 http://security.ubuntu.com/ubuntu/ maverick-security/main i386 
Packages
100 /var/lib/dpkg/status
 0.8.3-1ubuntu14 0
500 http://cn.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages

Desc:


1 when I start libvirtd manually like this:
#libvirtd -d
#service libvirt-bin status
libvirt-bin stop/waiting

2 I can run another libvirtd by :

sudo service libvirt-bin start
[sudo] password for qiaoliyong: 
libvirt-bin start/running, process 7820

qiaoliyong@qiaoliyong-ThinkPad-T410:~$ ps -ef | grep libvirtd
root  7820 1  2 15:51 ?00:00:00 /usr/sbin/libvirtd -d
1000  7939 31709  0 15:51 pts/800:00:00 grep --color=auto libvirtd
root 19780 1  0 14:24 ?00:00:19 /usr/sbin/libvirtd -d

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/801038

Title:
  libvirt-bin can not check the correct status of libvirtd

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 801038] Re: libvirt-bin can not check the correct status of libvirtd

2011-06-23 Thread Qiao Liyong
Hello James 

I have tried it on Red Hat : 
if you run libvirtd manually , it can also get correct status with 'service 
libvirtd status', and you can not run two processes of libvirtd .

And I also confused about that : why can I run two Daemon processes
(libvirtd) at the same time on ubuntu?

isn't it a BUG??

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/801038

Title:
  libvirt-bin can not check the correct status of libvirtd

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 520386] Re: libvirt-bin hypervisor does not support virConnectNumOfInterfaces / unable to create domain with virt-manager using network bridge

2011-06-20 Thread Qiao Liyong
+1, this affects me as well too

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/520386

Title:
  libvirt-bin hypervisor does not support virConnectNumOfInterfaces /
  unable to create domain with virt-manager using network bridge

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 799997] [NEW] error happen when using virsh to start a vm internal error cannot generate AppArmor profile

2011-06-20 Thread Qiao Liyong
Public bug reported:

1 host OS:
lsb_release -rd
Description:Ubuntu 10.10
Release:10.10

Linux qiaoliyong-ThinkPad-T410 2.6.35-28-generic-pae #50-Ubuntu SMP Fri
Mar 18 20:43:15 UTC 2011 i686 GNU/Linu

2. Version of package:
~$ virsh --version
0.9.0
~$ kvm --version
QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5), Copyright (c) 2003-2008 
Fabrice Bellard

3 when starting a vm , it appears:
internal error cannot generate AppArmor profile 
'libvirt-abe9380c-eab7-fe6f-1b49-21a511bdd129'

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/77

Title:
  error happen when using virsh to start a vm  internal error cannot
  generate AppArmor profile

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 799997] Re: error happen when using virsh to start a vm internal error cannot generate AppArmor profile

2011-06-20 Thread Qiao Liyong
Error starting domain: internal error cannot generate AppArmor profile
'libvirt-abe9380c-eab7-fe6f-1b49-21a511bdd129'

Traceback (most recent call last):
  File /usr/local/share/virt-manager/virtManager/asyncjob.py, line 45, in 
cb_wrapper
callback(asyncjob, *args, **kwargs)
  File /usr/local/share/virt-manager/virtManager/engine.py, line 959, in 
asyncfunc
vm.startup()
  File /usr/local/share/virt-manager/virtManager/domain.py, line 1114, in 
startup
self._backend.create()
  File /usr/lib/python2.6/dist-packages/libvirt.py, line 362, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error cannot generate AppArmor profile 
'libvirt-abe9380c-eab7-fe6f-1b49-21a511bdd129'

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/77

Title:
  error happen when using virsh to start a vm  internal error cannot
  generate AppArmor profile

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 799997] Re: error happen when using virsh to start a vm internal error cannot generate AppArmor profile

2011-06-20 Thread Qiao Liyong
when create a vm ,it also appears:
'internal error cannot generate AppArmor profile 
'libvirt-aa1e3827-e4d3-044e-21e3-f25660ad1d93''
Traceback (most recent call last):
  File /usr/local/share/virt-manager/virtManager/asyncjob.py, line 45, in 
cb_wrapper
callback(asyncjob, *args, **kwargs)
  File /usr/local/share/virt-manager/virtManager/create.py, line 1643, in 
do_install
guest.start_install(False, meter=meter)
  File /usr/local/lib/python2.6/dist-packages/virtinst/Guest.py, line 1186, 
in start_install
start_xml, final_xml, is_initial)
  File /usr/local/lib/python2.6/dist-packages/virtinst/Guest.py, line 1245, 
in _create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
  File /usr/lib/python2.6/dist-packages/libvirt.py, line 1446, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)
libvirtError: internal error cannot generate AppArmor profile 
'libvirt-aa1e3827-e4d3-044e-21e3-f25660ad1d93'

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/77

Title:
  error happen when using virsh to start a vm  internal error cannot
  generate AppArmor profile

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs