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

Fix specs for digitalocean #325

Closed
enxebre opened this issue Jun 22, 2015 · 5 comments
Closed

Fix specs for digitalocean #325

enxebre opened this issue Jun 22, 2015 · 5 comments
Labels

Comments

@enxebre
Copy link
Contributor

enxebre commented Jun 22, 2015

When dpeloying from wercker on Digitalocean:

  1. Docker container "weave" should be running
    On host `mesos_masters'
    Failure/Error: it { should be_running }
    MultiJson::ParseError:
    784: unexpected token at 'Error: No such image or container: weave
    []
    '
    /bin/sh -c docker\ inspect\ weave
    Error: No such image or container: weave
    []

https://app.wercker.com/#deploystep/55881a3e9e5d0cdb461345b5

@enxebre
Copy link
Contributor Author

enxebre commented Jun 22, 2015

This need to be tested against after builing the DO image using the latest version of the packer template.

@enxebre
Copy link
Contributor Author

enxebre commented Jun 22, 2015

Weave service is not running and logs showing:
network 10.128.0.0/10 would overlap with route 10.131.0.0/16
Default -iprange 10.128.0.0/10 overlaps with existing route.
Please pick another range and set it on all hosts.

@enxebre
Copy link
Contributor Author

enxebre commented Jun 22, 2015

Think this is because default value for iprange overlaps with default Digitalocean internal subnet. So setting something more restrictive should work like:
${WEAVE} launch -iprange "{{ weave_docker_subnet }}" ${PEERS}
having that:
weave_docker_subnet: 10.2.{{ loop.index }}.0/24

See https://github.com/Capgemini/Apollo/pull/327/files

@tayzlor
Copy link
Member

tayzlor commented Jun 23, 2015

Closing via 5ade856

@wallies
Copy link
Contributor

wallies commented Mar 4, 2016

closing in favour of #583

@wallies wallies closed this as completed Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants