Public bug reported:

[ Impact ]

In 24.4, cloud-init made changes to document generation that removed the
need for a function called 'get_meta_doc()' that was used in document
generation. This resulted in a breaking change for any custom drop-in
modules following older best practices (e.g., https://docs.cloud-
init.io/en/23.4/development/module_creation.html#example). A stub has
been added to ensure that custom modules are no longer broken.

[ Test Plan ]

- Create an instance with a custom module that includes
`get_meta_doc()`. Ensure the instance boots without error.

[ Where problems could occur ]

If custom code provided by a customer were to use the results of
function, it would still be broken, but that shouldn't cause any new
problems.

[ Other Info ]
Upstream PR: https://github.com/canonical/cloud-init/pull/5953

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: cloud-init (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: cloud-init (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Affects: cloud-init (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Affects: cloud-init (Ubuntu Oracular)
     Importance: Undecided
         Status: New

** Also affects: cloud-init (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: cloud-init (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: cloud-init (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: cloud-init (Ubuntu Noble)
   Importance: Undecided
       Status: New

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

Title:
  Removal of "get_meta_doc()" breaks custom modules

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


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

Reply via email to