docker-daemon-crash-with-kuryr-json-file

Bug #1594672 reported by Hui Kang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr
Fix Committed
Undecided
Unassigned

Bug Description

Hi,
When the kuryr daemon is started with a json file /usr/lib/docker/plugins/kuryr/kuryr.json, the docker daemon will crash on executing the command "docker volume ls"

To re-produce this crash

1. docker version
   Docker version 1.11.0, build 4dc5990

2. start kuryr server and verify this file exists
   ls /usr/lib/docker/plugins/kuryr/kuryr.json

3. type any docker volume command, e.g.,
   docker volume ls

   The command returns error and "docker ps" return error as well; in fact the docker daemon dies.

So is "/usr/lib/docker/plugins/kuryr/" the right to configure kuryr? Thanks.

- Hui

Revision history for this message
Liping Mao (limao) wrote :

Hi Hui,

Can you try kuryr.spec, seems like kuryr.json does not work due to docker bug.
https://github.com/openstack/kuryr/commit/07dca2a49ba1d127e1ca67463783e1f92346e1af

[root@limao-m-aoi ~]# docker volume ls
DRIVER VOLUME NAME
[root@limao-m-aoi ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a5700d1901ae busybox "sh" 4 hours ago Up 4 hours stoic_galileo
8d93553bff7c kuryr/libnetwork "/usr/bin/run_kuryr.s" 4 hours ago Up 4 hours kuryr-libnetwork
[root@limao-m-aoi ~]# docker version
Client:
 Version: 1.9.1
 API version: 1.21
 Package version: docker-common-1.9.1-40.el7.centos.x86_64
 Go version: go1.4.2
 Git commit: ab77bde/1.9.1
 Built:
 OS/Arch: linux/amd64

Server:
 Version: 1.9.1
 API version: 1.21
 Package version: docker-common-1.9.1-40.el7.centos.x86_64
 Go version: go1.4.2
 Git commit: ab77bde/1.9.1
 Built:
 OS/Arch: linux/amd64
[root@limao-m-aoi ~]# ls -l /usr/lib/docker/plugins/kuryr/kuryr.spec
-rw-r--r--. 1 root root 22 Jun 20 15:09 /usr/lib/docker/plugins/kuryr/kuryr.spec
[root@limao-m-aoi ~]# cat /usr/lib/docker/plugins/kuryr/kuryr.spec
http://127.0.0.1:2377

Changed in kuryr:
status: New → Fix Released
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.