diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2012-07-26 08:59:24 +0000 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2012-07-26 18:19:50 +0000 |
| commit | 0c59003b1cc2ce17e3215e6c69b0dc2407f1b38b (patch) | |
| tree | 29e7c10592e193c466129b1ce4983c504389aec9 /nova/openstack | |
| parent | ee4e63dbf45a46fc35f1a6681b49ee2aba9b396b (diff) | |
| download | nova-0c59003b1cc2ce17e3215e6c69b0dc2407f1b38b.tar.gz nova-0c59003b1cc2ce17e3215e6c69b0dc2407f1b38b.tar.xz nova-0c59003b1cc2ce17e3215e6c69b0dc2407f1b38b.zip | |
Refactor glance image service code
Fixes bug 1029397
This adds better retry support, making sure that if we need to retry
requests to glance, we cycle through all hosts before potentially
attemping the hosts that failed. The old random selection could cause
immediate retrying of the same host that failed.
This also adds logging of the host:port that failed and fixes a bug in
the retry test, which didn't actually successfully test retrying.
Tests for new code added.
Change-Id: I400616081e1e547b9ca2e0be622889d3a399a5bf
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
