Re: [Openstack] n-api installation problem with devstack (on centos)

2012-11-08 Thread Pádraig Brady

On 11/08/2012 04:12 PM, Mauch, Viktor (SCC) wrote:

Hi Guys,

Now I found the solution for my problem:

n-api installation/start (via devstack) failed on centos 6.x with the error
message below



The problem is the old python-paste version of centos.

So if you get this error, just remove python-paste with:

yum remove python-paste python-paste-deploy python-paste-script

and install the new one via pip:

pip install --upgrade paste PasteDeploy PasteScript

in the last step you have to remove the package names (paste, paste-deploy,
paste-script) in devstack (./files/rpms/*) , because stack.sh will install
this package with the next run.


I've not tried devstack on centos, but I do know of
specific updates to packages in EPEL to support OpenStack.

 python-paste-deploy1.5
 python-routes1.12
 python-sqlalchemy0.7
 python-webob1.0

Note the appended version number which differentiates
those parallel installable versions from the "official"
non backwards compatible version in Centos 6.
Anyway you may be able to install the above and
remove the "official" versions.

Or you can also proceed with your pip install method,
while also considering the other 3 packages I noted.

thanks,
Pádraig.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] n-api installation problem with devstack (on centos)

2012-11-08 Thread Choe, Cheng-Dae
hi...

centos is not officially supported in openstack.

- python package
- ip route package(namespace feature is missing in centos package)

currently ubuntu is best choice and ubuntu support openstack package too.
and also fedora is another option!

2012. 11. 9., 오전 1:12, "Mauch, Viktor (SCC)"  작성:

> Hi Guys,
> 
> Now I found the solution for my problem:
> 
> n-api installation/start (via devstack) failed on centos 6.x with the error
> message below
> 
> 
> 
> The problem is the old python-paste version of centos.
> 
> So if you get this error, just remove python-paste with:
> 
> yum remove python-paste python-paste-deploy python-paste-script
> 
> and install the new one via pip:
> 
> pip install --upgrade paste PasteDeploy PasteScript
> 
> in the last step you have to remove the package names (paste, paste-deploy,
> paste-script) in devstack (./files/rpms/*) , because stack.sh will install
> this package with the next run.
> 
> =
> 
> -Original Message-
> From: openstack-bounces+mauch=kit@lists.launchpad.net
> [mailto:openstack-bounces+mauch=kit@lists.launchpad.net] On Behalf Of
> Mauch, Viktor (SCC)
> Sent: Monday, September 24, 2012 3:39 PM
> To: openstack
> Subject: [Openstack] n-api installation problem with devstack (on centos)
> 
> Hi,
> 
> I have a problem with the installation of "n-api" (via devstack) on CentOS
> 6.3. I get the following error message during installation:
> 
> 
> 2012-09-24 15:11:55 DEBUG nova.wsgi [-] Loading app ec2 from
> /etc/nova/api-paste.ini from (pid=12486) load_app
> /opt/stack/nova/nova/wsgi.py:371
> 2012-09-24 15:11:55 ERROR nova.wsgi [-] URI scheme not known: 'call' (from
> egg, config)
> 2012-09-24 15:11:55 CRITICAL nova [-] Could not load paste app 'ec2' from
> /etc/nova/api-paste.ini
> 2012-09-24 15:11:55 TRACE nova Traceback (most recent call last):
> 2012-09-24 15:11:55 TRACE nova   File "/opt/stack/nova/bin/nova-api", line
> 50, in 
> 2012-09-24 15:11:55 TRACE nova server = service.WSGIService(api)
> 2012-09-24 15:11:55 TRACE nova   File "/opt/stack/nova/nova/service.py",
> line 577, in __init__
> 2012-09-24 15:11:55 TRACE nova self.app = self.loader.load_app(name)
> 2012-09-24 15:11:55 TRACE nova   File "/opt/stack/nova/nova/wsgi.py", line
> 375, in load_app
> 2012-09-24 15:11:55 TRACE nova raise
> exception.PasteAppNotFound(name=name, path=self.config_path)
> 2012-09-24 15:11:55 TRACE nova PasteAppNotFound: Could not load paste app
> 'ec2' from /etc/nova/api-paste.ini
> 2012-09-24 15:11:55 TRACE nova
> 
> Can someone help??
> 
> Cheers Viktor
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] n-api installation problem with devstack (on centos)

2012-11-08 Thread Mauch, Viktor (SCC)
Hi Guys,

Now I found the solution for my problem:

n-api installation/start (via devstack) failed on centos 6.x with the error
message below



The problem is the old python-paste version of centos.

So if you get this error, just remove python-paste with:

yum remove python-paste python-paste-deploy python-paste-script

and install the new one via pip:

pip install --upgrade paste PasteDeploy PasteScript

in the last step you have to remove the package names (paste, paste-deploy,
paste-script) in devstack (./files/rpms/*) , because stack.sh will install
this package with the next run.

=

-Original Message-
From: openstack-bounces+mauch=kit@lists.launchpad.net
[mailto:openstack-bounces+mauch=kit@lists.launchpad.net] On Behalf Of
Mauch, Viktor (SCC)
Sent: Monday, September 24, 2012 3:39 PM
To: openstack
Subject: [Openstack] n-api installation problem with devstack (on centos)

Hi,

I have a problem with the installation of "n-api" (via devstack) on CentOS
6.3. I get the following error message during installation:


2012-09-24 15:11:55 DEBUG nova.wsgi [-] Loading app ec2 from
/etc/nova/api-paste.ini from (pid=12486) load_app
/opt/stack/nova/nova/wsgi.py:371
2012-09-24 15:11:55 ERROR nova.wsgi [-] URI scheme not known: 'call' (from
egg, config)
2012-09-24 15:11:55 CRITICAL nova [-] Could not load paste app 'ec2' from
/etc/nova/api-paste.ini
2012-09-24 15:11:55 TRACE nova Traceback (most recent call last):
2012-09-24 15:11:55 TRACE nova   File "/opt/stack/nova/bin/nova-api", line
50, in 
2012-09-24 15:11:55 TRACE nova server = service.WSGIService(api)
2012-09-24 15:11:55 TRACE nova   File "/opt/stack/nova/nova/service.py",
line 577, in __init__
2012-09-24 15:11:55 TRACE nova self.app = self.loader.load_app(name)
2012-09-24 15:11:55 TRACE nova   File "/opt/stack/nova/nova/wsgi.py", line
375, in load_app
2012-09-24 15:11:55 TRACE nova raise
exception.PasteAppNotFound(name=name, path=self.config_path)
2012-09-24 15:11:55 TRACE nova PasteAppNotFound: Could not load paste app
'ec2' from /etc/nova/api-paste.ini
2012-09-24 15:11:55 TRACE nova

Can someone help??

Cheers Viktor


smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] n-api installation problem with devstack (on centos)

2012-09-24 Thread Mauch, Viktor (SCC)
Hi,

I have a problem with the installation of "n-api" (via devstack) on CentOS
6.3. I get the following error message during installation:


2012-09-24 15:11:55 DEBUG nova.wsgi [-] Loading app ec2 from
/etc/nova/api-paste.ini from (pid=12486) load_app
/opt/stack/nova/nova/wsgi.py:371
2012-09-24 15:11:55 ERROR nova.wsgi [-] URI scheme not known: 'call' (from
egg, config)
2012-09-24 15:11:55 CRITICAL nova [-] Could not load paste app 'ec2' from
/etc/nova/api-paste.ini
2012-09-24 15:11:55 TRACE nova Traceback (most recent call last):
2012-09-24 15:11:55 TRACE nova   File "/opt/stack/nova/bin/nova-api", line
50, in 
2012-09-24 15:11:55 TRACE nova server = service.WSGIService(api)
2012-09-24 15:11:55 TRACE nova   File "/opt/stack/nova/nova/service.py",
line 577, in __init__
2012-09-24 15:11:55 TRACE nova self.app = self.loader.load_app(name)
2012-09-24 15:11:55 TRACE nova   File "/opt/stack/nova/nova/wsgi.py", line
375, in load_app
2012-09-24 15:11:55 TRACE nova raise
exception.PasteAppNotFound(name=name, path=self.config_path)
2012-09-24 15:11:55 TRACE nova PasteAppNotFound: Could not load paste app
'ec2' from /etc/nova/api-paste.ini
2012-09-24 15:11:55 TRACE nova

Can someone help??

Cheers Viktor


smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp