Skip to content

Files

must-gather

LVM must-gather

lvm-must-gather is a tool built on top of OpenShift must-gather that expands its capabilities to gather LVM Operator information.

Usage

oc adm must-gather --image=quay.io/lvms_dev/lvms-must-gather:latest

The command above will create a local directory with a dump of the lvm state.

You will get a dump of:

  • The LVM Operator namespaces (and its children objects)
  • All namespaces (and their children objects) that belong to any LVM resources
  • All LVM CRD's definitions

How to Contribute

Contribution Flow

Developers must follow these steps to make a change:

  1. Fork the openshift/lvm-operator repository on GitHub.
  2. Create a branch from the master branch, or from a versioned branch (such as release-4.2) if you are proposing a backport.
  3. Make changes.
  4. Ensure your commit messages include sign-off.
  5. Push your changes to a branch in your fork of the repository.
  6. Submit a pull request to the openshift/lvm-operator repository.
  7. Work with the community to make any necessary changes through the code review process (effectively repeating steps 3-7 as needed).

To test the changes in must-gather follow these steps:

  1. Run make lvms-must-gather
  2. It will create an image named quay.io/lvms_dev/lvm-must-gather:latest
  3. Tag it and push it to your image repository to use it with the oc adm command

Commit and Pull Request Messages