
While working on another change, I discovered conditions in many test cases that echoed fail messages but did not actually exit, so the gate could succeed even though some tests failed. This patchset aims to fix those problems, and then fix the problems masked by those problems: 1) fix bug in revert function of file permissions module preventing permissions from being reverted. 2) fix various syntax and logic problems in test script 3) add wait_for_tiller_ready function to avoid race condition with test script using helm too early 4) add install for ethtool in test script 5) ignore ethtool pod failures (see note #1 in [0]) 6) make logging of test results more uniform 7) Fix error message logic in perm.sh 8) Fix case in _shcommon.tpl where error message was not logged, causing test script to unnecessarily wait for container timeout [0]: https://review.opendev.org/676010 Change-Id: I22182d35250c37c96e73d9f5f49abfb2246f2a35
Divingbell
Introduction
Divingbell is a lightweight solution for:
1. Bare metal configuration management for a few very targeted use cases via the following modules:
- apparmor
- ethtool
- exec (run arbitrary scripts)
- system limits
- mounts
- permissions (perm)
- sysctl values
- basic user account management (uamlite)
- Bare metal package manager orchestration using apt module
What problems does it solve?
The needs identified for Divingbell were:
- To plug gaps in day 1 tools (e.g., Drydock) for node configuration
- To provide a day 2 solution for managing these configurations going forward
- [Future] To provide a day 2 solution for system level host patching
Documentation
Find more documentation for Divingbell on Read the Docs.
Further Reading
Description
Languages
Shell
56.4%
Smarty
42%
Makefile
1%
Python
0.6%