Skip to content

golang-1.10/Dockerfile: add systemd-devel for MCO journal bindings - #2783

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
runcom:add-systemd-devel
Feb 7, 2019
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
runcom:add-systemd-devel

Conversation

@runcom

@runcom runcom commented Feb 5, 2019

Copy link
Copy Markdown
Member

We're using the systemd journal bindings in the MCO and we need to pull in systemd-devel for C headers.
Ref: openshift/machine-config-operator#381 and openshift/machine-config-operator#335

/cc @cgwalters @jlebon

@stevekuznetsov @smarterclayton ptal

Signed-off-by: Antonio Murdaca [email protected]

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 5, 2019
@runcom
runcom force-pushed the add-systemd-devel branch from ff5cf58 to 5bfbaf6 Compare February 5, 2019 14:57
@jlebon

jlebon commented Feb 5, 2019

Copy link
Copy Markdown
Member

For more background/motivation: the MCD today essentially chroots into the mounted host's rootfs to perform operations there. Journal bindings means better host logs at the cluster level (e.g. openshift/machine-config-operator#335 simply proxies logs to the container so one doesn't need to ssh into the node to figure out why pivot failed).

@ashcrow

ashcrow commented Feb 5, 2019

Copy link
Copy Markdown
Member

/assign @bbguimaraes

@ashcrow

ashcrow commented Feb 5, 2019

Copy link
Copy Markdown
Member

/assign @stevekuznetsov

@cgwalters

Copy link
Copy Markdown
Member

Huh, I hadn't realized the build image had accumulated a log of random dependencies; e.g. mercurial? Since we're shipping libvirt-devel here we might as well indeed ship systemd-devel.

@cgwalters

Copy link
Copy Markdown
Member

/approve

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

/retest

1 similar comment
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

/retest

@jlebon

jlebon commented Feb 6, 2019

Copy link
Copy Markdown
Member

Ping? 📞
Can we get someone to review this?

@ashcrow

ashcrow commented Feb 7, 2019

Copy link
Copy Markdown
Member

/assign @smarterclayton

@smarterclayton

Copy link
Copy Markdown
Contributor

It’s not random, go uses it for go get.

If you have a legit need for systemd-devel it’s fine to add it. We used to have it for Kubelet until that code switched to pure go.

/approve

@smarterclayton

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 7, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ashcrow, cgwalters, runcom, smarterclayton

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ashcrow, cgwalters, runcom, smarterclayton

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 7, 2019
@openshift-merge-robot
openshift-merge-robot merged commit 2733daa into openshift:master Feb 7, 2019
@runcom
runcom deleted the add-systemd-devel branch February 7, 2019 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants