2016-11-03 14:05:04 |
Scott Moser |
bug |
|
|
added bug |
2016-11-03 14:05:26 |
Scott Moser |
cloud-init: assignee |
|
lawrence peng (kaihuan-pkh) |
|
2016-11-03 14:05:29 |
Scott Moser |
cloud-init: status |
New |
Confirmed |
|
2016-11-03 14:05:31 |
Scott Moser |
cloud-init: importance |
Undecided |
Medium |
|
2016-11-10 17:00:24 |
Scott Moser |
description |
As discussed at [1], the addition of AliYun datasource did not enable it by default.
This is because it has no definitive check before polling the network for data.
Lawrence suggested he has a solution for this.
[1] https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/309614 |
As discussed at [1], the addition of AliYun datasource did not enable it by default.
This is because it has no definitive check before polling the network for data.
Lawrence suggested he has a solution for this:
| in our cloud platform, an instance vm could use an asm
| instructions `cpuid` (with eax setted to 0x40000100 ), it will
| returned our platform id keyword "AliYun" into register ebx and ecx,
| and if vm is not running on our environment, the value is others. so I
| guess this is a method to identify our platform ?
--
[1] https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/309614 |
|
2017-05-22 19:10:52 |
Scott Moser |
merge proposal linked |
|
https://code.launchpad.net/~jingni.wjj/cloud-init/+git/cloud-init/+merge/323306 |
|
2017-05-25 13:56:16 |
Scott Moser |
merge proposal linked |
|
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324625 |
|
2017-05-25 13:56:58 |
Scott Moser |
cloud-init: assignee |
lawrence peng (kaihuan-pkh) |
Junjie.Wang (jingni.wjj) |
|
2017-05-30 20:06:49 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324807 |
|
2017-05-31 01:02:47 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324274 |
|
2017-05-31 15:03:41 |
Launchpad Janitor |
merge proposal unlinked |
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324274 |
|
|
2017-07-31 20:24:04 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu) |
|
2017-07-31 20:24:17 |
Scott Moser |
cloud-init (Ubuntu): status |
New |
Confirmed |
|
2017-07-31 20:24:21 |
Scott Moser |
cloud-init (Ubuntu): status |
Confirmed |
Fix Released |
|
2017-07-31 20:24:23 |
Scott Moser |
cloud-init (Ubuntu): importance |
Undecided |
Medium |
|
2017-07-31 20:24:32 |
Scott Moser |
nominated for series |
|
Ubuntu Zesty |
|
2017-07-31 20:24:32 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Zesty) |
|
2017-07-31 20:24:32 |
Scott Moser |
nominated for series |
|
Ubuntu Xenial |
|
2017-07-31 20:24:32 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Xenial) |
|
2017-08-01 19:11:29 |
Scott Moser |
description |
As discussed at [1], the addition of AliYun datasource did not enable it by default.
This is because it has no definitive check before polling the network for data.
Lawrence suggested he has a solution for this:
| in our cloud platform, an instance vm could use an asm
| instructions `cpuid` (with eax setted to 0x40000100 ), it will
| returned our platform id keyword "AliYun" into register ebx and ecx,
| and if vm is not running on our environment, the value is others. so I
| guess this is a method to identify our platform ?
--
[1] https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/309614 |
=== Begin SRU Template ===
[Impact]
Ubuntu cloud-images do not identify the Aliyun cloud platform.
Until this change was put in place, they would fail to boot and consume
user-data or metadata there.
With the change in place, an official Ubuntu image from
http://cloud-images.ubuntu.com will work properly on Aliyun.
[Test Case]
The ideal test case is:
a.) download a cloud image, update its cloud-init
The tool 'get-proposed-cloudimg' [1] can be used to do this.
[1] https://git.launchpad.net/~smoser/cloud-init/+git/sru-info/tree/bin/get-proposed-cloudimg
b.) publish that image to Aliyun cloud
c.) boot an instance from that image.
d.) verify function by ssh in verifying /run/cloud-init/result.json shows
that aliyun datasource was used.
Ideally post /var/log/cloud-init.log as an attachment to this bug.
[Regression Potential]
Generally small chance for regression, but a regression would most likely
be seen as an attempt to hit the metadata service at the well known end point
http://100.100.100.200.
This should be fairly well confined as attempts to use the Aliyun datasource
are gated by '_is_aliyun_' which does verifies that the dmi product name is
"Alibaba Cloud ECS"
[Other Info]
Upstream commit at
https://git.launchpad.net/cloud-init/commit/?id=4a60af5495
=== End SRU Template ===
As discussed at [1], the addition of AliYun datasource did not enable it by default.
This is because it has no definitive check before polling the network for data.
Lawrence suggested he has a solution for this:
| in our cloud platform, an instance vm could use an asm
| instructions `cpuid` (with eax setted to 0x40000100 ), it will
| returned our platform id keyword "AliYun" into register ebx and ecx,
| and if vm is not running on our environment, the value is others. so I
| guess this is a method to identify our platform ?
--
[1] https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/309614 |
|
2017-08-23 12:27:34 |
Chris J Arges |
cloud-init (Ubuntu Xenial): status |
New |
Fix Committed |
|
2017-08-23 12:27:36 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-08-23 12:27:41 |
Chris J Arges |
bug |
|
|
added subscriber SRU Verification |
2017-08-23 12:27:46 |
Chris J Arges |
tags |
|
verification-needed verification-needed-xenial |
|
2017-08-23 12:31:08 |
Chris J Arges |
cloud-init (Ubuntu Zesty): status |
New |
Fix Committed |
|
2017-08-23 12:31:12 |
Chris J Arges |
tags |
verification-needed verification-needed-xenial |
verification-needed verification-needed-xenial verification-needed-zesty |
|
2017-09-12 21:03:45 |
Chad Smith |
tags |
verification-needed verification-needed-xenial verification-needed-zesty |
verification-done-xenial verification-done-zesty |
|
2017-09-13 01:26:05 |
Launchpad Janitor |
cloud-init (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-09-13 01:26:31 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-09-13 01:27:27 |
Launchpad Janitor |
cloud-init (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|
2017-09-23 02:14:19 |
Scott Moser |
cloud-init: status |
Confirmed |
Fix Released |
|
2023-05-10 18:03:46 |
James Falcon |
bug watch added |
|
https://github.com/canonical/cloud-init/issues/2751 |
|