integ/ceph/ceph/files
Daniel Badea 9faad45703 ceph-init-wrapper use flock instead of flag files
When swact occurs and ceph-init-wrapper is slow to respond
to a status request it gets killed by SM. This means the
corresponding flag file that marks status in progress is left
behind.

When controller swacts back ceph-init-wrapper sees status
in progress and waits for it to finish (with a timeout).
Because it does not respond fast enough SM tries to start
again ceph-init-wrapper to get ceph-mon service up and running.

This happens a couple of times until the service is declared
failed and controller swacts back.

To fix this we need to use flock instead of flag files as the
locks will be automatically released by the OS when process
is killed.

Change-Id: If1912e8575258a4f79321d8435c8ae1b96b78b98
Closes-bug: 1840176
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
2019-08-27 14:53:32 +00:00
..
ceph-init-wrapper.sh ceph-init-wrapper use flock instead of flag files 2019-08-27 14:53:32 +00:00
ceph-manage-journal.py Enable Flake8 Docstring Errors 2019-04-18 11:50:45 -04:00
ceph-preshutdown.sh Resolve AIO-SX shutdown hang with CEPH ordering hooks 2019-02-05 17:59:09 -05:00
ceph-radosgw.service Move STX specific files from stx-ceph to stx-integ 2019-01-23 10:05:40 -05:00
ceph.conf ceph: ceph.conf set max pgs per osd 2019-04-26 08:56:28 +00:00
ceph.conf.pmon Move STX specific files from stx-ceph to stx-integ 2019-01-23 10:05:40 -05:00
ceph.service Move STX specific files from stx-ceph to stx-integ 2019-01-23 10:05:40 -05:00
ceph.sh ceph: mtc process management improvement 2019-04-26 08:56:45 +00:00
mgr-restful-plugin.py ceph: mgr-restful-plugin restarts on controller unlock 2019-07-31 13:47:19 +00:00
mgr-restful-plugin.service ceph: add mgr-restful-plugin service 2019-04-26 08:50:02 +00:00
starlingx-docker-override.conf Resolve AIO-SX shutdown hang with CEPH ordering hooks 2019-02-05 17:59:09 -05:00