Skip to content
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

Failed to join cgroup #667

Closed
dadgar opened this issue Jan 12, 2016 · 2 comments
Closed

Failed to join cgroup #667

dadgar opened this issue Jan 12, 2016 · 2 comments

Comments

@dadgar
Copy link
Contributor

dadgar commented Jan 12, 2016

[ec2-user@ip-172-31-29-208 ~]$ cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2015.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2015.09"
PRETTY_NAME="Amazon Linux AMI 2015.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2015.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
[ec2-user@ip-172-31-29-208 ~]$ uname -a
Linux ip-172-31-29-208 4.1.13-19.30.amzn1.x86_64 #1 SMP Fri Dec 11 03:42:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I built the new nomad version and copied it to the server running the nomad client:

[ec2-user@ip-172-31-29-208 logs]$ nomad -v
Nomad v0.3.0-dev (a4a0f75+CHANGES)

I ran the same nomad job, but it looks like the same problem is there:

2016/01/12 20:13:10 [DEBUG] client: node registration complete
2016/01/12 20:13:10 [DEBUG] client: updated allocations at index 1 (0 allocs)
2016/01/12 20:13:10 [DEBUG] client: allocs: (added 0) (removed 2) (updated 0) (ignore 0)
2016/01/12 20:13:14 [DEBUG] client: state updated to ready
2016/01/12 20:13:46 [DEBUG] client: updated allocations at index 7 (1 allocs)
2016/01/12 20:13:46 [DEBUG] client: allocs: (added 1) (removed 0) (updated 0) (ignore 0)
2016/01/12 20:13:46 [DEBUG] client: starting runner for alloc 'df6179f8-8591-c275-a70b-bfcfa860fcc2'
2016/01/12 20:13:46 [DEBUG] client: starting task context for 'web' (alloc 'df6179f8-8591-c275-a70b-bfcfa860fcc2')
2016/01/12 20:13:47 [ERR] client: failed to start task 'web' for alloc 'df6179f8-8591-c275-a70b-bfcfa860fcc2': failed to start command: 1 error(s) occurred:
  • Failed to join spawn-daemon to the cgroup (&{Name:4c424b23-efaf-5e42-d49a-18c623b8af5b Parent: ScopePrefix: Resources:0xc820244a80}): Error found less than 3 fields post '-' in "24 21 0:6 / /home/ec2-user/nomad/data/alloc/df6179f8-8591-c275-a70b-bfcfa860fcc2/web/dev ro,relatime - devtmpfs rw,size=500712k,nr_inodes=125178,mode=755"
    2016/01/12 20:13:47 [DEBUG] client: updated allocations at index 9 (1 allocs)
    2016/01/12 20:13:47 [DEBUG] client: allocs: (added 0) (removed 0) (updated 1) (ignore 0)
@dadgar
Copy link
Contributor Author

dadgar commented Jan 13, 2016

Upstream PR to fix this issue: opencontainers/runc#472

@dadgar dadgar closed this as completed Jan 19, 2016
clinta added a commit to clinta/nomad that referenced this issue Aug 3, 2017
lgfa29 pushed a commit that referenced this issue Jan 17, 2022
* Includes cherry-pick of 530c0f8 to fix build
* Includes upgrading testify to 1.7.0
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant