Re: [Openstack] Swift proxy and swift-informant
Giovanni, Have not tried various combinations. But latest swift code works fine on Ubuntu 1210 and 1204. Probably try it on a spare machine and see if it works. Tong Li Emerging Technologies Standards Building 501/B205 liton...@us.ibm.com From: Giovanni Colapinto giovanni.colapi...@gmail.com To: Tong Li/Raleigh/IBM@IBMUS, Cc: openstack@lists.launchpad.net, openstack-bounces +litong01=us.ibm@lists.launchpad.net Date: 04/05/2013 01:55 AM Subject:Re: [Openstack] Swift proxy and swift-informant Yes, I read that documentation on upgrade, but unfortunately in that repository quantal distribution doesn't exists. Is it safe to use precise packages even if I got quantal? Thank you On Thu, Apr 4, 2013 at 4:29 PM, Tong Li liton...@us.ibm.com wrote: on ubuntu, you can try the following. apt-get install python-software-properties add-apt-repository ppa:swift-core/release apt-get update apt-get install swift python-swiftclient Also look into the doc at this link. http://docs.openstack.org/developer/swift/howto_installmultinode.html If you want to use the latest swift code, you can get the code from github and build it yourself but I would not recommend to do it for the production system. Hope that helps. Tong Li Emerging Technologies Standards Building 501/B205 liton...@us.ibm.com Inactive hide details for Giovanni Colapinto ---04/04/2013 09:20:50 AM---Thank you for the reply. How I can upgrade swift? On TGiovanni Colapinto ---04/04/2013 09:20:50 AM---Thank you for the reply. How I can upgrade swift? On Thu, Apr 4, 2013 at 3:12 PM, Tong Li litong01@ From: Giovanni Colapinto giovanni.colapi...@gmail.com To: Tong Li/Raleigh/IBM@IBMUS, Cc: openstack@lists.launchpad.net, openstack-bounces+litong01= us.ibm@lists.launchpad.net Date: 04/04/2013 09:20 AM Subject: Re: [Openstack] Swift proxy and swift-informant Thank you for the reply. How I can upgrade swift? On Thu, Apr 4, 2013 at 3:12 PM, Tong Li liton...@us.ibm.com wrote: swob is not a separate package, it is part of the swift core. You may either get older version of informant which does not use swob or upgrade swift. Tong Li Emerging Technologies Standards Building 501/B205 liton...@us.ibm.com Inactive hide details for Giovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work withGiovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work with swift-informant. From: Giovanni Colapinto giovanni.colapi...@gmail.com To: openstack@lists.launchpad.net, Date: 04/04/2013 04:26 AM Subject: [Openstack] Swift proxy and swift-informant Sent by: openstack-bounces+litong01=us.ibm@lists.launchpad.net Hi to all. I try to configure swift proxy to work with swift-informant. I've installed swift-informant and add/modify the following section to /etc/swift/proxy-server.conf: [pipeline:main] pipeline = informant healthcheck cache swift3 authtoken keystone proxy-server [filter:informant] use = egg:informant#informant statsd_host = 10.0.1.154 metric_name_prepend = inndig. When I start proxy-server it returns the following error: Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 138, in run_wsgi loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 450, in get_context global_additions=global_additions) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 562, in _pipeline_app_context for name in pipeline[:-1]] File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 454, in get_context section) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 476, in _context_from_use
Re: [Openstack] Swift proxy and swift-informant
Ok, thank you very much On Fri, Apr 5, 2013 at 2:32 PM, Tong Li liton...@us.ibm.com wrote: Giovanni, Have not tried various combinations. But latest swift code works fine on Ubuntu 1210 and 1204. Probably try it on a spare machine and see if it works. Tong Li Emerging Technologies Standards Building 501/B205 liton...@us.ibm.com [image: Inactive hide details for Giovanni Colapinto ---04/05/2013 01:55:36 AM---Yes, I read that documentation on upgrade, but unfortu]Giovanni Colapinto ---04/05/2013 01:55:36 AM---Yes, I read that documentation on upgrade, but unfortunately in that repository quantal distribution From: Giovanni Colapinto giovanni.colapi...@gmail.com To: Tong Li/Raleigh/IBM@IBMUS, Cc: openstack@lists.launchpad.net, openstack-bounces+litong01= us.ibm@lists.launchpad.net Date: 04/05/2013 01:55 AM Subject: Re: [Openstack] Swift proxy and swift-informant -- Yes, I read that documentation on upgrade, but unfortunately in that repository quantal distribution doesn't exists. Is it safe to use precise packages even if I got quantal? Thank you On Thu, Apr 4, 2013 at 4:29 PM, Tong Li *liton...@us.ibm.com*liton...@us.ibm.com wrote: on ubuntu, you can try the following. apt-get install python-software-properties add-apt-repository ppa:swift-core/release apt-get update apt-get install swift python-swiftclient Also look into the doc at this link.* **http://docs.openstack.org/developer/swift/howto_installmultinode.html *http://docs.openstack.org/developer/swift/howto_installmultinode.html If you want to use the latest swift code, you can get the code from github and build it yourself but I would not recommend to do it for the production system. Hope that helps. Tong Li Emerging Technologies Standards Building 501/B205* **liton...@us.ibm.com* liton...@us.ibm.com [image: Inactive hide details for Giovanni Colapinto ---04/04/2013 09:20:50 AM---Thank you for the reply. How I can upgrade swift? On T]Giovanni Colapinto ---04/04/2013 09:20:50 AM---Thank you for the reply. How I can upgrade swift? On Thu, Apr 4, 2013 at 3:12 PM, Tong Li litong01@ From: Giovanni Colapinto *giovanni.colapi...@gmail.com*giovanni.colapi...@gmail.com To: Tong Li/Raleigh/IBM@IBMUS, Cc: *openstack@lists.launchpad.net* openstack@lists.launchpad.net, openstack-bounces+litong01=*us.ibm@lists.launchpad.net*us.ibm@lists.launchpad.net Date: 04/04/2013 09:20 AM Subject: Re: [Openstack] Swift proxy and swift-informant -- Thank you for the reply. How I can upgrade swift? On Thu, Apr 4, 2013 at 3:12 PM, Tong Li *liton...@us.ibm.com*liton...@us.ibm.com wrote: swob is not a separate package, it is part of the swift core. You may either get older version of informant which does not use swob or upgrade swift. Tong Li Emerging Technologies Standards Building 501/B205* **liton...@us.ibm.com* liton...@us.ibm.com [image: Inactive hide details for Giovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work with]Giovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work with swift-informant. From: Giovanni Colapinto *giovanni.colapi...@gmail.com*giovanni.colapi...@gmail.com To: *openstack@lists.launchpad.net* openstack@lists.launchpad.net, Date: 04/04/2013 04:26 AM Subject: [Openstack] Swift proxy and swift-informant Sent by: openstack-bounces+litong01=*us.ibm@lists.launchpad.net*us.ibm@lists.launchpad.net -- Hi to all. I try to configure swift proxy to work with swift-informant. I've installed swift-informant and add/modify the following section to /etc/swift/proxy-server.conf: [pipeline:main] pipeline = informant healthcheck cache swift3 authtoken keystone proxy-server [filter:informant] use = egg:informant#informant statsd_host = 10.0.1.154 metric_name_prepend = inndig. When I start proxy-server it returns the following error: Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 138, in run_wsgi loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj
[Openstack] Swift proxy and swift-informant
Hi to all. I try to configure swift proxy to work with swift-informant. I've installed swift-informant and add/modify the following section to /etc/swift/proxy-server.conf: [pipeline:main] pipeline = informant healthcheck cache swift3 authtoken keystone proxy-server [filter:informant] use = egg:informant#informant statsd_host = 10.0.1.154 metric_name_prepend = inndig. When I start proxy-server it returns the following error: Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 138, in run_wsgi loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 450, in get_context global_additions=global_additions) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 562, in _pipeline_app_context for name in pipeline[:-1]] File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 454, in get_context section) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 476, in _context_from_use object_type, name=use, global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 406, in get_context global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 328, in _loadegg return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 620, in get_context object_type, name=name) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 646, in find_egg_entry_point possible.append((entry.load(), protocol, entry.name)) File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 2017, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File /usr/local/lib/python2.7/dist-packages/informant-0.0.10-py2.7.egg/informant/middleware.py, line 16, in module from swift.common.swob import Request ImportError: No module named swob Searching on google I understand that swob is a module of swift = 1.7.5, but on my ubuntu 12.10 swift is 1.7.4 How can I resolv this situation? Is there a way to upgrade swift? Thank you ___ 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] Swift proxy and swift-informant
swob is not a separate package, it is part of the swift core. You may either get older version of informant which does not use swob or upgrade swift. Tong Li Emerging Technologies Standards Building 501/B205 liton...@us.ibm.com From: Giovanni Colapinto giovanni.colapi...@gmail.com To: openstack@lists.launchpad.net, Date: 04/04/2013 04:26 AM Subject:[Openstack] Swift proxy and swift-informant Sent by:openstack-bounces+litong01=us.ibm@lists.launchpad.net Hi to all. I try to configure swift proxy to work with swift-informant. I've installed swift-informant and add/modify the following section to /etc/swift/proxy-server.conf: [pipeline:main] pipeline = informant healthcheck cache swift3 authtoken keystone proxy-server [filter:informant] use = egg:informant#informant statsd_host = 10.0.1.154 metric_name_prepend = inndig. When I start proxy-server it returns the following error: Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 138, in run_wsgi loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 450, in get_context global_additions=global_additions) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 562, in _pipeline_app_context for name in pipeline[:-1]] File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 454, in get_context section) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 476, in _context_from_use object_type, name=use, global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 406, in get_context global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 328, in _loadegg return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 620, in get_context object_type, name=name) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 646, in find_egg_entry_point possible.append((entry.load(), protocol, entry.name)) File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 2017, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File /usr/local/lib/python2.7/dist-packages/informant-0.0.10-py2.7.egg/informant/middleware.py, line 16, in module from swift.common.swob import Request ImportError: No module named swob Searching on google I understand that swob is a module of swift = 1.7.5, but on my ubuntu 12.10 swift is 1.7.4 How can I resolv this situation? Is there a way to upgrade swift? Thank you___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp inline: graycol.gif___ 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] Swift proxy and swift-informant
Thank you for the reply. How I can upgrade swift? On Thu, Apr 4, 2013 at 3:12 PM, Tong Li liton...@us.ibm.com wrote: swob is not a separate package, it is part of the swift core. You may either get older version of informant which does not use swob or upgrade swift. Tong Li Emerging Technologies Standards Building 501/B205 liton...@us.ibm.com [image: Inactive hide details for Giovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work with]Giovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work with swift-informant. From: Giovanni Colapinto giovanni.colapi...@gmail.com To: openstack@lists.launchpad.net, Date: 04/04/2013 04:26 AM Subject: [Openstack] Swift proxy and swift-informant Sent by: openstack-bounces+litong01=us.ibm@lists.launchpad.net -- Hi to all. I try to configure swift proxy to work with swift-informant. I've installed swift-informant and add/modify the following section to /etc/swift/proxy-server.conf: [pipeline:main] pipeline = informant healthcheck cache swift3 authtoken keystone proxy-server [filter:informant] use = egg:informant#informant statsd_host = 10.0.1.154 metric_name_prepend = inndig. When I start proxy-server it returns the following error: Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 138, in run_wsgi loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 450, in get_context global_additions=global_additions) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 562, in _pipeline_app_context for name in pipeline[:-1]] File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 454, in get_context section) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 476, in _context_from_use object_type, name=use, global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 406, in get_context global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 328, in _loadegg return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 620, in get_context object_type, name=name) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 646, in find_egg_entry_point possible.append((entry.load(), protocol, *entry.name*http://entry.name/ )) File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 2017, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File /usr/local/lib/python2.7/dist-packages/informant-0.0.10-py2.7.egg/informant/middleware.py, line 16, in module from swift.common.swob import Request ImportError: No module named swob Searching on google I understand that swob is a module of swift = 1.7.5, but on my ubuntu 12.10 swift is 1.7.4 How can I resolv this situation? Is there a way to upgrade swift? Thank you___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp graycol.gif___ 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] Swift proxy and swift-informant
on ubuntu, you can try the following. apt-get install python-software-properties add-apt-repository ppa:swift-core/release apt-get update apt-get install swift python-swiftclient Also look into the doc at this link. http://docs.openstack.org/developer/swift/howto_installmultinode.html If you want to use the latest swift code, you can get the code from github and build it yourself but I would not recommend to do it for the production system. Hope that helps. Tong Li Emerging Technologies Standards Building 501/B205 liton...@us.ibm.com From: Giovanni Colapinto giovanni.colapi...@gmail.com To: Tong Li/Raleigh/IBM@IBMUS, Cc: openstack@lists.launchpad.net, openstack-bounces +litong01=us.ibm@lists.launchpad.net Date: 04/04/2013 09:20 AM Subject:Re: [Openstack] Swift proxy and swift-informant Thank you for the reply. How I can upgrade swift? On Thu, Apr 4, 2013 at 3:12 PM, Tong Li liton...@us.ibm.com wrote: swob is not a separate package, it is part of the swift core. You may either get older version of informant which does not use swob or upgrade swift. Tong Li Emerging Technologies Standards Building 501/B205 liton...@us.ibm.com Inactive hide details for Giovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work withGiovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work with swift-informant. From: Giovanni Colapinto giovanni.colapi...@gmail.com To: openstack@lists.launchpad.net, Date: 04/04/2013 04:26 AM Subject: [Openstack] Swift proxy and swift-informant Sent by: openstack-bounces+litong01=us.ibm@lists.launchpad.net Hi to all. I try to configure swift proxy to work with swift-informant. I've installed swift-informant and add/modify the following section to /etc/swift/proxy-server.conf: [pipeline:main] pipeline = informant healthcheck cache swift3 authtoken keystone proxy-server [filter:informant] use = egg:informant#informant statsd_host = 10.0.1.154 metric_name_prepend = inndig. When I start proxy-server it returns the following error: Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 138, in run_wsgi loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 450, in get_context global_additions=global_additions) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 562, in _pipeline_app_context for name in pipeline[:-1]] File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 454, in get_context section) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 476, in _context_from_use object_type, name=use, global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 406, in get_context global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 328, in _loadegg return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 620, in get_context object_type, name=name) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 646, in find_egg_entry_point possible.append((entry.load(), protocol, entry.name)) File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 2017, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File /usr/local/lib/python2.7/dist-packages/informant-0.0.10-py2.7.egg/informant/middleware.py, line 16, in module from swift.common.swob import Request ImportError: No module named swob Searching on google I understand that swob is a module of swift = 1.7.5, but on my ubuntu 12.10 swift is 1.7.4 How can I resolv this situation? Is there a way to upgrade swift? Thank you___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net
Re: [Openstack] Swift proxy and swift-informant
Yes, I read that documentation on upgrade, but unfortunately in that repository quantal distribution doesn't exists. Is it safe to use precise packages even if I got quantal? Thank you On Thu, Apr 4, 2013 at 4:29 PM, Tong Li liton...@us.ibm.com wrote: on ubuntu, you can try the following. apt-get install python-software-properties add-apt-repository ppa:swift-core/release apt-get update apt-get install swift python-swiftclient Also look into the doc at this link. http://docs.openstack.org/developer/swift/howto_installmultinode.html If you want to use the latest swift code, you can get the code from github and build it yourself but I would not recommend to do it for the production system. Hope that helps. Tong Li Emerging Technologies Standards Building 501/B205 liton...@us.ibm.com [image: Inactive hide details for Giovanni Colapinto ---04/04/2013 09:20:50 AM---Thank you for the reply. How I can upgrade swift? On T]Giovanni Colapinto ---04/04/2013 09:20:50 AM---Thank you for the reply. How I can upgrade swift? On Thu, Apr 4, 2013 at 3:12 PM, Tong Li litong01@ From: Giovanni Colapinto giovanni.colapi...@gmail.com To: Tong Li/Raleigh/IBM@IBMUS, Cc: openstack@lists.launchpad.net, openstack-bounces+litong01= us.ibm@lists.launchpad.net Date: 04/04/2013 09:20 AM Subject: Re: [Openstack] Swift proxy and swift-informant -- Thank you for the reply. How I can upgrade swift? On Thu, Apr 4, 2013 at 3:12 PM, Tong Li *liton...@us.ibm.com*liton...@us.ibm.com wrote: swob is not a separate package, it is part of the swift core. You may either get older version of informant which does not use swob or upgrade swift. Tong Li Emerging Technologies Standards Building 501/B205* **liton...@us.ibm.com* liton...@us.ibm.com [image: Inactive hide details for Giovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work with]Giovanni Colapinto ---04/04/2013 04:26:57 AM---Hi to all. I try to configure swift proxy to work with swift-informant. From: Giovanni Colapinto *giovanni.colapi...@gmail.com*giovanni.colapi...@gmail.com To: *openstack@lists.launchpad.net* openstack@lists.launchpad.net, Date: 04/04/2013 04:26 AM Subject: [Openstack] Swift proxy and swift-informant Sent by: openstack-bounces+litong01=*us.ibm@lists.launchpad.net*us.ibm@lists.launchpad.net -- Hi to all. I try to configure swift proxy to work with swift-informant. I've installed swift-informant and add/modify the following section to /etc/swift/proxy-server.conf: [pipeline:main] pipeline = informant healthcheck cache swift3 authtoken keystone proxy-server [filter:informant] use = egg:informant#informant statsd_host = 10.0.1.154 metric_name_prepend = inndig. When I start proxy-server it returns the following error: Traceback (most recent call last): File /usr/bin/swift-proxy-server, line 22, in module run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File /usr/lib/python2.7/dist-packages/swift/common/wsgi.py, line 138, in run_wsgi loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 450, in get_context global_additions=global_additions) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 562, in _pipeline_app_context for name in pipeline[:-1]] File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 454, in get_context section) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 476, in _context_from_use object_type, name=use, global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 406, in get_context global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext global_conf=global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 328, in _loadegg return loader.get_context(object_type, name, global_conf) File /usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 620, in get_context