{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/29998","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/29998/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/29998/comments","events_url":"https://api.github.com/repos/docker/docker/issues/29998/events","html_url":"https://github.com/docker/docker/issues/29998","id":199570048,"number":29998,"title":"Docker 1.13.0-rc5 stack deploy compose resources limits \"failed to parse  as a rational number\"","user":{"login":"mostolog","id":19854319,"avatar_url":"https://avatars.githubusercontent.com/u/19854319?v=3","gravatar_id":"","url":"https://api.github.com/users/mostolog","html_url":"https://github.com/mostolog","followers_url":"https://api.github.com/users/mostolog/followers","following_url":"https://api.github.com/users/mostolog/following{/other_user}","gists_url":"https://api.github.com/users/mostolog/gists{/gist_id}","starred_url":"https://api.github.com/users/mostolog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostolog/subscriptions","organizations_url":"https://api.github.com/users/mostolog/orgs","repos_url":"https://api.github.com/users/mostolog/repos","events_url":"https://api.github.com/users/mostolog/events{/privacy}","received_events_url":"https://api.github.com/users/mostolog/received_events","type":"User","site_admin":false},"labels":[{"id":450873950,"url":"https://api.github.com/repos/docker/docker/labels/area/bundles","name":"area/bundles","color":"fbca04","default":false},{"id":190258329,"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/56","html_url":"https://github.com/docker/docker/milestone/56","labels_url":"https://api.github.com/repos/docker/docker/milestones/56/labels","id":1839404,"number":56,"title":"1.13.0","description":"","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":108,"closed_issues":1335,"state":"open","created_at":"2016-06-20T22:51:25Z","updated_at":"2017-01-09T21:50:01Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-01-09T14:50:25Z","updated_at":"2017-01-09T21:50:01Z","closed_at":"2017-01-09T21:50:01Z","body":"Hi\r\n\r\n**Description**\r\n\r\nSeems Docker deploy it's not parsing compose file properly.\r\n\r\n**Steps to reproduce the issue:**\r\n1. docker stack deploy --compose-file test.yml test\r\n\r\n```yaml\r\nversion: \"3\"\r\nservices:\r\n  test:\r\n    command: \"tail -f /var/log/messages\"\r\n    deploy:\r\n      resources:\r\n        limits:\r\n          #cpus: \"0.001\"           #<----------------------uncommenting this, works\r\n          memory: 2G\r\n        #reservations:\r\n          #cpus: \"0.0002\"\r\n          #memory: 2G\r\n      restart_policy:\r\n        condition: on-failure\r\n        delay: 5s\r\n        max_attempts: 3\r\n    image: \"ubuntu:16.04\"\r\n```\r\n\r\n**Describe the results you received:**\r\n\r\n```\r\nCreating network test_default\r\nfailed to parse  as a rational number\r\n```\r\n\r\n**Describe the results you expected:**\r\n\r\n```\r\nTo properly deploy the stack\r\n```\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n\r\nIf \"_#cpus: \"0.001\"_\" **uncommented**, everything works as it should\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nDocker version 1.13.0-rc5, build 43cc971\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 0\r\n Running: 0\r\n Paused: 0\r\n Stopped: 0\r\nImages: 11\r\nServer Version: 1.13.0-rc5\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 12\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: zgu2hkue7e4i3yjq2j4002pv5\r\n Is Manager: true\r\n ClusterID: k874fkf2is4uf7668j6n6qpvu\r\n Managers: 1\r\n Nodes: 1\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: 155.54.66.85\r\n Manager Addresses:\r\n  155.54.66.85:2377\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e\r\nrunc version: 51371867a01c467f08af739783b8beafc154c4d7\r\ninit version: 949e6fa\r\nKernel Version: 3.16.0-4-amd64\r\nOperating System: Debian GNU/Linux 8 (jessie)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 7.692 GiB\r\nName: equipo\r\nID: QKUC:U2CA:OSHZ:7MDJ:JNVT:7U6S:KAOZ:UGOG:UBOH:EA75:VBHK:QOQG\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 memory limit support\r\nWARNING: No swap limit support\r\nWARNING: No kernel memory limit support\r\nWARNING: No oom kill disable support\r\nWARNING: No cpu cfs quota support\r\nWARNING: No cpu cfs period 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**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\n```\r\nuname -a\r\nLinux pc 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux\r\n\r\ncat /etc/debian_version \r\n8.6\r\n```"}}
{"actor":{"display_login":"thaJeztah"}}