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

Storgae-offload : populate pod failed on : flag provided but not defined: -source-vm-id

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True

      after manual fixing for this ticket : https://issues.redhat.com/browse/MTV-2828

      Storgae-offload : populate pod failed on : flag provided but not defined: -source-vm-id

       [kni@f01-h07-000-r640 results]$ oc get pods -n1vm-500gb-offload-cycle2
      NAME                                              READY   STATUS    RESTARTS   AGE
      1vm-500gb-offload-cycle2-vm-28599-pvcinit-ww6tg   0/1     Pending   0          68s
      populate-bf96889a-5ac8-40bd-89be-85338a5a5983     0/1     Error     0          44s  
      [kni@f01-h07-000-r640 results]$ oc logs  pods/populate-bf96889a-5ac8-40bd-89be-85338a5a5983 -n1vm-500gb-offload-cycle2
      flag provided but not defined: -source-vm-id
      Usage of /bin/vsphere-xcopy-volume-populator:
        -add_dir_header
          	If true, adds the file directory to the header of the log messages
        -alsologtostderr
          	log to standard error as well as files (no effect when -logtostderr=true)
        -cr-name string
          	The Custom Resouce Name
        -cr-namespace string
          	The Custom Resouce Namespace
        -http-endpoint :8080
          	The TCP network address where the HTTP server for diagnostics, including metrics and leader election health check, will listen (example: :8080). The default is empty string, which means the server is disabled.
        -kubeconfig string
          	Path to a kubeconfig. Only required if out-of-cluster.
        -log_backtrace_at value
          	when logging hits line file:N, emit a stack trace
        -log_dir string
          	If non-empty, write log files in this directory (no effect when -logtostderr=true)
        -log_file string
          	If non-empty, use this log file (no effect when -logtostderr=true)
        -log_file_max_size uint
          	Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
        -logtostderr
          	log to standard error instead of files (default true)
        -master string
          	The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.
        -metrics-path /metrics
          	The HTTP path where prometheus metrics will be exposed. Default is /metrics. (default "/metrics")
        -one_output
          	If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true)
        -owner-name string
          	Owner Name, passed by the populator - the PVC Name
        -owner-uid string
          	Owner UID, passed by the populator - the PVC ID
        -pvc-size string
          	The size of the PVC, passed by the populator - unused
        -secret-name string
          	Secret name the populator controller uses it to mount env vars from it. Not for use internally
        -skip_headers
          	If true, avoid header prefixes in the log messages
        -skip_log_headers
          	If true, avoid headers when opening log files (no effect when -logtostderr=true)
        -source-vmdk string
          	File name to populate
        -stderrthreshold value
          	logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true) (default 2)
        -storage-hostname string
          	The storage vendor api hostname (default "10.1.41.137")
        -storage-password string
          	The storage vendor api password (default "netapp123")
        -storage-skip-ssl-verification string
          	skip the storage ssl verification
        -storage-username string
          	The storage vendor api username (default "admin")
        -storage-vendor-product string
          	The storage vendor to work with. Current values: [vantara, ontap, primera3par]
        -target-namespace string
          	Contents to populate file with
        -v value
          	number for the log level verbosity
        -version
          	display the version string
        -vmodule value
          	comma-separated list of pattern=N settings for file-filtered logging
        -vsphere-hostname string
          	vSphere's API hostname (default "rhev-node-13.rdu2.scalelab.redhat.com")
        -vsphere-password string
          	vSphere's API password (default "Power123!")
        -vsphere-username string
          	vSphere's API username (default "administrator@vsphere.local")

              rgolan1@redhat.com Roy Golan
              tzahia Tzahi Ashkenazi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: