OpenStack Object Storage (Swift)

Asked by maclaon

i add a grizzly version source of Open Stack Object Storage (Swift) in my /etc/apt/source.list, but i got the version 'swift 1.0' by tying 'swift --version' command, while i got another version 'Version: 1.8.0-0ubuntu1.2~cloud0' by tying 'dpkg -p swift | grep Version' command, i am really confused, can anyone explain it for me, i appreciate.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Chuck Thier
Solved:
Last query:
Last reply:
Revision history for this message
Best Chuck Thier (cthier) said :
#1

the 'swift' command line utility is from the python-swiftclient project, which you evidently have v1.0 of. You can print the version of swift that you have by running something like:

python -c 'import swift; print swift.__version__'

Revision history for this message
maclaon (maclaonzen) said :
#2

Thanks Chuck Thier, that solved my question.