On Sat, Dec 31, 2016 at 08:14:18PM -0700, Rekha Rawat (rrawat) wrote:
> Hi
> 
> I am a gobgp newbie. After installation, I tried to run the tests and 
> encounter the following error. The only change I had to do while building the 
> gobgp container image was to set the docker opts for HTTP(S)_PROXY during 
> Dockerfile creation as it is a lab Ubuntu host.
> 
> Any pointers to troubleshoot this appreciated.
Hi there. 
Can you start any docker containers at all?
it seems that you are hitting this issue that has to do with apparmor + docker  
on ubuntu
are you running the default docker?

https://github.com/docker/docker/issues/21702

as mentioned in the thread you can try 
apparmor_parser -R /etc/apparmor.d/docker-engine
rm /etc/apparmor.d/docker-engine
service docker restart

cheers.
DsP
> 
> Regards
> 
> Rekha
> 
> ~/gocode/src/github.com/osrg/gobgp/test/scenario_test$ sudo -E 
> PYTHONPATH=../../test python bgp_router_test.py
> [localhost] local: which docker 2>&1 > /dev/null ; echo $?
> 
> Fatal error: local() encountered an error (return code 125) while executing 
> 'docker run --privileged=true -v /tmp/gobgp//g1:/root/shared_volume --name g1 
> -id osrg/gobgp'
> 
> ================================ Standard error 
> ================================
> 
> docker: Error response from daemon: invalid header field value "oci runtime 
> error: container_linux.go:247: starting container process caused \"operation 
> not permitted\"\n".
> 
> ================================================================================
> 
> Aborting.
> 
> Fatal error: local() encountered an error (return code 125) while executing 
> 'docker run --privileged=true -v /tmp/gobgp//g1:/root/shared_volume --name g1 
> -id osrg/gobgp'
> 
> ~/gocode/src/github.com/osrg/gobgp/test/scenario_test$ sudo docker info
> Containers: 1
>  Running: 0
>  Paused: 0
>  Stopped: 1
> Images: 18
> Server Version: 1.12.5
> Storage Driver: aufs
>  Root Dir: /var/lib/docker/aufs
>  Backing Filesystem: extfs
>  Dirs: 57
>  Dirperm1 Supported: true
> Logging Driver: json-file
> Cgroup Driver: cgroupfs
> Plugins:
>  Volume: local
>  Network: host bridge overlay null
> Swarm: inactive
> Runtimes: runc
> Default Runtime: runc
> Security Options: apparmor
> Kernel Version: 3.19.0-25-generic
> Operating System: Ubuntu 14.04.5 LTS (containerized)
> OSType: linux
> Architecture: x86_64
> CPUs: 16
> Total Memory: 1008 GiB
> Name: rekha-dev2
> ID: AHVS:U4NE:MMJV:4TDC:2MH3:74UC:DF6G:JLW5:Q244:M4VF:QGGE:NPZC
> Docker Root Dir: /var/lib/docker
> Debug Mode (client): false
> Debug Mode (server): true
>  File Descriptors: 14
>  Goroutines: 23
>  System Time: 2017-01-01T00:01:17.48847722Z
>  EventsListeners: 0
> Http Proxy: http://proxy.esl.cisco.com:8080
> Https Proxy: http://proxy.esl.cisco.com:8080
> Registry: https://index.docker.io/v1/
> WARNING: No swap limit support
> WARNING: bridge-nf-call-iptables is disabled
> WARNING: bridge-nf-call-ip6tables is disabled
> Insecure Registries:
>  127.0.0.0/8
> 
> ~/gocode/src/github.com/osrg/gobgp/test/scenario_test$ sudo docker version
> Client:
>  Version:      1.12.5
>  API version:  1.24
>  Go version:   go1.6.4
>  Git commit:   7392c3b
>  Built:        Fri Dec 16 02:30:42 2016
>  OS/Arch:      linux/amd64
> 
> Server:
>  Version:      1.12.5
>  API version:  1.24
>  Go version:   go1.6.4
>  Git commit:   7392c3b
>  Built:        Fri Dec 16 02:30:42 2016
>  OS/Arch:      linux/amd64
> 
> ~/gocode/src/github.com/osrg/gobgp/test/scenario_test$ uname -a
> Linux rekha-dev2 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 
> UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot

> _______________________________________________
> gobgp-devel mailing list
> gobgp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gobgp-devel

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
gobgp-devel mailing list
gobgp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gobgp-devel

Reply via email to