Ask Your Question

Swift upgrade issue - 1.9.0 to 1.10.0

asked 2013-11-14 11:54:38 -0500

simplidrive gravatar image


We are trying to upgrade swift 1.9.0 to 1.10.0.

The ubuntu OS is 13.10. After the upgrade, all the features are working fine. Except, swift-ring-builder command which give below error :

root@swift-proxy-2:~# swift-ring-builder /etc/swift/account.builder Traceback (most recent call last): File "/usr/local/bin/swift-ring-builder", line 31, in <module> from swift.common.ring.utils import parse_search_value, parse_args, \ ImportError: cannot import name parse_args

We have upgraded it using the tar.gz available at ( . The upgrade steps included :

1) stop all the relevant swift services, python install command and then start services.

Above was done first on storage nodes followed by proxy server.

Any help would be appreciated.



edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-14 16:28:54 -0500

torgomatic gravatar image

You've still got old code from Swift 1.9 on your system, which is why the import of that function fails; that function is new in 1.10.

If you installed 1.9 with your package manager, make sure to remove it the same way.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-11-14 11:54:38 -0500

Seen: 26 times

Last updated: Nov 14 '13