[libvirt-users] libvir: error : cannot getpwuid_r(107): Success

I am on RHEL 6.1 running KVM. I am getting following error when i start a Ubuntu 11.10 Guest I am attaching my xml file . # virsh -c qemu:///system create Ubuntu-110.10.xml error: Failed to create domain from Ubuntu-110.10.xml error: internal error Process exited while reading console log output: 16:19:53.991: 2418: info : libvirt version: 0.8.7, package: 18.el6 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2011-04-18-10:28:30, x86-008.build.bos.redhat.com) 16:19:53.991: 2418: error : virSetUIDGID:2905 : cannot getpwuid_r(107): Success libvir: error : cannot getpwuid_r(107): Success Where should i looks for more info??? -- Thanks Vipul Borikar "Our task must be to free ourselves...by widening our circle of compassion to embrace all living creatures and the whole of nature and its beauty."

On 01/29/2012 03:54 AM, vipul borikar wrote:
I am on RHEL 6.1 running KVM. I am getting following error when i start a Ubuntu 11.10 Guest I am attaching my xml file .
# virsh -c qemu:///system create Ubuntu-110.10.xml
error: Failed to create domain from Ubuntu-110.10.xml error: internal error Process exited while reading console log output: 16:19:53.991: 2418: info : libvirt version: 0.8.7, package: 18.el6 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2011-04-18-10:28:30, x86-008.build.bos.redhat.com) 16:19:53.991: 2418: error : virSetUIDGID:2905 : cannot getpwuid_r(107): Success libvir: error : cannot getpwuid_r(107): Success
Where should i looks for more info???
File a bug against ubuntu that they should upgrade to a newer libvirt, or at least backport the patch for this issue. This bug was fixed in commit v0.9.1-187-gb3918fa. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On 01/30/2012 11:16 AM, Eric Blake wrote:
On 01/29/2012 03:54 AM, vipul borikar wrote:
I am on RHEL 6.1 running KVM. I am getting following error when i start a Ubuntu 11.10 Guest I am attaching my xml file .
# virsh -c qemu:///system create Ubuntu-110.10.xml
error: Failed to create domain from Ubuntu-110.10.xml error: internal error Process exited while reading console log output: 16:19:53.991: 2418: info : libvirt version: 0.8.7, package: 18.el6 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2011-04-18-10:28:30, x86-008.build.bos.redhat.com) 16:19:53.991: 2418: error : virSetUIDGID:2905 : cannot getpwuid_r(107): Success libvir: error : cannot getpwuid_r(107): Success
Where should i looks for more info???
File a bug against ubuntu that they should upgrade to a newer libvirt, or at least backport the patch for this issue. This bug was fixed in commit v0.9.1-187-gb3918fa.
Scratch that - I misread your bug report, and thought your host was Ubuntu. The problem has to be fixed in the host, not the guest. But you were clear that your host is RHEL 6.1, in which case, the bug has already been filed on your behalf :) https://bugzilla.redhat.com/show_bug.cgi?id=743557 -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

Hello, I almost forgot about this error. I dont know somehow this error is not there now. I am able to use libvirt with KVM. I did lot of security related settings and it worked fine. I exactly don't know what change i did made it work. Anyway thanks for the info Eric On Tue, Jan 31, 2012 at 12:01 AM, Eric Blake <eblake@redhat.com> wrote:
On 01/30/2012 11:16 AM, Eric Blake wrote:
On 01/29/2012 03:54 AM, vipul borikar wrote:
I am on RHEL 6.1 running KVM. I am getting following error when i start a Ubuntu 11.10 Guest I am attaching my xml file .
# virsh -c qemu:///system create Ubuntu-110.10.xml
error: Failed to create domain from Ubuntu-110.10.xml error: internal error Process exited while reading console log output: 16:19:53.991: 2418: info : libvirt version: 0.8.7, package: 18.el6 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2011-04-18-10:28:30, x86-008.build.bos.redhat.com) 16:19:53.991: 2418: error : virSetUIDGID:2905 : cannot getpwuid_r(107): Success libvir: error : cannot getpwuid_r(107): Success
Where should i looks for more info???
File a bug against ubuntu that they should upgrade to a newer libvirt, or at least backport the patch for this issue. This bug was fixed in commit v0.9.1-187-gb3918fa.
Scratch that - I misread your bug report, and thought your host was Ubuntu. The problem has to be fixed in the host, not the guest. But you were clear that your host is RHEL 6.1, in which case, the bug has already been filed on your behalf :)
https://bugzilla.redhat.com/show_bug.cgi?id=743557
-- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
-- Thanks Vipul Borikar "Our task must be to free ourselves...by widening our circle of compassion to embrace all living creatures and the whole of nature and its beauty."
participants (2)
-
Eric Blake
-
vipul borikar