From 2c40cc3d7276328c2abc12d6c3b7689c702628da Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Tue, 7 Jul 2015 17:38:44 -0500 Subject: [PATCH] Snapshot container_format typo Snapshot wasn't working live because container_format was being specified as 'base' instead of 'bare'. Change-Id: I4d1e55c3f9875d5da07d4586ca785fc900d64e63 --- nova_powervm/tests/virt/powervm/test_image.py | 2 +- nova_powervm/virt/powervm/image.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nova_powervm/tests/virt/powervm/test_image.py b/nova_powervm/tests/virt/powervm/test_image.py index 78a0c9fc..d7867456 100644 --- a/nova_powervm/tests/virt/powervm/test_image.py +++ b/nova_powervm/tests/virt/powervm/test_image.py @@ -48,7 +48,7 @@ class TestImage(test.TestCase): 'is_public': False, 'status': 'active', 'disk_format': 'raw', - 'container_format': 'base', + 'container_format': 'bare', 'properties': { 'image_location': 'snapshot', 'image_state': 'available', diff --git a/nova_powervm/virt/powervm/image.py b/nova_powervm/virt/powervm/image.py index 35209d10..ac4aa256 100644 --- a/nova_powervm/virt/powervm/image.py +++ b/nova_powervm/virt/powervm/image.py @@ -51,7 +51,7 @@ def snapshot_metadata(context, image_api, image_id, instance): 'is_public': False, 'status': 'active', 'disk_format': 'raw', - 'container_format': 'base', + 'container_format': 'bare', 'properties': { 'image_location': 'snapshot', 'image_state': 'available',