Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying to Digital Ocean takes extremely long time #723

Closed
ndtob opened this issue Nov 14, 2017 · 2 comments
Closed

Deploying to Digital Ocean takes extremely long time #723

ndtob opened this issue Nov 14, 2017 · 2 comments

Comments

@ndtob
Copy link

ndtob commented Nov 14, 2017

OS / Environment

MacOS High Sierra 10.13.1

Ansible version

ansible 2.1.2.0

Version of components from requirements.txt

Name: setuptools
Version: 18.5
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://bitbucket.org/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@python.org
License: PSF or ZPL
Location: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
Requires:

Name: ansible
Version: 2.1.2.0
Summary: Radically simple IT automation
Home-page: http://ansible.com/
Author: Ansible, Inc.
Author-email: support@ansible.com
License: GPLv3
Location: /Library/Python/2.7/site-packages
Requires: paramiko, jinja2, PyYAML, setuptools, pycrypto

Name: dopy
Version: 0.3.5
Summary: Python client for the Digital Ocean API
Home-page: https://github.com/devo-ps/dopy
Author: Vincent Viallet
Author-email: vincent@devo.ps
License: The MIT License (MIT)
Location: /Library/Python/2.7/site-packages
Requires: requests

Name: boto
Version: 2.42.0
Summary: Amazon Web Services Library
Home-page: https://github.com/boto/boto/
Author: Mitch Garnaat
Author-email: mitch@garnaat.com
License: MIT
Location: /Library/Python/2.7/site-packages
Requires:

Name: azure
Version: 1.0.3
Summary: Microsoft Azure Client Libraries for Python
Home-page: https://github.com/Azure/azure-sdk-for-python
Author: Microsoft Corporation
Author-email: ptvshelp@microsoft.com
License: Apache License 2.0
Location: /Library/Python/2.7/site-packages
Requires: azure-mgmt, azure-servicebus, azure-storage, azure-servicemanagement-legacy

Name: apache-libcloud
Version: 1.3.0
Summary: A standard Python library that abstracts away differences among multiple cloud provider APIs. For more information and documentation, please see http://libcloud.apache.org
Home-page: http://libcloud.apache.org/
Author: Apache Software Foundation
Author-email: dev@libcloud.apache.org
License: Apache License (2.0)
Location: /Library/Python/2.7/site-packages
Requires:

Name: six
Version: 1.4.1
Summary: Python 2 and 3 compatibility utilities
Home-page: http://pypi.python.org/pypi/six/
Author: Benjamin Peterson
Author-email: benjamin@python.org
License: UNKNOWN
Location: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
Requires:

Name: pyOpenSSL
Version: 0.13.1
Summary: Python wrapper module around the OpenSSL library
Home-page: http://pyopenssl.sourceforge.net/
Author: Jean-Paul Calderone
Author-email: exarkun@twistedmatrix.com
License: APL2
Location: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
Requires:

Name: Jinja2
Version: 2.8
Summary: A small but fast and easy to use stand-alone template engine written in pure python.
Home-page: http://jinja.pocoo.org/
Author: Armin Ronacher
Author-email: armin.ronacher@active-4.com
License: BSD
Location: /Library/Python/2.7/site-packages
Requires: MarkupSafe

Summary of the problem

While running Algo from the latest master branch on the above platform deploying to DigitalOcean the script progresses extremely slowly, taking over an hour to complete. Each check/step along the way takes several minutes to complete even tasks which should not take more than a few seconds.. This is repeatable and does not seem to depend on deployment location or options selected.

Steps to reproduce the behavior

Deploy Algo on DigitalOcean in any configuration and in any location.

The way of deployment (cloud or local)

cloud

Expected behavior

Algo should progress through setup and simple checks quickly. It used to take only a few minutes for the entire process.

Actual behavior

Algo script progresses extremely slowly through all steps, setup and checks.

Full log

Currently the script is still running, every step is succeeding however it's been 2 hours and is progressing extremely slowly.

@useradd-deploy
Copy link

In the last couple of days, so that I can get familiar with the process, I've used the instructions at https://github.com/trailofbits/algo#deploy-the-algo-server to create a few new Digital Ocean droplets running Algo. I've had no issues. The script took around 5-10 minutes to run each time.

After seeing this issue, I just downloaded the latest Algo zip file and followed the same instructions. After I entered the ./algo command, it took 6 minutes for the script to run completely and report, "Congratulations! Your Algo server is running."

ndtob, I can't comment on what might be causing the delay you're experiencing but it appears that the script is running fine for at least me.

FWIW, I'm using a MacBook Air running macOS 10.13.1.

@dguido
Copy link
Member

dguido commented Nov 19, 2017

These are temporary issues with DigitalOcean, and they are not our fault. Their VPS infrastructure is sometimes unreliable and has wide swings in performance. The best I can offer is 1) make sure you have a reliable connection to the internet yourself 2) choose a different VPS provider or at least a different datacenter.

@dguido dguido closed this as completed Nov 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants