From 003e47890a6998400ef6b0a7bc3ca689e8a43a7e Mon Sep 17 00:00:00 2001 From: Carlos Camacho Date: Tue, 8 May 2018 20:03:51 +0200 Subject: [PATCH] Add ssh-user to get_tripleo_ansible_inventory We were missing --ssh-user when calling get_tripleo_ansible_inventory assigning overcloud as the ssh_user by default. This is failing after adding the --stack option as he had only one before (cherry picked from commit c8892adcc9ecb34dd05f22ce1a910db2f95096f2) Change-Id: I447a050ce67d626e7050a22c9821f883ebeda2ee Closes-Bug: 1767379 Closes-Bug: 1769974 --- tripleoclient/v1/overcloud_ffwd_upgrade.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tripleoclient/v1/overcloud_ffwd_upgrade.py b/tripleoclient/v1/overcloud_ffwd_upgrade.py index d8785d534..7a35a5de3 100644 --- a/tripleoclient/v1/overcloud_ffwd_upgrade.py +++ b/tripleoclient/v1/overcloud_ffwd_upgrade.py @@ -148,10 +148,10 @@ class FFWDUpgradeRun(command.Command): clients = self.app.client_manager stack = parsed_args.stack - + ssh_user = parsed_args.ssh_user # Run ansible: inventory = oooutils.get_tripleo_ansible_inventory( - parsed_args.static_inventory, stack) + parsed_args.static_inventory, ssh_user, stack) # Don't expost limit_hosts. We need this on the whole overcloud. limit_hosts = '' oooutils.run_update_ansible_action(