-
Notifications
You must be signed in to change notification settings - Fork 181
Dockerhost not working #62
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
Comments
I think this issue sounds similar to what I debugged with recent docker-in-docker demo environment changes for netplugin. The dockerhost demo environment requires ovs to be installed on the host (i.e. the baremetal or the vm in which the demo is being setup) other wise it seems to start fiddling with the linux bridge on the host/vm. Can you confirm if following steps help you recover?
|
Not lucky, still same after i have OVS installed on my VM. ;-( On Sat, May 9, 2015 at 1:00 AM, Madhav Puri [email protected]
|
ok, let me check the scripts. Can you tell me know your vm environment (linux flavor etc) as well, I can try reproduce it. We do run docker-in-docker tests on a Ubuntu 14.10 based machine, which seem to be passing. ping @sachja in case he has seen anything similar during his tests. |
Thanks, here is my docker info I will try ubuntu as well. will let you know the result On Sat, May 9, 2015 at 9:25 AM, Madhav Puri [email protected]
|
As Madhav said we had hit the br-em1 delete issue due to ovs not installed. sudo service docker restart I have tried this on centos baremetal, ubuntu baremetal and ubuntu VM on a sachin On Fri, May 8, 2015 at 6:25 PM, Madhav Puri [email protected]
|
Yes, i tried what Madhav mentioned, I installed OVS(version 2.3.1) and then On Sat, May 9, 2015 at 9:46 AM, sachja [email protected] wrote:
|
I tried I will close this issue as the script seems to work for Ubuntu. Let me know in case you hit any other issues after moving to Ubuntu. I have also added a few checks (as part of #65) in the script for docker based setups to error out gracefully in case some prerequisites are not met or it is run in an untested Linux. We have mostly tried this on Ubuntu till now but it would be good to have it work on other *nix flavors as well. Happy to take pull requests! |
Split RAML into netmaster and auth_proxy routes and combine the HTML output after generation
It's weird that after start netplugin-node1 successfully, the br-em1 got deleted.
[root@netplugin-02 netplugin]# /bin/systemctl restart docker.service
[root@netplugin-02 netplugin]# brctl show
bridge name bridge id STP enabled interfaces
docker0 8000.56847afe9799 no
[root@netplugin-02 netplugin]# make start-dockerdemo
scripts/dockerhost/start-dockerhosts
scripts/dockerhost
Num nodes = 2
Trying to pull repository docker.io/ubuntu ...
07f8e8c5e660: Download complete
e9e06b06e14c: Download complete
a82efea989f9: Download complete
37bea4ee0c81: Download complete
Status: Image is up to date for docker.io/ubuntu:latest
mkdir: cannot create directory ‘/tmp/ubuntu_image’: File exists
Starting netplugin-node1
6d604a6a34f3b66c4f998c5f73ccc7443c08be3048bedbe0955c197d5661cb91
172.17.0.1 netplugin-node1
IP address = 192.168.2.10/32
mount: cgroup already mounted or cpu busy
mount: according to mtab, cgroup is mounted on /sys/fs/cgroup
mount: cgroup already mounted or cpuacct busy
mount: according to mtab, cgroup is mounted on /sys/fs/cgroup
Starting Docker: docker
...done.
Starting netplugin-node2
03f5a45b84cf66fd3a2adc297f4d820b6ff8d74706f789a0f5321b8bc684d9e9
FATA[0001] Error response from daemon: Cannot start container 03f5a45b84cf66fd3a2adc297f4d820b6ff8d74706f789a0f5321b8bc684d9e9: no such network interface
FATA[0000] Error response from daemon: Container netplugin-node2 is not running
FATA[0000] Error response from daemon: Container netplugin-node2 is not running
bridge br-em1 does not exist!
RTNETLINK answers: No such process
nsenter: neither filename nor target pid supplied for ns/net
nsenter: neither filename nor target pid supplied for ns/net
IP address = 192.168.2.11/32
nsenter: neither filename nor target pid supplied for ns/net
nsenter: neither filename nor target pid supplied for ns/net
FATA[0000] Error response from daemon: Container netplugin-node2 is not running
FATA[0000] Error response from daemon: Container netplugin-node2 is not running
Starting etcd on netplugin-node1
Starting etcd on netplugin-node2
FATA[0000] Error response from daemon: Container netplugin-node2 is not running
[root@netplugin-02 netplugin]# brctl show
bridge name bridge id STP enabled interfaces
[root@netplugin-02 netplugin]#
The text was updated successfully, but these errors were encountered: