** Description changed:

+ [ Impact ]
+ 
+  * This backport supplements cloud-config user-data schema to allow
+ customers to provide an `ubuntu_pro:` key in cloud-config user-data to
+ auto-attach non-pro images to Ubuntu Pro at instance launch.  This
+ ubuntu_pro key support is provided in addition to the existing `ubuntu-
+ advantage:` keys that are currently supported on Xenial/Bionic. This
+ allows uniform configuration and tooling when launching instances across
+ either ESM releases and active supported LTS such as Jammy and Noble.
+ 
+ * It also standardizes customer documentation for 'how to attach to Ubuntu 
Pro' to allow a single documented procedure and config that is applicable 
across ESM and active support LTS.  It provides customers with the ability to 
launch any instance in Xenial and Bionic and automatically attach or modify 
Ubuntu Pro services using the same #cloud-config user-data which can also be 
used on all active supported LTSes such as Jammy and Noble.
+ * There are additional motivations to migrate away from ubuntu-advantage and 
ubuntu_advantage references in all Canonical products as the product name 
Ubuntu Advantage has been replaced with Ubuntu Pro, so aligning customer 
expectation with the proper product name reduces customer confusion and 
documentation concerns.
+ 
+ * Without this backport to unify cloud-config schema for Pro-related
+ functionality, users wishing to attach Xenial, Bionic and Jammy/Noble
+ VMs with cloud-config user-data have to provide separate user-data for
+ each release. Like the following:
+ 
+ - Xenial or Bionic token attach  and limit services enabled to esm-infra
+ 
+ #cloud-config
+ ubuntu-advantage:
+    token: <your_token>
+    enable: [esm-infra]
+ 
+ -- or --
+ 
+ #cloud-config
+ ubuntu_advantage:
+    token: <your_token>
+    enable: [esm-infra]
+ 
+ - Focal, Jammy and Noble
+ #cloud-config
+ ubuntu_pro:
+    token: <your_token>
+     enable: [esm-infra]  
+ 
+ 
+ * This uploaded fixes this feature gap by addition supplemental cloud-config 
schema support for ubuntu_pro: key while also retaining support for previous 
ubuntu-advantage and ubuntu_advantage schema.
+ 
+ 
+ [ Test Plan ]
+ 
+ 
+ [ Where problems could occur ]
+ 
+  * This changeset is limited to the cc_ubuntu_pro(formerly
+ cc_ubuntu_advantage) module and will only potentially impact users who
+ provide #cloud-config user-data containing config keys for ubuntu-
+ advantage, ubuntu_advantage or ubuntu_pro. The cc_ubuntu_pro module
+ itself is not run unless the specific configuration keys are provided in
+ user-data or in the image in /etc/cloud/cloud.cfg.d/*.cfg files. On
+ typical system boots, this module is skipped at the beginning of the
+ cc_ubuntu_pro.handle function.
+ 
+ 
+ * Problems could occur in the rename of cc_ubuntu_advantage -> cc_ubunt_pro 
module if there are customized /etc/cloud/cloud.cfg files in an image. If the 
customized /etc/cloud/cloud.cfg file retained the former name ubuntu_advantage, 
and the image maintainer didn't accept upstream packaging change contained here 
to rename ubuntu_advantage -> ubuntu_pro, the cloud-init would skip running the 
ubuntu_pro module during boot. This would only affect custom images launched 
with cloud-config user-data containing pro token attach config and also 
retaninig an unsupported /etc/cloud/cloud.cfg file in their images. The result 
would be that cloud-init would succeed booting , but ignore pro-specific 
configuration from user-data.
+ 
+ 
+ [ Other Info ]
+ 
+ [ Original description ]
+ 
  In upstream cloud-init ubuntu_advantage user-data cloud-config key is
  deprecated in favor of ubuntu_pro to better align with current Ubuntu
  Pro product naming and to avoid confusion in howtos, tutorials or
  tooling when interacting with Ubuntu Pro offerings.
  
  In an effort to standardize product naming across all Ubuntu supported
  releases, we will target a backport of this key deprecation to Xenial
  and Bionic to ensure Ubuntu Pro's releases covered by Extended Security
  Maintenance will also align with active Ubuntu Long Term Support(LTS)
  and interim release configuration keys.
  
- 
- This bug is an SRU process bug representing the intent to backport a limited 
scope of functionality related to the cc_ubuntu_advantage module for better 
Ubuntu Pro support ESM releases. 
+ This bug is an SRU process bug representing the intent to backport a
+ limited scope of functionality related to the cc_ubuntu_advantage module
+ for better Ubuntu Pro support ESM releases.
  
  No other functional changes are intended beyond logged messages, user-
  data schema and config-key deprecation.

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

Title:
  deprecate ubuntu_advantage config key from user-data in favor of
  ubuntu_pro

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to