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, 2020 in OpenStack by akhtar
• 38,260 points
1,379 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, 2020 by MD
• 95,460 points

Related Questions In OpenStack

0 votes
1 answer

Why AWS or OpenStack launch instances so fast?

Hi@akhtar, Actually AWS or Openstack uses pre-installed image. ...READ MORE

answered Jun 4, 2020 in OpenStack by MD
• 95,460 points
916 views
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, 2020 in OpenStack by MD
• 95,460 points
712 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, 2020 in OpenStack by MD
• 95,460 points
1,192 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, 2020 in OpenStack by MD
• 95,460 points
1,348 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, 2020 in OpenStack by MD
• 95,460 points
1,738 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, 2020 in OpenStack by anonymous
• 95,460 points
2,678 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, 2020 in OpenStack by MD
• 95,460 points
6,486 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, 2020 in OpenStack by MD
• 95,460 points
9,705 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP