Skip to content
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

Add support for arbitrary kickstart file injection into ISOs (HMS-3879) #4135

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

@achilleas-k achilleas-k force-pushed the images/update/user-kickstarts branch 2 times, most recently from d6a0d49 to e068cac Compare May 21, 2024 12:02
@achilleas-k
Copy link
Member Author

Rebased on #4157

@achilleas-k achilleas-k requested review from ondrejbudai and removed request for ondrejbudai May 21, 2024 16:04
@achilleas-k achilleas-k marked this pull request as ready for review May 22, 2024 11:02
@achilleas-k achilleas-k force-pushed the images/update/user-kickstarts branch from e068cac to 078cbac Compare May 22, 2024 11:03
@ochosi ochosi changed the title Add support for arbitrary kickstart file injection into ISOs Add support for arbitrary kickstart file injection into ISOs (HMS-3879) May 23, 2024
@achilleas-k achilleas-k force-pushed the images/update/user-kickstarts branch 2 times, most recently from 7ab0e49 to c870e00 Compare May 23, 2024 12:22
thozza
thozza previously approved these changes May 23, 2024
Copy link
Member

@thozza thozza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@achilleas-k
Copy link
Member Author

  - package osbuild-119-1.20190819git4dbf8e2.fc38.noarch requires (osbuild-selinux if selinux-policy-targeted), but none of the providers can be installed

🤔
https://gitlab.com/redhat/services/products/image-builder/ci/osbuild-composer/-/jobs/6922670338#L710

@achilleas-k
Copy link
Member Author

Seems the issue is actually

  - nothing provides selinux-policy >= 38.33-1.fc38 needed by osbuild-selinux-119-1.20190819git4dbf8e2.fc38.noarch
  - nothing provides selinux-policy-base >= 38.33-1.fc38 needed by osbuild-selinux-119-1.20190819git4dbf8e2.fc38.noarch

@thozza
Copy link
Member

thozza commented May 23, 2024

Seems the issue is actually

  - nothing provides selinux-policy >= 38.33-1.fc38 needed by osbuild-selinux-119-1.20190819git4dbf8e2.fc38.noarch
  - nothing provides selinux-policy-base >= 38.33-1.fc38 needed by osbuild-selinux-119-1.20190819git4dbf8e2.fc38.noarch

The osbuild repo (and CI building RPMs) probably uses newer rpmrepo snapshots with newer selinux-policy package.

@achilleas-k
Copy link
Member Author

ah of course, didn't think of that. Thanks!

schutzbot and others added 5 commits May 23, 2024 17:24
---
updated-dependencies:
- dependency-name: cloud.google.com/go/compute
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: cloud.google.com/go/storage
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/hashicorp/go-retryablehttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: github.com/openshift-online/ocm-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: github.com/osbuild/images
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: github.com/vmware/govmomi
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Pulling in (among others):
- osbuild/images#700
    - Blueprint User customization change required.
- osbuild/images#705
@achilleas-k
Copy link
Member Author

Pulled in #4147

thozza
thozza previously approved these changes May 23, 2024
ondrejbudai
ondrejbudai previously approved these changes May 23, 2024
Copy link
Member

@ondrejbudai ondrejbudai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@achilleas-k achilleas-k dismissed stale reviews from ondrejbudai and thozza via 6433b8f May 23, 2024 17:08
@achilleas-k
Copy link
Member Author

Also found the issue that I noticed here: #4147 (comment)

openssl gets installed as a dependency of the osbuild-composer-tests but
it might not update openssh at the same time, which can cause a version
mismatch when running ssh-keygen:

  OpenSSL version mismatch. Built against 30000000, you have 30200010

This is currently happening in CentOS Stream 9 so let's make sure
openssh is up to date before running ssh-keygen.
@achilleas-k achilleas-k force-pushed the images/update/user-kickstarts branch from 6433b8f to 7551bb8 Compare May 23, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants