This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DLAB-1565
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1565 by this push:
new 3018eb8 [DLAB-1565]: Convey billing for remote endpoints - [GCP] fixed
3018eb8 is described below
commit 3018eb81151e7ae6a3e9597acb1fb90990487665
Author: Mykola_Bodnar1 <[email protected]>
AuthorDate: Thu Mar 5 16:57:46 2020 +0200
[DLAB-1565]: Convey billing for remote endpoints - [GCP] fixed
---
infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
index 41d90ca..b5605c7 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -647,7 +647,7 @@ def configure_guacamole():
print('Failed to configure guacamole: ', str(err))
return False
-def configure_billing_endpoint():
+def configure_billing_endpoint(endpoint_keystore_passwor):
try:
if args.billing_enable:
conn.put('./billing_{}.yml'.format(args.cloud_provider),
'{}/conf/billing.yml'
@@ -682,7 +682,7 @@ def configure_billing_endpoint():
},
{
'key': "KEYSTORE_PASSWORD",
- 'value': args.endpoint_keystore_password
+ 'value': endpoint_keystore_password
},
{
'key': "DATASET_NAME",
@@ -906,7 +906,7 @@ def start_deploy():
configure_guacamole()
logging.info("Configuring billing")
- configure_billing_endpoint()
+ configure_billing_endpoint(endpoint_keystore_passwor)
logging.info("Starting supervisor")
start_supervisor_endpoint()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]