From df0ae71422dc7e6100f91f7b6ce6fc8815c2f373 Mon Sep 17 00:00:00 2001 From: Owen McGonagle Date: Wed, 24 Feb 2021 16:08:13 -0500 Subject: [PATCH] Fix api call to get_deployment_status Function get_deployment_status requires the stack_name parameter, cannot pass plan=plan Without fix, getting this error: openstack tripleo validator run --group pre-update-prepare --plan overcloud get_deployment_status() got an unexpected keyword argument 'plan' Co-authored-by: Daniel Bengtsson Change-Id: I7b5da62a564c22738427632ea03b1e33cdf2f89a --- tripleo_validations/tripleo_validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleo_validations/tripleo_validator.py b/tripleo_validations/tripleo_validator.py index 7a934d065..21c8fbe45 100644 --- a/tripleo_validations/tripleo_validator.py +++ b/tripleo_validations/tripleo_validator.py @@ -348,7 +348,7 @@ class TripleOValidatorRun(command.Command): "inventory or use authentication.")) else: if plan: - status = deployment.get_deployment_status(clients, plan=plan) + status = deployment.get_deployment_status(clients, plan) if not status or status in NO_VALIDATION_STATE: raise exceptions.CommandError( _("The plan and the stack '{}' doesn't exist OR are "