Skip to content

Restore Quorum documentation has incorrect cmd usage #77

@kelsonw1

Description

@kelsonw1

According to [1], it's stated to use odf mons restore-quorum c, which doesn't seem to be valid:

Management and troubleshooting tools for ODF clusters.

Usage:
  odf [command]

Available Commands:
  get         Get ODF configuration
  help        Help about any command
  purge-osd   Permanently remove an OSD from the cluster.
  set         Set ODF configuration
  subvolume   Manages subvolumes

Flags:
      --context string              Openshift context to use
  -h, --help                        help for odf
      --kubeconfig string           Openshift config path
  -n, --namespace string            Openshift namespace where the StorageCluster CR is created (default "openshift-storage")
      --operator-namespace string   Openshift namespace where the ODF operator is running

Use "odf [command] --help" for more information about a command.

Reviewing [2], we see the command should be odf restore mon-quorum <mon_id>. Is the code being updated or are the docs incorrect?

[1] https://github.com/red-hat-storage/odf-cli/blob/main/docs/mons.md#restore-quorum
[2]https://github.com/red-hat-storage/odf-cli/blob/main/cmd/odf/restore/mon_quorum.go

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