Skip to content

Error when running must-gather.sh #3

@trbryant2

Description

@trbryant2

I'm trying to troubleshoot an issue with Microclimate where the acmeairmainservicejava sample won't get past the "Building Container image has been built successfully" stage. I've tried using the must-gather.sh script, but get an error when I run it. I've pasted the output below:

root@icpmaster:~# ./serviceability/must-gather.sh -n microclimate-ns -s -r microclimate-trb

Microclimate Must Gather: 0.0.1

This script will gather the following information and store it in a file on your system at the optionally specified output location, which defaults to a generated name in the current directory where you've copied this script to.
All Microclimate related install information: including pods, Kubernetes' view of secrets (which does not include secret data), basic persistent volume information (which does not include data), and basic deployed application information (which does not include its data or source code).
In sharing the results (which you must do manually!) you agree that you are happy to share this information with the distributor (e.g. IBM).
Your version of bash, the result of uname -a, and your docker version will also be gathered.
It is your responsiblity to ensure no sensitive data is provided before sharing it!

Context "mycluster-context" modified.
Checking for kubectl and helm pointing to a cluster
Release name: microclimate-trb
Namespace: microclimate-ns
Output location: microclimate-trb-microclimate-ns-20190314145834-logs.txt
Tiller namespace: kube-system
error: expected 'exec POD_NAME COMMAND [ARG1] [ARG2] ... [ARGN]'.
POD_NAME and COMMAND are required arguments for the exec command
See 'kubectl exec -h' for help and examples.
error: expected 'exec POD_NAME COMMAND [ARG1] [ARG2] ... [ARGN]'.
POD_NAME and COMMAND are required arguments for the exec command
See 'kubectl exec -h' for help and examples.
Output location is microclimate-trb-microclimate-ns-20190314145834-logs.txt
root@icpmaster:~#

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