Commit 432129a3 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

cyclades: Add snapshot property in lowercase

Snapshot properties are stored in lowercase in Pithos DB. It is the
image/plaknton API that converts them to uppercase.
parent 38a3b898
......@@ -75,7 +75,7 @@ def create(user_id, volume, name, description, metadata, force=False):
# that are being used for images. We set 'EXCLUDE_ALL_TASKS' to bypass
# image customization. Also, we get some basic metadata for the volume from
# the server that the volume is attached
metadata.update({"EXCLUDE_ALL_TASKS": "yes",
metadata.update({"exclude_all_tasks": "yes",
"description": description})
if volume.index == 0:
# Copy the metadata of the VM into the image properties only when the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment