Scifabric / pybossa-jujucharm

Juju Charm for PyBossa
GNU Affero General Public License v3.0
4 stars 0 forks source link

Deploying service hangs #9

Open RockyCD opened 7 years ago

RockyCD commented 7 years ago

`vagrant@vagrant-ubuntu-trusty-32:/vagrant$ cat ~/.juju/current-environment' local

vagrant@vagrant-ubuntu-trusty-32:/vagrant$ juju bootstrap

Bootstrapping environment "local"

Starting new instance for initial state server

Building tools to upload (1.25.6.1-trusty-i386)

Installing Juju agent on bootstrap instance

Logging to /home/vagrant/.juju/local/cloud-init-output.log on remote host

Installing package: curl

Installing package: cpu-checker

Installing package: bridge-utils Installing package: rsyslog-gnutls Installing package: cloud-utils Installing package: cloud-image-utils Installing package: tmux Bootstrapping Juju machine agent Starting Juju machine agent (juju-agent-vagrant-local) Bootstrap agent installed local -> local Waiting for API to become available Waiting for API to become available Waiting for API to become available Bootstrap complete vagrant@vagrant-ubuntu-trusty-32:/vagrant$ juju deployer -c bundle.yaml 2016-12-27 20:00:38 Using deployment bundle 2016-12-27 20:00:38 Starting deployment of bundle 2016-12-27 20:00:45 Deploying services... 2016-12-27 20:00:47 Deploying service postgresql using cs:trusty/postgresql-19 2016-12-27 20:01:05 Deploying service pybossa using local:trusty/pybossa

Is this normal? Should it take that long to deploy? I apologize if this sounds silly, I am very new to configuring web related servers.

KrzysztofMadejski commented 7 years ago

I have the same problem. It is running for 3 hours now, I have to kill it.

therealmarv commented 7 years ago

Juju deployment will be removed at some time. Please do the following for testing PYBOSSA:

Install Virtualbox and Vagrant and run following commands:

git clone --recursive https://github.com/Scifabric/pybossa.git
cd pybossa
vagrant up

Thx.

drewwileyroberts commented 7 years ago

@therealmarv This works, but how are we to check the pybossa server ip, etc. without juju? Once the virtualbox is running as you described, what's the next step?

therealmarv commented 7 years ago

Next steps after vagrant up is to run following:

vagrant ssh
python run.py

you can then open your browser on http://localhost:5000 to see PYBOSSA running.