Ask Your Question

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

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

manish gravatar image


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


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/\", 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

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 '' 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, AS services_id, 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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 1,410 times

Last updated: May 29 '14