Change 'zone_blob' key to 'blob' in create server.
bug 893183 The OSAPI looks for key 'blob' to check if a build plan is associated to a create request server. But the novaclient uses the key 'zone_blob'. Change-Id: I85fd3629e1b3a2f142ac9296418e361aff5c5e4b
This commit is contained in:
parent
69f7e87b16
commit
72c5ca3aec
1
AUTHORS
1
AUTHORS
@ -10,6 +10,7 @@ Christopher MacGown <ignoti+github@gmail.com>
|
||||
Dan Wendlandt <dan@nicira.com>
|
||||
Dean Troyer <dtroyer@gmail.com>
|
||||
Ed Leafe <ed@leafe.com>
|
||||
Edouard Thuleau <edouard1.thuleau@orange.com>
|
||||
Eldar Nugaev <eldr@ya.ru>
|
||||
Gabriel Hurley <gabriel@strikeawe.com>
|
||||
Gaurav Gupta <gaurav@denali-systems.com>
|
||||
|
@ -171,7 +171,7 @@ class BootingManagerWithFind(ManagerWithFind):
|
||||
if reservation_id:
|
||||
body["server"]["reservation_id"] = reservation_id
|
||||
if zone_blob:
|
||||
body["server"]["zone_blob"] = zone_blob
|
||||
body["server"]["blob"] = zone_blob
|
||||
|
||||
if not min_count:
|
||||
min_count = 1
|
||||
|
@ -71,7 +71,7 @@ class BootingManagerWithFind(base.ManagerWithFind):
|
||||
if reservation_id:
|
||||
body["server"]["reservation_id"] = reservation_id
|
||||
if zone_blob:
|
||||
body["server"]["zone_blob"] = zone_blob
|
||||
body["server"]["blob"] = zone_blob
|
||||
|
||||
if not min_count:
|
||||
min_count = 1
|
||||
|
@ -71,7 +71,7 @@ class BootingManagerWithFind(base.ManagerWithFind):
|
||||
if reservation_id:
|
||||
body["server"]["reservation_id"] = reservation_id
|
||||
if zone_blob:
|
||||
body["server"]["zone_blob"] = zone_blob
|
||||
body["server"]["blob"] = zone_blob
|
||||
if key_name:
|
||||
body["server"]["key_name"] = key_name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user