Project

General

Profile

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

Added by Laurent Flori over 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/12/2018
Due date:
% Done:

100%

Remaining (hours):
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.

Associated revisions

Revision a351633a (diff)
Added by Laurent Flori about 2 years ago

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

Revision 69fc9847 (diff)
Added by Laurent Flori about 2 years ago

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

ref: #26440

History

#1 Updated by Laurent Flori over 2 years ago

  • Subject changed from Après Upgrade et instance le service onenode.service est en erreur to Après l'instance suivant Upgrade-Auto, le service onenode.service est en erreur

#2 Updated by Joël Cuissinat about 2 years ago

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 Updated by Joël Cuissinat about 2 years ago

  • Parent task changed from #23811 to #26517

#4 Updated by Joël Cuissinat about 2 years ago

  • Parent task changed from #26517 to #26618

#5 Updated by Joël Cuissinat about 2 years ago

  • Parent task changed from #26618 to #26517

#6 Updated by Laurent Flori about 2 years ago

  • Status changed from Nouveau to En cours

#7 Updated by Laurent Flori about 2 years ago

  • Assigned To set to Laurent Flori

#8 Updated by Scrum Master about 2 years ago

  • Status changed from En cours to Résolu

#9 Updated by Joël Cuissinat about 2 years ago

#10 Updated by Joël Cuissinat about 2 years ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

Also available in: Atom PDF