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

Making project in Vagrant fails #52

Closed
sb8244 opened this issue Aug 9, 2015 · 5 comments
Closed

Making project in Vagrant fails #52

sb8244 opened this issue Aug 9, 2015 · 5 comments

Comments

@sb8244
Copy link
Contributor

sb8244 commented Aug 9, 2015

I've tried everything I know of, but can't get this to work. Changing the order of the deps will just cause the first dep listed to fail (cowboy for instance).

➜  switchboard git:(master) ✗ vagrant provision
==> default: Running provisioner: ansible...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-key=/Users/stephenbussey/src-untracked/switchboard/.vagrant/machines/default/virtualbox/private_key --user=vagrant --connection=ssh --limit='default' --inventory-file=/Users/stephenbussey/src-untracked/switchboard/.vagrant/provisioners/ansible/inventory --extra-vars={"switchboard_host":"192.168.50.2","switchboard_clone":false,"switchboard_profile":"dev","switchboard_google_client_id":null,"switchboard_google_client_secret":null} provisioning/playbook.yml

PLAY [switchboard] ************************************************************

GATHERING FACTS ***************************************************************
ok: [default]

TASK: [switchboard | ensure apt cache is up to date] **************************
ok: [default]

TASK: [switchboard | download the erlang deb] *********************************
ok: [default]

TASK: [switchboard | install the erlang deb] **********************************
ok: [default]

TASK: [switchboard | ensure apt cache is up to date] **************************
ok: [default]

TASK: [switchboard | ensure packages are installed] ***************************
ok: [default] => (item=make,git)

TASK: [switchboard | clone the switchboard repo] ******************************
skipping: [default]

TASK: [switchboard | template out the vars.config file] ***********************
ok: [default]

TASK: [switchboard | make deps] ***********************************************
failed: [default] => {"changed": true, "cmd": ["make", "PROFILE=dev", "deps"], "delta": "0:00:00.044495", "end": "2015-08-09 04:00:44.344233", "rc": 2, "start": "2015-08-09 04:00:44.299738", "warnings": []}
stderr: Unknown or invalid dependency: lager. Please consult the erlang.mk README for instructions.
make: *** [/home/vagrant/switchboard/deps/lager] Error 78

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/Users/stephenbussey/playbook.retry

default                    : ok=7    changed=0    unreachable=0    failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
@sb8244
Copy link
Contributor Author

sb8244 commented Aug 9, 2015

I had to run make erlang-mk and re-run provision. It worked after that.

Do you want me to commit my updated erlang.mk?

@jtmoulia
Copy link
Contributor

jtmoulia commented Aug 9, 2015

Hey @sb8244,

Do you want me to commit my updated erlang.mk?

Yes to the erlang.mk PR -- I just tried a fresh build a ran into the same issue. Thanks for debugging it!

@sb8244
Copy link
Contributor Author

sb8244 commented Aug 9, 2015

#53

@sb8244
Copy link
Contributor Author

sb8244 commented Aug 9, 2015

I want to take advantage of your response here to ask a question. About how many concurrent mailboxes / connections can I watch at one time? Several thousand? I see there is an issue with benchmarks but I don't see any.

@jtmoulia
Copy link
Contributor

jtmoulia commented Aug 9, 2015

I can't give you a straight answer since the benchmarks still haven't been run.

Creating the dovecot IMAP harnesses to properly run the benchmarks has been a royal pain, but I would like to finish my work on that. To that end -- @bismark would it be possible to move the dovetail repo over to github?

@sb8244 we can keep talking about benchmarking over on issue #40

Resolved by #53

@jtmoulia jtmoulia closed this as completed Aug 9, 2015
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

2 participants