← Back to team overview

openstack team mailing list archive

Re: nova-api error on centos (devstack installation)

 

Verify the permissions on all the files in /etc/nova including
api-paste.ini. I've seen errors like that when nova can't read the conf
file due to permissions.

Nate
On May 22, 2012 5:42 AM, "Mauch, Viktor (SCC)" <mauch@xxxxxxx> wrote:

> Hello together,
>
> In the last days a played with multi-node installation of devstack:
>
> http://devstack.org/guides/multinode-lab.html
>
> However I tried to use CentOS 6.2 machines for Computes Nodes and a normal
> Ubuntu 12.04 for Head Node.
>
> On the compute nodes I want to run n-cpu (nova-compute) and n-net
> (nova-network). However after the stack.sh run there are still missing some
> "API" modules  if I try to run nova-manage.
>
> If I try to install n-cpu, n-net AND n-api, the stack.sh script will crash
> because of the nova-api service with the following message:
>
> CRITICAL nova [-] Could not load paste app 'ec2' from
> /etc/nova/api-paste.ini
> TRACE nova Traceback (most recent call last):
> TRACE nova   File "/usr/bin/nova-api", line 51, in <module>
> TRACE nova     servers.append(service.WSGIService(api))
> TRACE nova   File "/usr/lib/python2.6/site-packages/nova/service.py", line
> 326, in __init__
> TRACE nova     self.app = self.loader.load_app(name)
> TRACE nova   File "/usr/lib/python2.6/site-packages/nova/wsgi.py", line
> 391,
> in load_app
> TRACE nova     raise exception.PasteAppNotFound(name=name,
> path=self.config_path)
> TRACE nova PasteAppNotFound: Could not load paste app 'ec2' from
> /etc/nova/api-paste.ini
>
>
> Does anybody have an idea, what is going wrong?
>
> Cheers Viktor
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

References