cancel
Showing results for 
Search instead for 
Did you mean: 

First AI Project AI Core: Execution does not write Log

TillHeinen
Participant
0 Kudos

Hi,

I am building my first AI Project (Create Your First Machine Learning Project using SAP AI Core) --> Quick Start for Your First AI Project Using SAP AI Core

I connected GitHub to SAP AI Core, checked the sync status of my app, created scenarios and workflows.

But when displaying the Logs after execution, the Log is empty.

Expected content of Log: "Yes......"

as coded print("Yes.....")

apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
  name: first-pipeline-natth
  annotations:
    scenarios.ai.sap.com/description: "Introduction to SAP AI Core"
    scenarios.ai.sap.com/name: "Tutorial"
    executables.ai.sap.com/description: "Greets the user"
    executables.ai.sap.com/name: "Hello Pipeline"
  labels:
    scenarios.ai.sap.com/id: "learning"
    ai.sap.com/version: "2.0"
spec:
  entrypoint: mypipeline
  templates:
  - name: mypipeline
    steps:
    - - name: greet
        template: greeter

  - name: greeter
    container:
      image: docker.io/python:latest
      command:
        - python3
        - '-c'
      args:
       - |
        print("Yes.....")<br>

Thanks for your support!

Till

Accepted Solutions (1)

Accepted Solutions (1)

abhijithbabu
Discoverer

The logs of the execution are visible only while the execution is in RUNNING state. When the execution is in COMPLETE, DEAD, OR STOPPED state, the log will be automatically deleted. In the demo shown in the tutorial, the logs are visible when the execution status is RUNNING.

Once the execution is COMPLETE, DEAD or STOPPED, the log will be cleared. See screenshot below.

JoseMon
Discoverer
0 Kudos
I have the same issue.
JoseMon
Discoverer
0 Kudos

The logs appear one minute later.

Answers (0)