[Bug 195480] Re: libvirt: virsh -c qemu+ssh://host.example.com/session connects to 'system', not session
I run virsh -c qemu:///session list --all and virsh -c qemu:///system list --all when run virsh -c qemu:///session list , it run a temp libvirtd --timeout 30 by non-root model virsh -c qemu:///system list --all ,it access root model libvirtd when run virsh -c qemu://127.0.0.1/session list --all it run a ssh like this: ssh 127.0.0.1 sh -c 'nc -q 2>&1 | grep -q "requires an argument";if [ $? -eq 0 ] ; then CMD="nc -q 0 -U /var/run/libvirt/libvirt-sock";else CMD="nc -U /var/run/libvirt/libvirt-sock";fi;eval "$CMD";' so ,does it use a root model libvirtd ?? is here a mistake ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/195480 Title: libvirt: virsh -c qemu+ssh://host.example.com/session connects to 'system', not session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/195480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 803765] [NEW] virsh -c qemu://127.0.0.1/session list --all give a wrong error prompt CA certificate '/etc/pki/CA/cacert.pem
Public bug reported: virsh -c qemu://127.0.0.1/session list --all (no '+ssh') virsh give a error prompt : CA certificate '/etc/pki/CA/cacert.pem' no such file .. look at code: we could find that: transport_str = get_transport_from_scheme (conn->uri->scheme); if (!transport_str) { if (conn->uri->server) transport = trans_tls; else transport = trans_unix; } at here : transport = trans_tls; so it gives a CA certificate error prompt . I think it should give a prompt like that : use +ssh | tcp . ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/803765 Title: virsh -c qemu://127.0.0.1/session list --all give a wrong error prompt CA certificate '/etc/pki/CA/cacert.pem To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/803765/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 801038] Re: libvirt-bin upstart configuration does not check for existing libvirtd processes
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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 801038] Re: libvirt-bin can not check the correct status of libvirtd
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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 801038] Re: libvirt-bin can not check the correct status of libvirtd
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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 801038] [NEW] libvirt-bin can not check the correct status of libvirtd
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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"
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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"
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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 799997] [NEW] error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"
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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 520386] Re: libvirt-bin hypervisor does not support virConnectNumOfInterfaces / unable to create domain with virt-manager using network bridge
+1, this affects me as well too -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs