{"action":"created","issue":{"url":"https://api.github.com/repos/moby/moby/issues/31068","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/31068/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/31068/comments","events_url":"https://api.github.com/repos/moby/moby/issues/31068/events","html_url":"https://github.com/moby/moby/issues/31068","id":207989575,"number":31068,"title":"Cannot remove network due to task","user":{"login":"thinkhard-j-park","id":19793613,"avatar_url":"https://avatars0.githubusercontent.com/u/19793613?v=4","gravatar_id":"","url":"https://api.github.com/users/thinkhard-j-park","html_url":"https://github.com/thinkhard-j-park","followers_url":"https://api.github.com/users/thinkhard-j-park/followers","following_url":"https://api.github.com/users/thinkhard-j-park/following{/other_user}","gists_url":"https://api.github.com/users/thinkhard-j-park/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkhard-j-park/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkhard-j-park/subscriptions","organizations_url":"https://api.github.com/users/thinkhard-j-park/orgs","repos_url":"https://api.github.com/users/thinkhard-j-park/repos","events_url":"https://api.github.com/users/thinkhard-j-park/events{/privacy}","received_events_url":"https://api.github.com/users/thinkhard-j-park/received_events","type":"User","site_admin":false},"labels":[{"id":237472034,"url":"https://api.github.com/repos/moby/moby/labels/area/networking","name":"area/networking","color":"fbca04","default":false},{"id":190258329,"url":"https://api.github.com/repos/moby/moby/labels/kind/bug","name":"kind/bug","color":"FF8C94","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2017-02-16T01:53:56Z","updated_at":"2018-05-03T07:55:04Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nGENERAL SUPPORT INFORMATION\r\n---------------------------------------------------\r\n\r\nThe GitHub issue tracker is for bug reports and feature requests.\r\nGeneral support can be found at the following locations:\r\n\r\n- Docker Support Forums - https://forums.docker.com\r\n- IRC - irc.freenode.net #docker channel\r\n- Post a question on StackOverflow, using the Docker tag\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Description**\r\n\r\n<!--\r\nBriefly describe the problem you are having in a few paragraphs.\r\n-->\r\n\r\n**Steps to reproduce the issue:**\r\n1. create network with this command: docker network create --attachable --driver overlay cluster-network\r\n2. run a couple of service in swarm mode and delete all services\r\n3. trying to delete network: docker network rm cluster-network\r\n\r\n**Describe the results you received:**\r\n docker network rm cluster-network\r\nError response from daemon: rpc error: code = 9 desc = network qytxrqgp7pw1915tqhdnkd4si is in use by task 8ruj7pjh65g9du0m1y7ce476i\r\n\r\n**Describe the results you expected:**\r\nWant to delete network with proper descritpion. what is the task?\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\ndocker network inspect cluster-network\r\n[\r\n    {\r\n        \"Name\": \"cluster-network\",\r\n        \"Id\": \"qytxrqgp7pw1915tqhdnkd4si\",\r\n        \"Created\": \"0001-01-01T00:00:00Z\",\r\n        \"Scope\": \"swarm\",\r\n        \"Driver\": \"overlay\",\r\n        \"EnableIPv6\": false,\r\n        \"IPAM\": {\r\n            \"Driver\": \"default\",\r\n            \"Options\": null,\r\n            \"Config\": []\r\n        },\r\n        \"Internal\": false,\r\n        \"Attachable\": true,\r\n        \"Containers\": null,\r\n        \"Options\": {\r\n            \"com.docker.network.driver.overlay.vxlanid_list\": \"4097\"\r\n        },\r\n        \"Labels\": null\r\n    }\r\n]\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:      1.13.0\r\n API version:  1.25\r\n Go version:   go1.7.3\r\n Git commit:   49bf474\r\n Built:        Tue Jan 17 09:58:26 2017\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.13.0\r\n API version:  1.25 (minimum version 1.12)\r\n Go version:   go1.7.3\r\n Git commit:   49bf474\r\n Built:        Tue Jan 17 09:58:26 2017\r\n OS/Arch:      linux/amd64\r\n Experimental: false\r\n\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 4\r\n Running: 0\r\n Paused: 0\r\n Stopped: 4\r\nImages: 129\r\nServer Version: 1.13.0\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 106\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\nSwarm: active\r\n NodeID: 7tri47t51271szj46y1sysjcf\r\n Is Manager: true\r\n ClusterID: 8jnswr0kvdlavkn0puuuhljxd\r\n Managers: 3\r\n Nodes: 6\r\n Orchestration:\r\n  Task History Retention Limit: 5\r\n Raft:\r\n  Snapshot Interval: 10000\r\n  Number of Old Snapshots to Retain: 0\r\n  Heartbeat Tick: 1\r\n  Election Tick: 3\r\n Dispatcher:\r\n  Heartbeat Period: 5 seconds\r\n CA Configuration:\r\n  Expiry Duration: 3 months\r\n Node Address: 192.168.0.27\r\n Manager Addresses:\r\n  192.168.0.27:2377\r\n  192.168.0.32:2377\r\n  192.168.0.33:2377\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e\r\nrunc version: 2f7393a47307a16f8cee44a37b262e8b81021e3e\r\ninit version: 949e6fa\r\nSecurity Options:\r\n apparmor\r\n seccomp\r\n  Profile: default\r\nKernel Version: 4.4.0-62-generic\r\nOperating System: Ubuntu 16.04.1 LTS\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 1\r\nTotal Memory: 1.953 GiB\r\nName: mngr01\r\nID: YNJP:5BEI:W4UN:NPUK:EJ3R:CYBC:RBMW:GO2Q:ASJA:PDTT:TZBK:CYWQ\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No swap limit support\r\nExperimental: false\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nLive Restore Enabled: false\r\n\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\nVMware vshpere, ubuntu16.04 host"},"comment":{"url":"https://api.github.com/repos/moby/moby/issues/comments/386217386","html_url":"https://github.com/moby/moby/issues/31068#issuecomment-386217386","issue_url":"https://api.github.com/repos/moby/moby/issues/31068","id":386217386,"user":{"login":"sergey-safarov","id":2562241,"avatar_url":"https://avatars2.githubusercontent.com/u/2562241?v=4","gravatar_id":"","url":"https://api.github.com/users/sergey-safarov","html_url":"https://github.com/sergey-safarov","followers_url":"https://api.github.com/users/sergey-safarov/followers","following_url":"https://api.github.com/users/sergey-safarov/following{/other_user}","gists_url":"https://api.github.com/users/sergey-safarov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-safarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-safarov/subscriptions","organizations_url":"https://api.github.com/users/sergey-safarov/orgs","repos_url":"https://api.github.com/users/sergey-safarov/repos","events_url":"https://api.github.com/users/sergey-safarov/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-safarov/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T07:55:04Z","updated_at":"2018-05-03T07:55:04Z","author_association":"NONE","body":"I resolved issue after switching IP network mask from /27 to /23\r\nLooks as first IP in subnetwork is reserver and cannot be assigned to containers.\r\nIn my case i cannot assign 10.0.9.3 to container when network is 10.0.9.0/27"}}
{"actor":{"display_login":"sergey-safarov"}}