centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
574 stars 240 forks source link

Debian - NTP forced over chrony #11589

Open c0c0163 opened 2 years ago

c0c0163 commented 2 years ago

BUG REPORT INFORMATION

Prerequisites

Versions

$ dpkg -l | grep centreon

ii  centreon                                                  22.04.2-bullseye                                                           all          Centreon is a network, system, applicative supervision and monitoring tool,
ii  centreon-auto-discovery-server                            22.04.1-bullseye                                                           amd64        This extension offers auto discovery on Centreon
ii  centreon-broker                                           22.04.0-7                                                                  amd64        Centreon Broker is a Centreon Engine/Nagios module that report events in
ii  centreon-broker-cbmod                                     22.04.0-7                                                                  amd64        This module can be loaded by Centreon Engine.
ii  centreon-broker-core                                      22.04.0-7                                                                  amd64        core holds Centreon Broker's default modules.
ii  centreon-broker-storage                                   22.04.0-7                                                                  amd64        Storage holds Centreon Broker's prefdata storage.
ii  centreon-central                                          22.04.2-bullseye                                                           all          The package contains base configuration for Centreon Engine and Centreon Broker.
ii  centreon-clib                                             22.04.0-7                                                                  amd64        Centreon Clib is a common library for all Centreon products
ii  centreon-common                                           22.04.2-bullseye                                                           all          Base package for all Centreon installations.
ii  centreon-connector                                        22.04.0-7                                                                  amd64        Centreon Connector provide a monitoring tools, compatible with
ii  centreon-connector-perl                                   22.04.0-7                                                                  amd64        Centreon Connector Perl provide embedded perl for Centreon Engine
ii  centreon-connector-ssh                                    22.04.0-7                                                                  amd64        Centreon Connector SSH provide persistante connection between checks.
ii  centreon-database                                         22.04.2-bullseye                                                           all          Install a database server optimized for use with Centreon.
ii  centreon-engine                                           22.04.0-7                                                                  amd64        Centreon Engine is a monitoring engine, compatible with Nagios
ii  centreon-engine-extcommands                               22.04.0-7                                                                  amd64        Centreon Engine External Commands allow to other applications to send
ii  centreon-gorgone                                          22.04.0-bullseye                                                           amd64        Centreon Gorgone.
ii  centreon-license-manager                                  22.04.0-bullseye                                                           amd64        This extension manage licenses of proprietary Centreon products.
ii  centreon-perl-libs                                        22.04.2-bullseye                                                           all          This packages contains Centreon Perl libraries.
ii  centreon-plugin-applications-databases-mysql              20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-databases-postgresql         20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-docker-restapi               20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-jvm-actuator                 20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-monitoring-centreon-central  20220810-062138-bullseye                                                   amd64        Centreon Plugin to monitor Centreon Central server
ii  centreon-plugin-applications-monitoring-centreon-database 20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-monitoring-centreon-poller   20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-protocol-dns                 20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-protocol-ftp                 20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-protocol-http                20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-protocol-ldap                20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-protocol-ntp                 20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-applications-protocol-snmp                20220810-062138-bullseye                                                   amd64        Centreon Plugin to monitor any equipment with SNMP agent
ii  centreon-plugin-applications-protocol-x509                20220810-062138-bullseye                                                   amd64        Centreon Plugin to monitor X509 certificates
ii  centreon-plugin-hardware-printers-generic-snmp            20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-hardware-servers-supermicro-bmc-snmp      20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-hardware-storage-qnap-snmp                20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-hardware-ups-standard-rfc1628-snmp        20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-network-cisco-standard-snmp               20220810-062138-bullseye                                                   amd64        Centreon Plugin to monitor Cisco switches using SNMP
ii  centreon-plugin-network-switchs-alcatel-omniswitch-snmp   20220810-062138-bullseye                                                   amd64        Centreon Plugin to monitor Alcatel OmniSwitch using SNMP
ii  centreon-plugin-operatingsystems-linux-local              20220810-062138-bullseye                                                   amd64        Centreon Plugin to monitor Linux server/equipment using local commands
ii  centreon-plugin-operatingsystems-linux-snmp               20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-plugin-operatingsystems-linux-ssh                20220810-062138-bullseye                                                   amd64        Centreon Plugin to monitor Linux server/equipment using local commands
ii  centreon-plugin-operatingsystems-windows-snmp             20220810-062138-bullseye                                                   amd64        Centreon Plugin
ii  centreon-poller-centreon-engine                           22.04.2-bullseye                                                           amd64        This package add rights and default directories for a poller
ii  centreon-pp-manager                                       22.04.0-bullseye                                                           amd64        Install, update and manager your Plugin Packs with this Centreon extension.
ii  centreon-trap                                             22.04.2-bullseye                                                           all          This package contains Centreon Trap engine
ii  centreon-web                                              22.04.2-bullseye                                                           all          This package contains WebUI files.
ii  centreon-web-apache                                       22.04.2-bullseye                                                           all          Centreon is a network, system, applicative supervision and monitoring tool,
ii  centreon-web-common                                       22.04.2-bullseye                                                           all          Centreon installation entry point.
ii  centreon-widget-engine-status                             22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-global-health                             22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-graph-monitoring                          22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-grid-map                                  22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-host-monitoring                           22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-hostgroup-monitoring                      22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-httploader                                22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-live-top10-cpu-usage                      22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-live-top10-memory-usage                   22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-ntopng-listing                            22.04.0-2                                                                  all          Add homepage with Centreon Widgets
ii  centreon-widget-service-monitoring                        22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-servicegroup-monitoring                   22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-single-metric                             22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets
ii  centreon-widget-tactical-overview                         22.04.0-bullseye                                                           all          Add homepage with Centreon Widgets

Operating System

Debian 11.4 bullseye

Browser used

Version: --

Additional environment details (VMware):

Description

The installation of Centreon udner Debian forces the installation of NTP over chrony which leads to conflict with chrony and systemd-timesyncd

Steps to Reproduce

Please describe precisely the steps to reproduce the encountered issue.

  1. Install centreon (apt install centreon)

  2. 
    * systemd-timesyncd.service
     Loaded: masked (Reason: Unit systemd-timesyncd.service is masked.)
     Active: inactive (dead) since Tue 2022-08-16 10:58:14 UTC; 12min ago
    Main PID: 444 (code=exited, status=0/SUCCESS)
     Status: "Idle."
        CPU: 61ms```
  3. 
    * chrony.service
     Loaded: masked (Reason: Unit chrony.service is masked.)
     Active: inactive (dead) since Tue 2022-08-16 11:04:34 UTC; 8min ago
    Main PID: 7308 (code=exited, status=0/SUCCESS)
        CPU: 46ms```
  4. sudo apt install chrony
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    apache2 apache2-bin apache2-data apache2-utils centreon-broker centreon-broker-cbmod centreon-broker-core centreon-broker-storage centreon-clib centreon-common centreon-connector
    centreon-connector-perl centreon-connector-ssh centreon-database centreon-engine centreon-engine-extcommands centreon-gorgone centreon-perl-libs
    centreon-plugin-applications-jvm-actuator centreon-plugin-applications-monitoring-centreon-poller centreon-plugin-applications-protocol-ftp
    centreon-plugin-hardware-printers-generic-snmp centreon-plugin-hardware-ups-standard-rfc1628-snmp centreon-plugin-network-cisco-standard-snmp
    centreon-plugin-operatingsystems-windows-snmp centreon-poller-centreon-engine centreon-trap centreon-web-common fontconfig fonts-font-awesome javascript-common libapache2-mod-php8.0
    libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libauthen-pam-perl libauthen-simple-net-perl libauthen-simple-pam-perl libauthen-simple-perl libcairo2
    libclass-accessor-perl libclone-choose-perl libcrypt-des-perl libcrypt-passwdmd5-perl libdatrie1 libdbd-sqlite3-perl libdbi1 libdigest-md5-file-perl libev-perl libevent-core-2.1-7
    libevent-pthreads-2.1-7 libfuture-asyncawait-perl libfuture-perl libgd-perl libgpgme11 libhash-merge-perl libhttp-daemon-ssl-perl libio-socket-socks-perl libjs-bootstrap4
    libjs-highlight.js libjs-jquery libjs-popper.js libjs-sizzle liblua5.3-0 libmojo-server-fastcgi-perl libmojolicious-perl libnetaddr-ip-perl libnorm1 libpango-1.0-0 libpangocairo-1.0-0
    libpangoft2-1.0-0 libparams-validate-perl libpgm-5.3-0 libpixman-1-0 librrd8 librrds-perl libschedule-cron-perl libsodium23 libthai-data libthai0 libtime-parsedate-perl libxcb-render0
    libxml-libxml-simple-perl libxml-simple-perl libxs-parse-sublike-perl libyaml-libyaml-perl libzip4 libzmq-constants-perl libzmq5 mariadb-server monitoring-plugins-basic
    monitoring-plugins-common nagios-images node-jquery php-common php-pear php-xml php8.0 php8.0-cli php8.0-common php8.0-curl php8.0-fpm php8.0-gd php8.0-gnupg php8.0-intl php8.0-ldap
    php8.0-mbstring php8.0-mysql php8.0-opcache php8.0-readline php8.0-snmp php8.0-sourceguardian-loader php8.0-sqlite3 php8.0-xml php8.0-zip php8.1-common php8.1-xml rrdtool sntp ssl-cert
    zmq-libzmq4-perl
    Use 'sudo apt autoremove' to remove them.
    Suggested packages:
    networkd-dispatcher
    The following packages will be REMOVED:
    centreon centreon-auto-discovery-server centreon-central centreon-license-manager centreon-pp-manager centreon-web centreon-web-apache centreon-widget-engine-status
    centreon-widget-global-health centreon-widget-graph-monitoring centreon-widget-grid-map centreon-widget-host-monitoring centreon-widget-hostgroup-monitoring centreon-widget-httploader
    centreon-widget-live-top10-cpu-usage centreon-widget-live-top10-memory-usage centreon-widget-ntopng-listing centreon-widget-service-monitoring centreon-widget-servicegroup-monitoring
    centreon-widget-single-metric centreon-widget-tactical-overview ntp
    The following NEW packages will be installed:
    chrony
    0 upgraded, 1 newly installed, 22 to remove and 3 not upgraded.
    Need to get 0 B/287 kB of archives.
    After this operation, 65.6 MB disk space will be freed.
    Do you want to continue? [Y/n] n

NTP is not allowed on our platform due to customer specifications. Also, we are deploying our platform through ansible playbooks and all the test and validation playbooks are then failed due to this issue.

ponchoh commented 2 years ago

https://thewatch.centreon.com/centreon-debian-user-group-46/centreon-web-dependance-908