Project

General

Profile

Tâche #21339

Scénario #21239: Fournir un module AmonEcole-Eclair

Création du paquet AmonEcole-Eclair

Added by Daniel Dehennin about 4 years ago. Updated almost 4 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/13/2017
Due date:
% Done:

100%

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

Description

  • Dans le dépôt conf-amonecole
  • Calcul automatique des variables
    • adresse IP du NFS ⮕ montage /home
    • adresse IP du LDAP ⮕ %%adresse_ip_bdd (routage interne)
    • Dicos amonecole + amonecole-eclair
    • Création de /var/lib/tftpboot sur le maître (attention à l’espace disque, lien symbolique dans /opt)

Related issues

Related to Eclair - Tâche #21384: La redéfinition du client ldap dans le dicos 30_ltsp n'est pas applicable dans le contexte d'un amonecole-eclair Fermé 09/13/2017

Associated revisions

Revision ef9a383f (diff)
Added by Daniel Dehennin about 4 years ago

Create AmonEcole-Eclair module

- Share TFTP directory between master and containers
- Mount home in LTSP container
- Bind container first interface to master second interface

Ref: #21339

Revision b421a75f (diff)
Added by Daniel Dehennin about 4 years ago

Force local LDAP client for AmonEcole-Eclair

The “30_ltsp.xml” dictionnary force remote LDAP, we meed to override
it.

Ref: #21339

Revision 0098a778 (diff)
Added by Daniel Dehennin about 4 years ago

Force use of DHCP and TFTP for AmonEcole-Eclair

Ref: #21339

Revision 8a0e40cc (diff)
Added by Daniel Dehennin about 4 years ago

/home is “mount --bind” in LTSP container

  • dicos/55_amonecole-eclair.xml: Just disable the
    “adresse_serveur_nfs” variable.

Ref: #21339

Revision b4eeea8e (diff)
Added by Daniel Dehennin about 4 years ago

Adapt PXE path for TFTP with Eclair

Ref: #21339

Revision 93074d9e (diff)
Added by Daniel Dehennin about 4 years ago

We favorise FAT clients for AmonEcole-Eclair

Ref: #21339

Revision a54b20e2 (diff)
Added by Daniel Dehennin about 4 years ago

New EOLE module AmonEcole-Eclair

The AmonEcole-Eclair is AmonEcole + AmonEcole-Eclair dictionnary.

  • debian/control: new module meta-package
    “eole-amonecole-eclair-module” and its module package
    “eole-amonecole-eclair”.
  • debian/eole-amonecole-eclair.install: install AmonEcole-Eclair
    dictionnary.
  • debian/eole-amonecole.install: Install only AmonEcole dictionnary.
  • debian/eole-amonecole-eclair.dirs: Create “/opt/tftpboot” directory.

Ref: #21339

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

Eclair requires a dedicated profile

  • apparmor/lxc-default-for-eclair: add filesystem proc, sysfs et bind
    mount options.
  • conf-amonecole.mk (apparmor_DATA_DIR): install apparmor profile.

Ref: #21339

Revision ac9526b5 (diff)
Added by Daniel Dehennin about 4 years ago

Reload LXC apparmor profile on install.

Ref: #21339

Revision e6cab03c (diff)
Added by Daniel Dehennin about 4 years ago

Install all packages for standalone non LXC Eclair

We need to remove “eole-ltsp-server-pkg” from “eole-ltsp-server”
dependencies for AmonEcole-Eclair.

  • debian/control (Depends): add “eole-ltsp-server-pkg” to
    eole-eclair-all.

Ref: #21339

Revision 644f32ad (diff)
Added by Daniel Dehennin about 4 years ago

AmonEcole-Eclair requires EOLE LTSP dependencies

  • debian/control (Depends): Add “eole-ltsp-server” and
    “eole-gaspacho-agent”.

Ref: #21339

Revision a72bec99 (diff)
Added by Daniel Dehennin about 4 years ago

Group gaspacho container with LTSP

Ref: #21339

Revision cacf118e (diff)
Added by Daniel Dehennin about 4 years ago

We need to install apparmor profile

Ref: #21339

Revision ffd14bda (diff)
Added by Daniel Dehennin about 4 years ago

Fix path to apparmor profile

Ref: #21339

Revision 43713c41 (diff)
Added by Daniel Dehennin about 4 years ago

Eclair requires a specific apparmor profile

Ref: #21339

Revision a37866a4 (diff)
Added by Daniel Dehennin about 4 years ago

Reloading LXC apparmor profile is not enough

Just reloading the lxc-containers profile does not load the new one.

  • debian/eole-amonecole-eclair.postinst: Reload service instead of
    just reloading the LXC profile.

Ref: #21339

Revision 92233afe (diff)
Added by Daniel Dehennin almost 4 years ago

Default machine name length must not have more than 15 characters

Or the samba domain integration fails.

  • dicos/55_amonecole-eclair.xml: default machine name without a dash.

Ref: #21339

History

#1 Updated by Daniel Dehennin about 4 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Daniel Dehennin about 4 years ago

  • Description updated (diff)
  • Assigned To set to Daniel Dehennin

#3 Updated by Daniel Dehennin about 4 years ago

  • Estimated time set to 0.00 h
  • Remaining (hours) set to 0.0

#4 Updated by Daniel Dehennin about 4 years ago

  • Estimated time changed from 0.00 h to 8.00 h
  • Remaining (hours) changed from 0.0 to 6.0

#5 Updated by Daniel Dehennin about 4 years ago

  • Subject changed from Création du dictionnaire AmonEcole-Eclair to Création du paquet AmonEcole-Eclair
  • Description updated (diff)
  • Estimated time changed from 8.00 h to 12.00 h
  • Remaining (hours) changed from 6.0 to 10.0

#6 Updated by Daniel Dehennin about 4 years ago

  • Description updated (diff)

#7 Updated by Daniel Dehennin about 4 years ago

  • Description updated (diff)

#8 Updated by Daniel Dehennin about 4 years ago

  • Remaining (hours) changed from 10.0 to 8.0

#9 Updated by Daniel Dehennin about 4 years ago

  • Description updated (diff)

#10 Updated by Daniel Dehennin about 4 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 8.0 to 2.0

#11 Updated by Daniel Dehennin about 4 years ago

  • Related to Tâche #21384: La redéfinition du client ldap dans le dicos 30_ltsp n'est pas applicable dans le contexte d'un amonecole-eclair added

#12 Updated by Scrum Master about 4 years ago

  • Status changed from En cours to Résolu

#13 Updated by Emmanuel GARETTE almost 4 years ago

  • Remaining (hours) changed from 2.0 to 12.0

#14 Updated by Emmanuel GARETTE almost 4 years ago

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

Tout semble fonctionnel comme prévu (l'image est bien construit dans /opt, l'image est une fat amd64, les utilisateurs LDAP sont bien vus dans le conteneur, ...).

Also available in: Atom PDF