config/sysinv/sysinv/sysinv
SidneyAn 53b9e46615 retry func iconfig_update_file when host personality is None
when we run "system dns-modify" command, the command will response after
sysinv-db was updated, and file "/etc/resolv.conf" will be updated
asynchronously by another process "sysinv-agent". Once the attr
"_ihost_personality" of agent is None(initial value), it will not update
file "/etc/resolv.conf" and will not inform sysinv client also,
which will lead command dns-modify failed silently.

This patch will retry function iconfig_update_file by which sysinv-agent
update file "/etc/resolv.conf" when attr "_ihost_personality" is None.

Closes-bug: 1812269

Change-Id: I3a0437750a53607c04932c1b9b818e83903bb28b
Signed-off-by: SidneyAn <ran1.an@intel.com>
2019-02-20 14:46:25 +08:00
..
.eggs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
contrib StarlingX open source release updates 2018-05-31 07:35:52 -07:00
doc/source Change openstack-dev to openstack-discuss 2018-12-04 23:37:31 -05:00
etc/sysinv Create DataNetworks modelling in System Configuration 2019-01-22 17:43:45 -05:00
scripts Remove container dependencies on sysinv-conductor shutdown 2018-12-03 16:23:57 -05:00
sysinv retry func iconfig_update_file when host personality is None 2019-02-20 14:46:25 +08:00
tools Fix: "__builtin__" issue for Python 2/3 compatible code 2018-12-19 10:21:57 +08:00
.coveragerc StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.gitignore Update sysinv to not invoke ceph during unit testing 2018-10-02 13:19:43 -05:00
.stestr.conf Update sysinv to not invoke ceph during unit testing 2018-10-02 13:19:43 -05:00
CONTRIBUTING.rst 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
MANIFEST.in 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
babel.cfg StarlingX open source release updates 2018-05-31 07:35:52 -07:00
openstack-common.conf StarlingX open source release updates 2018-05-31 07:35:52 -07:00
pylint.rc Cleanup pylint errors in sysinv 2018-12-28 09:06:15 -06:00
requirements.txt Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
setup.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 12:47:00 -06:00
setup.py Add a zuul job for sysinv tox unittest 2018-08-13 16:34:06 +08:00
test-requirements.txt Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
tox.ini Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00

README.rst

Placeholder to allow setup.py to work. Removing this requires modifying the setup.py manifest.