Projet

Général

Profil

Tâche #26440

Scénario #26517: EOLE 2.7.0 : Gérer l'upgrade vers 2.7 (suite)

Après l'instance suivant Upgrade-Auto, le service onenode.service est en erreur

Ajouté par Laurent Flori il y a plus de 5 ans. Mis à jour il y a environ 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
12/10/2018
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Description

Après l'instance suivant Upgrade-Auto le service onenode.service est en erreur:

root@hapy:~# systemctl status onenode.service 
● onenode.service - OpenNebula Node starter
   Loaded: loaded (/lib/systemd/system/onenode.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2019-01-14 14:50:05 CET; 8min ago
 Main PID: 1572 (code=exited, status=255)

janv. 14 14:49:45 hapy systemd[1]: Starting OpenNebula Node starter...
janv. 14 14:49:45 hapy onevm-all[1572]: /usr/share/eole/sbin/onevm-all:4: warning: constant ::TRUE is deprecated
janv. 14 14:50:05 hapy onevm-all[1572]: Failed to open TCP connection to 127.0.0.1:2633 (Connection refused - connect(2) for "127.0.0.1" port 2633)
janv. 14 14:50:05 hapy onevm-all[1572]: exit
janv. 14 14:50:05 hapy onevm-all[1572]: /usr/share/eole/sbin/onevm-all:219:in `exit'
janv. 14 14:50:05 hapy onevm-all[1572]: /usr/share/eole/sbin/onevm-all:219:in `<main>'
janv. 14 14:50:05 hapy systemd[1]: onenode.service: Main process exited, code=exited, status=255/n/a
janv. 14 14:50:05 hapy systemd[1]: onenode.service: Failed with result 'exit-code'.
janv. 14 14:50:05 hapy systemd[1]: Failed to start OpenNebula Node starter.

Si on relance le service à la main:
root@hapy:~# systemctl start onenode.service 
root@hapy:~# systemctl status onenode.service 
● onenode.service - OpenNebula Node starter
   Loaded: loaded (/lib/systemd/system/onenode.service; enabled; vendor preset: enabled)
   Active: active (exited) since Mon 2019-01-14 14:58:19 CET; 1s ago
  Process: 11793 ExecStart=/usr/share/eole/sbin/onevm-all -c ${CREDS} -e ${ENDPOINT} -a resume (code=exited, status=0/SUCCESS)
 Main PID: 11793 (code=exited, status=0/SUCCESS)

janv. 14 14:58:18 hapy systemd[1]: Starting OpenNebula Node starter...
janv. 14 14:58:18 hapy onevm-all[11793]: /usr/share/eole/sbin/onevm-all:4: warning: constant ::TRUE is deprecated
janv. 14 14:58:19 hapy onevm-all[11793]: Wait 60s for VMs to resume OK
janv. 14 14:58:19 hapy systemd[1]: Started OpenNebula Node starter.

Révisions associées

Révision a351633a (diff)
Ajouté par Laurent Flori il y a environ 5 ans

Restart onenode.service during instance

ref: #26440

onenode.service is only started at boot time. In case of Upgrade-Auto we need to restart it
after instance otherwise onenode.service is always in state failed

Révision 69fc9847 (diff)
Ajouté par Laurent Flori il y a environ 5 ans

Do not restart onenode.service during instance if it's already up and running

ref: #26440

Historique

#1 Mis à jour par Laurent Flori il y a plus de 5 ans

  • Sujet changé de Après Upgrade et instance le service onenode.service est en erreur à Après l'instance suivant Upgrade-Auto, le service onenode.service est en erreur

#2 Mis à jour par Joël Cuissinat il y a plus de 5 ans

L'erreur est visible dans les tests diagnose effectués à la fin du test Jenkins : http://jenkins.eole.lan/jenkins/job/2.7.0/job/test-upgradeauto-hapy-262-2.7.0-amd64/

#3 Mis à jour par Joël Cuissinat il y a plus de 5 ans

  • Tâche parente changé de #23811 à #26517

#4 Mis à jour par Joël Cuissinat il y a environ 5 ans

  • Tâche parente changé de #26517 à #26618

#5 Mis à jour par Joël Cuissinat il y a environ 5 ans

  • Tâche parente changé de #26618 à #26517

#6 Mis à jour par Laurent Flori il y a environ 5 ans

  • Statut changé de Nouveau à En cours

#7 Mis à jour par Laurent Flori il y a environ 5 ans

  • Assigné à mis à Laurent Flori

#8 Mis à jour par Scrum Master il y a environ 5 ans

  • Statut changé de En cours à Résolu

#9 Mis à jour par Joël Cuissinat il y a environ 5 ans

#10 Mis à jour par Joël Cuissinat il y a environ 5 ans

  • Statut changé de Résolu à Fermé
  • % réalisé changé de 0 à 100
  • Restant à faire (heures) mis à 0.0

Formats disponibles : Atom PDF