Ask Your Question
0

Installing swift stats system

asked 2011-06-02 11:33:56 -0500

nerens gravatar image

I'm following the steps on http://swift.openstack.org/overview_stats.html (http://swift.openstack.org/overview_s...) to setup the swift stats system but I'm unable to find the swift-account-stats-logger, swift-container-stats-logger & swift-log-uploader programs to run from a cronjob. They are not on my system anywhere.

I've installed swift from the swift-core-ppa-lucid repository. The following packages where installed:

$ dpkg --get-selections|grep swift python-swift install swift install swift-account install swift-proxy install

this returns nothing

$ whereis swift-account-stats-logger swift-account-stats-logger:

dpkg -L python-swift /. /usr /usr/bin /usr/bin/swift-drive-audit /usr/bin/swift-init /usr/share /usr/share/python-support /usr/share/python-support/python-swift.public /usr/share/doc /usr/share/doc/python-swift /usr/share/doc/python-swift/changelog.Debian.gz /usr/share/doc/python-swift/changelog.gz /usr/share/doc/python-swift/copyright /usr/share/pyshared /usr/share/pyshared/test /usr/share/pyshared/test/unit /usr/share/pyshared/test/unit/proxy /usr/share/pyshared/test/unit/proxy/test_server.py /usr/share/pyshared/test/unit/obj /usr/share/pyshared/test/unit/obj/test_auditor.py /usr/share/pyshared/test/unit/obj/test_updater.py /usr/share/pyshared/test/unit/obj/test_server.py /usr/share/pyshared/test/unit/obj/test_replicator.py /usr/share/pyshared/test/unit/stats /usr/share/pyshared/test/unit/stats/test_access_processor.py /usr/share/pyshared/test/unit/stats/test_account_stats.py /usr/share/pyshared/test/unit/stats/test_log_processor.py /usr/share/pyshared/test/unit/stats/test_log_uploader.py /usr/share/pyshared/test/unit/stats/test_stats_processor.py /usr/share/pyshared/test/unit/container /usr/share/pyshared/test/unit/container/test_auditor.py /usr/share/pyshared/test/unit/container/test_updater.py /usr/share/pyshared/test/unit/container/test_server.py /usr/share/pyshared/test/unit/container/test_replicator.py /usr/share/pyshared/test/unit/common /usr/share/pyshared/test/unit/common/test_internal_proxy.py /usr/share/pyshared/test/unit/common/ring /usr/share/pyshared/test/unit/common/ring/test_builder.py /usr/share/pyshared/test/unit/common/ring/test_ring.py /usr/share/pyshared/test/unit/common/test_direct_client.py /usr/share/pyshared/test/unit/common/test_db_replicator.py /usr/share/pyshared/test/unit/common/test_wsgi.py /usr/share/pyshared/test/unit/common/test_db.py /usr/share/pyshared/test/unit/common/test_daemon.py /usr/share/pyshared/test/unit/common/test_constraints.py /usr/share/pyshared/test/unit/common/test_utils.py /usr/share/pyshared/test/unit/common/test_bench.py /usr/share/pyshared/test/unit/common/middleware /usr/share/pyshared/test/unit/common/middleware/test_acl.py /usr/share/pyshared/test/unit/common/middleware/test_cname_lookup.py /usr/share/pyshared/test/unit/common/middleware/test_swift3.py /usr/share/pyshared/test/unit/common/middleware/test_domain_remap.py /usr/share/pyshared/test/unit/common/middleware/test_memcache.py /usr/share/pyshared/test/unit/common/middleware/test_healthcheck.py /usr/share/pyshared/test/unit/common/middleware/test_auth.py /usr/share/pyshared/test/unit/common/middleware/test_ratelimit.py /usr/share/pyshared/test/unit/common/middleware/test_swauth.py /usr/share/pyshared/test/unit/common/middleware/test_except.py /usr/share/pyshared/test/unit/common/test_compressing_file_reader.py /usr/share/pyshared/test/unit/common/test_client.py /usr/share/pyshared/test/unit/common/test_memcached.py /usr/share/pyshared/test ... (more)

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2011-06-02 13:29:14 -0500

gholt gravatar image

Ah, that must be a bug in the 1.2 packaging. It looks like those should be in the swift-account package. I'll try to get one the logging guys to chime in here.

edit flag offensive delete link more
0

answered 2011-06-02 12:57:14 -0500

gholt gravatar image

You have Swift 1.2.0 installed and therefore should use the 1.2 documentation at http://swift.openstack.org/1.2/ (or upgrade to a later version of Swift.

The http://swift.openstack.org/ docs are auto-generated from trunk (the latest development branch).

There are links in the right hand column on the trunk docs to the versioned docs; but your report gives me ammunition to get the links at the top of the first page too. :)

edit flag offensive delete link more
0

answered 2011-06-02 13:11:54 -0500

nerens gravatar image

Thank you for your message. If I look at the correct docs for my version I'm running, http://swift.openstack.org/1.2/overview_stats.html (http://swift.openstack.org/1.2/overvi...) I still see references to swift-account-stats-logger, swift-log-uploader & swift-log-stats-collector (steps 8 to 11). I still have the problem that these are not on my system and I don't know how to install them?

edit flag offensive delete link more
0

answered 2011-06-02 13:34:35 -0500

gholt gravatar image

And, to correct myself a bit, the newest packages seem to show:

Package python-swift: swift-log-uploader

Package swift-account: swift-account-stats-logger swift-container-stats-logger

Package swift: swift-log-stats-collector

edit flag offensive delete link more
0

answered 2011-06-03 09:57:03 -0500

nerens gravatar image

We upgraded to trunk and the packages appeared. Thanks for your help.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-06-02 11:33:56 -0500

Seen: 57 times

Last updated: Jun 03 '11