Skip to content

Commit

Permalink
Bugfix #780784. KeyError when creating custom image.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihgen committed May 10, 2011
1 parent 21f18f7 commit 6c4059f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Authors
Expand Up @@ -54,6 +54,7 @@ Mark Washenberger <mark.washenberger@rackspace.com>
Masanori Itoh <itoumsn@nttdata.co.jp>
Matt Dietz <matt.dietz@rackspace.com>
Michael Gundlach <michael.gundlach@rackspace.com>
Mike Scherbakov <mihgen@gmail.com>
Monsyne Dragon <mdragon@rackspace.com>
Monty Taylor <mordred@inaugust.com>
MORITA Kazutaka <morita.kazutaka@gmail.com>
Expand Down
3 changes: 2 additions & 1 deletion nova/virt/libvirt_conn.py
Expand Up @@ -456,7 +456,8 @@ def snapshot(self, instance, image_id):
'container_format': base['container_format'],
'is_public': False,
'name': '%s.%s' % (base['name'], image_id),
'properties': {'architecture': base['architecture'],
'properties': {'architecture':
base['properties']['architecture'],
'kernel_id': instance['kernel_id'],
'image_location': 'snapshot',
'image_state': 'available',
Expand Down

0 comments on commit 6c4059f

Please sign in to comment.