Skip to content

Issues with validate application #222

@Shrivaibavi

Description

@Shrivaibavi

I tried to validate cephfs applications and I noted 2 issues

  1. What exact validations are being performed when we use the command "odf dr validate application", it would be good if its listed, rather than just saying application validated.
  2. We noted the validations failed, It would be good if the problems or the reason for the failed validation displayed as the command output
sraghave:odf-cli$ ./bin/odf dr validate application --name ceph1 --namespace openshift-dr-ops -o out
⭐ Using config "config.yaml"
⭐ Using report "out"

🔎 Validate config ...
   ✅ Config validated

🔎 Validate application ...
   ✅ Inspected application
   ✅ Gathered data from cluster "hub"
   ✅ Gathered data from cluster "sraghave-dc2"
   ✅ Gathered data from cluster "sraghave-dc1"
   ✅ Application validated

✅ Validation completed (47 ok, 0 stale, 0 problem)
sraghave:odf-cli$ 
sraghave:odf-cli$ ./bin/odf dr validate application --name ceph2 --namespace openshift-dr-ops -o out
⭐ Using config "config.yaml"
⭐ Using report "out"

🔎 Validate config ...
   ✅ Config validated

🔎 Validate application ...
   ✅ Inspected application
   ✅ Gathered data from cluster "hub"
   ✅ Gathered data from cluster "sraghave-dc1"
   ✅ Gathered data from cluster "sraghave-dc2"
   ❌ Issues found during validation

❌ validation failed (45 ok, 0 stale, 2 problem)

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