TRACE nova.openstack.common.threadgroup OSError: [Errno 2] No such file or directory: ‘/usr/lib/python2.6/site-packages/instances’

0 votes

I tried to run openstack-nova-compute command, but I am getting below error.

$ service openstack-nova-compute status 
openstack-nova-compute dead but pid file exists

The log file revealed the below message.

TRACE nova.openstack.common.threadgroup OSError: [Errno 2] No such file or directory: ‘/usr/lib/python2.6/site-packages/instances’ 

Thank You

Mar 27 in OpenStack by akhtar
• 10,330 points
34 views

1 answer to this question.

0 votes

Hi@akhtar,

As the error shows No such file or directory: ‘/usr/lib/python2.6/site-packages/instances’ , means you didn't add your directory path inside nova.conf file. So, add path in nova configuration file.

$ Open /etc/nova/nova.conf 

And set ‘instances_path=/var/lib/nova/instances

Thank You

answered Mar 27 by MD
• 22,520 points

Related Questions In OpenStack

0 votes
0 answers
0 votes
1 answer

why my Instances are running in an intermediate state, such as deleting in OpenStack?

Hi@akhtar, You can use the nova reset-state command to manually ...READ MORE

answered Mar 23 in OpenStack by MD
• 22,520 points
25 views
0 votes
1 answer

Why my Instances boot slowly, or sometimes do not boot in OpenStack?

Hi@akhtar, File injection can cause this problem. To ...READ MORE

answered Mar 23 in OpenStack by MD
• 22,520 points
40 views
0 votes
1 answer

openstack-nova-metadata-api dead but pid file exists.

Hi@akhtar, Surprisingly, the service ‘openstack-nova-metadata-api‘ was already running. ...READ MORE

answered Mar 27 in OpenStack by MD
• 22,520 points
38 views
0 votes
1 answer

Can anyone explain, how nova works internally?

Hi@akhtar, Nova is comprised of multiple server process, ...READ MORE

answered Mar 17 in OpenStack by MD
• 22,520 points
36 views
0 votes
1 answer

How to create an instance in OpenStack?

Hi@akhtar, When we try to launch an instance ...READ MORE

answered Mar 17 in OpenStack by anonymous
• 22,520 points
54 views
0 votes
1 answer

Instance is not pingable from outside in OpenStack!

Ho@akhtar, There is nothing wrong. But when you ...READ MORE

answered Mar 17 in OpenStack by MD
• 22,520 points
155 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17 in OpenStack by MD
• 22,520 points
87 views
0 votes
1 answer