En arrencar, algunes instàncies anteriors d'Ubuntu 16.04 poden mostrar l'advertiment següent:
**************************************************************************
# This system is using the EC2 Metadata Service, but does not appear to #
# be running on Amazon EC2 or one of cloud-init's known platforms that #
# provide a EC2 Metadata service. In the future, cloud-init may stop #
# reading metadata from the EC2 Metadata Service unless the platform can #
# be identified. #
# #
# If you are seeing this message, please file a bug against #
# cloud-init at #
# https://bugs.launchpad.net/cloud-init/+filebug?field.tags=dsid #
# Make sure to include the cloud provider your instance is #
# running on. #
# #
# For more information see #
# https://bugs.launchpad.net/bugs/1660385 #
# #
# After you have filed a bug, you can disable this warning by #
# launching your instance with the cloud-config below, or #
# putting that content into #
# /etc/cloud/cloud.cfg.d/99-ec2-datasource.cfg #
# #
# #cloud-config #
# datasource: #
# Ec2: #
# strict_id: false #
**************************************************************************
Això passa a causa d'un canvi que ha fet Ubuntu a cloud-init. Els detalls es poden trobar aquí .
Les instàncies de Vultr solien utilitzar cloud-init per fer algunes tasques de configuració inicials, però vam deixar d'utilitzar aquest programa per a nous desplegaments a finals del 2016. Si utilitzeu una instantània creada el 2016 o executeu una instància d'Ubuntu 16.04 des del 2016, és possible que encara tingueu cloud-init instal·lat.
Hi ha algunes maneres de resoldre l'avís:
- Si veieu l'avís d'una instantània que desplegueu amb freqüència, us suggerim que torneu a crear la instantània des d'una instal·lació nova.
- Si veieu l'avís en una instància en execució, us suggerim que elimineu cloud-init amb
apt-get remove cloud-init.
- Si confieu en cloud-init, podeu seguir les instruccions documentades al final del missatge d'error per suprimir aquest missatge.