yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67248
[Bug 1714358] Re: ds-identify does not find CloudStack datasource
We recreated the image with newest version of cloud-init and now it is
working!
** Changed in: cloud-init
Status: New => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1714358
Title:
ds-identify does not find CloudStack datasource
Status in cloud-init:
Fix Released
Bug description:
We are usng CloudStack with XenServer as hypervisor and we are getting
this:
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-81-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
**************************************************************************
# A new feature in cloud-init identified possible datasources for #
# this system as: #
# [] #
# However, the datasource used was: CloudStack #
# #
# 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 #
**************************************************************************
Disable the warnings above by:
touch /home/ubuntu/.cloud-warnings.skip
or
touch /var/lib/cloud/instance/warnings/.skip
This is our config in /etc/cloud/cloud.cfg.d/99_cloudstack.cfg:
datasource:
CloudStack: {}
None: {}
datasource_list: [ CloudStack ]
this is the output of /run/cloud-init/ds-identify.log:
[up 3.77s] ds-identify
policy loaded: mode=report report=false found=all maybe=all notfound=enabled
/etc/cloud/cloud.cfg.d/99_cloudstack.cfg set datasource_list: [ CloudStack ]
DMI_PRODUCT_NAME=HVM domU
DMI_SYS_VENDOR=Xen
DMI_PRODUCT_SERIAL=75c58df9-e2b6-8139-c697-7d93c287a1e7
DMI_PRODUCT_UUID=75C58DF9-E2B6-8139-C697-7D93C287A1E7
PID_1_PRODUCT_NAME=unavailable
DMI_CHASSIS_ASSET_TAG=
FS_LABELS=
KERNEL_CMDLINE=BOOT_IMAGE=/boot/vmlinuz-4.4.0-81-generic root=UUID=3f377544-33e0-4408-b498-72fca4233a00 ro vga=0x318 console=ttyS0,115200n8 console=hvc0 consoleblank=0 elevator=deadline biosdevname=0 net.ifnames=0
VIRT=xen
UNAME_KERNEL_NAME=Linux
UNAME_KERNEL_RELEASE=4.4.0-81-generic
UNAME_KERNEL_VERSION=#104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017
UNAME_MACHINE=x86_64
UNAME_NODENAME=swen-test-ubuntu1604
UNAME_OPERATING_SYSTEM=GNU/Linux
DSNAME=
DSLIST=CloudStack
MODE=report
ON_FOUND=all
ON_MAYBE=all
ON_NOTFOUND=enabled
pid=197 ppid=188
is_container=false
single entry in datasource_list (CloudStack) use that.
[up 3.83s] returning 0
this is the output of /run/cloud-init/cloud.cfg:
di_report:
datasource_list: [ CloudStack, None ]
cloud-init version is: 0.7.9-153-g16a7302f-0ubuntu1~16.04.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1714358/+subscriptions
References