Our old documentation had this: https://docs.cloud-init.io/en/24.1/development/module_creation.html including the line "__doc__ = get_meta_doc(meta)".
That line was included in every single module for generating our upstream documentation. This ceased in 24.2. In 24.2, this function had no more meaningful use. It was literally just a waste of cycles because we generated documentation differently at that point. In 24.4, we removed that "get_meta_doc()" function entirely. The regression in 24.4 happened because that call still existed in somebody's private custom module that was dropped in and not shared upstream. If they had used that function, they would have complained after 24.2, but they complained in 24.4 because that call is now resulting in a traceback preventing cloud-init from running at all. I'm sure people copy and pasted this file from our documentation in order to make new modules. For modules that stayed private to a company, they probably just didn't remove that line because the code worked when they used it. They don't want to update their code to remove that line, they just want cloud-init to stop crashing. -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
