Bug 228411 - sysutils/py-google-compute-engine: Fixes agent logging to syslog (console)
Summary: sysutils/py-google-compute-engine: Fixes agent logging to syslog (console)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Steve Wills
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2018-05-22 02:02 UTC by Helen Koike
Modified: 2018-05-22 13:59 UTC (History)
1 user (show)

See Also:
koobs: merge-quarterly?


Attachments
Patch to add syslogd file 90-google.conf to py-google-compute-engine (1.52 KB, patch)
2018-05-22 02:02 UTC, Helen Koike
helen.koike: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helen Koike 2018-05-22 02:02:29 UTC
Created attachment 193598 [details]
Patch to add syslogd file 90-google.conf to py-google-compute-engine

The logs of the google agents are going nowhere.

This causes issues to run automated scripts on the images with the daisy tool [2] for the WaitForInstancesSignal step [3] which assumes the messages come from the console (which is the standard for google cloud images).

Fix this by adding the uptream file [1] which configures syslog to send the messages to the console.

[1] https://github.com/GoogleCloudPlatform/compute-image-packages/blob/master/google_config/rsyslog/90-google.conf

[2] https://googlecloudplatform.github.io/compute-image-tools/daisy

[3] https://googlecloudplatform.github.io/compute-image-tools/daisy-workflow-config-spec.html#type-waitforinstancessignal

Please see attached patch.

Thanks
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-05-22 13:05:50 UTC
A commit references this bug:

Author: swills
Date: Tue May 22 13:04:48 UTC 2018
New revision: 470608
URL: https://svnweb.freebsd.org/changeset/ports/470608

Log:
  sysutils/py-google-compute-engine: Fixes agent logging to syslog (console)

  PR:		228411
  Submitted by:	Helen Koike <helen.koike@collabora.com> (maintainer)

Changes:
  head/sysutils/py-google-compute-engine/Makefile
  head/sysutils/py-google-compute-engine/files/90-google.conf.sample
  head/sysutils/py-google-compute-engine/pkg-plist
Comment 2 Steve Wills freebsd_committer freebsd_triage 2018-05-22 13:06:06 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-05-22 13:59:41 UTC
A commit references this bug:

Author: swills
Date: Tue May 22 13:59:01 UTC 2018
New revision: 470616
URL: https://svnweb.freebsd.org/changeset/ports/470616

Log:
  MFH: r470608

  sysutils/py-google-compute-engine: Fixes agent logging to syslog (console)

  PR:		228411
  Submitted by:	Helen Koike <helen.koike@collabora.com> (maintainer)

  Approved by:	ports-secteam (implicit)

Changes:
_U  branches/2018Q2/
  branches/2018Q2/sysutils/py-google-compute-engine/Makefile
  branches/2018Q2/sysutils/py-google-compute-engine/files/90-google.conf.sample
  branches/2018Q2/sysutils/py-google-compute-engine/pkg-plist