Skip to content

NO-JIRA: Set agent DISABLE_IMAGE_POLICY for local installs#1867

Open
bfournie wants to merge 1 commit intoopenshift-metal3:masterfrom
bfournie:local-disable-image-policy
Open

NO-JIRA: Set agent DISABLE_IMAGE_POLICY for local installs#1867
bfournie wants to merge 1 commit intoopenshift-metal3:masterfrom
bfournie:local-disable-image-policy

Conversation

@bfournie
Copy link
Contributor

In CI, for agent-based installations the environment variable OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY is set and this is passed down to assisted-service. When doing local testing we also need to set this environment variable.

@openshift-ci openshift-ci bot requested review from dtantsur and mkowalski March 18, 2026 17:02
@pawanpinjarkar
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 18, 2026
@bfournie bfournie force-pushed the local-disable-image-policy branch from 16b77c1 to 37ad98f Compare March 24, 2026 00:35
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 24, 2026
@openshift-ci
Copy link

openshift-ci bot commented Mar 24, 2026

New changes are detected. LGTM label has been removed.

@openshift-ci
Copy link

openshift-ci bot commented Mar 24, 2026

@bfournie: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-agent-compact-ipv4-iso-no-registry 37ad98f link false /test e2e-agent-compact-ipv4-iso-no-registry
ci/prow/e2e-metal-ipi-ovn-dualstack 37ad98f link false /test e2e-metal-ipi-ovn-dualstack

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@bfournie
Copy link
Contributor Author

bfournie commented Mar 24, 2026

I've tested this with:
1.

export OPENSHIFT_RELEASE_STREAM=4.22
export OPENSHIFT_RELEASE_TYPE=ci

OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY is not set and not needed for install.

export OPENSHIFT_RELEASE_IMAGE=quay.io/openshift-release-dev/ocp-release:4.22.0-ec.3-x86_64
OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY is not set and not needed for install.

export OPENSHIFT_RELEASE_STREAM=4.21
export OPENSHIFT_RELEASE_TYPE=nightly

OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY not needed for install.

export OPENSHIFT_RELEASE_STREAM=4.22
export OPENSHIFT_RELEASE_TYPE=nightly

OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY set and needed for install, otherwise installation will fail.

@andfasano
Copy link
Member

/approve

@openshift-ci
Copy link

openshift-ci bot commented Mar 25, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andfasano

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 openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 25, 2026
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants