Ask Your Question
0

Any plans for in-service software upgrade from one Swift release to the next?

asked 2011-03-22 14:11:53 -0500

dderuijter gravatar image

What is the envisioned procedure to upgrade a deployed Swift installation to the next release? Do you have to take the entire cluster offline, perform the software upgrade and then reboot all nodes? Or is there some minimal guarantee of interoperability between releases so that you can upgrade maybe one zone at a time while the cluster remains available during the upgrade?

In short, how does one make updating the Swift software as painless as possible?

Cheers/denis

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-03-24 17:42:09 -0500

cthier gravatar image

Hi Denis,

In the easy cases, most releases should be able to be updated a zone at a time, and everything can stay running while the rolling upgrade occurs. The process usually should look something like:

For each zone: 1. Shutdown all storage services in that zone. Shutdown will do a graceful stop, allowing all current requests to complete. 2. Upgrade packages for that zone. 3. Startup services for that zone. 4. Verify from logs (or other means) that requests in the zone are being answered correctly 5. Move to the next zone.

More complicated upgrades may require more steps such as stopping all background jobs (replication, updaters, etc.), or saving the proxy upgrades until all storage servers have been updated (depending on what has changed).

I will add a note to try to better communicate in the release notes what is required for an upgrade from previous versions. We are also adding features to make this work better (such as https://bugs.launchpad.net/swift/+bug/736481 (https://bugs.launchpad.net/swift/+bug...) ).

The best thing that you can do is to have a staging cluster that you can test the upgrades with to ensure a seemless upgrade.

edit flag offensive delete link more
0

answered 2011-03-24 17:44:22 -0500

dderuijter gravatar image

Thanks!

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-03-22 14:11:53 -0500

Seen: 44 times

Last updated: Mar 24 '11