Activity log for bug #1582323

Date Who What changed Old value New value Message
2016-05-16 16:56:58 mahmoh bug added bug
2016-05-16 17:46:38 Blake Rouse bug task added cloud-init
2016-05-16 17:47:59 Blake Rouse maas: status New Triaged
2016-05-16 17:48:01 Blake Rouse cloud-init: status New Confirmed
2016-05-16 17:48:04 Blake Rouse maas: importance Undecided High
2016-05-25 15:23:34 Blake Rouse bug task deleted cloud-init
2016-05-25 15:23:39 Blake Rouse maas: status Triaged In Progress
2016-05-25 15:23:41 Blake Rouse maas: importance High Critical
2016-05-25 15:23:43 Blake Rouse maas: assignee Blake Rouse (blake-rouse)
2016-05-25 15:23:47 Blake Rouse maas: milestone 2.0.0
2016-05-25 15:37:09 Blake Rouse bug task added cloud-init
2016-05-25 15:37:13 Blake Rouse cloud-init: status New Confirmed
2016-05-25 15:37:24 Blake Rouse maas: status In Progress Triaged
2016-05-25 15:37:26 Blake Rouse maas: assignee Blake Rouse (blake-rouse)
2016-05-26 13:00:16 Scott Moser bug task added cloud-init (Ubuntu)
2016-05-26 13:00:22 Scott Moser cloud-init (Ubuntu): status New Confirmed
2016-05-26 13:00:26 Scott Moser cloud-init: importance Undecided Medium
2016-05-26 13:00:27 Scott Moser cloud-init (Ubuntu): importance Undecided Medium
2016-05-26 13:03:20 Launchpad Janitor branch linked lp:cloud-init
2016-05-26 13:07:04 Scott Moser cloud-init: status Confirmed Fix Committed
2016-06-05 02:01:23 Launchpad Janitor cloud-init (Ubuntu): status Confirmed Fix Released
2016-06-06 13:33:11 Launchpad Janitor branch linked lp:~smoser/ubuntu/yakkety/cloud-init/pkg
2016-06-22 20:09:16 Launchpad Janitor branch linked lp:~smoser/ubuntu/xenial/cloud-init/pkg
2016-06-23 19:03:10 Scott Moser nominated for series Ubuntu Xenial
2016-06-23 19:03:10 Scott Moser bug task added cloud-init (Ubuntu Xenial)
2016-06-23 19:03:26 Scott Moser cloud-init (Ubuntu Xenial): importance Undecided Medium
2016-06-23 19:03:26 Scott Moser cloud-init (Ubuntu Xenial): status New In Progress
2016-06-23 19:03:26 Scott Moser cloud-init (Ubuntu Xenial): assignee Scott Moser (smoser)
2016-07-11 15:59:29 Scott Moser cloud-init (Ubuntu Xenial): status In Progress Fix Released
2016-08-10 14:53:00 Scott Moser cloud-init: status Fix Committed Fix Released
2016-12-05 16:40:42 Scott Moser cloud-init (Ubuntu): status Fix Released Confirmed
2016-12-05 16:40:45 Scott Moser cloud-init (Ubuntu Xenial): status Fix Released Confirmed
2016-12-05 16:40:49 Scott Moser cloud-init: status Fix Released Confirmed
2016-12-06 08:57:13 Launchpad Janitor branch linked lp:~andreserl/maas/lp1582323
2016-12-06 09:00:02 Andres Rodriguez nominated for series maas/2.1
2016-12-06 09:00:02 Andres Rodriguez bug task added maas/2.1
2016-12-06 09:00:02 Andres Rodriguez nominated for series maas/trunk
2016-12-06 09:00:02 Andres Rodriguez bug task added maas/trunk
2016-12-06 09:00:15 Andres Rodriguez maas/trunk: milestone 2.0.0 next
2016-12-06 09:00:19 Andres Rodriguez maas/trunk: milestone next 2.2.0
2016-12-06 09:00:22 Andres Rodriguez maas/2.1: milestone 2.1.3
2016-12-06 11:46:05 MAAS Lander maas/trunk: status Triaged Fix Committed
2016-12-06 12:27:55 Launchpad Janitor branch linked lp:~andreserl/maas/lp1582323_2.1
2016-12-06 14:26:31 MAAS Lander maas/2.1: status New Fix Committed
2016-12-09 11:10:56 Blake Rouse maas/2.1: importance Undecided Critical
2016-12-09 11:11:08 Blake Rouse maas/2.1: assignee Andres Rodriguez (andreserl)
2016-12-09 11:11:14 Blake Rouse maas/trunk: assignee Andres Rodriguez (andreserl)
2016-12-22 14:40:44 Scott Moser cloud-init: status Confirmed Fix Committed
2016-12-23 17:33:46 Scott Moser cloud-init: status Fix Committed Fix Released
2016-12-23 18:49:10 Launchpad Janitor cloud-init (Ubuntu): status Confirmed Fix Released
2017-01-25 13:56:07 Andres Rodriguez maas/2.1: status Fix Committed Fix Released
2017-01-25 22:30:26 Jon Grimm bug added subscriber Jon Grimm
2017-01-27 23:04:12 Bob Wise tags coreos
2017-01-27 23:04:27 Bob Wise bug added subscriber Bob Wise
2017-02-03 02:15:25 Scott Moser description A customer reused hardware that had previously deployed a RHEL Overcloud-controller which places metadata on the disk as a legitimate source, that cloud-init looks at by default. When the newly enlisted node appeared it had the name of "overcloud-controller-0" vs. maas-enlist, pulled from the disk metadata which had overridden MAAS' metadata. Commissioning continually failed on all of the nodes until the disk metadata was manually removed (KVM boot Ubuntu ISO, rm -f data or dd zeros to disk). === Begin SRU Information === [Impact] The issue originally reported was that when MAAS attempted to enlist a system by booting it with a remote iscsi disk with intent to have cloud-init utilize the MAAS metadata service, cloud-init found some metadata from a previous use of the system on the local disk. cloud-init then went on to use that data and did not respond to maas. The impact in this case was that cloud-init failed to enlist. The same problem could occur in any other case where there was data on the local disk that provided a datasource for cloud-init. The fix provided was for the scenario provided was for MAAS to provide configuration on the maas provided kernel command line that tells cloud-init it should read only attempt to use the MAAS datasource. Specifically, as mentioned in comment 7, this looked like: root=iscsi:.... cc:{'datasource_list': ['MAAS']}end_cc \ cloud-config-url=http://maas/path/to/config ... cloud-init then reads that information on boot and it overrides the settings found inside the iscsi root device. [Test Case] A test case lives in unit tests now that ensures kernel config overrides system config. To further test this we could a.) cause this situation by 1.) installing a node in maas 2.) putting config drive or nocloud data onto one of the partitions 3.) returning the system to maas 4.) attempt re-deploy. b.) use a cloud image, kernel and initramfs and web server 1.) download image, update cloud-init to -proposed. 2.) set up a web service to serve files like MAAS described at https://maas.ubuntu.com/docs/development/metadata.html 3.) boot image with kernel command line including the cc: and cloud-config-url referencing that web service. 4.) have provided a config drive or nocloud seed disk to the vm. The 'b' test above is easier to reproduce in that it does not rely on MAAS. [Regression Potential] Regression potential is low, in that this feature worked for some time in previous releases. A bad reading of the code made me (smoser) change the code intending to fix the problem, but in fact regressed it. So this change is actually reverting a previous change in behavior. This was first broken in 16.04 in 0.7.7~bzr1245-0ubuntu1~16.04.1 . [Other Info] The upstream commit that fixed this behavior (including the added tests) is 0b0f254a [1] -- [1] https://git.launchpad.net/cloud-init/commit/?id=0b0f254a6935a1b1fff128fa177152dd519e1a3d === End SRU Information === A customer reused hardware that had previously deployed a RHEL Overcloud-controller which places metadata on the disk as a legitimate source, that cloud-init looks at by default. When the newly enlisted node appeared it had the name of "overcloud-controller-0" vs. maas-enlist, pulled from the disk metadata which had overridden MAAS' metadata. Commissioning continually failed on all of the nodes until the disk metadata was manually removed (KVM boot Ubuntu ISO, rm -f data or dd zeros to disk).
2017-02-06 15:43:31 Brian Murray cloud-init (Ubuntu Xenial): status Confirmed Fix Committed
2017-02-06 15:43:34 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2017-02-06 15:43:40 Brian Murray bug added subscriber SRU Verification
2017-02-06 15:43:44 Brian Murray tags coreos coreos verification-needed
2017-02-09 15:05:40 Scott Moser nominated for series Ubuntu Yakkety
2017-02-09 15:05:40 Scott Moser bug task added cloud-init (Ubuntu Yakkety)
2017-02-09 15:06:41 Scott Moser cloud-init (Ubuntu Yakkety): status New Confirmed
2017-02-09 15:06:43 Scott Moser cloud-init (Ubuntu Yakkety): importance Undecided Medium
2017-02-09 16:57:09 Jon Grimm tags coreos verification-needed coreos verification-needed-xenial
2017-02-09 18:01:24 Łukasz Zemczak cloud-init (Ubuntu Yakkety): status Confirmed Fix Committed
2017-02-09 18:01:34 Łukasz Zemczak tags coreos verification-needed-xenial coreos verification-needed verification-needed-xenial
2017-02-10 05:33:01 Scott Moser tags coreos verification-needed verification-needed-xenial coreos verification-done-xenial verification-needed-xenial
2017-02-10 05:33:18 Scott Moser tags coreos verification-done-xenial verification-needed-xenial coreos verification-done-xenial verification-needed-yakkety
2017-02-10 15:04:16 Scott Moser tags coreos verification-done-xenial verification-needed-yakkety coreos verification-done-xenial verification-done-yakkety
2017-02-22 00:42:21 Launchpad Janitor cloud-init (Ubuntu Yakkety): status Fix Committed Fix Released
2017-02-22 00:42:38 Chris Halse Rogers removed subscriber Ubuntu Stable Release Updates Team
2017-02-22 00:43:01 Launchpad Janitor cloud-init (Ubuntu Xenial): status Fix Committed Fix Released
2017-03-15 09:09:21 Andres Rodriguez maas: status Fix Committed Fix Released
2023-05-10 13:26:53 James Falcon bug watch added https://github.com/canonical/cloud-init/issues/2668