Fix creating SDGroup with no properties

When SDGroup has no properties, it fails with
impossibility of getting servers properties, so
need to add servers as required property. No test
needed in case of known behaviour of properties with
required option.

Change-Id: Ib5b867a48b37130b0ef3ad6e21730abe5a5033a9
Closes-bug: #1585952
This commit is contained in:
Peter Razumovsky 2016-06-08 14:10:33 +03:00
parent 4c54183621
commit 50b1182254

View File

@ -602,7 +602,8 @@ class SoftwareDeploymentGroup(resource_group.ResourceGroup):
_('A map of names and server IDs to apply configuration to. The '
'name is arbitrary and is used as the Heat resource name '
'for the corresponding deployment.'),
update_allowed=True
update_allowed=True,
required=True
),
CONFIG: _sd_ps[CONFIG],
INPUT_VALUES: _sd_ps[INPUT_VALUES],