Project

General

Profile

Tâche #24230

Scénario #23987: Traitement express MEN (23-25)

La restauration ejabberd n'est pas fonctionnelle sur AmonEcole

Added by Joël Cuissinat over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/18/2018
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

http://jenkins.eole.lan/jenkins/job/2.6.2/job/test-sauvegarde-bareos-restaure-full-amonecole-2.6.2-amd64/buildTimeTrend

Le traceback est présent même sur les anciennes exécutions réussies !
root@amonecole:~# /usr/share/eole/sbin/bareosrestore.py --jabber post 
post jabber
Traceback (most recent call last):
  File "/usr/share/eole/sbin/bareosrestore.py", line 98, in <module>
    main()
  File "/usr/share/eole/sbin/bareosrestore.py", line 92, in main
    parser.parse_args()
  File "/usr/lib/python2.7/optparse.py", line 1400, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python2.7/optparse.py", line 1440, in _process_args
    self._process_long_opt(rargs, values)
  File "/usr/lib/python2.7/optparse.py", line 1515, in _process_long_opt
    option.process(opt, value, values, self)
  File "/usr/lib/python2.7/optparse.py", line 789, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib/python2.7/optparse.py", line 809, in take_action
    self.callback(self, opt, value, parser, *args, **kwargs)
  File "/usr/share/eole/bareos/restore/jabber.py", line 26, in execute
    post()
  File "/usr/share/eole/bareos/restore/jabber.py", line 48, in post
    copyfile(jabfile, destdir)
  File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: u'/var/lib/lxc/reseau/rootfs/var/backups/ejabberd/ejabberd.tmp'

Related issues

Related to eole-bareos - Tâche #15277: Problème à la sauvegarde de ejabberd dans bareos Fermé 03/03/2016
Related to eole-bareos - Tâche #17093: Vérifier la restauration ejabberd Fermé 09/15/2016

Associated revisions

Revision b0ce4138 (diff)
Added by Joël Cuissinat over 1 year ago

Correction du nom de répertoire à créer en mode conteneur

Ref: #24230

History

#1 Updated by Joël Cuissinat over 1 year ago

  • Description updated (diff)

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

  • Related to Tâche #15277: Problème à la sauvegarde de ejabberd dans bareos added

#3 Updated by Joël Cuissinat over 1 year ago

La traceback est également présent dans le test 2.6.1 : http://jenkins.eole.lan/jenkins/job/2.6.1/job/test-sauvegarde-bareos-restaure-full-amonecole-2.6.1-amd64/131/consoleFull

Mais la dernière correction sur le sujet est présente jusqu'en 2.5.2 :

jojo@jojo-MS-B09611:~/git/eole-ejabberd (master=)$ git branch -r --contains eole-ejabberd:5ddf165f

  origin/2.5.2/master
  origin/2.6.0/master
  origin/2.6.1/master
  origin/2.6.2/master
  origin/HEAD -> origin/master
  origin/dist/eole/2.5.2/master
  origin/dist/eole/2.6.0/master
  origin/dist/eole/2.6.1/master
  origin/dist/eole/2.6.2/master
  origin/dist/eole/2.7.0/master
  origin/master
Ah non, il y a plus récent : #17093 ! Mais comme :

Je vais corriger pour EOLE >= 2.6.1

#4 Updated by Joël Cuissinat over 1 year ago

  • Related to Tâche #17093: Vérifier la restauration ejabberd added

#5 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Joël Cuissinat
  • % Done changed from 0 to 100
  • Estimated time set to 2.00 h
  • Remaining (hours) set to 0.25

#6 Updated by Scrum Master over 1 year ago

  • Status changed from En cours to Résolu

Also available in: Atom PDF