Skip to content

Conversation

@andfasano
Copy link
Contributor

@andfasano andfasano commented Feb 2, 2022

During the bootstrap, proxy related variables should be already injected in the service by https://github.com/openshift/installer/blob/master/data/data/bootstrap/files/etc/systemd/system.conf.d/10-default-env.conf.template.
In addition, proxy environment variable should be already passed to the container by podman

@openshift-ci openshift-ci bot requested review from ardaguclu and sadasu February 2, 2022 16:14
@andfasano
Copy link
Contributor Author

cc @zhouhao3 @rhjanders

@ardaguclu
Copy link
Member

Good catch!

/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 3, 2022
@zhouhao3
Copy link
Contributor

zhouhao3 commented Feb 8, 2022

lgtm, I'll test it later.

@zhouhao3
Copy link
Contributor

zhouhao3 commented Feb 8, 2022

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 8, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ardaguclu, elfosardo, zhouhao3

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

@hardys
Copy link

hardys commented Feb 11, 2022

I did wonder why we needed the explicit proxy settings in #5569 - thanks @andfasano for pointing out how the global variables are defined.

This lgtm, but we need test confirmation from @zhouhao3 given this effectively reverts #5569

I'm unclear atm why that was needed, https://bugzilla.redhat.com/show_bug.cgi?id=2045927 says this change in behavior was related to the day-1 networking changes, but I'm unclear why the icc started via startironic.sh won't just use the global environment variables mentioned?

@andfasano if we merge openshift-metal3/dev-scripts#1341 ASAP can we get a new CI job to prove this definitely works (and stays working)?

@andfasano
Copy link
Contributor Author

andfasano commented Feb 11, 2022

I'm unclear atm why that was needed, https://bugzilla.redhat.com/show_bug.cgi?id=2045927 says this change in behavior was related to the day-1 networking changes, but I'm unclear why the icc started via startironic.sh won't just use the global environment variables mentioned?

I think the main problem was captured in openshift/image-customization-controller#33, since ICC didn't use the proxy vars for the ironic-agent.service
(note that there is also an improvement by @zaneb on that, see openshift/image-customization-controller#39)

@andfasano if we merge openshift-metal3/dev-scripts#1341 ASAP can we get a new CI job to prove this definitely works (and stays working)?

Yes, I've got a pending PR ready for that (openshift/release#25912) - and planned also to open a new one for the installer repo as well

@hardys
Copy link

hardys commented Feb 11, 2022

I think the main problem was captured in openshift/image-customization-controller#33, since ICC didn't use the proxy vars for the ironic-agent.service

Ah Ok so we only actually needed the icc fix - @zhouhao3 please can you confirm if you're happy with this change based on your testing, thanks!

@zaneb
Copy link
Member

zaneb commented Feb 11, 2022

This looks correct, podman passes these vars automagically: https://docs.podman.io/en/latest/markdown/podman-run.1.html#http-proxy
/lgtm
/hold pending testing by @zhouhao3

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 11, 2022
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 11, 2022
@zhouhao3
Copy link
Contributor

zhouhao3 commented Feb 14, 2022

@zhouhao3 please can you confirm if you're happy with this change based on your testing, thanks!
pending testing by @zhouhao3

Sorry for the late reply. I've tested this PR and the change is correct. Podman can correctly pass the proxy into the container.

@elfosardo
Copy link
Contributor

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 22, 2022
@elfosardo
Copy link
Contributor

/retest

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

5 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

13 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 23, 2022

@andfasano: 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-metal-assisted 8cbb6d8 link false /test e2e-metal-assisted
ci/prow/e2e-aws-upgrade 8cbb6d8 link false /test e2e-aws-upgrade

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/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

7 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit b93c2ca into openshift:master Apr 23, 2022
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants