StarlingX System Configuration Management
Go to file
Andy Ning 31533adf42 Set up /var/run/sysinv_tmp as sysinv's default temp files location
sysinv call the k8s python client to perform a number of operations.
The k8s python client creates temp files under /tmp and continues to
use these tmp files for the life-cycle of the processes.

However systemd-tmpfiles-clean.service will run every day to clean up
files in /tmp dir that are older than 10 days. If the k8s client code
is not triggered for more than 10 days (thus its temp files are not
accessed for more than 10 days), these temp files will be removed as
part of the cleanup. Certain sysinv operations then starts to fail with
an error that the tmp file is no longer there.

This is a known issue of kubernetes python client:
https://github.com/kubernetes-client/python/issues/765

The commit fixes this issue by setting TMPDIR to /var/run/sysinv_tmp
when sm starts sysinv-conductor and sysinv-inv.

Change-Id: I8544272b2431607ed1041473c5da2eecb64635af
Closes-Bug: 1883599
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2020-06-18 11:50:22 -04:00
api-ref/source Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
config-gate Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
controllerconfig Merge "Update simplex data migration" 2020-06-16 12:18:06 +00:00
devstack Followup opendev cleanup and test jobs 2019-04-20 21:04:15 -05:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
playbooks/tox-puppet-lint Fixing puppet-lint failures in zuul 2019-06-26 11:30:59 -05:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
storageconfig Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
sysinv Set up /var/run/sysinv_tmp as sysinv's default temp files location 2020-06-18 11:50:22 -04:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
tools/docker/images Enable kubernetes SCTPSupport feature 2019-09-03 19:23:05 +00:00
tsconfig Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
workerconfig Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
.gitignore Minor zuul and tox file cleanup after manifest re-org 2019-09-06 15:40:37 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:42 +00:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml Adding job to upload commits to GitHub 2020-02-05 13:30:45 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 12:29:05 +08:00
centos_dev_wheels.inc Config file changes to add 'tsconfig' after relocation from 'update' 2019-09-05 11:51:05 -04:00
centos_helm.inc Infrastructure and Cluster Monitoring 2019-08-21 17:19:54 -04:00
centos_iso_image.inc sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00
centos_pkg_dirs sysinv FPGA agent initial commit 2020-06-07 23:54:01 -06:00
centos_pkg_dirs_containers Config file changes for packages relocated to repo 'openstack-armada-app' 2019-09-05 10:42:00 -04:00
centos_stable_wheels.inc Config file changes to add 'tsconfig' after relocation from 'update' 2019-09-05 11:51:05 -04:00
test-requirements.txt Properly enable hacking checks for flake8 2018-12-18 11:28:56 -06:00
tox.ini Update list of skipped bandit plugins. 2019-12-04 09:20:46 -06:00

README.rst

stx-config

StarlingX Configuration Management