This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2320
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2320 by this push:
     new 5f23265  [DATALAB-2320]: fixed pip not found
5f23265 is described below

commit 5f2326570e82d4583c4170864a3295ce0a262dbe
Author: leonidfrolov <[email protected]>
AuthorDate: Thu May 20 13:16:14 2021 +0300

    [DATALAB-2320]: fixed pip not found
---
 infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py 
b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
index dead381..742a00e 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -278,7 +278,7 @@ def ensure_mongo_endpoint():
             conn.sudo('apt-get -y --allow-unauthenticated install mongodb-org')
             conn.sudo('systemctl enable mongod.service')
             conn.sudo('sudo apt-get -y install python3-pip')
-            conn.sudo('pip install -U pymongo pyyaml --no-cache-dir ')
+            conn.sudo('pip3 install -U pymongo pyyaml --no-cache-dir ')
             conn.sudo('touch /home/{}/.ensure_dir/mongo_ensured'
                       .format(args.os_user))
         print('[CONFIGURING MONGO DATABASE]')

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to