Ask Your Question
0

Swift upgrade issue - 1.9.0 to 1.10.0

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

simplidrive gravatar image

Hi,

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 https://launchpad.net/swift/havana/1.10.0/+download/swift-1.10.0.tar.gz (https://launchpad.net/swift/havana/1....) . The upgrade steps included :

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

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

Any help would be appreciated.

Regards,

Viral

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

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

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

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: 2013-11-14 11:54:38 -0600

Seen: 18 times

Last updated: Nov 14 '13