nova-api is in stop/waiting state and it is not starting
hii
i am new to openstack and i have installed the openstack cloud in ubuntu server 14.04.
I installed the nova package on the controller node and i tried to check the nova image-list it is giving an error
sunny@controller:~$ nova image-list ERROR (CommandError): You must provide a username or user id via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID] sunny@controller:~$
and the status of the service is as follows sunny@controller:~$ service nova-api status nova-api stop/waiting sunny@controller:~$
when i tried to restart the nova-api service it is starting and again after few seconds it is going to stop/waiting state and from the nova-api logs i found this
2014-10-04 03:38:17.267 5303 WARNING keystoneclient.middleware.auth_token [-] This middleware module is deprecated as of v0.10.0 in favor of keystonemiddleware.auth_token - please update your WSGI pipeline to reference the new middleware package.
2014-10-04 03:38:17.268 5303 WARNING keystoneclient.middleware.auth_token [-] Configuring admin URI using auth fragments. This is deprecated, use 'identity_uri' instead.
2014-10-04 03:38:17.269 5303 WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint
2014-10-04 03:38:17.270 5303 INFO keystoneclient.middleware.auth_token [-] Using /tmp/keystone-signing-xcT7Dh as cache directory for signing certificate
2014-10-04 03:38:17.272 5303 INFO nova.wsgi [-] osapi_compute listening on 0.0.0.0:8774
2014-10-04 03:38:17.273 5303 INFO nova.openstack.common.service [-] Starting 1 workers
2014-10-04 03:38:17.277 5303 INFO nova.openstack.common.service [-] Started child 5310
2014-10-04 03:38:17.285 5303 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
2014-10-04 03:38:17.294 5310 INFO nova.osapi_compute.wsgi.server [-] (5310) wsgi starting up on http://0.0.0.0:8774/
2014-10-04 03:38:21.570 5303 CRITICAL nova [-] ProcessExecutionError: Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c
Exit code: 1
Stdout: ''
Stderr: 'Traceback (most recent call last):\n File "/usr/bin/nova-rootwrap", line 6, in