You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading opensearch (on debian, using the repository) the currently running instance is stopped, and never restarted.
To Reproduce
Steps to reproduce the behavior:
Install opensearch, configure it and start the service
Wait until a new release is published
Upgrade the opensearch package
Opensearch is no longer running
Expected behavior
The opensearch should be still be running, either not stopped at all (like elasticsearch packages does), or restarted (but risky when upgrading from 1.x to 2.x).
Plugins
None
Screenshots
N/A
Host/Environment (please complete the following information):
OS: Debian
Version: Buster & Bullseye
Additional context
MYHOST:/etc/apt apt dist-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants seront mis à jour :
opensearch
1 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 821 Mo dans les archives.
Après cette opération, 412 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n]
Réception de :1 http://debian.octopuce.fr/opensearch/2.x stable/main amd64 opensearch amd64 2.11.0 [821 MB]
821 Mo réceptionnés en 10s (81,3 Mo/s)
(Lecture de la base de données... 52775 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../opensearch_2.11.0_amd64.deb ...
Running OpenSearch Pre-Removal Script
Stop existing opensearch.service
Running OpenSearch Pre-Installation Script
Dépaquetage de opensearch (2.11.0) sur (1.3.13) ...
Paramétrage de opensearch (2.11.0) ...
Installation de la nouvelle version du fichier de configuration /etc/init.d/opensearch ...
Fichier de configuration « /etc/opensearch/jvm.options »
==> Modifié (par vous ou par un script) depuis l'installation.
==> Le distributeur du paquet a fourni une version mise à jour.
Que voulez-vous faire ? Vos options sont les suivantes :
Y ou I : installer la version du responsable du paquet
N ou O : garder votre version actuellement installée
D : afficher les différences entre les versions
Z : suspendre ce processus pour examiner la situation
L'action par défaut garde votre version actuelle.
*** jvm.options (Y/I/N/O/D/Z) [défaut=N] ?
Fichier de configuration « /etc/opensearch/log4j2.properties »
==> Modifié (par vous ou par un script) depuis l'installation.
==> Le distributeur du paquet a fourni une version mise à jour.
Que voulez-vous faire ? Vos options sont les suivantes :
Y ou I : installer la version du responsable du paquet
N ou O : garder votre version actuellement installée
D : afficher les différences entre les versions
Z : suspendre ce processus pour examiner la situation
L'action par défaut garde votre version actuelle.
*** log4j2.properties (Y/I/N/O/D/Z) [défaut=N] ?
Installation de la nouvelle version du fichier de configuration /etc/opensearch/opensearch-performance-analyzer/opensearch_security.policy ...
Installation de la nouvelle version du fichier de configuration /etc/opensearch/opensearch-performance-analyzer/rca.conf ...
Installation de la nouvelle version du fichier de configuration /etc/opensearch/opensearch-performance-analyzer/supervisord.conf ...
Running OpenSearch Post-Installation Script
### NOT starting on installation, please execute the following statements to configure opensearch service to start automatically using systemd
sudo systemctl daemon-reload
sudo systemctl enable opensearch.service
### You can start opensearch service by executing
sudo systemctl start opensearch.service
### Create opensearch demo certificates in /etc/opensearch/
See demo certs creation log in /var/log/opensearch/install_demo_configuration.log
### Upcoming breaking change in packaging
In a future release of OpenSearch, we plan to change the permissions associated with access to installed files
If you are configuring tools that require read access to the OpenSearch configuration files, we recommend you add the user that runs these tools to the 'opensearch' group
For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043
Traitement des actions différées (« triggers ») pour libc-bin (2.31-13+deb11u7) ...
MYHOST:/etc/apt service opensearch status
● opensearch.service - OpenSearch
Loaded: loaded (/usr/lib/systemd/system/opensearch.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Tue 2023-11-28 16:41:39 CET; 18s ago
Docs: https://opensearch.org/
Main PID: 128 (code=exited, status=143)
CPU: 1min 40.472s
nov. 28 16:17:24 MYHOST systemd[1]: Started OpenSearch.
nov. 28 16:17:25 MYHOST systemd-entrypoint[128]: WARNING: An illegal reflective access operation has occurred
nov. 28 16:17:25 MYHOST systemd-entrypoint[128]: WARNING: Illegal reflective access by org.opensearch.performanceanalyzer.collectors.MasterServiceEventMetrics (file:/usr/share/opensearch/plugins/opensearch-performance-analyzer/opensearch-performance-analyzer-1.3.13.0.jar) to field java.util.concurrent.ThreadPoolExe>
nov. 28 16:17:25 MYHOST systemd-entrypoint[128]: WARNING: Please consider reporting this to the maintainers of org.opensearch.performanceanalyzer.collectors.MasterServiceEventMetrics
nov. 28 16:17:25 MYHOST systemd-entrypoint[128]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
nov. 28 16:17:25 MYHOST systemd-entrypoint[128]: WARNING: All illegal access operations will be denied in a future release
nov. 28 16:41:39 MYHOST systemd[1]: Stopping OpenSearch...
nov. 28 16:41:39 MYHOST systemd[1]: opensearch.service: Succeeded.
nov. 28 16:41:39 MYHOST systemd[1]: Stopped OpenSearch.
nov. 28 16:41:39 MYHOST systemd[1]: opensearch.service: Consumed 1min 40.472s CPU time.
From my understanding, the current upgrade looks like a remove then install, the config file are preserved, but not the service state.
The text was updated successfully, but these errors were encountered:
Describe the bug
When upgrading opensearch (on debian, using the repository) the currently running instance is stopped, and never restarted.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The opensearch should be still be running, either not stopped at all (like elasticsearch packages does), or restarted (but risky when upgrading from 1.x to 2.x).
Plugins
None
Screenshots
N/A
Host/Environment (please complete the following information):
Additional context
From my understanding, the current upgrade looks like a remove then install, the config file are preserved, but not the service state.
The text was updated successfully, but these errors were encountered: