Remove passing of password while installing plugin for upgrade

Fuel CLI uses different argument for username in 7.0 and 8.0+ releases.
Now password in astute.yaml is updating during master node setup so
it's possible to remove login and password from the command.

Change-Id: Ida21eff98216600e65f219770af474a3bd6680c3
This commit is contained in:
Vladimir Khlyunev 2016-08-19 16:21:38 +03:00
parent c727a41da4
commit c3b978c681

View File

@ -74,11 +74,8 @@ class UpgradePlugin(DataDrivenUpgradeBase):
url=settings.EXAMPLE_V3_PLUGIN_REMOTE_URL, url=settings.EXAMPLE_V3_PLUGIN_REMOTE_URL,
location=example_plugin_remote_name)) location=example_plugin_remote_name))
admin_remote.check_call( admin_remote.check_call(
"fuel --username={user} --password {password} " "fuel plugins --install {location} ".format(
"plugins --install {location} ".format( location=example_plugin_remote_name))
location=example_plugin_remote_name,
user=settings.KEYSTONE_CREDS['username'],
password=settings.KEYSTONE_CREDS['password']))
self.show_step(2) self.show_step(2)
self.show_step(3) self.show_step(3)