diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py index 64a479fe1f1..24ecaaeb0b2 100644 --- a/nova/virt/xenapi/vm_utils.py +++ b/nova/virt/xenapi/vm_utils.py @@ -322,7 +322,7 @@ def create_vdi(session, sr_ref, info, disk_type, virtual_size, # hence information about instance may or may not be present otherconf = {} if not isinstance(info, basestring): - name_label = info['display_name'] + name_label = info['name'] otherconf = {'nova_instance_uuid': info['uuid'], 'nova_disk_type': disk_type} else: