Ask Your Question
0

nova-compute fails to start " Connection to libvirt failed: Failed to find group record for gid"

asked 2014-11-18 16:39:01 -0600

nitins gravatar image

Hi,

I am not sure why I keep getting this error when i start nova-compute on ubuntu 14.04. I am using Juno.

also I observed that there was no nova user created in /etc/passwd file while nova installation.

Please help. I am a newbie on openstack issues.

2014-11-18 14:32:12.578 21438 AUDIT nova.service [-] Starting compute node (version 2014.2) 2014-11-18 14:32:12.578 21438 DEBUG nova.virt.libvirt.driver [-] Connecting to libvirt: qemu:///system _get_new_connection /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py:724 2014-11-18 14:32:12.589 21438 ERROR nova.virt.libvirt.driver [-] Connection to libvirt failed: Failed to find group record for gid '151' 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver Traceback (most recent call last): 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 839, in _connect 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver libvirt.openAuth, uri, auth, flags) 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver rv = execute(f,args,kwargs) 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver rv = meth(args,kwargs) 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver File "/usr/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver if ret is None:raise libvirtError('virConnectOpenAuth() failed') 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver libvirtError: Failed to find group record for gid '151' 2014-11-18 14:32:12.589 21438 TRACE nova.virt.libvirt.driver 2014-11-18 14:32:12.616 21438 WARNING nova.virt.libvirt.driver [-] Cannot update service status on host: cdbu04,since it is not registered. 2014-11-18 14:32:12.617 21438 ERROR nova.openstack.common.threadgroup [-] Connection to the hypervisor is broken on host: cdbu04 2014-11-18 14:32:12.617 21438 TRACE nova.openstack.common.threadgroup Traceback (most recent call last): 2014-11-18 14:32:12.617 21438 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py", line 125, in wait 2014-11-18 14:32:12.617 21438 TRACE nova.openstack.common.threadgroup x.wait() 2014-11-18 14:32:12.617 21438 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py", line 47, in wait 2014-11-18 14:32:12.617 21438 TRACE nova.openstack.common.threadgroup return self.thread.wait() 2014-11-18 14:32:12.617 21438 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait 2014-11-18 14:32:12.617 21438 TRACE nova.openstack.common.threadgroup return ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-18 21:39:53 -0600

yatin gravatar image

Check is there any entry of libvirt-qemu in /etc/passwd. Is the group id 151 there, as seen in your log

edit flag offensive delete link more
0

answered 2014-11-20 05:31:21 -0600

Vinoth gravatar image

Check whether /etc/passwd file have correct permissions.

It should have 644 root:root permission.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-18 16:39:01 -0600

Seen: 3,337 times

Last updated: Nov 20 '14