diff options
| author | Brian Waldon <bcwaldon@gmail.com> | 2012-07-30 13:12:18 -0700 |
|---|---|---|
| committer | Brian Waldon <bcwaldon@gmail.com> | 2012-08-13 13:28:48 -0700 |
| commit | 95015ad42a1f6355af095a6dca2ecd39ae2cc735 (patch) | |
| tree | c9ad4567af8538db33a631078f10dbae2f11ad3e /nova/virt | |
| parent | 3fc3dbe6ab6149f5650f777b3a89c650ae3945e9 (diff) | |
Rewrite image code to use python-glanceclient
This patch rewrites the Glance-specific code within Nova to use
the new python-glanceclient library. The old client is deprecated
in Folsom and should not be used in conjunction with
python-glanceclient.
This removes the dependency on installing 'glance' through pip.
Implements bp integrate-python-glanceclient
Fixes bug 880964
Change-Id: Ifb9e75593abd36a2d1c08773d02f192e5e5627fc
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/vmwareapi/read_write_util.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nova/virt/vmwareapi/read_write_util.py b/nova/virt/vmwareapi/read_write_util.py index 765b94cc6..b0d7cef0b 100644 --- a/nova/virt/vmwareapi/read_write_util.py +++ b/nova/virt/vmwareapi/read_write_util.py @@ -27,8 +27,6 @@ import urllib import urllib2 import urlparse -from glance import client - from nova import flags from nova.openstack.common import log as logging @@ -38,10 +36,7 @@ FLAGS = flags.FLAGS USER_AGENT = "OpenStack-ESX-Adapter" -try: - READ_CHUNKSIZE = client.BaseClient.CHUNKSIZE -except AttributeError: - READ_CHUNKSIZE = 65536 +READ_CHUNKSIZE = 65536 class GlanceFileRead(object): |
