Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MON-152201 Centreon next 24.11 (Jira release #20182#) #1828

Open
wants to merge 41 commits into
base: master
Choose a base branch
from

Conversation

pkippes
Copy link
Contributor

@pkippes pkippes commented Nov 5, 2024

REF #MON-152201

sechkem and others added 30 commits October 3, 2024 18:06
* Add pb_neb_lib dependencies to centenginestats
* Add pb_bam_lib dependencies to engine_legacy_conf

REFS: MON-147186
#1680)

* fix(common/engine_conf): multiple inheritence broken because of a missing flag enabled
* fix(common/log_v2): segfault in centengine fixed
* fix(engine/config/applier): bad use of std::equal
* fix(tests/engine): new test
* fix(broker/neb): cbmod was linked with not needed libraries
*  fix(broker/lua): a memory leak introduced with the new openssl md5 fixed
* fix(tests/engine): a new test to validate the good behavior of inheritance
* enh(cmake): new option LEGACY_ENGINE to compile the legacy engine instead of the new one
* fix(gh/alma8): maxscale repo is disabled on alma8
* fix(cmake): issues with dependencies
* enh(gha): new possibility to save packages as artifacts

REFS: MON-147499
* (fix(engine): host's name instead of template name as alias
* fix(Engine): review code
REFS: MON-16261
* fix(broker/bbdo):grpc_stream.proto is bad generated
* fix(broker/bbdo): review code

REFS: MON- 147911
…1720)

We were not looking for the correct nebtype for updates.
* telegraf conf_server sues conf_helper

* whitelist implementation

* add whitelist test

* add whitelist test
dlg and files installer

agent is a windows service

add agent version resources

first version of installer

writer review

add installer to CMakeLists.txt

add comments

Apply suggestions from code review

Co-authored-by: sechkem <[email protected]>
Co-authored-by: cg-tw <[email protected]>
* enh(engine/gRPC): GetHost function return all about host
REFS: MON-148834
* chore(release): bump major to 24.10

* chore(release): bump major to 24.10

* disable gorgone tests to allow first batch of unstable collect packages

* disable gorgone tests to allow first batch of unstable collect packages 2

* disable bullseye from matrix

* disable bullseye from matrix 2

* fix(ci): retrieve gorgone tests

* fix(ci): update gorgone tests according to packaging distrib change

* fix(ci): disable gorgone tests

* Revert forced unstable stability on get-version

* uncomment gorgone tests

---------

Co-authored-by: Kevin Duret <[email protected]>
* prepare agent project for native checks

* add rapidjson_helper on windows compil
add installer tests

silent uninstaller
#1752)

* fix(ci): fix cloud context detection when onprem and cloud have the same version

* fix typo

* Update .github/workflows/get-version.yml

Co-authored-by: May <[email protected]>

---------

Co-authored-by: May <[email protected]>
* enh(ci): update push jobs in workflows (#1755)

* update docker pull secrets
…configuration

* doc(Gorgone): Add robot tests Readme file
* fix(Gorgone): remove debug log that are too verbose
* fix(ci): update gorgone tests according to packaging distrib change
* ci(Gorgone): remove bullseye from the test matrix
* feat(Gorgone): allow action module to restart centreon_vmware service.
* feat(Gorgone): copy centreon_vmware conf file with engine's.

When gorgone receive a message to push the engine configuration (from the centcore file directory) gorgone now also push the centreon_vmware.json file in /etc/centreon/ for the centreon_vmware daemon and restart the daemon while restarting engine.
As centreon_vmware don't support reload, when engine reload we restart centreon_vmware.

* ci(Gorgone): Fix gorgone DB initialization on GHA.
Add the list of column to insert data into.

* ci(Gorgone): add firsts legacycmd tests

Check gorgone retrieve data from the /var/lib/centreon/centcore/ directory, and send the forced check to the engine pipe.
We use a perl script to mock the pipe, as we don't want to run engine, and gorgone check the file is a real pipe and not a simple file.
Check gorgone push engine, broker and vmware configuration files to the poller, and the poller set the correct path.
Gorgone don't seem to correctly take the configuration modules:engine:command_file. The default /var/lib/centreon-engine/rw/centengine.cmd is used instead, this should be investigated in a separate ticket.
gorgone don't set user/group when processing folder with untar.
create centcore folder in each tests
As www-data don't exist on rpm based distro, we can't test if user/group is correctly set by gorgone.
* tests(Gorgone): separate all tests to use different folder for each tests and update statistic tests to use new version of databaseLibrary.

* tests(Gorgone): disable pull tests as they randomly fail.
This should be enabled back by the next ticket.

Refs:MON-150897

Co-authored-by: Kevin Duret <[email protected]>
* enh(broker/grpc): Improvement of the grpc python generator script
* enh(tests): new test on downtimes, to check duplicates in rrd
* enh(broker): AdaptiveHostStatus and AdaptiveServiceStatus added
* fix(engine): update_status() generalized with an argument
* fix(broker): neb::callbacks works better with service_type and internal_id
* enh(broker/lua): the lua stream must handle AdaptiveHostStatus and AdaptiveServiceStatus
* enh(broker/unified_sql): work on adaptive status in unified_sql
* cleanup(collect): headers removed when not needed
* enh(cmake): cmake-vcpkg improved
* fix(broker/bam): pb_adaptive_service_status are handled by bam now

REFS: MON-150015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants