Project

General

Profile

Tâche #25160

Scénario #24651: Traitement express MEN (38-40)

Réactiver le service lxc-net en 2.7

Added by Laurent Flori over 4 years ago. Updated over 4 years ago.

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

100%

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

Description

À la suite de #24920, le service netplan-apply supprime le bridge et l’interface du conteneur: il faut redémarrer lxc-net et lxc après netplan-apply.


Related issues

Related to Distribution EOLE - Tâche #24920: Les VLAN ne sont pas supprimés au reconfigure Fermé 03/30/2018
Related to Distribution EOLE - Bac à idée #25249: Le démarrage du service lxc-net doit être corrigé SC-T10-004 - gen_conteneurs et reconfigure (2.7.0-b1) Classée sans suite

Associated revisions

Revision 8de725ed (diff)
Added by Daniel Dehennin over 4 years ago

The netplan-apply service delete the lxc-net bridge

We need to restart the “lxc-net” service after “netplan-apply” and
“lxc” after “lxc-net” or the container will loose it's interface.

  • dicos/27_eolead_container.xml: add “lxc-net” and “lxc” as services.
  • posttemplate/04-samba-ad: only configure the samba daemon, there is
    no need to restart now.
  • posttemplate/05-eolead: only configure the container.
  • postservice/05-eolead-inject-password: move this script to
    postservice

Ref: #25160

Revision 9c3de7a5 (diff)
Added by Daniel Dehennin over 4 years ago

The addc container is restarted as a Creole service

The container is available only at postservice time.

  • postservice/05-eolead-join-and-sync-ldap: move at postservice.

Ref: #25160

Revision 12c26a68 (diff)
Added by Daniel Dehennin over 4 years ago

The addc container is restarted as a Creole service

The container is available only at postservice time.

  • eolead/postservice/05-eolead-gpo: move at postservice.

Ref: #25160

Revision 65e71c7f (diff)
Added by Daniel Dehennin over 4 years ago

Install EOLE-AD postservice

Ref: #25160

Revision 85d82389 (diff)
Added by Daniel Dehennin over 4 years ago

Network: “lxc-net” is not properly ordered with “network-online.target”

To be ordered after a service or target, a unit must declare the
“After/Before” and the “Requires/Wants”.

The “lxc-net.service” provided by Ubuntu only declares the “After”.

  • systemd/lxc-net.service.d/override.conf (Wants): we need
    “network-online.target”
  • scribe-ad.mk (systemd/lxc-net.service.d_DATA_DIR): install the
    override configuration file.

Ref: #25160

Revision 9abd4654 (diff)
Added by Daniel Dehennin over 4 years ago

Network: install the “lxc-net” configuration override file

  • debian/horus-ad.install: for “Horus”.
  • debian/scribe-ad.install: for “Scribe”.

Ref: #25160

Revision 8c351c4b (diff)
Added by Daniel Dehennin over 4 years ago

Network: Reload systemd configuration

The installation of the “lxc-net.service” override file requires to
reload the systemd configuration.

  • debian/horus-ad.postinst: reload the daemon.
  • debian/scribe-ad.postinst: ditoo.

Ref: #25160

Revision 677c9bdb (diff)
Added by Daniel Dehennin over 4 years ago

Network: create new links for “lxc-net.service” at installation

  • debian/horus-ad.postinst: update links of “lxc-net.service”.
  • debian/scribe-ad.postinst: ditoo.

Ref: #25160

Revision 4f6b4ea6 (diff)
Added by Daniel Dehennin over 4 years ago

Inject password after joining the AD domain

Ref: #25160

Revision d5046335 (diff)
Added by Daniel Dehennin over 4 years ago

Register EOLE GPO after joining the AD domain

Ref: #25160

History

#1 Updated by Daniel Dehennin over 4 years ago

  • Related to Tâche #24920: Les VLAN ne sont pas supprimés au reconfigure added

#2 Updated by Daniel Dehennin over 4 years ago

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

#3 Updated by Daniel Dehennin over 4 years ago

  • Description updated (diff)

#4 Updated by Daniel Dehennin over 4 years ago

  • % Done changed from 0 to 100
  • Estimated time set to 2.00 h
  • Remaining (hours) set to 0.5

#5 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#6 Updated by Daniel Dehennin over 4 years ago

  • Status changed from Résolu to En cours

#7 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#8 Updated by Scrum Master over 4 years ago

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

#9 Updated by Daniel Dehennin over 4 years ago

  • Related to Bac à idée #25249: Le démarrage du service lxc-net doit être corrigé SC-T10-004 - gen_conteneurs et reconfigure (2.7.0-b1) added

Also available in: Atom PDF