Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.

[TEST] Enable internal encryption - #1263

Closed
nak3 wants to merge 6 commits into
openshift:release-nextfrom
nak3:test1
Closed

nak3 wants to merge 6 commits into
openshift:release-nextfrom
nak3:test1

Conversation

@nak3

@nak3 nak3 commented Sep 30, 2022

Copy link
Copy Markdown

This is another pattern to be verified.

@openshift-ci
openshift-ci Bot requested review from alanfx and skonto September 30, 2022 01:28
@openshift-ci

openshift-ci Bot commented Sep 30, 2022

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nak3

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 Sep 30, 2022
@nak3

nak3 commented Sep 30, 2022 •

Copy link
Copy Markdown
Author

Passed the test when setting the configuration in the default CR. It means the issue seems setting the tls config before all pod available rather than activator restart.

https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_knative-serving/1263/pull-ci-openshift-knative-serving-release-next-411-e2e-aws-ocp-tls-411/1575658608937406464

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 1, 2022
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 3, 2022
@nak3

nak3 commented Oct 3, 2022

Copy link
Copy Markdown
Author

/test 411-e2e-aws-ocp-tls-411

@nak3

nak3 commented Oct 3, 2022

Copy link
Copy Markdown
Author

The root cause was just too fast to restart activator and the internal-encryption in configmap was not propagated yet.

Failed log

{"severity":"INFO","timestamp":"2022-10-03T11:34:14.158356253Z","logger":"activator","caller":"activator/main.go:323","message":"InternalEncryption is not enabled yet.","commit":"8387bc5","knative.dev/controller":"activator","knative.dev/pod":"activator-7c78b79b79-29bl4"}

success log

@openshift-ci

openshift-ci Bot commented Oct 3, 2022

Copy link
Copy Markdown

@nak3: 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/47-e2e-aws-ocp-47 65ed37c link true /test 47-e2e-aws-ocp-47
ci/prow/46-e2e-aws-ocp-46 65ed37c link true /test 46-e2e-aws-ocp-46
ci/prow/411-e2e-aws-ocp-tls-411 65ed37c link true /test 411-e2e-aws-ocp-tls-411

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.

@skonto

skonto commented Oct 4, 2022 •

Copy link
Copy Markdown

@nak3 If internal encryption is not properly setup then user workloads or tests will not work but the websocket failure is irrelevant isnt it? Does the cm propagation issue cause other problems?

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 4, 2022
@openshift-merge-robot

Copy link
Copy Markdown

@nak3: PR needs rebase.

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.

@nak3

nak3 commented Oct 4, 2022

Copy link
Copy Markdown
Author

If internal encryption is not properly setup then user workloads or tests will not work but the websocket failure is irrelevant isnt it?
The websocket failure is irrelevant. And I actually think that the websocket error is not a problem as the activator (websocket) re-connects to the autoscaler when it fails.

Does the cm propagation issue cause other problems?

No, I think activator & internal-encryption change needs to restart but other components do not need to restart so the slow propagation does not cause any issue.

@skonto

skonto commented Oct 4, 2022 •

Copy link
Copy Markdown

@nak3

No, I think activator & internal-encryption change needs to restart but other components do not need to restart so the slow propagation does not cause any issue.

So this fix (configmap fix) is not going to unblock/fix #1262, correct? In #1262 things are failing due to the websocket issue.

@serverless-qe
serverless-qe force-pushed the release-next branch 2 times, most recently from b898d70 to fcd5662 Compare October 8, 2022 00:37
@serverless-qe
serverless-qe force-pushed the release-next branch 3 times, most recently from bac3cf1 to 661c720 Compare October 11, 2022 00:34
@nak3 nak3 closed this Oct 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants