Closed ataraxie closed 5 years ago
seems to be the interface. Maybe on your machine you do not have eth0
or whatever the default is. Maybe you can try this:
I will soon redeploy to dockerhub and then there will be a ENV var you can override.
Default is eth0
and the ENV Var will be MULTICAST_INTERFACE
✅ OK it is pushed to dockerhub. You should be able to change the Interface name to e.g. eth2
like so when patching the management script:
# ...
function start_instance_loadbalancer {
echo -e $C_CYN">> docker run .........:${C_RST}${C_GRN} Starting${C_RST} - Starting instance confluence-cluster-${CONFLUENCE_VERSION_DOT_FREE}-lb."
docker run \
--rm \
--name confluence-cluster-${CONFLUENCE_VERSION_DOT_FREE}-lb \
--net=confluence-cluster-${CONFLUENCE_VERSION_DOT_FREE} \
--net-alias=confluence-cluster-${CONFLUENCE_VERSION_DOT_FREE}-lb \
--env NODES=${1} \
--env MULTICAST_INTERFACE="eth2" \
-p $CONFLUENCE_LB_PUBLIC_PORT:$CONFLUENCE_LB_PUBLIC_PORT \
-d codeclou/docker-atlassian-confluence-data-center:loadbalancer-${CONFLUENCE_VERSION}
}
#...
See the line with --env MULTICAST_INTERFACE="eth2"
Start as usual and get on the container like so:
docker exec -i -t confluence-cluster-701-node1 bash
And type /sbin/ifconfig
to see the available interfaces.
Im my case it prints:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.21.0.4 netmask 255.255.0.0 broadcast 172.21.255.255
ether 02:42:ac:15:00:04 txqueuelen 0 (Ethernet)
RX packets 510 bytes 181962 (181.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 521 bytes 1028837 (1.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
If this does not solve the issue, then I do not know whats wrong. On my machines it works.
@clouless Thank you! I will give this a shot soon!
How have your data center approvals been going?
Very nice actually, I have gotten approval for both my apps before September 03 (the deadline). And did both with JPT since I was already familiar with it. How has it been going at your end?
Pretty good too. We got approvals immediately with our results. But we tested our most important apps only so far. There are still 4 or so that we didn't do (yet). Mostly because I was really tired of the topic and wanted to work on other stuff :)
Yeah I also got one app to go. But it has not many active installations, so it will stay server-only for now. I am also very very happy to have this topic from the table for now ^^
@clouless Nooooo. What did you do?! You changed the whole architecture? 😭
@ataraxie yeah sorry, but Atlassian provides official docker images now, that saves me a lot of time and the docker compose approach is actually really nice. I know it it is a big change, but once you get into it you will like it too :) - it is actually much simpler
Hi @clouless - totally forgot to reply on this. I'm sure it was a wise decision. I just implemented quite some logic around your script that expects things exactly the way they were. Guess I gotta figure out how to bridge things now...
I'm getting the following error when I start 7.0.1-beta1. Any ideas? Everything seems to start correctly.