@racb this was missing SRU documentation as far as the previous bionic
upload was concerned as we thought originally this upload may be taken
direct into esm-infra pockets.


But, because this supplemental cloud-config user-data key is required at 
initial instance launch in non-pro images, providing a package update in 
esm-infra doesn't provide non-pro images with the ability to use the unified 
`ubuntu_pro:` key at initial launch.

I have since added the full SRU template to describe the needs as
verification steps to establish that both old config key and new config
key are allowed to ensure no regressing for users trying to launch and
attach non-pro images to Ubuntu Pro.


Per your deprecation comment in bionic, the deprecation treatment in bionic is 
only a debug level log that leaves a breadcrumb to inform that you probably 
shouldn't be using the ubuntu-advantage or ubuntu_advantage keys long term as 
upgrades to the next stable release may have dropped that functionality in the 
more recent LTS. 

Generally deprecated behavior is not ever something cloud-init will drop
across and SRU boundary. We will continue to retain original behavior
where ever possible.  But, by announcing that it is a deprecated
feature, someone who may be thinking of upgrading to a newer release of
Ubuntu such as Focal++ can be better aware that this deprecated behavior
may cause warnings or be dropped across that Ubuntu release upgrade
boundary.

To reinforce this same type of debug level behavior in other active
stable releases (focal ++), we have also recently added a feature flag
in cloud-init on stable releases to provide this same mechanism of only
logging debug level messages for deprecated features[1] which allows
each stable downstream release to declare the cloud-init package version
boundary at which each deprecated message is considered a deprecation
warning level log versus just a debug level log.


References:
[1] 
https://github.com/canonical/cloud-init/blob/ubuntu/jammy/cloudinit/features.py#L90-L122

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to