Project

General

Profile

Tâche #20346

Scénario #20318: Traitement express MEN (19-21)

Erreur partionnement, passage de ubuntu 16.04 à Eolebase 2.6 non conteneur

Added by Vincent Febvre about 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
05/02/2017
Due date:
% Done:

100%

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

Description

Test effectué sur un VPS avec ubuntu 16.04 passée en Eolebase 2.6.1 (à jour)

Lors de l'enregistrement de la configuration dans gen_config, le message suivant apparaît :

erreur inattendue "invalid literal for int() with base 10: ''" dans la fonction "enable_lv_creation" pour l'option "Permettre le partitionnement manuel" 

L'installation étant faite à partir des paquets et non du CD, il faut modifier la fonction "calc_free_PE" dans /usr/share/creole/funcs/partitoning_utils.py pour pouvoir faire l'enregistrement de la configuration.

Associated revisions

Revision b303e054 (diff)
Added by Daniel Dehennin about 7 years ago

Plantage si aucun groupe de volume LVM n’existe

Les serveurs Ubuntu chez les fournisseurs n’ont pas toujours le
système installé en LVM.

De ce fait :

- La commande vgs n’est pas toujours disponible ;
- La commande vgs peut renvoyé une chaîne vide si aucun groupe n’est
défini.

  • creole/funcs/partitioning_utils.py (calc_free_PE): Prise en charge
    de l’exception en cas de non présence de la commande vgs et d’une
    erreur de conversion numérique.

Ref: #20346

History

#1 Updated by Gérald Schwartzmann about 7 years ago

  • Assigned To set to Gérald Schwartzmann

#2 Updated by Daniel Dehennin about 7 years ago

  • Assigned To changed from Gérald Schwartzmann to Daniel Dehennin

#3 Updated by Daniel Dehennin about 7 years ago

  • Estimated time set to 1.00 h
  • Parent task set to #20318

#4 Updated by Daniel Dehennin about 7 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.25

#5 Updated by Daniel Dehennin about 7 years ago

  • Project changed from eole-common to Distribution EOLE
  • Status changed from Nouveau to En cours

#6 Updated by Scrum Master about 7 years ago

  • Status changed from En cours to Résolu

#7 Updated by Gérald Schwartzmann about 7 years ago

Nouvelle VM dans OpenNebula : Ubuntu Xenial English no LVM + context (amd64)

root@xenial-dad:/home/eole# wget -O- "http://eole.ac-dijon.fr/eole/project/eole-2.6-repository.key" | sudo apt-key --keyring eole-archive-keyring.gpg add -
--2017-05-15 12:05:09--  http://eole.ac-dijon.fr/eole/project/eole-2.6-repository.key
Resolving eole.ac-dijon.fr (eole.ac-dijon.fr)... 194.167.18.18
Connecting to eole.ac-dijon.fr (eole.ac-dijon.fr)|194.167.18.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1691 (1.7K) [text/plain]
Saving to: ‘STDOUT’

-                                       100%[=============================================================================>]   1.65K  --.-KB/s    in 0s      

2017-05-15 12:05:09 (256 MB/s) - written to stdout [1691/1691]

OK
root@xenial-dad:/home/eole# apt-get update
Hit:1 http://eole.ac-dijon.fr/ubuntu xenial InRelease
Hit:2 http://eole.ac-dijon.fr/ubuntu xenial-security InRelease
Hit:3 http://eole.ac-dijon.fr/ubuntu xenial-updates InRelease
Hit:4 http://eole.ac-dijon.fr/ubuntu xenial-backports InRelease
Get:5 http://eole.ac-dijon.fr/eole eole-2.6.0 InRelease [8,907 B]          
Get:6 http://eole.ac-dijon.fr/eole eole-2.6.0-security InRelease [8,697 B] 
Get:7 http://eole.ac-dijon.fr/eole eole-2.6.0-updates InRelease [6,446 B]
Ign:5 http://eole.ac-dijon.fr/eole eole-2.6.0 InRelease       
Get:8 http://eole.ac-dijon.fr/eole eole-2.6.0/main amd64 Packages [53.9 kB]
Get:9 http://eole.ac-dijon.fr/eole eole-2.6.0/main i386 Packages [53.8 kB]
Ign:6 http://eole.ac-dijon.fr/eole eole-2.6.0-security InRelease
Get:10 http://eole.ac-dijon.fr/eole eole-2.6.0/cloud amd64 Packages [2,786 B]
Get:11 http://eole.ac-dijon.fr/eole eole-2.6.0/cloud i386 Packages [2,545 B]                       
Ign:7 http://eole.ac-dijon.fr/eole eole-2.6.0-updates InRelease                                    
Get:12 http://eole.ac-dijon.fr/eole eole-2.6.0-updates/main amd64 Packages [14.0 kB]
Fetched 151 kB in 0s (299 kB/s)      
Reading package lists... Done
W: GPG error: http://eole.ac-dijon.fr/eole eole-2.6.0 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AC6E5D64E78A3F5
W: The repository 'http://eole.ac-dijon.fr/eole eole-2.6.0 InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://eole.ac-dijon.fr/eole eole-2.6.0-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AC6E5D64E78A3F5
W: The repository 'http://eole.ac-dijon.fr/eole eole-2.6.0-security InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://eole.ac-dijon.fr/eole eole-2.6.0-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AC6E5D64E78A3F5
W: The repository 'http://eole.ac-dijon.fr/eole eole-2.6.0-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://eole.ac-dijon.fr/eole eole-2.6.0-updates InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'cloud/binary-i386/Packages' as repository 'http://eole.ac-dijon.fr/eole eole-2.6.0-updates InRelease' doesn't support architecture 'i386'
root@xenial-dad:/home/eole#

#8 Updated by Scrum Master about 7 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF