OCPBUGS-2197: OCPBUGS-2122: update: Inject proxy data for firstboot#3370
Conversation
|
@cgwalters: This pull request references Jira Issue OCPBUGS-2197, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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. |
|
Not tested manually, but this seems sufficiently obvious to just toss up directly and let CI cover the non-proxy paths. If I correctly read the incantation from the cluster-bot spellbook (i.e. "test upgrade #3370 quay.io/openshift-release-dev/ocp-release:4.12.0-ec.4-x86_64 proxy"), then https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-origin-installer-launch-aws-modern/1580175797228933120 will test an upgrade with a proxy enabled from this. |
|
/jira refresh |
|
@cgwalters: This pull request references Jira Issue OCPBUGS-2197, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
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. |
|
This should also fix https://issues.redhat.com/browse/OCPBUGS-2122 and https://issues.redhat.com/browse/OCPBUGS-2245 . Running proxy job that we have in payload to get ci coverage. |
|
@sinnykumari: trigger 1 job(s) for the /payload-(job|aggregate) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/d36a5440-4a30-11ed-8a6d-c80c3c04d9f0-0 |
|
/jira refresh |
|
@sinnykumari: This pull request references Jira Issue OCPBUGS-2197, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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. |
|
/hold |
|
another attempt to also include OCPBUGS-2122 (after fixing target version) |
|
@sinnykumari: This pull request references Jira Issue OCPBUGS-2197, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
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. |
|
/payload-job periodic-ci-openshift-release-master-nightly-4.12-e2e-aws-ovn-proxy |
|
@stbenjam: trigger 1 job(s) for the /payload-(job|aggregate) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/cc239600-4a40-11ed-9565-03f2d9f9e442-0 |
|
Ah no, we actually need to inject the proxy environment into the container, not the systemd unit. |
The least invasive fix for ensuring we get the proxy setup in the unit. Closes: https://issues.redhat.com/browse/OCPBUGS-2197
1d7cf67 to
9f87ef8
Compare
|
/payload-job periodic-ci-openshift-release-master-nightly-4.12-e2e-aws-ovn-proxy |
|
@cgwalters: trigger 1 job(s) for the /payload-(job|aggregate) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/73e432c0-4a44-11ed-8d4a-c499e8ef7fb4-0 |
|
unit test failed, periodic job failure could be related to that. |
|
Logs are in the installer log-bundle, it shows this: Is that the right place? Looks like rpm-ostree rebase is run in pkg/daemon/update.go - is that getting the proxy settings? |
We actually now have three places this needs to be handled confusingly:
Both the latter two should be fixed now, let's see. /payload-job periodic-ci-openshift-release-master-nightly-4.12-e2e-aws-ovn-proxy |
|
@cgwalters: trigger 1 job(s) for the /payload-(job|aggregate) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/7e6a16a0-4a59-11ed-8c70-d303a279425c-0 |
|
latest proxy job failed during m-c-d-firstboot: |
|
/test e2e-hypershift |
|
/payload-job periodic-ci-openshift-release-master-nightly-4.12-e2e-aws-ovn-proxy |
|
@cgwalters: trigger 1 job(s) for the /payload-(job|aggregate) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/2752b7d0-4a8d-11ed-869b-464ef0df4424-0 |
|
OK, hopping into a 4.11 cluster's node that is set up with a proxy, and manually overriding rpm-ostree+ostree+skopeo, I can verify that injecting the |
|
Ohh...I think I see the problem, somehow we're not getting the new drop-in. It may have to do with the fact that we have two separate drop-ins for rpm-ostreed? Digging |
In the new OS update happy path, it's rpm-ostreed.service which is pulling the container image, not the MCD. We need to inject the proxy env into that service, in the same way we were doing in the past for `pivot.service` etc.
708a6f3 to
53da993
Compare
|
/payload-job periodic-ci-openshift-release-master-nightly-4.12-e2e-aws-ovn-proxy |
|
@cgwalters: trigger 1 job(s) for the /payload-(job|aggregate) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/7f8a8c70-4af6-11ed-881f-c35a64ef7d02-0 |
|
Thanks for working on this! It also helps openstack installations with proxy. I tested it manually |
|
Yep, looking at the payload job, we're now past the install phase! 🎉 Man...this not working on the first try because that obscure template inheritance issue just completely undermined my confidence, and I'm glad the problem was just something silly and not anything fundamental. |
|
/hold cancel |
|
yep, looking at install log, This was tricky, thanks for getting this fixed! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, sinnykumari The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/override ci/prow/e2e-aws |
|
/override ci/prow/e2e-aws |
|
@cgwalters: Overrode contexts on behalf of cgwalters: ci/prow/e2e-agnostic-upgrade, ci/prow/e2e-aws DetailsIn response to this:
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. |
|
@cgwalters: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-2197 has been moved to the MODIFIED state. DetailsIn response to this:
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. |
|
@cgwalters: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
The least invasive fix for ensuring we get the proxy setup in the unit.
Closes: https://issues.redhat.com/browse/OCPBUGS-2197