Skip to content

Possible configuration issue, unable to get logs #5168

@paul42

Description

@paul42

Environment details:

used k3s (from rancher) to set up 2 node kubernetes cluster on centos7 vms, remote.

Steps to reproduce the issue:

  1. use k3s create a cluster with two nodes
  2. use helm to install chart for openwhisk
  3. label one node with 'core' and one with invoker

Provide the expected results and outputs:

expected: wsk activation logs -l would have most recent logs from invokes
expected:

Provide the actual results and outputs:

in the hello.js example I'm unable to get any output from a console.log('test') as well as dotnet core examples

Additional information you deem important:

this is a deployment that is not on your standard cloud provider like aws/azure/gke, so is there anything I can check to see where logs are saved?

I noticed on another issue about logs that the command wskadmin syslog get was mentioned, I tried the following and got no such files:

kubectl -n openwhisk -ti exec owdev-wskadmin -- wskadmin syslog get -g *
grep: /var/log/dotnet-install.sh/dotnet-install.sh_logs.log: No such file or directory
grep: /var/log/getRuntimeAction.js/getRuntimeAction.js_logs.log: No such file or directory
grep: /var/log/hello.js/hello.js_logs.log: No such file or directory
grep: /var/log/helloDotNet.zip/helloDotNet.zip_logs.log: No such file or directory
grep: /var/log/helloWorldAction.js/helloWorldAction.js_logs.log: No such file or directory

sorry if this is a bit of a stretch, but are there any values I need to change on my helm charts to fix where it puts things? or should I just do a helm uninstall and reinstall and try again? the invoking and uploading of code is working great so far, just... no logs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions