Project

General

Profile

Tâche #31701

Scénario #32042: Validation des scénario 'cadoles' restants sur "14-16"

Valider le scénario Sauvegarde/restauration Hapy 2.8.0+

Added by Joël Cuissinat over 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
04/26/2021
Due date:
04/26/2021
% Done:

100%

Remaining (hours):
0.0

Related issues

Related to Distribution EOLE - Scénario #30588: Sauvegarde/restauration Hapy 2.8.0+ Terminé (Sprint) 02/01/2021 02/19/2021

History

#1 Updated by Joël Cuissinat over 2 years ago

#2 Updated by Daniel Dehennin over 2 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin

#3 Updated by Daniel Dehennin over 2 years ago

Sur grichka:

  • 4 disques, tous dans un groupe de volume vghapy
    • 1 SSD 128Go
    • 1 disque 500Go
    • 2 disques 1To
  • installation du module hâpy 2.8.1
    • 2To pour le volume var+lib+one monté sous /var/lib/one/
    • 287Go pour la sauvegarde monté sous /mnt/sauvegardes/
  • installation d’un module Amon 2.7.2 persistant
  • installation d’un scribe 2.8.0 persistant
    • Téléchargement du dépôt de paquet Deb EOLE et un bout du miroir Ubuntu pour un total de 98Go

J’ai une erreur lorsque j’exécute le script onevm_backup.rb sans option :

root@grichka:~# onevm_backup.rb 
/mnt/sauvegardes
Saving unused (if needed) and non persistent images
undefined method `[]' for nil:NilClass
/usr/share/eole/sbin/onevm_backup.rb:135:in `initialize'
/usr/share/eole/sbin/onevm_backup.rb:569:in `new'
/usr/share/eole/sbin/onevm_backup.rb:569:in `block in <main>'
/usr/lib/one/ruby/opennebula/xml_pool.rb:35:in `block in each_element'
/usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:238:in `block in each'
/usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:237:in `upto'
/usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:237:in `each'
/usr/lib/one/ruby/opennebula/xml_pool.rb:34:in `each_element'
/usr/lib/one/ruby/opennebula/pool.rb:159:in `each'
/usr/share/eole/sbin/onevm_backup.rb:567:in `<main>'

La machine grichka est accessible avec ssh root@grichka.eole.lan.

#4 Updated by Daniel Dehennin over 2 years ago

Le script de sauvegarde ne semble pas fonctionner correctement :

root@grichka:~# onebck 
Traceback (most recent call last):
    1: from /usr/bin/onebck:30:in `<main>'
/usr/bin/onebck:30:in `require_relative': cannot load such file -- /usr/lib/one/backup (LoadError)

#5 Updated by Gilles Grandgérard over 2 years ago

  • Parent task changed from #31590 to #32042

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

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

Also available in: Atom PDF