Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-3624

Improve error handling/logging when mallform partamaerts set on storagemap

XMLWordPrintable

    • Future Sustainability
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected

      When a "Storage secret" tied to a source/target mapping under a storagemap, includes a wrong password as expected migrations using that secret fail. The populator pod spits out the error pasted below, can we improve the log so as to suggest/point the user in the right direct to re-check the password set on the Storage secret? 

      Wrong password on populator logs shows up as: 
      W1029 09:53:11.650325 1 client_config.go:667] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
      F1029 09:53:15.938001 1 vsphere-xcopy-volume-populator.go:87] failed to initialize Ontap storage mapper with unable to get details for SVM vserver-ecosystem-mtv; &{<nil>} (*models.ErrorResponse) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface

              rh-ee-aweinsto Amit Weinstock
              tshefi@redhat.com Tzach Shefi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: