Cloud init rsyslog module will not start on FreeBSD

Bug #1798055 reported by Carlo Maiorano on 2018-10-16
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Medium
Unassigned

Bug Description

Cloud Provider: Openstack
Cloud init configuration is embedded in the attached archive
Cloud init platform: FreeBSD
FreeBSD image built using CLOUDWARE.

Cloud init port (net/cloud-init) on FreeBSD will not load rsyslog module because is not in configuration file.

Scott Moser (smoser) wrote :

@Carlo,
Can you verify that the module works on FreeBSD ?

If so we can quite easily add it to the stock upstream config file generated for FreeBSD.

Carlo Maiorano (charliemaiors) wrote :

@Scott,
I've tried to test the single module but it didn't run because there are no rsyslog in configuration (The configuration is in the archive for the previous submission). I've also attached the dump from cloud-init analyze command.

I kind of suspect it will work, but before enablilng it by default in
freebsd i'd like to know that it does.

Can you do:
a.) install rsyslog package
b.) add config to /etc/cloud/cloud.cfg.d/rsyslog.cfg with something like:

rsyslog:
   configs:
        - content: "*.* @@192.0.2.1:10514"
          filename: 01-example.conf

c.) run cloud-init single --name=rsyslog --frequency=always

then verify if you have the expected content in
/etc/rsyslog.d/01-example.conf and that rsyslog was restarted.

if it gets restarted and reads those configs, then i'm really happy to
enable it.

On Wed, Oct 17, 2018 at 8:21 AM Carlo Maiorano <email address hidden> wrote:
>
> @Scott,
> I've tried to test the single module but it didn't run because there are no rsyslog in configuration (The configuration is in the archive for the previous submission). I've also attached the dump from cloud-init analyze command.
>
> ** Attachment added: "dumps.tar.gz"
> https://bugs.launchpad.net/cloud-init/+bug/1798055/+attachment/5202190/+files/dumps.tar.gz
>
> --
> You received this bug notification because you are a member of Canonical
> Cloudware, which is subscribed to cloud-init.
> Matching subscriptions: cloud-init bugs
> https://bugs.launchpad.net/bugs/1798055
>
> Title:
> Cloud init rsyslog module will not start on FreeBSD
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cloud-init/+bug/1798055/+subscriptions

Carlo Maiorano (charliemaiors) wrote :

Yes it works !!!
Rsyslogd was already installed when I made the FreeBSD Openstack image.

do3meli (d-info-e) on 2019-02-06
tags: added: freebsd
Ryan Harper (raharper) on 2019-07-18
Changed in cloud-init:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers