Project

General

Profile

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

Added by Emmanuel GARETTE 4 months ago. Updated 3 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
02/10/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

History

#1 Updated by Emmanuel GARETTE 4 months ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE 4 months ago

  • Assigned To set to Emmanuel GARETTE

#3 Updated by Emmanuel GARETTE 3 months ago

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 Updated by Emmanuel GARETTE 3 months ago

  • % Done changed from 0 to 50

#5 Updated by Emmanuel GARETTE 3 months ago

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 Updated by Emmanuel GARETTE 3 months ago

  • Status changed from En cours to Résolu

#7 Updated by Emmanuel GARETTE 3 months ago

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

Par exemple :

#8 Updated by Emmanuel GARETTE 3 months ago

  • % Done changed from 50 to 100

#9 Updated by Joël Cuissinat 3 months ago

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

Also available in: Atom PDF