Projet

Général

Profil

Tâche #29584

Scénario #29495: Etudier l'utilisation de 'cloud-init' sur un module Eole 2.8

Etude du fonctionnement de cloud-init sur ONE

Ajouté par Emmanuel GARETTE il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
10/02/2020
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Historique

#1 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • Assigné à mis à Emmanuel GARETTE

#3 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

Pour configurer cloud-init il faut ajouter le fichier /etc/cloud/cloud.cfg.d/eole.cfg avec le contenu suivant :

datasource_list: ['OpenNebula']
datasource:
  OpenNebula:
    dsmode: net
    parseuser: nobody
system_info:
  network:
    renderers: ['netplan', 'eni', 'sysconfig', 'freebsd']

Il faut faire les manipulations suivantes pour tester :

find /etc/systemd/ -name "E*" -delete
rm -f /etc/cloud/cloud.cfg.d/50-curtin-networking.cfg
rm -f /etc/netplan/00-eole.yaml
systemctl daemon-reload 
cloud-init clean
rm -f /var/log/cloud-init*
echo|reboot

#4 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • % réalisé changé de 0 à 50

#5 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

Liste des actions faite qu'une fois par instance :

cc_apt_pipelining.py
cc_disk_setup.py
cc_fan.py
cc_foo.py
cc_keys_to_console.py
cc_landscape.py
cc_ntp.py
cc_phone_home.py
cc_power_state_change.py
cc_resolv_conf.py
cc_rightscale_userdata.py
cc_runcmd.py
cc_scripts_per_instance.py
cc_scripts_user.py
cc_scripts_vendor.py
cc_seed_random.py
cc_snap.py
cc_timezone.py
cc_ubuntu_advantage.py
cc_ubuntu_drivers.py
cc_users_groups.py
cc_write_files.py
cc_apt_configure.py
cc_byobu.py
cc_ca_certs.py
cc_chef.py
cc_debug.py
cc_grub_dpkg.py
cc_locale.py
cc_lxd.py
cc_mcollective.py
cc_mounts.py
cc_package_update_upgrade_install.py
cc_puppet.py
cc_rh_subscription.py
cc_rsyslog.py
cc_salt_minion.py
cc_set_hostname.py
cc_set_passwords.py
cc_spacewalk.py
cc_ssh_authkey_fingerprints.py
cc_ssh_import_id.py
cc_ssh.py
cc_yum_add_repo.py
cc_apt_configure.py
cc_byobu.py
cc_ca_certs.py
cc_chef.py
cc_debug.py
cc_grub_dpkg.py
cc_locale.py
cc_lxd.py
cc_mcollective.py
cc_mounts.py
cc_package_update_upgrade_install.py
cc_puppet.py
cc_rh_subscription.py
cc_rsyslog.py
cc_salt_minion.py
cc_set_hostname.py
cc_set_passwords.py
cc_spacewalk.py
cc_ssh_authkey_fingerprints.py
cc_ssh_import_id.py
cc_ssh.py
cc_yum_add_repo.py

Liste des actions faite qu'une fois :

cc_migrator.py
cc_scripts_per_once.py
cc_ubuntu_drivers.py

Liste des actions faite qu'une fois par démarrage :

cc_bootcmd.py
cc_disable_ec2_metadata.py
cc_emit_upstart.py
cc_final_message.py
cc_growpart.py
cc_migrator.py
cc_resizefs.py
cc_scripts_per_boot.py
cc_update_etc_hosts.py
cc_update_hostname.py
cc_zypper_add_repo.py

#6 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • Statut changé de En cours à Résolu

#7 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

Plusieurs message sur le forum laisse à penser que le support n'est pas assuré du côté opennebula.

Par exemple :

#8 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • % réalisé changé de 50 à 100

#9 Mis à jour par Joël Cuissinat il y a environ 4 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0

Formats disponibles : Atom PDF