Ask Your Question
0

VM instance creation is failing with error-ProcessExecutionError Unexpected error while running command

asked 2014-05-28 22:23:45 -0500

manish gravatar image

Hi,

I have two node setup with legacy nova-network on ubuntu 12.04. while trying to create VM it is failing with error "ProcessExecutionError Unexpected error while running command".

Any help appreciated.

Best Regards, Manish

edit retag flag offensive close merge delete

Comments

Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=[\"/etc/nova/nova.conf\"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 296, in decorated_function | | | return function(self, context, args, *kwargs)

manish gravatar imagemanish ( 2014-05-28 23:05:36 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-05-29 00:21:15 -0500

manish gravatar image

Found the answer the issue was nova db was not created successfully. so compute node was not getting to connect to nova db on controller node hence it failed to create instance. how i found was i ran nova-manage service list command on compute and controller node.

it worked on controller node but failed on compute node with below error.

nova-manage service list Command failed, please check log for more info 2014-05-29 10:25:56.492 3191 CRITICAL nova [req-c96147ca-ac27-4cce-8fab-b96bd4fbad1b None None] ProgrammingError: (ProgrammingError) (1146, "Table 'nova.services' doesn't exist") 'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.binary AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.disabled_reason AS services_disabled_reason \nFROM services \nWHERE services.deleted = %s' (0,)

so i logged in controller to check nova db hence figure out the issue.

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-05-28 22:23:45 -0500

Seen: 1,152 times

Last updated: May 29 '14