← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1745235] Re: distribution detection

 

This bug is believed to be fixed in cloud-init in version 18.3. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1745235

Title:
  distribution detection

Status in cloud-init:
  Fix Released

Bug description:
  Upstream Python has deprecated platform.linux_distribution()[1] and
  the implementation is being removed in 3.7. This has an effect on
  template rendering during install and possibly other places in the
  code during runtime.

  Options are to use an external module [2] or implement logic in cloud-
  init to detect the distribution.

  During a brief IRC discussion on January 24th, 2018, started at
  3:39:23 P.M. EST it was concluded that cloud-init should not have a
  dependency on the external distro module.

  
  [1] https://docs.python.org/3.6/library/platform.html#platform.linux_distribution
  [2] https://github.com/nir0s/distro#distro---a-linux-os-platform-information-api

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


References