Thank you so much for filing the bug and making cloud-init better.

From the provided traceback, it looks like this is a private DataSourceUI that 
isn't upstream in cloud-init importing getLogger from cloudinit.log which no 
longer exists in our upstream repository as of commit 
https://github.com/canonical/cloud-init/commit/40bfa351c09a71d9cdcf036b201a62894c3acc84

Given that this module method was not used anymore by any upstream code
in cloud-init, we felt it best to purge unused methods to avoid ongoing
maintenance of functions that are not necessary for current cloud-init
to continue functioning.

My initial preliminary suggestion would be to have the team/person
developing DataSourceUI `import logging` module directly. Longer-term,
if the use-case for this datasource warrants it, it may be worth
discussing with the upstream team in the Libera.chat #cloud-init channal
about trying to upstream this dataasource to ensure changes in cloud-
init don't adversely affect private datasources.

Please let us know if either of these suggestions are not possible to
correct this traceback in your environment.

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

Title:
  AttributeError: module 'cloudinit.log' has no attribute 'getLogger'

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


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

Reply via email to