Fixing image validation for Ambari 2.3
Changing ambari version for image validation. Story: #2003996 Task: #26942 Change-Id: I54a1370c482a3a2862f1c8313a984fece25efbd2
This commit is contained in:
parent
3f292dbc78
commit
01d465dd38
@ -284,6 +284,10 @@ class AmbariPluginProvider(p.ProvisioningPluginBase):
|
||||
|
||||
def validate_images(self, cluster, test_only=False, image_arguments=None):
|
||||
image_arguments = self.get_image_arguments(cluster['hadoop_version'])
|
||||
if cluster['hadoop_version'] == '2.3':
|
||||
for arguments in image_arguments:
|
||||
if arguments.name == 'ambari_version':
|
||||
arguments.default = '2.4.3.0'
|
||||
if not test_only:
|
||||
instances = plugin_utils.get_instances(cluster)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user