[lxc_container_create] sysctl-container.service: Failed at step CGROUP spawning /sbin/sysctl: No such device

Bug #1712741 reported by Markos Chandras
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Markos Chandras

Bug Description

It appears that the newly introduced sysctl-container.service[1] introduced some problems

2017-08-24 05:43:48.246814 | changed: [aio1_nova_scheduler_container-4f3c170a]
2017-08-24 05:43:48.301073 | changed: [aio1_cinder_api_container-816da928]
2017-08-24 05:43:48.359396 | changed: [aio1_horizon_container-905c21f9]
2017-08-24 05:43:48.422254 | fatal: [aio1_utility_container-8a438a7f]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to start service sysctl-container: Job for sysctl-container.service failed because the control process exited with error code. See \"systemctl status sysctl-container.service\" and \"journalctl -xe\" for details.\n"}
2017-08-24 05:43:48.472107 | changed: [aio1_keystone_container-c3cb2031]
2017-08-24 05:43:49.759592 | changed: [aio1_swift_proxy_container-1813b8fd]
2017-08-24 05:43:49.824410 | changed: [aio1_neutron_server_container-ec7a8830]

http://logs.openstack.org/80/495880/7/experimental/gate-openstack-ansible-openstack-ansible-aio-opensuse-423-nv/547d573/console.html#_2017-08-24_05_43_48_422254

I was able to reproduce that in vagrant and the problem reported is

-- Unit sysctl-container.service has begun starting up.
Aug 24 06:43:45 aio1-neutron-server-container-6ebaee5e systemd[1103]: sysctl-container.service: Failed at step CGROUP spawning /sbin/sysctl: No such device
-- Subject: Process /sbin/sysctl could not be executed

[1] https://github.com/openstack/openstack-ansible-lxc_container_create/commit/bb76ea23f5682242df66648c5afe0c34c7c49988

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible-lxc_container_create (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/497179

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible-lxc_container_create (master)

Reviewed: https://review.openstack.org/497179
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-lxc_container_create/commit/?id=ef8e1b7da0c78791b970ce2e6650844bec98dbce
Submitter: Jenkins
Branch: master

commit ef8e1b7da0c78791b970ce2e6650844bec98dbce
Author: Markos Chandras <email address hidden>
Date: Thu Aug 24 10:36:19 2017 +0100

    tasks: container_create: Retry if sysctl-container service failed to start

    This aims to workaround an issue on openSUSE where the service may fail
    to start with the following error:

    sysctl-container.service: Failed at step CGROUP spawning /sbin/sysctl: No such device

    Related-Bug: #1712741
    Link: https://bugzilla.suse.com/show_bug.cgi?id=1055426
    Change-Id: If66f1f9d0f51173890004b65c332f14fc878fb18

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible-lxc_container_create (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/497535

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible-lxc_container_create (stable/pike)

Reviewed: https://review.openstack.org/497535
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-lxc_container_create/commit/?id=45936634593d59d8f49cfbf1549aa260815f9478
Submitter: Jenkins
Branch: stable/pike

commit 45936634593d59d8f49cfbf1549aa260815f9478
Author: Markos Chandras <email address hidden>
Date: Thu Aug 24 10:36:19 2017 +0100

    tasks: container_create: Retry if sysctl-container service failed to start

    This aims to workaround an issue on openSUSE where the service may fail
    to start with the following error:

    sysctl-container.service: Failed at step CGROUP spawning /sbin/sysctl: No such device

    Related-Bug: #1712741
    Link: https://bugzilla.suse.com/show_bug.cgi?id=1055426
    Change-Id: If66f1f9d0f51173890004b65c332f14fc878fb18
    (cherry picked from commit ef8e1b7da0c78791b970ce2e6650844bec98dbce)

tags: added: in-stable-pike
Changed in openstack-ansible:
status: New → In Progress
assignee: nobody → Markos Chandras (hwoarang)
Changed in openstack-ansible:
status: In Progress → Fix Released
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.