Skip to content

redhat-marketplace/support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Red Hat Marketplace support scripts

A collection of scripts that enable you to gather diagnostic information from your OpenShift cluster for use by Red Hat Marketplace support for debugging issues.

Scripts

Script Purpose
rhm_operator_dump.sh Troubleshooting issues with Red Hat Marketplace operator installation and cluster registration
rhm_metering_dump.sh Troubleshooting issues with Red Hat Marketplace operator's usage and metering.

Pre-requisites

  1. Valid login session to your OpenShift cluster (oc login)
  2. oc CLI in your PATH (export PATH=$PATH:/path/to/oc/binary)
  3. Assign execute permissions to the script (chmod +x ./rhm_operator_dump.sh, chmod +x ./rhm_metering_dump.sh)

Download scripts

The following commands will save the scripts in your current working directory.

  curl -L https://raw.githubusercontent.com/redhat-marketplace/support/blob/main/scripts/rhm_operator_dump.sh --output rhm_operator_dump.sh
  curl -L https://raw.githubusercontent.com/redhat-marketplace/support/blob/main/scripts/rhm_metering_dump.sh --output rhm_metering_dump.sh

Make scripts executable

  chmod +x ./rhm_operator_dump.sh
  chmod +x ./rhm_metering_dump.sh 

Usage examples

  ./rhm_operator_dump.sh > operator_dump.txt
  ./rhm_metering_dump.sh > metering_dump.txt

Development

Long-term discussions and bug reports are maintained via GitHub Issues. Code review is done via GitHub Pull Requests.

Pull Requests should clearly describe two things:

  1. The problem they attempt to solve
  2. How the author went about solving the problem

Please run shellcheck before creating a pull request.

Resources

About

Red Hat Marketplace support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages