Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OKD4.7] Install FCOS 34 kernel headers from kernel-devel via machine-config like in RHCOS #842

Closed
devzeronull opened this issue Aug 30, 2021 · 0 comments

Comments

@devzeronull
Copy link

Hi,

is there a working way to install Fedora CoreOS Kernel-headers through a machineconfig in OKD?

The method as suggested with Red Hat CoreOS from OpenShift, described in falcosecurity/falco#1505, by deploying it with a machine config like:

apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
  labels:
    machineconfiguration.openshift.io/role: worker
  name: worker-extensions
spec:
  extensions:
    - kernel-devel

and

apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
  labels:
    machineconfiguration.openshift.io/role: master
  name: master-extensions
spec:
  extensions:
    - kernel-devel

doesn't seem to work, the MCO stucks degraded with missing packages:

error running rpm-ostree install --allow-inactive kernel-devel: Checking out tree fb99ff5...doneEnabled rpm-md repositories: coreos-extensionsrpm-md repo 'coreos-extensions' (cached); generated: 2021-06-29T10:22:06ZImporting rpm-md...doneerror: Packages not found: kernel-devel: exit status 1

Any productive-ready idea despite building custom images would be appreciated :)

Best regards

@okd-project okd-project locked and limited conversation to collaborators Aug 30, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants