Skip to content
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

UPSTREAM: <carry>: Reworded logs to indicate non-critical issues and … #67

Merged

Conversation

VaniHaripriya
Copy link

Resolves RHOAIENG-6710

Updated some log messages in DSP server to clearly convey that the reported issues are non-critical and intended for informational purposes only, helping users understand that these messages do not require immediate action.

@openshift-ci openshift-ci bot requested review from amadhusu and gmfrasca July 31, 2024 19:19
@dsp-developers
Copy link

Commit Checker results:

**NOTE**: These are the results of the commit checker scans. 
If these are not commits from upstream kfp, then please ensure
you adhere to the commit checker formatting
commitchecker verson unknown
Validating 1 commits between bbfb5897533403b38ad8956424931868c103b0b0...332712fbb95e9b69bad2b40bc72d28c85866f179

@dsp-developers
Copy link

A set of new images have been built to help with testing out this PR:
API Server: quay.io/opendatahub/ds-pipelines-api-server:pr-67
DSP DRIVER: quay.io/opendatahub/ds-pipelines-driver:pr-67
DSP LAUNCHER: quay.io/opendatahub/ds-pipelines-launcher:pr-67
Persistence Agent: quay.io/opendatahub/ds-pipelines-persistenceagent:pr-67
Scheduled Workflow Manager: quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-67
MLMD Server: quay.io/opendatahub/mlmd-grpc-server:latest
MLMD Envoy Proxy: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2
UI: quay.io/opendatahub/ds-pipelines-frontend:pr-67

@dsp-developers
Copy link

An OCP cluster where you are logged in as cluster admin is required.

The Data Science Pipelines team recommends testing this using the Data Science Pipelines Operator. Check here for more information on using the DSPO.

To use and deploy a DSP stack with these images (assuming the DSPO is deployed), first save the following YAML to a file named dspa.pr-67.yaml:

apiVersion: datasciencepipelinesapplications.opendatahub.io/v1alpha1
kind: DataSciencePipelinesApplication
metadata:
  name: pr-67
spec:
  dspVersion: v2
  apiServer:
    image: "quay.io/opendatahub/ds-pipelines-api-server:pr-67"
    argoDriverImage: "quay.io/opendatahub/ds-pipelines-driver:pr-67"
    argoLauncherImage: "quay.io/opendatahub/ds-pipelines-launcher:pr-67"
  persistenceAgent:
    image: "quay.io/opendatahub/ds-pipelines-persistenceagent:pr-67"
  scheduledWorkflow:
    image: "quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-67"
  mlmd:  
    deploy: true  # Optional component
    grpc:
      image: "quay.io/opendatahub/mlmd-grpc-server:latest"
    envoy:
      image: "registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2"
  mlpipelineUI:
    deploy: true  # Optional component 
    image: "quay.io/opendatahub/ds-pipelines-frontend:pr-67"
  objectStorage:
    minio:
      deploy: true
      image: 'quay.io/opendatahub/minio:RELEASE.2019-08-14T20-37-41Z-license-compliance'

Then run the following:

cd $(mktemp -d)
git clone git@github.com:opendatahub-io/data-science-pipelines.git
cd data-science-pipelines/
git fetch origin pull/67/head
git checkout -b pullrequest 332712fbb95e9b69bad2b40bc72d28c85866f179
oc apply -f dspa.pr-67.yaml

More instructions here on how to deploy and test a Data Science Pipelines Application.

@@ -61,7 +61,7 @@ func NewScheduledWorkflowClientOrFatal(initConnectionTimeout time.Duration, clie
if err == nil {
return swfClientInstance
}
glog.Infof("(Expected when in cluster) Failed to create scheduled workflow client by out of cluster kubeconfig. Error: %v", err)
glog.Infof("Non-critical error: Failed to create scheduled workflow client by out of cluster kubeconfig. This can be safely ignored if running in-cluster.Error: %v", err)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just delete this line. I don't see the point of it.

backend/src/apiserver/main.go Outdated Show resolved Hide resolved
backend/src/apiserver/main.go Outdated Show resolved Hide resolved
@dsp-developers
Copy link

Commit Checker results:

**NOTE**: These are the results of the commit checker scans. 
If these are not commits from upstream kfp, then please ensure
you adhere to the commit checker formatting
commitchecker verson unknown
Validating 0 commits between d0ee4ca4524ece9f201581345ef791a1d4ee8e68...0374852ea62b5cc8b0d99a4b38aef4fc362970d5

@dsp-developers
Copy link

Change to PR detected. A new PR build was completed.
A set of new images have been built to help with testing out this PR:
API Server: quay.io/opendatahub/ds-pipelines-api-server:pr-67
DSP DRIVER: quay.io/opendatahub/ds-pipelines-driver:pr-67
DSP LAUNCHER: quay.io/opendatahub/ds-pipelines-launcher:pr-67
Persistence Agent: quay.io/opendatahub/ds-pipelines-persistenceagent:pr-67
Scheduled Workflow Manager: quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-67
MLMD Server: quay.io/opendatahub/mlmd-grpc-server:latest
MLMD Envoy Proxy: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2
UI: quay.io/opendatahub/ds-pipelines-frontend:pr-67

…provide informational context

Signed-off-by: vmudadla <vmudadla@redhat.com>
@dsp-developers
Copy link

Commit Checker results:

**NOTE**: These are the results of the commit checker scans. 
If these are not commits from upstream kfp, then please ensure
you adhere to the commit checker formatting
commitchecker verson unknown
Validating 0 commits between d0ee4ca4524ece9f201581345ef791a1d4ee8e68...250cff4fe6071260f6cce944c842a5de4a739308

@gregsheremeta
Copy link

/lgtm
/approve

thanks!

@dsp-developers
Copy link

Commit Checker results:

**NOTE**: These are the results of the commit checker scans. 
If these are not commits from upstream kfp, then please ensure
you adhere to the commit checker formatting
commitchecker verson unknown
Validating 0 commits between d0ee4ca4524ece9f201581345ef791a1d4ee8e68...3fe68376ce94d1ca7354d68bae7d530a899b7b1c

@openshift-ci openshift-ci bot added the lgtm label Aug 13, 2024
Copy link

openshift-ci bot commented Aug 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gregsheremeta

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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-merge-bot openshift-merge-bot bot merged commit a8fbbd2 into opendatahub-io:master Aug 13, 2024
3 checks passed
@dsp-developers
Copy link

Commit Checker results:

**NOTE**: These are the results of the commit checker scans. 
If these are not commits from upstream kfp, then please ensure
you adhere to the commit checker formatting
commitchecker verson unknown
Validating 0 commits between a8fbbd2020d280f4cab31245a9639a350207b3f9...3fe68376ce94d1ca7354d68bae7d530a899b7b1c

@dsp-developers
Copy link

Change to PR detected. A new PR build was completed.
A set of new images have been built to help with testing out this PR:
API Server: quay.io/opendatahub/ds-pipelines-api-server:pr-67
DSP DRIVER: quay.io/opendatahub/ds-pipelines-driver:pr-67
DSP LAUNCHER: quay.io/opendatahub/ds-pipelines-launcher:pr-67
Persistence Agent: quay.io/opendatahub/ds-pipelines-persistenceagent:pr-67
Scheduled Workflow Manager: quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-67
MLMD Server: quay.io/opendatahub/mlmd-grpc-server:latest
MLMD Envoy Proxy: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2
UI: quay.io/opendatahub/ds-pipelines-frontend:pr-67

1 similar comment
@dsp-developers
Copy link

Change to PR detected. A new PR build was completed.
A set of new images have been built to help with testing out this PR:
API Server: quay.io/opendatahub/ds-pipelines-api-server:pr-67
DSP DRIVER: quay.io/opendatahub/ds-pipelines-driver:pr-67
DSP LAUNCHER: quay.io/opendatahub/ds-pipelines-launcher:pr-67
Persistence Agent: quay.io/opendatahub/ds-pipelines-persistenceagent:pr-67
Scheduled Workflow Manager: quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-67
MLMD Server: quay.io/opendatahub/mlmd-grpc-server:latest
MLMD Envoy Proxy: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2
UI: quay.io/opendatahub/ds-pipelines-frontend:pr-67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants