Comment 18 for bug 1674861

Revision history for this message
Wessel van Norel (delgurth) wrote :

Unfortunately it seems 17.1 doesn't help me.

apt policy cloud-init
cloud-init:
  Installed: 17.1-46-g7acc9e68-0ubuntu1~16.04.1
  Candidate: 17.1-46-g7acc9e68-0ubuntu1~16.04.1
  Version table:
 *** 17.1-46-g7acc9e68-0ubuntu1~16.04.1 500
        500 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.7.7~bzr1212-0ubuntu1 500
        500 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

I still get the message on login.

**************************************************************************
# A new feature in cloud-init identified possible datasources for #
# this system as: #
# ['None'] #
# However, the datasource used was: GCE #
# #
# In the future, cloud-init will only attempt to use datasources that #
# are identified or specifically configured. #
# For more information see #
# https://bugs.launchpad.net/bugs/1669675 #
# #
# 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. #
# #
# 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-warnings.cfg #
# #
# #cloud-config #
# warnings: #
# dsid_missing_source: off #
**************************************************************************

cat /run/cloud-init/cloud.cfg
di_report:
  datasource_list: [ GCE, None ]

cat /run/cloud-init/ds-identify.log
[up 9.50s] ds-identify
policy loaded: mode=report report=false found=all maybe=all notfound=enabled
/etc/cloud/cloud.cfg.d/91-gce.cfg set datasource_list: [ GCE, NoCloud, None ]
DMI_PRODUCT_NAME=Google
DMI_SYS_VENDOR=Google
DMI_PRODUCT_SERIAL=GoogleCloud-D322C7E530748941965B3201D708D6EA
DMI_PRODUCT_UUID=D322C7E5-3074-8941-965B-3201D708D6EA
PID_1_PRODUCT_NAME=unavailable
DMI_CHASSIS_ASSET_TAG=
FS_LABELS=cloudimg-rootfs
KERNEL_CMDLINE=BOOT_IMAGE=/boot/vmlinuz-4.4.0-112-generic root=UUID=e337c824-614a-4625-b98c-e48a72135196 ro console=ttyS0
VIRT=kvm
UNAME_KERNEL_NAME=Linux
UNAME_KERNEL_RELEASE=4.4.0-112-generic
UNAME_KERNEL_VERSION=#135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018
UNAME_MACHINE=x86_64
UNAME_NODENAME=backup03
UNAME_OPERATING_SYSTEM=GNU/Linux
DSNAME=
DSLIST=GCE NoCloud None
MODE=report
ON_FOUND=all
ON_MAYBE=all
ON_NOTFOUND=enabled
pid=496 ppid=487
is_container=false
check for 'GCE' returned found
Found single datasource: GCE
[up 9.83s] returning 0
[up 2380.43s] ds-identify --force
policy loaded: mode=report report=false found=all maybe=all notfound=enabled
/etc/cloud/cloud.cfg.d/91-gce.cfg set datasource_list: [ GCE, NoCloud, None ]
DMI_PRODUCT_NAME=Google
DMI_SYS_VENDOR=Google
DMI_PRODUCT_SERIAL=GoogleCloud-D322C7E530748941965B3201D708D6EA
DMI_PRODUCT_UUID=D322C7E5-3074-8941-965B-3201D708D6EA
PID_1_PRODUCT_NAME=unavailable
DMI_CHASSIS_ASSET_TAG=
FS_LABELS=cloudimg-rootfs
KERNEL_CMDLINE=BOOT_IMAGE=/boot/vmlinuz-4.4.0-112-generic root=UUID=e337c824-614a-4625-b98c-e48a72135196 ro console=ttyS0
VIRT=kvm
UNAME_KERNEL_NAME=Linux
UNAME_KERNEL_RELEASE=4.4.0-112-generic
UNAME_KERNEL_VERSION=#135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018
UNAME_MACHINE=x86_64
UNAME_NODENAME=backup03
UNAME_OPERATING_SYSTEM=GNU/Linux
DSNAME=
DSLIST=GCE NoCloud None
MODE=report
ON_FOUND=all
ON_MAYBE=all
ON_NOTFOUND=enabled
pid=2426 ppid=2425
is_container=false
check for 'GCE' returned found
Found single datasource: GCE
[up 2380.44s] returning 0