diff options
author | vladimir.p <vladimir@zadarastorage.com> | 2011-08-12 13:37:22 -0700 |
---|---|---|
committer | vladimir.p <vladimir@zadarastorage.com> | 2011-08-12 13:37:22 -0700 |
commit | 711a02450d24ba7385f2f22bf70a60ecfb452cfc (patch) | |
tree | 60401b973ce8dcba74088bd4fc5d0e4a7dc46d0e /bin | |
parent | b66ea57ae10bac1656e11663e273837dfae67814 (diff) | |
download | nova-711a02450d24ba7385f2f22bf70a60ecfb452cfc.tar.gz |
nova-manage: fixed instance type in vsa creation
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/nova-manage | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage index 3b0bf47e22..dafcd5de0c 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -1124,6 +1124,8 @@ class VsaCommands(object): if instance_type_name == '': instance_type_name = None + instance_type = instance_types.get_instance_type_by_name( + instance_type_name) if image_name == '': image_name = None @@ -1140,7 +1142,7 @@ class VsaCommands(object): 'display_name': name, 'display_description': description, 'vc_count': int(vc_count), - 'instance_type': instance_type_name, + 'instance_type': instance_type, 'image_name': image_name, 'availability_zone': az, 'storage': storage_list, |