A new feature in cloud-init identified possible datasources for this system as:['Ec2', 'None']. However, the datasource used was: Azure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Whenever I login to server i get the below error message :
*******
# A new feature in cloud-init identified possible datasources for #
# this system as: #
# ['Ec2', 'None'] #
# However, the datasource used was: Azure #
# #
# In the future, cloud-init will only attempt to use datasources that #
# are identified or specifically configured. #
# For more information see #
# https:/
# #
# If you are seeing this message, please file a bug against #
# cloud-init at #
# https:/
# Make sure to include the cloud provider your instance is #
# running on. #
# #
# 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-config #
# warnings: #
# dsid_missing_
*******
Disable the warnings above by:
touch /root/.
or
touch /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cloud-init 0.7.9-48-
ProcVersionSign
Uname: Linux 4.4.0-174-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.22
Architecture: amd64
Date: Thu Mar 19 09:58:34 2020
Ec2AMI: ami-08df7c3f251
Ec2AMIManifest: (unknown)
Ec2Availability
Ec2InstanceType: m5.xlarge
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitec
ProcEnviron:
LC_CTYPE=UTF-8
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
The above mentioned server was freshly migrated from Azure CLoud to AWS cloud