Unable to identify datasource in IBM Bluemix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
*******
# A new feature in cloud-init identified possible datasources for #
# this system as: #
# ['NoCloud', 'None'] #
# However, the datasource used was: ConfigDrive #
# #
# 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/
This is in IBM Bluemix, I believe they use openstack (as hinted below)
I don't know anything about cloud-init data sources, but here's how I retrieve user_data manually from within these instances:
root@:~# mkdir -p /tmp/meta
root@:~# mount /dev/xvdh1 /tmp/meta
root@:~# tree /tmp/meta
/tmp/meta
├── meta.js
└── openstack
├── content
│ └── interfaces
└── latest
├── meta_data.json
└── user_data
3 directories, 4 files
root@:~#
Related bugs:
* bug 1673637: cloud-init - Hosts in softlayer receiving warning
summary: |
- Unable to identify CloudStack platform in IBM Bluemix + Unable to identify datasource in IBM Bluemix |
description: | updated |
tags: | added: dsid-block-xenial |
tags: | added: id-591ce7b554857f22b9aa2dd7 |
This is going to take some work. cloud/nocloud and then sometimes also have a config drive attached. I'm not sure if the config drive has a valid label or not (config-v2).
The cloud-images built to run on IBM Bluemix are *very* odd.
To my understanding, they actually have data in /var/lib/
I'm going to need some help from CPC team here.