From 9fc7f155278df6cbc3c39b11190f75f8f781e70e Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Wed, 7 Sep 2016 10:20:05 -0500 Subject: [PATCH] Fix a keyward arguement error on bay-config The bay-config command passed 'bay_uuid' keyward arguement to create cert. It should use 'cluster_uuid' instead. Closes-Bug: #1621131 Change-Id: I0e4aa115db3004c8244bcf6c9b74f35088d8c7e8 --- magnumclient/v1/bays_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magnumclient/v1/bays_shell.py b/magnumclient/v1/bays_shell.py index 416d4e21..79b6aedc 100644 --- a/magnumclient/v1/bays_shell.py +++ b/magnumclient/v1/bays_shell.py @@ -214,7 +214,7 @@ def do_bay_config(cs, args): raise exceptions.CommandError("Bay in status %s" % bay.status) baymodel = cs.baymodels.get(bay.baymodel_id) opts = { - 'bay_uuid': bay.uuid, + 'cluster_uuid': bay.uuid, } if not baymodel.tls_disabled: