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

--systemd-cgroup broken with memory cgroup enabled #1557

Closed
ghost opened this issue Aug 14, 2017 · 0 comments
Closed

--systemd-cgroup broken with memory cgroup enabled #1557

ghost opened this issue Aug 14, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 14, 2017

Bisect indicated that commit 3d9074e breaks --systemd-cgroup.

# runc --systemd-cgroup run root
container_linux.go:265: starting container process caused "process_linux.go:284: applying cgroup configuration for process caused \"No such device or address\""

Reproducer is below,

# runc spec
# Edit config.json to add memory section under resource.
        "linux": {
                "resources": {
                        "devices": [
                                {
                                        "allow": false,
                                        "access": "rwm"
                                }
                        ],
                        "memory": {
                                "limit": 104847600,
                                "reservation": 52428800
                        }

                },
# runc --systemd-cgroup run root

@justincormack

hqhq added a commit to hqhq/runc that referenced this issue Aug 25, 2017
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
adrianreber pushed a commit to adrianreber/runc that referenced this issue Sep 6, 2017
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
stefanberger pushed a commit to stefanberger/runc that referenced this issue Sep 7, 2017
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
stefanberger pushed a commit to stefanberger/runc that referenced this issue Sep 7, 2017
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
stefanberger pushed a commit to stefanberger/runc that referenced this issue Sep 8, 2017
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
BSWANG pushed a commit to BSWANG/runc that referenced this issue Dec 5, 2017
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
thaJeztah pushed a commit to thaJeztah/runc that referenced this issue Dec 15, 2017
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
(cherry picked from commit acaf689)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
BSWANG pushed a commit to BSWANG/runc that referenced this issue Dec 18, 2017
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
BSWANG pushed a commit to BSWANG/runc that referenced this issue Dec 18, 2017
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
kolyshkin pushed a commit to kolyshkin/runc that referenced this issue Jan 27, 2018
Fixes: opencontainers#1557

I'm not quite sure about the root cause, looks like
systemd still want them to be uint64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
(cherry picked from commit acaf689)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants