-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DSIP-76] Support ssl in netty #16673
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to discuss this first in #16672
I think you miss the code of master-server .The task of other system sholud call other system in master-server . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This requires adding at least one of the following tests to ensure stability.
- cluster-test
- api-test
- e2e-test
I will complete it later |
Is it adding UT, testing functions in the class? |
UT and these tests are different types of tests. You can find the corresponding examples in the following links. |
Thank you |
Yes. You should add more UT. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing docs, unit-test.
...er-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/cases/ssl/SslShellTaskE2ETest.java
Outdated
Show resolved
Hide resolved
- name: SslShellTaskE2ETest | ||
class: org.apache.dolphinscheduler.e2e.cases.ssl.SslShellTaskE2ETest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test case is not running normally, the cluster is not started. You should check it.
https://github.com/apache/dolphinscheduler/actions/runs/11365198466?pr=16673
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test case is not running normally, the cluster is not started. You should check it. https://github.com/apache/dolphinscheduler/actions/runs/11365198466?pr=16673
can you tell me where the log of cluster startup exception is? how to determine if a cluster is starting up properly? thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can take a look at this. https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-e2e/README.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still unaddressed. Don't resolve it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found that all the checks have been passed, why hasn't this problem been resolved yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SslShellTaskE2ETest
is not executed at all in e2e
test cases.
...ct-base/src/main/java/org/apache/dolphinscheduler/extract/base/config/NettyServerConfig.java
Outdated
Show resolved
Hide resolved
...er-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/cases/ssl/SslShellTaskE2ETest.java
Outdated
Show resolved
Hide resolved
ok |
.github/workflows/e2e-k8s.yml
Outdated
strategy: | ||
matrix: | ||
case: | ||
- name: SslShellTaskE2ETest | ||
class: org.apache.dolphinscheduler.e2e.cases.ssl.SslShellTaskE2ETest | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why adding this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add an entrance for running E2E in consolidation, k8s.yml, where the running image is a standalone one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is meaningful for the current e2e-k8s tests. Please remove this modification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to add a new class NettyRpcConfig, and NettySslConfig as a field in NettyRpcConfig, we will add more configuration in the latest.
RegistryConfiguration.class, | ||
NettySslConfig.class}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RegistryConfiguration.class, | |
NettySslConfig.class}) | |
RegistryConfiguration.class}) |
RegistryConfiguration.class, | ||
NettySslConfig.class}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RegistryConfiguration.class, | |
NettySslConfig.class}) | |
RegistryConfiguration.class}) |
@Autowired | ||
NettySslConfig nettySslConfig; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Autowired | |
NettySslConfig nettySslConfig; |
RegistryConfiguration.class, | ||
NettySslConfig.class}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RegistryConfiguration.class, | |
NettySslConfig.class}) | |
RegistryConfiguration.class}) |
@Autowired | ||
NettySslConfig nettySslConfig; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Autowired | |
NettySslConfig nettySslConfig; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this DSIP is to be merged, I believe there is more work to be done.
How will certificates be managed? How will certificate expiration be handled? Is there a certificate rotation and renewal mechanism?
If deploy on K8S through Helm charts, how can SSL be enabled? Are there relevant configuration options in the Helm charts? Can E2E-K8S add corresponding test cases for this?
.github/workflows/e2e-k8s.yml
Outdated
strategy: | ||
matrix: | ||
case: | ||
- name: SslShellTaskE2ETest | ||
class: org.apache.dolphinscheduler.e2e.cases.ssl.SslShellTaskE2ETest | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is meaningful for the current e2e-k8s tests. Please remove this modification.
Quality Gate passedIssues Measures |
close #16688