← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1819871] [NEW] cloud-init 18.3 not working on FreeBSD platform

 

Public bug reported:

Platform: FreeBSD 11.2-RELEASE amd64, FreeBSD 12.0-RELEASE amd64
cloud-init 18.3 from official ports tree: https://www.freshports.org/net/cloud-init/

seed sample:

network-config:
--
version: 1
config:
    - type: physical
      name: enp0s4
      subnets:
      - type: static
        address: 172.17.0.98/24
        gateway: 172.17.0.98
    - type: nameserver
      address:
      - 8.8.8.8
      search:
      - my.domain


meta-data:
--
instance-id: cloud2-fbsd-01
local-hostname: cloud2-fbsd-01.mycloud.com


guest cloud.cfg settings:

..
system_info:
..
distro: freebsd
..


at cloudinitlocal startup i see:

..
running command ['blkid', '-odevice', '/dev/sr0'] with allowed return codes [0, 2] (
..


cloud-init for some reason doesn't recognize distro settings and try to use Linux-specific command ('glabel' or 'gpart show' for FreeBSD should be used).


Also, when media found, further work leads to:

--
init.py[WARNING]: apply_network_config is not currently implemented for distribution '<class 'cloudinit.distros.freebsd.Distro'>'. Attempting to use apply_network
--

user-data also ignored.


I know that you are not interested in supporting FreeBSD on your own, but why do you hinder the community from improving your product? There are patches to support FreeBSD from different people. Therefore, this issue is also called “feature request” to support FreeBSD. Some large cloud / hosting organizations provide their clients with the FreeBSD platform.

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


** Tags: feature freebsd request

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

Title:
  cloud-init 18.3 not working on FreeBSD platform

Status in cloud-init:
  New

Bug description:
  Platform: FreeBSD 11.2-RELEASE amd64, FreeBSD 12.0-RELEASE amd64
  cloud-init 18.3 from official ports tree: https://www.freshports.org/net/cloud-init/

  seed sample:

  network-config:
  --
  version: 1
  config:
      - type: physical
        name: enp0s4
        subnets:
        - type: static
          address: 172.17.0.98/24
          gateway: 172.17.0.98
      - type: nameserver
        address:
        - 8.8.8.8
        search:
        - my.domain

  
  meta-data:
  --
  instance-id: cloud2-fbsd-01
  local-hostname: cloud2-fbsd-01.mycloud.com

  
  guest cloud.cfg settings:

  ..
  system_info:
  ..
  distro: freebsd
  ..

  
  at cloudinitlocal startup i see:

  ..
  running command ['blkid', '-odevice', '/dev/sr0'] with allowed return codes [0, 2] (
  ..

  
  cloud-init for some reason doesn't recognize distro settings and try to use Linux-specific command ('glabel' or 'gpart show' for FreeBSD should be used).

  
  Also, when media found, further work leads to:

  --
  init.py[WARNING]: apply_network_config is not currently implemented for distribution '<class 'cloudinit.distros.freebsd.Distro'>'. Attempting to use apply_network
  --

  user-data also ignored.

  
  I know that you are not interested in supporting FreeBSD on your own, but why do you hinder the community from improving your product? There are patches to support FreeBSD from different people. Therefore, this issue is also called “feature request” to support FreeBSD. Some large cloud / hosting organizations provide their clients with the FreeBSD platform.

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