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

ocsp and discovery do not use lb_web network but create their own haproxy_default #9

Open
BuritoSlinger opened this issue Apr 24, 2017 · 2 comments

Comments

@BuritoSlinger
Copy link

Tried to use this to ultimately run nextcloud. I am running this on a QNAP nas box which does know about docker but does not know docker-compose ... although it is installed. So I thought I'd give it a shot.

setup lb_web worked the git worked and then:

` docker-compose up -d
Removing haproxy_ocsp_1
Removing haproxy_discovery_1
Starting haproxy_letsencrypt-web_1
Recreating 1d41a4a77454_1d41a4a77454_haproxy_ocsp_1
haproxy_letsencrypt_1 is up-to-date
Recreating 59b308ab6a62_59b308ab6a62_haproxy_discovery_1

ERROR: for letsencrypt-web Cannot start service letsencrypt-web: failed to create endpoint haproxy_letsencrypt-web_1 on network lb_web: adding interface vethe3c819c to bridge ubr-db7943c3bff failed: could not find bridge ubr-db7943c3bff: route ip+net: no such network interface

ERROR: for discovery Cannot start service discovery: failed to create endpoint haproxy_discovery_1 on network lb_web: adding interface veth65197d6 to bridge ubr-db7943c3bff failed: could not find bridge ubr-db7943c3bff: route ip+net: no such network interface

ERROR: for ocsp Cannot start service ocsp: failed to create endpoint haproxy_ocsp_1 on network lb_web: adding interface veth1c6b03e to bridge ubr-db7943c3bff failed: could not find bridge ubr-db7943c3bff: route ip+net: no such network interface
ERROR: Encountered errors while bringing up the project.`

when I check the docker network I got:
docker network ls NETWORK ID NAME DRIVER 09a0ba68ec50 bridge bridge 9633f73d5aae haproxy_default bridge c545021a49ee host host db7943c3bffa lb_web bridge 28d48d039085 none null

what am I doing wrong?

@JOduMonT
Copy link
Contributor

Hi BuritoSlinger;

I know you open this ticket a long time ago, but better late than never ;)

Personally in my docker-compose.yml I force both discovery and oscp to not having access to internet by adding network_mode: none
as you could see here

For your error, it's look related to QNAP or more specific OpenVSwitch but not related on how to execute it.

@pierreozoux
Copy link
Member

@JOduMonT could you PR that please, looks sane default.
I was migrating to network, but still lost in translation :)

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