diff --git a/cloud/glance_image b/cloud/glance_image index 3ef823d1ae3..1060ffacbaa 100644 --- a/cloud/glance_image +++ b/cloud/glance_image @@ -176,7 +176,7 @@ def _glance_image_create(module, params, client): 'copy_from': params.get('copy_from'), } try: - timeout = params.get('timeout') + timeout = float(params.get('timeout')) expire = time.time() + timeout image = client.images.create(**kwargs) if not params['copy_from']: