config/sysinv/sysinv/sysinv/sysinv/agent
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
..
lldp Make LLDP OVS agent driver more robust to json output 2019-01-08 09:03:45 -05:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
disk.py Simplify disk space allocation 2018-09-12 16:35:43 +03:00
lvg.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
manager.py retry func iconfig_update_file when host personality is None 2019-02-20 14:46:25 +08:00
node.py Enable configurable vswitch memory 2019-01-22 14:08:48 -05:00
partition.py Sysinv partitions cleanup 2018-06-29 13:44:42 -04:00
pci.py Fix typo error in sysinv 2018-09-07 00:04:21 +08:00
pv.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
rpcapi.py Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
testpci.py Fix 'print' issue for Python 2/3 compatible code. 2018-12-06 12:59:33 +08:00