StarlingX Integration and packaging
Go to file
Don Penney a883e82866 Resolve AIO-SX shutdown hang with CEPH ordering hooks
In ceph-10.2.6, the ceph init script uses systemd-run to launch
ceph-mon and ceph-osd services. This generates transient systemd
service files with basic configuration. On node shutdown, ceph is
getting shutdown while it is still in use by containers, and without
unmapping the RBD devices, causing the libceph kernel module to
hang trying to communicate with the ceph monitor.

This update patches the ceph init script to generate systemd
overrides config files for the ceph-mon and ceph-osd that provide
improved ordering during shutdown, as well as a script to run
as part of the docker.service shutdown (by packaging a systemd
override) to unmap the RBD devices. This ordering ensures kubelet
and docker services are shutdown first, then the RBD devices are
cleaned up, followed by the shutdown of the ceph services and
service management (SM). Once kubelet and docker have shut down,
the ceph-preshutdown.sh script is able to cleanly unmount and
unmap the RBD devices and unload the rbd and libceph
kernel modules.

In ceph-11.0.1, the use of systemd-run was replaced with proper
systemd service configuration files. Once ceph is upgraded for
StarlingX, the ordering and cleanup will need to be revisited.

Story: 2004520
Task: 28258
Change-Id: I6f7d7b9e704121c54211afd86b38df015b8d7a63
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-02-05 17:59:09 -05:00
base Scope parameter in ifup-aliases network script 2019-01-07 19:09:53 +00:00
ceph Resolve AIO-SX shutdown hang with CEPH ordering hooks 2019-02-05 17:59:09 -05:00
config Add StarlingX specific restart command for Ceph monitors 2019-01-16 17:05:57 +02:00
config-files Change compute node to worker node personality 2018-12-12 15:09:04 -05:00
database build mariadb docker image with galera arbitrator added 2019-01-23 17:11:45 -06:00
devstack Add DevStack plugin 2018-11-01 23:59:31 -05:00
doc Clean up and standardize landing pages 2018-12-27 17:06:20 -08:00
filesystem Remove last patch of iscsi-initiator-utils 2018-12-12 23:09:56 +08:00
grub de-fuzz grub2 patches 2018-09-28 08:10:39 +08:00
kernel Merge "rebase e1000e driver patch from 3.4.1.1 to 3.4.2.1 version" 2019-01-02 06:24:22 +00:00
kubernetes Uprev kubernetes to 1.12.3 2019-01-22 09:39:50 -06:00
ldap Remove hardcoded configure options for openldap 2018-12-04 08:21:31 +00:00
logging Fix: "import" issue for Python 2/3 compatible code 2018-12-26 09:19:59 +08:00
monitoring Remove alarm query before clear in NTP plugin 2019-01-18 16:32:53 -05:00
networking Change compute node to worker node personality 2018-12-12 15:09:04 -05:00
python Fix fuzzy issue introduced by Change 597433 2018-11-06 01:56:04 +08:00
releasenotes Update config 2019-01-30 16:40:20 -08:00
security Add low latency per-cpu power management 2019-02-01 14:27:10 -05:00
storage-drivers Add hooks for python wheel generation 2018-10-23 10:35:32 -04:00
tools Merge "change 'compute' to 'worker' in collect utils" 2019-01-10 15:12:24 +00:00
utilities Fix: "import" issue for Python 2/3 compatible code 2018-12-26 09:19:59 +08:00
virt Add low latency per-cpu power management 2019-02-01 14:27:10 -05:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview correct gitreview for master 2018-09-20 23:20:14 +08:00
.zuul.yaml Adding a pylint tox and zuul job for stx-integ 2019-01-08 11:14:46 -06:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:36:35 -07:00
centos_guest_image.inc Split image.inc across git repos 2018-08-15 16:45:36 -04:00
centos_guest_image_rt.inc Split image.inc across git repos 2018-08-15 16:45:36 -04:00
centos_iso_image.inc Remove Docker Registry Token Server From Build 2019-01-08 15:24:27 -05:00
centos_master_docker_images.inc build mariadb docker image with galera arbitrator added 2019-01-23 17:11:45 -06:00
centos_pike_docker_images.inc build mariadb docker image with galera arbitrator added 2019-01-23 17:11:45 -06:00
centos_pike_wheels.inc Rename centos_wheels.inc to centos_pike_wheels.inc 2018-11-14 15:09:05 -06:00
centos_pkg_dirs Build registry-token-server without dep 2019-01-18 09:36:15 -05:00
centos_pkg_dirs_installer Relocate anaconda to stx-integ/base/anaconda 2018-08-01 15:37:12 -04:00
centos_pkg_dirs_rt Relocate drbd to stx-integ/kernel/kernel-modules/drbd 2018-08-01 15:31:44 -04:00
pylint.rc Adding a pylint tox and zuul job for stx-integ 2019-01-08 11:14:46 -06:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini Adding a pylint tox and zuul job for stx-integ 2019-01-08 11:14:46 -06:00

README.rst

stx-integ

StarlingX Integration