← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1815030] [NEW] FreeBSD: Unable to determine distribution

 

Public bug reported:

The util.py currently is not so FreeBSD friendly as it always prints the
following warnings:

2019-02-07 11:02:02,324 - util.py[WARNING]: Unable to determine
distribution, template expansion may have unexpected results

This is obviously getting printed for each stage and most likely due to
the fact that the get_linux_distro() function is getting called for
FreeBSD.

We might should change that function so it will also handle the FreeBSD
case and not fail. I did not further trace this back so it might be that
it should not even call the get_linux_distro() and use another method as
it is not really a Linux.

** Affects: cloud-init
     Importance: Undecided
         Status: New


** Tags: freebsd

** Tags added: freebsd

-- 
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/1815030

Title:
  FreeBSD: Unable to determine distribution

Status in cloud-init:
  New

Bug description:
  The util.py currently is not so FreeBSD friendly as it always prints
  the following warnings:

  2019-02-07 11:02:02,324 - util.py[WARNING]: Unable to determine
  distribution, template expansion may have unexpected results

  This is obviously getting printed for each stage and most likely due
  to the fact that the get_linux_distro() function is getting called for
  FreeBSD.

  We might should change that function so it will also handle the
  FreeBSD case and not fail. I did not further trace this back so it
  might be that it should not even call the get_linux_distro() and use
  another method as it is not really a Linux.

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


Follow ups