red-hat-storage / odf-cli

ODF CLI tool
Apache License 2.0
2 stars 10 forks source link

Restore command should work downstream #65

Open parth-gr opened 4 months ago

parth-gr commented 4 months ago
kelson@quorra:~$ oc get cephcluster
NAME                             DATADIRHOSTPATH   MONCOUNT   AGE   PHASE      MESSAGE                    HEALTH      EXTERNAL   FSID
ocs-storagecluster-cephcluster   /var/lib/rook     3          18h   Deleting   Deleting the CephCluster   HEALTH_OK              a45b02f0-5d1c-4d4a-bbc9-80ca55b64e7d
kelson@quorra:~$ odf restore deleted cephcluster
Info: Detecting which resources to restore for crd "cephcluster"
Error: Failed to list resources for crd the server could not find the requested resource
kelson@quorra:~$ odf restore deleted cephcluster ocs-storagecluster-cephcluster 
Info: Detecting which resources to restore for crd "cephcluster"
Error: Failed to list resources for crd the server could not find the requested resource

Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2290320#c18