-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[BUG] Creating uiIngress fails, logging not showing details #2167
Comments
@tcassaert Thanks for reporting the bug. Would you like to contribute it? The error message should be wrapped and return. spark-operator/internal/controller/sparkapplication/controller.go Lines 672 to 676 in 7785107
|
@ChenYi015 Should this be done with keeping the |
@tcassaert I think we can keep using the if err != nil {
return fmt.Errorf("failed to create web UI service: %v", err)
} |
I've deployed a version with the logging:
So to me it seems that it wants to use the legacy ingress in my case: spark-operator/internal/controller/sparkapplication/web_ui.go Lines 49 to 55 in 9f0c08a
I'm not entirely sure why though, as all other Ingresses in my cluster are |
Description
When creating a SparkApplication with the
uiIngress
enabled, it fails to create the ingress:Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behavior
The operator is able to create the Ingress. If it fails, the logging should show the reason why it fails.
Actual behavior
The operator fails to create the Ingress and the logging isn't showing any relevant information about why it's failing.
Environment & Versions
Spark Operator App version: v2.0.0-rc.0
Helm Chart Version: v2.0.0-rc.0
Kubernetes Version: 1.25.7
Apache Spark version: 3.5.2
The text was updated successfully, but these errors were encountered: