Project

General

Profile

Tâche #8980

gen_conteneurs plante sur l'absence de /var/lib/lxc/bdd

Added by Joël Cuissinat over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Haut
Assigned To:
-
Start date:
09/23/2014
Due date:
% Done:

100%

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

Description

Instanciation du fichier '../fstab' depuis '/var/lib/creole/lxc.fstab'
Copie du template '/usr/share/eole/creole/distrib/lxc.fstab' vers '/var/lib/creole'
Traceback (most recent call last):
  File "/usr/sbin/gen_conteneurs", line 68, in <module>
    main()
  File "/usr/sbin/gen_conteneurs", line 55, in main
    containers(minimal=True, log_=log)
  File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 380, in containers
    engine.instance_file(u'../fstab', container='all', ctx=CACHE['group_infos'])
  File "/usr/lib/python2.7/dist-packages/creole/template.py", line 521, in instance_file
    self.instance_file(filename=filename, container=group, ctx=lctx)
  File "/usr/lib/python2.7/dist-packages/creole/template.py", line 528, in instance_file
    self._instance_file(f, ctx)
  File "/usr/lib/python2.7/dist-packages/creole/template.py", line 486, in _instance_file
    self.verify(filevar)
  File "/usr/lib/python2.7/dist-packages/creole/template.py", line 365, in verify
    raise FileNotFound(_(u"Folder {0} does not exist but is required by {1}").format(dir_target, destfilename))
creole.error.FileNotFound: le repertoire /var/lib/lxc/bdd/rootfs/.. n'existe pas mais est obligatoire pour /var/lib/lxc/bdd/rootfs/../fstab

Les autres conteneurs sont là par contre :
root@amonecole:~# ls /var/lib/lxc/
internet  partage  reseau

Related issues

Related to AmonEcole - Anomalie #9098: impossible d'automatiser la génération AmonEcole 2.4.1-aplha2 avec conteneur Fermé
Blocks Distribution EOLE - Scénario #8770: Finalisation AmonEcole 2.4 Alpha Terminé (Sprint) 06/03/2012 09/26/2014

History

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

  • Target version set to sprint 2014 38-39
  • Remaining (hours) set to 3.0

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

La commande :

lxc-create -n bdd -t eole -- --release precise

Se termine sur :
Setting up eole-common-pkg (2.4.1-12) ...
Updating certificates in /etc/ssl/certs... 1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Setting up eole-lxc-container-pkg (2.4.1-12) ...
Setting up libswitch-perl (2.16-2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "fr_FR.UTF-8" 
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
*** update-locale: Error: invalid locale settings:  LANGUAGE="fr_FR.UTF-8" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" 
failed to execute template 'eole'
aborted

#3 Updated by Joël Cuissinat over 6 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Daniel Dehennin over 6 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

Corrigé par la #8929

#5 Updated by Joël Cuissinat over 6 years ago

  • Remaining (hours) changed from 3.0 to 0.0
  • Estimated time changed from 3.00 h to 0.00 h

#6 Updated by Joël Cuissinat over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF