Merge ~xavpaice/charm-graylog:bug/1925272 into charm-graylog:master
Proposed by
Xav Paice
Status: | Rejected | ||||||||
---|---|---|---|---|---|---|---|---|---|
Rejected by: | Eric Chen | ||||||||
Proposed branch: | ~xavpaice/charm-graylog:bug/1925272 | ||||||||
Merge into: | charm-graylog:master | ||||||||
Diff against target: |
477 lines (+190/-32) 11 files modified
src/config.yaml (+10/-2) src/reactive/graylog.py (+28/-9) src/tests/functional/requirements.txt (+1/-0) src/tests/functional/tests/bundles/bionic-graylog2-tls.yaml (+53/-0) src/tests/functional/tests/bundles/bionic-graylog3-tls.yaml (+4/-4) src/tests/functional/tests/bundles/bionic-graylog3.yaml (+4/-4) src/tests/functional/tests/bundles/bionic-ha.yaml (+4/-4) src/tests/functional/tests/bundles/focal-graylog2-tls.yaml (+54/-0) src/tests/functional/tests/tests.yaml (+2/-0) src/tests/unit/test_graylog.py (+19/-8) src/tox.ini (+11/-1) |
||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Celia Wang | Approve | ||
🤖 prod-jenkaas-bootstack | continuous-integration | Approve | |
Drew Freiberger (community) | Needs Fixing | ||
Tom Haddon | Abstain | ||
BootStack Reviewers | mr tracking; do not claim | Pending | |
BootStack Reviewers | Pending | ||
Review via email: mp+401505@code.staging.launchpad.net |
Commit message
Enable config for Graylog2 TLS
Enables TLS relation for Graylog 2, which was allowed but not tested or
working previously.
Also forces elasticsearch to use a smaller heap so it can be tested on
smaller server instances.
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
WIP: functest failing:
2021-04-21 17:25:42 [INFO] ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= test_legacy. LegacyTests) ------- ------- ------- ------- ------- ------- ------- ------- ------- test_legacy. py", line 132, in test_nrpe_config file_contents( xav/charms/ charm-graylog/ src/.tox/ func/lib/ python3. 8/site- packages/ charmhelpers/ core/decorators .py", line 40, in _retry_ on_exception_ inner_2 test_legacy. py", line 147, in get_file_contents command( unit, "cat '{}'".format( filename) ) test_legacy. py", line 119, in run_command ------- ------- ------- ------- ------- ------- ------- ------- ------- e29'} xav/charms/ charm-graylog/ src/.tox/ func/bin/ functest- run-suite" , line 8, in <module> exit(main( )) xav/charms/ charm-graylog/ src/.tox/ func/lib/ python3. 8/site- packages/ zaza/charm_ lifecycle/ func_test_ runner. py", line 308, in main test_runner( xav/charms/ charm-graylog/ src/.tox/ func/lib/ python3. 8/site- packages/ zaza/charm_ lifecycle/ func_test_ runner. py", line 242, in func_test_runner env_deployment( env_deployment, keep_model= preserve_ model, xav/charms/ charm-graylog/ src/.tox/ func/lib/ python3. 8/site- packages/ zaza/charm_ lifecycle/ func_test_ runner. py", line 147, in run_env_deployment xav/charms/ charm-graylog/ src/.tox/ func/lib/ python3. 8/site- packages/ zaza/charm_ lifecycle/ test.py" , line 122, in test test_list( tests) xav/charms/ charm-graylog/ src/.tox/ func/lib/ python3. 8/site- packages/ zaza/charm_ lifecycle/ test.py" , line 111, in run_test_list test_runners( )[runner] (testcase, _testcase) xav/charms/ charm-graylog/ src/.tox/ func/lib/ python3. 8/site- packages/ zaza/charm_ lifecycle/ test.py" , line 73, in run_unittest wasSuccessful( ), "Test run failed"
2021-04-21 17:25:42 [INFO] FAIL: test_nrpe_config (tests.
2021-04-21 17:25:42 [INFO] Verify that the specific nrpe check is configured.
2021-04-21 17:25:42 [INFO] -------
2021-04-21 17:25:42 [INFO] Traceback (most recent call last):
2021-04-21 17:25:42 [INFO] File "./tests/
2021-04-21 17:25:42 [INFO] cfg = self.get_
2021-04-21 17:25:42 [INFO] File "/home/
2021-04-21 17:25:42 [INFO] return f(*args, **kwargs)
2021-04-21 17:25:42 [INFO] File "./tests/
2021-04-21 17:25:42 [INFO] result = self.run_
2021-04-21 17:25:42 [INFO] File "./tests/
2021-04-21 17:25:42 [INFO] assert result["Code"] == "0"
2021-04-21 17:25:42 [INFO] AssertionError
2021-04-21 17:25:42 [INFO] -------
2021-04-21 17:25:42 [INFO] Ran 6 tests in 327.129s
2021-04-21 17:25:42 [INFO] FAILED
2021-04-21 17:25:42 [INFO] (failures=1)
2021-04-21 17:25:42 [ERROR] {'gl2': 'zaza-8ce00c21c
2021-04-21 17:25:42 [ERROR] Model gl2 (zaza-8ce00c21ce29)
Traceback (most recent call last):
File "/home/
sys.
File "/home/
func_
File "/home/
run_
File "/home/
test.test(
File "/home/
run_
File "/home/
get_
File "/home/
assert test_result.
AssertionError: Test run failed