Correct the paths for the following defaults:
- OCF_RESKEY_pgctl_default
- OCF_RESKEY_pgdata_default
- OCF_RESKEY_socketdir_default
Test Plan
PASS Build resource-agents package
PASS Build ISO
PASS Unlock system
Story: 2009101
Task: 43317
Depends-On: https://review.opendev.org/c/starlingx/utilities/+/840497
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I8eab1ff7a39222dce9c2b6c0094338e70c03c1e4
Except for Do-not-log-at-debug-log-level-when-HA_debug-is-unset.patch,
which is merged upstream, others local patches have been ported.
Depends-On: https://review.opendev.org/c/starlingx/tools/+/817010
Story: 2009221
Task: 43310
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: Id602f7b9dac55b06e46337fb800a865d3a82d701
A 3 year old patch which made debug log default to off has been
missed. This change will add this patch so log rates for
daemon-ocf.log will decrease.
To turn on debug logging a variable shall be added for each process:
i.e. keystone
Add following like to /use/lib/ocf/resource.d/openstack/keystone
HA_debug=1
Test Plan:
PASS: Verify that by default no more debug logs are found in
daemon-ocf.log
PASS: Verify that adding HA_debug=1 to an ocf script will enable debug
logging for that process
PASS: Verify that having HA_debug=0 to an ocf script will disable
debug logging for that process
Failure Path:
PASS: Verify a value other than 0 or 1 for HA_debug will not break
process
Regression:
PASS: Verify system install
PASS: Verify all log levels, other than debug, are still being
generated
Story: 2009272
Task: 43606
Signed-off-by: Joao Paulo Tavares Musico <joaopaulotavares.musico@windriver.com>
Change-Id: Icfc62d0e7eafaaedfd0fe516f8c1b137343f8428
This update makes use of the PKG_GITREVCOUNT variable
to auto-version the packages in this repo.
Story: 2007750
Task: 39951
Change-Id: I854419c922b9db4edbbf6f1e987a982ec2ec7b59
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
All rmon resource monitoring has been moved to collectd.
This update removes rmon from mtce and the load.
Story: 2002823
Task: 30045
Test Plan:
PASS: Build and install a standard system.
PASS: Inspect mtce rpm list
PASS: Inspect logs
PASS: Check pmon.d
Depends-On: https://review.openstack.org/#/c/643739
Change-Id: I927862895272fdd024d281ab49e0a128465b1b3f
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
It leads to AIO duplex deploy failure. It is caused by resource-agents
upgrade. The new srpm changed parameter "vgchange_options" to
"vgchange_activate_options", so patch need be updated to use the new
parameter.
Story: 2004522
Task: 29025
Change-Id: I0832d93d726e8791c29395121000e0ef4dbb07f2
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Closes-Bug: 1806298
Fuzzy patch may cause build failure. Correct the line num
to de-fuzz it.
Test:
Pass build and multi node deploy test.
Change-Id: I3e0783a17738d35986c675a8125b12d7c6378671
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
The refactored patch...
base/cluster-resource-agents/centos/meta_patches/spec-include-TiS-patches.patch
introduced by 4171654457fe428185fe2a37ee8e6dc28d24cc98
was malformed due to a bad line count.
This update fixes the line count.
Story: 2003768
Task: 28043
Change-Id: I6c48cec168e4c93e1cfbd8040da177e0b63491db
Signed-off-by: Scott Little <scott.little@windriver.com>
Refactor meta patches and merge all adding source patches to
spec-include-TiS-patches.patch
Deployment test and ping test between VMs pass.
Story: 2003768
Task: 28043
Change-Id: I6302ca0ef78a51ed85f20e71dcf04ba4721a182d
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
The IPaddr2 resource agent currently assigns addresses
to the loopback interface without specifying the scope,
so they default to the global scope. This fails if the
address is not in the loopback address range.
The fix is to always specify "scope host" when assigning
addresses to the loopback interface.
Change-Id: Ib7c08bfc1c661a9fb347308e55cc806b4dd129ad
Story: 2003910
Task: 26796
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
The /var/run is on tmpfs, so the dir will be lost when reboot. This
issue is already fixed in upstream since resource-agents-3.9.5-116
with bz1462802-systemd-tmpfiles.patch. Our current version is 3.9.5-124.
So we could drop our patch safely.
Here is the upstream issue track link:
https://bugzilla.redhat.com/show_bug.cgi?id=1462802
Test:
Pass build and multi node deploy test.
Story: 2004019
Task: 27010
Change-Id: Ieb8ecd863d90fa0f08195f8765daf551127c8a1d
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Problem:
- Centos 7.5 upgraded resource-agentss.
- Porting of resource-agentss patches did not resolve and 'fuzz' in the line
numbers of the patches.
- If resource-agents is built by rpm 4.11, or default version of rpm
until 4.14 is compiled, a fuzzy patch results in the creating
of an .orig file.
- Packaging of resource-agentss failes due to the unexpected, and
unpackaged .orig file
Solution:
Safest solution is to de-fuzz our resource-agentss patches.
Story: 2003389
Task: 26755
Change-Id: I14d975368f5e70eea5bae6ac8dcfed2cfd6711ff
Signed-off-by: Sun Austin <austin.sun@intel.com>
Story: 2003389
Task: 26564
It is due to 1 more patch added in master, and it conflict with branch change.
Change-Id: I3c5f6afc2c2acdeda7e721400ec1fa68b02b734f
Signed-off-by: slin14 <shuicheng.lin@intel.com>
Remove OCF script code to monitor I/F status and fail the service
when the I/F is down.
On the other change, the monitor work is done by SM, to perform
swact based on healthy state of both controllers.
Depends: Ifa7453136f34768b99e2bcd741d1065e69ef452e
Story: 2003577
Task: 24900
Change-Id: Ie3da54940054ef5c1880dae718272be1663026d8
Signed-off-by: Bin Qian <bin.qian@windriver.com>
Arp calls were waiting to timeout which caused the action to take 6 seconds
By backgrounding the arp calls it takes 0.2 seconds
This speeds up the critical path for SM and makes swact faster
Change-Id: Ie0e2b7cff35852bf5867e5394e6f0f29cef5d274
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
Signed-off-by: Scott Little <scott.little@windriver.com>