$ for r in artful zesty xenial; do lxc-proposed-snapshot --proposed $r 
$r-aliyun; done
Creating artful-aliyun
--proposed -- 
Get:1 http://security.ubuntu.com/ubuntu artful-security InRelease [78.6 kB]
Hit:2 http://archive.ubuntu.com/ubuntu artful InRelease
Get:3 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages 
[56.9 kB]
Get:4 http://archive.ubuntu.com/ubuntu artful-updates InRelease [78.6 kB]
Get:5 http://security.ubuntu.com/ubuntu artful-security/main Translation-en 
[26.6 kB]
Get:6 http://security.ubuntu.com/ubuntu artful-security/universe amd64 Packages 
[15.3 kB]
Get:7 http://security.ubuntu.com/ubuntu artful-security/universe Translation-en 
[10.9 kB]
Get:8 http://security.ubuntu.com/ubuntu artful-security/multiverse amd64 
Packages [1168 B]
Get:9 http://security.ubuntu.com/ubuntu artful-security/multiverse 
Translation-en [744 B]
Get:10 http://archive.ubuntu.com/ubuntu artful-backports InRelease [72.2 kB]
Get:11 http://archive.ubuntu.com/ubuntu artful-proposed InRelease [235 kB]
Get:12 http://archive.ubuntu.com/ubuntu artful/universe amd64 Packages [8103 kB]
Get:13 http://archive.ubuntu.com/ubuntu artful/universe Translation-en [4789 kB]
Get:14 http://archive.ubuntu.com/ubuntu artful/multiverse amd64 Packages [150 
kB]
Get:15 http://archive.ubuntu.com/ubuntu artful/multiverse Translation-en [108 
kB]
Get:16 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [114 
kB]
Get:17 http://archive.ubuntu.com/ubuntu artful-updates/main Translation-en 
[50.6 kB]
Get:18 http://archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages 
[37.5 kB]
Get:19 http://archive.ubuntu.com/ubuntu artful-updates/universe Translation-en 
[23.4 kB]
Get:20 http://archive.ubuntu.com/ubuntu artful-updates/multiverse amd64 
Packages [1844 B]
Get:21 http://archive.ubuntu.com/ubuntu artful-updates/multiverse 
Translation-en [1124 B]
Get:22 http://archive.ubuntu.com/ubuntu artful-backports/main amd64 Packages 
[1508 B]
Get:23 http://archive.ubuntu.com/ubuntu artful-backports/main Translation-en 
[668 B]
Get:24 http://archive.ubuntu.com/ubuntu artful-backports/universe amd64 
Packages [2656 B]
Get:25 http://archive.ubuntu.com/ubuntu artful-backports/universe 
Translation-en [1096 B]
Get:26 http://archive.ubuntu.com/ubuntu artful-proposed/main amd64 Packages 
[76.9 kB]
Get:27 http://archive.ubuntu.com/ubuntu artful-proposed/main Translation-en 
[34.5 kB]
Get:28 http://archive.ubuntu.com/ubuntu artful-proposed/universe amd64 Packages 
[32.8 kB]
Get:29 http://archive.ubuntu.com/ubuntu artful-proposed/universe Translation-en 
[18.7 kB]
Fetched 14.1 MB in 10s (1394 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following packages will be upgraded:
  cloud-init
1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
Need to get 332 kB of archives.
After this operation, 6144 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu artful-proposed/main amd64 cloud-init 
all 17.1-46-g7acc9e68-0ubuntu1~17.10.1 [332 kB]
Preconfiguring packages ...
Fetched 332 kB in 0s (1209 kB/s)
(Reading database ... 26632 files and directories currently installed.)
Preparing to unpack .../cloud-init_17.1-46-g7acc9e68-0ubuntu1~17.10.1_all.deb 
...
Unpacking cloud-init (17.1-46-g7acc9e68-0ubuntu1~17.10.1) over 
(17.1-27-geb292c18-0ubuntu1~17.10.1) ...
Processing triggers for rsyslog (8.16.0-1ubuntu9) ...
invoke-rc.d: could not determine current runlevel
Setting up cloud-init (17.1-46-g7acc9e68-0ubuntu1~17.10.1) ...
Installing new version of config file /etc/cloud/templates/hosts.suse.tmpl ...
Installing new version of config file /etc/cloud/templates/ntp.conf.sles.tmpl 
...
Creating zesty-aliyun
--proposed -- 
Get:1 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]
Hit:2 http://archive.ubuntu.com/ubuntu zesty InRelease
Get:3 http://archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]
Get:4 http://security.ubuntu.com/ubuntu zesty-security/main amd64 Packages [174 
kB]
Get:5 http://security.ubuntu.com/ubuntu zesty-security/main Translation-en 
[79.6 kB]
Get:6 http://security.ubuntu.com/ubuntu zesty-security/universe amd64 Packages 
[88.0 kB]
Get:7 http://security.ubuntu.com/ubuntu zesty-security/universe Translation-en 
[58.4 kB]
Get:8 http://archive.ubuntu.com/ubuntu zesty-backports InRelease [89.2 kB]
Get:9 http://security.ubuntu.com/ubuntu zesty-security/multiverse amd64 
Packages [2964 B]
Get:10 http://security.ubuntu.com/ubuntu zesty-security/multiverse 
Translation-en [1744 B]
Get:11 http://archive.ubuntu.com/ubuntu zesty-proposed InRelease [240 kB]
Get:12 http://archive.ubuntu.com/ubuntu zesty/universe amd64 Packages [8068 kB]
Get:13 http://archive.ubuntu.com/ubuntu zesty/universe Translation-en [4671 kB]
Get:14 http://archive.ubuntu.com/ubuntu zesty/multiverse amd64 Packages [154 kB]
Get:15 http://archive.ubuntu.com/ubuntu zesty/multiverse Translation-en [109 kB]
Get:16 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 Packages [250 
kB]
Get:17 http://archive.ubuntu.com/ubuntu zesty-updates/main Translation-en [114 
kB]
Get:18 http://archive.ubuntu.com/ubuntu zesty-updates/universe amd64 Packages 
[166 kB]
Get:19 http://archive.ubuntu.com/ubuntu zesty-updates/universe Translation-en 
[93.7 kB]
Get:20 http://archive.ubuntu.com/ubuntu zesty-updates/multiverse amd64 Packages 
[11.8 kB]
Get:21 http://archive.ubuntu.com/ubuntu zesty-updates/multiverse Translation-en 
[6280 B]
Get:22 http://archive.ubuntu.com/ubuntu zesty-backports/main amd64 Packages 
[1720 B]
Get:23 http://archive.ubuntu.com/ubuntu zesty-backports/main Translation-en 
[668 B]
Get:24 http://archive.ubuntu.com/ubuntu zesty-backports/universe amd64 Packages 
[3832 B]
Get:25 http://archive.ubuntu.com/ubuntu zesty-backports/universe Translation-en 
[2152 B]
Get:26 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 Packages 
[42.8 kB]
Get:27 http://archive.ubuntu.com/ubuntu zesty-proposed/main Translation-en 
[21.8 kB]
Get:28 http://archive.ubuntu.com/ubuntu zesty-proposed/universe amd64 Packages 
[24.7 kB]
Get:29 http://archive.ubuntu.com/ubuntu zesty-proposed/universe Translation-en 
[15.6 kB]
Fetched 14.7 MB in 7s (1997 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  cloud-init
1 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
Need to get 340 kB of archives.
After this operation, 5120 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 cloud-init all 
17.1-46-g7acc9e68-0ubuntu1~17.04.1 [340 kB]
Preconfiguring packages ...
Fetched 340 kB in 0s (1332 kB/s)
(Reading database ... 26666 files and directories currently installed.)
Preparing to unpack .../cloud-init_17.1-46-g7acc9e68-0ubuntu1~17.04.1_all.deb 
...
Unpacking cloud-init (17.1-46-g7acc9e68-0ubuntu1~17.04.1) over 
(17.1-27-geb292c18-0ubuntu1~17.04.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up cloud-init (17.1-46-g7acc9e68-0ubuntu1~17.04.1) ...
Installing new version of config file /etc/cloud/templates/hosts.suse.tmpl ...
Installing new version of config file /etc/cloud/templates/ntp.conf.sles.tmpl 
...
Leaving 'diversion of /etc/init/ureadahead.conf to 
/etc/init/ureadahead.conf.disabled by cloud-init'
Creating xenial-aliyun
--proposed -- 
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 
[404 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en 
[178 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages 
[188 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en 
[98.3 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 
Packages [3212 B]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse 
Translation-en [1408 B]
Get:11 http://archive.ubuntu.com/ubuntu xenial-proposed InRelease [253 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4354 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 
kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 
kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [678 
kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [283 
kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages 
[564 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en 
[228 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 
Packages [16.2 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse 
Translation-en [8052 B]
Get:22 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages 
[4860 B]
Get:23 http://archive.ubuntu.com/ubuntu xenial-backports/main Translation-en 
[3220 B]
Get:24 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 
Packages [6616 B]
Get:25 http://archive.ubuntu.com/ubuntu xenial-backports/universe 
Translation-en [3768 B]
Get:26 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 
[129 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-proposed/main Translation-en 
[50.5 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-proposed/universe amd64 Packages 
[58.0 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial-proposed/universe Translation-en 
[27.3 kB]
Fetched 15.6 MB in 7s (2119 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following packages will be upgraded:
  cloud-init
1 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
Need to get 340 kB of archives.
After this operation, 5120 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 cloud-init 
all 17.1-46-g7acc9e68-0ubuntu1~16.04.1 [340 kB]
Preconfiguring packages ...
Fetched 340 kB in 0s (1374 kB/s)
(Reading database ... 25529 files and directories currently installed.)
Preparing to unpack .../cloud-init_17.1-46-g7acc9e68-0ubuntu1~16.04.1_all.deb 
...
Unpacking cloud-init (17.1-46-g7acc9e68-0ubuntu1~16.04.1) over 
(17.1-27-geb292c18-0ubuntu1~16.04.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up cloud-init (17.1-46-g7acc9e68-0ubuntu1~16.04.1) ...
Installing new version of config file /etc/cloud/templates/hosts.suse.tmpl ...
Installing new version of config file /etc/cloud/templates/ntp.conf.sles.tmpl 
...
Leaving 'diversion of /etc/init/ureadahead.conf to 
/etc/init/ureadahead.conf.disabled by cloud-init'


$ for r in artful zesty xenial; do lxc start $r-aliyun; done
$ sleep 20

## in each of these it shows AliYun not selected. Select it.
# you will also see the WARN in /run/cloud-init/ds-identify.log
# WARN: No check method 'dscheck_Aliyun' for datasource 'Aliyun'
$ for r in artful zesty xenial; do lxc exec $r-aliyun dpkg-reconfigure 
cloud-init; done

$ for r in artful zesty xenial ; do lxc restart $r-aliyun; done
$ sleep 20

# now show no warnings.
$ for r in artful zesty xenial ; do echo === $r ===; lxc exec $r-aliyun cat 
/run/cloud-init/ds-identify.log; echo ; done
=== artful ===
[up 0.00s] ds-identify 
policy loaded: mode=search report=false found=all maybe=all notfound=disabled
/etc/cloud/cloud.cfg.d/90_dpkg.cfg set datasource_list: [ NoCloud, ConfigDrive, 
OpenNebula, DigitalOcean, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, 
CloudSigma, SmartOS, Bigstep, Scaleway, AliYun, Ec2, CloudStack, None ]
DMI_PRODUCT_NAME=���������������������������������
DMI_SYS_VENDOR=���������������������������������
DMI_PRODUCT_SERIAL=unavailable
DMI_PRODUCT_UUID=unavailable
PID_1_PRODUCT_NAME=unavailable
DMI_CHASSIS_ASSET_TAG=���������������������������������
FS_LABELS=unavailable:container
KERNEL_CMDLINE=/sbin/init 
VIRT=lxc
UNAME_KERNEL_NAME=Linux
UNAME_KERNEL_RELEASE=4.13.0-17-generic
UNAME_KERNEL_VERSION=#20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017
UNAME_MACHINE=x86_64
UNAME_NODENAME=artful-aliyun
UNAME_OPERATING_SYSTEM=GNU/Linux
DSNAME=
DSLIST=NoCloud ConfigDrive OpenNebula DigitalOcean Azure AltCloud OVF MAAS GCE 
OpenStack CloudSigma SmartOS Bigstep Scaleway AliYun Ec2 CloudStack None
MODE=search
ON_FOUND=all
ON_MAYBE=all
ON_NOTFOUND=disabled
pid=41 ppid=25
is_container=true
check for 'NoCloud' returned found
Found single datasource: NoCloud
[up 0.00s] returning 0

=== zesty ===
[up 0.00s] ds-identify 
policy loaded: mode=search report=false found=all maybe=all notfound=disabled
/etc/cloud/cloud.cfg.d/90_dpkg.cfg set datasource_list: [ NoCloud, ConfigDrive, 
OpenNebula, DigitalOcean, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, 
CloudSigma, SmartOS, Bigstep, Scaleway, AliYun, Ec2, CloudStack, None ]
DMI_PRODUCT_NAME=���������������������������������
DMI_SYS_VENDOR=���������������������������������
DMI_PRODUCT_SERIAL=unavailable
DMI_PRODUCT_UUID=unavailable
PID_1_PRODUCT_NAME=unavailable
DMI_CHASSIS_ASSET_TAG=���������������������������������
FS_LABELS=unavailable:container
KERNEL_CMDLINE=/sbin/init 
VIRT=lxc
UNAME_KERNEL_NAME=Linux
UNAME_KERNEL_RELEASE=4.13.0-17-generic
UNAME_KERNEL_VERSION=#20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017
UNAME_MACHINE=x86_64
UNAME_NODENAME=zesty-aliyun
UNAME_OPERATING_SYSTEM=GNU/Linux
DSNAME=
DSLIST=NoCloud ConfigDrive OpenNebula DigitalOcean Azure AltCloud OVF MAAS GCE 
OpenStack CloudSigma SmartOS Bigstep Scaleway AliYun Ec2 CloudStack None
MODE=search
ON_FOUND=all
ON_MAYBE=all
ON_NOTFOUND=disabled
pid=40 ppid=36
is_container=true
check for 'NoCloud' returned found
Found single datasource: NoCloud
[up 0.00s] returning 0

=== xenial ===
[up 0.00s] 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, Bigstep, Scaleway, AliYun, Ec2, CloudStack, None ]
DMI_PRODUCT_NAME=���������������������������������
DMI_SYS_VENDOR=���������������������������������
DMI_PRODUCT_SERIAL=unavailable
DMI_PRODUCT_UUID=unavailable
PID_1_PRODUCT_NAME=unavailable
DMI_CHASSIS_ASSET_TAG=���������������������������������
FS_LABELS=unavailable:container
KERNEL_CMDLINE=/sbin/init 
VIRT=lxc
UNAME_KERNEL_NAME=Linux
UNAME_KERNEL_RELEASE=4.13.0-17-generic
UNAME_KERNEL_VERSION=#20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017
UNAME_MACHINE=x86_64
UNAME_NODENAME=xenial-aliyun
UNAME_OPERATING_SYSTEM=GNU/Linux
DSNAME=
DSLIST=NoCloud ConfigDrive OpenNebula DigitalOcean Azure AltCloud OVF MAAS GCE 
OpenStack CloudSigma SmartOS Bigstep Scaleway AliYun Ec2 CloudStack None
MODE=report
ON_FOUND=all
ON_MAYBE=all
ON_NOTFOUND=enabled
pid=41 ppid=31
is_container=true
check for 'NoCloud' returned found
Found single datasource: NoCloud
[up 0.00s] returning 0

** Tags removed: verification-needed verification-needed-artful 
verification-needed-xenial verification-needed-zesty
** Tags added: verification-done verification-done-artful 
verification-done-xenial verification-done-zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1728186

Title:
  AliYun datasource has wrong case in config

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1728186/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to