Comment 1 for bug 1687425

Revision history for this message
Vincenzo Di Somma (vds) wrote :

ubuntu@juju-d294bf-attic-1:~$ cat /run/cloud-init/cloud.cfg
di_report:
  datasource_list: [ None ]

ubuntu@juju-d294bf-attic-1:~$ cat /run/cloud-init/cloud-init-generator.log
/lib/systemd/system-generators/cloud-init-generator normal=/run/systemd/generator early=/run/systemd/generator.early late=/run/systemd/generator.late
kernel command line (container[lxc]: pid 1 cmdline): /lib/systemd/systemd --system --deserialize 24
kernel_cmdline found unset
etc_file found unset
default found enabled
checking for datasource
ds-identify rc=0
ds-identify _RET=found
enabled via /run/systemd/generator.early/multi-user.target.wants/cloud-init.target -> /lib/systemd/system/cloud-init.target

ubuntu@juju-d294bf-attic-1:~$ cat /run/cloud-init/cloud.cfg
di_report:
  datasource_list: [ None ]
ubuntu@juju-d294bf-attic-1:~$ cat /run/cloud-init/
cloud.cfg ds-identify.log enabled network-config-ready status.json
cloud-init-generator.log .ds-identify.result .instance-id result.json
ubuntu@juju-d294bf-attic-1:~$ cat /run/cloud-init/ds-identify.log
[up 0.0s] ds-identify
policy loaded: mode=report report=false found=all maybe=all notfound=enabled
/etc/cloud/cloud.cfg.d/90_dpkg.cfg set datasource_list: [ NoCloud, ConfigDrive, OpenNebula, DigitalOcean, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, SmartOS, Ec2, CloudStack, None ]
DMI_PRODUCT_NAME=ProLiant DL360p Gen8
DMI_SYS_VENDOR=HP
DMI_PRODUCT_SERIAL=unavailable
DMI_PRODUCT_UUID=unavailable
PID_1_PLATFORM=unavailable
FS_LABELS=unavailable:container
KERNEL_CMDLINE=/sbin/init
VIRT=lxc
UNAME_KERNEL_NAME=Linux
UNAME_KERNEL_RELEASE=4.4.0-72-generic
UNAME_KERNEL_VERSION=#93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017
UNAME_MACHINE=x86_64
UNAME_NODENAME=ubuntu
UNAME_OPERATING_SYSTEM=GNU/Linux
DSNAME=
DSLIST=NoCloud ConfigDrive OpenNebula DigitalOcean Azure AltCloud OVF MAAS GCE OpenStack CloudSigma SmartOS Ec2 CloudStack None
MODE=report
ON_FOUND=all
ON_MAYBE=all
ON_NOTFOUND=enabled
pid=41 ppid=32
is_container=true
No ds found [mode=report, notfound=enabled]. Would enable cloud-init [0]
[up 0.0s] returning 0

ubuntu@juju-d294bf-attic-1:~$ cat /run/cloud-init/.ds-identify.result
0

ubuntu@juju-d294bf-attic-1:~$ cat /run/cloud-init/.instance-id
b1dbb096-1a5b-45d5-91e1-deea85f77975

ubuntu@juju-d294bf-attic-1:~$ cat /run/cloud-init/result.json
{
 "v1": {
  "datasource": "DataSourceOpenStack [net,ver=2]",
  "errors": []
 }
}

ubuntu@juju-d294bf-attic-1:~$ cat /run/cloud-init/status.json
{
 "v1": {
  "datasource": "DataSourceOpenStack [net,ver=2]",
  "init": {
   "errors": [],
   "finished": 1493648703.3603625,
   "start": 1493648691.240055
  },
  "init-local": {
   "errors": [],
   "finished": 1493648690.396511,
   "start": 1493648690.1082807
  },
  "modules-config": {
   "errors": [],
   "finished": 1493648707.8611922,
   "start": 1493648703.9919927
  },
  "modules-final": {
   "errors": [],
   "finished": 1493648744.3461225,
   "start": 1493648708.2839196
  },
  "stage": null
 }
}