Ask Your Question
0

How to check the version of swift in storage node?

asked 2014-09-11 07:37:37 -0500

ebyenjoys gravatar image

updated 2014-09-11 07:40:03 -0500

Hello,

I do have a swift cluster with a proxy and storage node. I have added the repository of ice house with the following commands:

apt-get -y install python-software-properties
apt-get -y install ubuntu-cloud-keyring
apt-add-repository cloud-archive:icehouse
apt-get update

The cluster is working perfectly with no issues. To check the current version that i have installed ran the command in both the nodes:

swift --version

I got the reply swift 2.0.3 from proxy node. But i am not able to get the version from my storage node. I am attaching the screen shot from my storage node. Could anyone sort out this for me?storage screenshot

I am wondering why i am getting prompted to install swift again to a working cluster..!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-09-11 16:21:38 -0500

notmyname gravatar image

The swift --version command shows you the version of the swift CLI tool ( https://pypi.python.org/pypi/python-s... ).

To find the version of Swift itself, either look at the packages you installed (ie directly or indirectly ask the disto) or make a "/info" request to Swift. See http://docs.openstack.org/api/opensta...

edit flag offensive delete link more

Comments

Thank You Sir. The information was really helpful.

ebyenjoys gravatar imageebyenjoys ( 2014-09-11 22:49:21 -0500 )edit

Good that you posted, it helps others.

SGPJ gravatar imageSGPJ ( 2014-09-12 09:06:51 -0500 )edit
1

answered 2014-10-30 17:02:34 -0500

Alex Tesch gravatar image

Or you could run "swift capabilities" and it will tell you the swift proxy /server version

edit flag offensive delete link more

Comments

This is really slick and works from the command line.

prufrock gravatar imageprufrock ( 2016-07-25 15:27:08 -0500 )edit

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: 2014-09-11 07:37:37 -0500

Seen: 1,696 times

Last updated: Sep 11 '14