config/sysinv/sysinv/sysinv/scripts
Adriano Oliveira 8cc522bed5 sysinv-api script to return ERROR
Remove NOT_RUNNING return in case sysinv-api pid is still active but
fails to ping. This scenario can happen in case sysinv-api is manually
killed and SM triggers a start.
Also, on the new routine to check if sysinv-api is properly replying,
return ERROR instead of NOT_RUNNING for SM consistency.

Testing:
Tested double sysinv-api kill withing 90 seconds as per SM
configuration. Upon first sysinv-api kill it should be restarted,
upon second sysinv-api kill, if done within 90 seconds, a swact is
triggered. Also verified that sysinv-api request routine was engaged.
Also tested AIO-DX boostrap, manual swact via host-swact and patch
application. After boostrap and patch application tested double
sysinv-api kill and manual swact.

Other fix related to this issue was addressed by this change:
https://review.opendev.org/c/starlingx/stx-puppet/+/783980

Closes-Bug: 1893669
Signed-off-by: Adriano Oliveira <adriano.oliveira@windriver.com>
Change-Id: I1b1ab0560237f602dadf074331f6a165d12330c7
2021-04-15 18:52:48 -04:00
..
kube-cert-rotation.sh Change docker client to crictl in cert rotation 2020-02-19 02:12:44 +00:00
manage-partitions Move incorrectly located stand-alone scripts 2019-12-19 12:01:50 -06:00
partition_info.sh Move incorrectly located stand-alone scripts 2019-12-19 12:01:50 -06:00
query_pci_id Move incorrectly located stand-alone scripts 2019-12-19 12:01:50 -06:00
sysinv-api sysinv-api script to return ERROR 2021-04-15 18:52:48 -04:00
sysinv-api.service StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sysinv-conductor Merge "Set up /var/run/sysinv_tmp as sysinv's default temp files location" 2020-06-18 20:30:03 +00:00
sysinv-conductor.service StarlingX open source release updates 2018-05-31 07:35:52 -07:00
validate-platform-backup.sh Fix a random tox linters failure in bashate 2020-08-04 08:45:26 -05:00