Closed donpenney closed 3 weeks ago
@donpenney: This pull request references Jira Issue OCPBUGS-34089, which is invalid:
Comment /jira refresh
to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.
The bug has been updated to refer to the pull request using the external bug tracker.
/cc @omertuc @tsorya @jc-rh @browsell
/retest
/retest
/lgtm
/retest
/lgtm
/retest
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: browsell
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/override ci/prow/integration
@donpenney: Overrode contexts on behalf of donpenney: ci/prow/integration
@donpenney: Jira Issue OCPBUGS-34089: All pull requests linked via external trackers have merged:
Jira Issue OCPBUGS-34089 has been moved to the MODIFIED state.
This update adds checks to IBU and seedgen to ensure:
Background / Context
IBU requires container storage setup such that it is shared between stateroots. The configuration of the shared storage is up to the user, but the mountpoint target (eg.
/dev/disk/by-partlabel/varlibcontainers
) must be the same on both seed and target SNO.Issue / Requirement / Reason for change
If the seed image is generated on an SNO with a different container storage mountpoint target, the upgraded SNO may fail to boot, as the mountpoint target would not exist.
Solution / Feature Overview
In order to prevent such a configuration mismatch, LCA has been updated to include checks for the container storage setup.
Implementation Details
LCA parses the var-lib-containers.mount service unit to determine the mountpoint target, as defined by the
What
config variable. This path is added to the seed config information, which is included in the seed image label. This label is checked during IBU Prep to ensure that it matches the configuration on the running cluster.