Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-36271

VMExport download: should reject the command when --output is not specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • CNV v4.16.0
    • CNV v4.15.0
    • Storage Platform
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • Storage Core Sprint 248, Storage Core Sprint 249
    • No

      Description of problem:

      --output is a mandatory flag for *virtctl vmexport download* command, but if it's not used - we will get the output right to the terminal tab, and it will look really bad. 
      
      We should protect the user from this. 
      

      Version-Release number of selected component (if applicable):

      4.15
      
      

      How reproducible:

      Always
      
      

      Steps to Reproduce:

      1. Make sure you don't need any info in your terminal tab
      2. Create a VM or PVC
      3. Run: 
      virtctl vmexport download vm-export-pvc --pvc=cirros-dv-source-ocs
      
      

      Actual results:

      Very bad output, and this is only a tiny part of it: �����������������������������������������������������������������������������������_/���y��<u�'��&
      ��
      $q��D5�$����{�H�
                      �,�@|�+�^���݃n�I'�9$�>���@�4��S�]��S��UP���~���w��&/}|��~�f���}v�'��ݿy��}�O?��o��=��?��7>��s�$c��H����o�������k������_���ӿx��w���w�y��?{/ɫo���O�ɛ�֯��o�֯�����o����������'���׾ӿ��}�{�����h�JΟ��{Իd}�l��]��K�w��.9�%���|�\��]r�K^��/�Z���_5�����
                   �?O��'yH�'돶?����.�.���?�~���'�O�w���������Ð�Q�q����cRƤ��^�d�z~~J��aJ�ᕧ��s�sR���'��'Kr�$Kc>�����[���n��n��n��|�J�W����a�2�R�FW)�*ul�i�2�R�F�W)�*un�e���R�FOyv�)����t%�k����%�o���
                                                                                                                                                                                                     %uh����%ul���L%uj����%un���,%ui�g��g��Ͽ澫y�j��kJ_S���Ps?�<
                 �����5u||~5Ք��N�>ה��΍�Ԕ��.��uJ֩Y7��ҭS�F��)�:�o�a�2�S�F�)�:ul�i�2�S�F��)�:un�e���S�F�&%��l��oR�Mj���&�ߤ��>lR�M����&eܤ��>mR�M����&eޤ΍�lR�M���٦d��m���}��C�m|��)�6�|~5lS�m����6eܦ��>mS�m����6eަ΍�lS�m���٥d��]��w)�.�k�~���R�Fv)�.uh�q�2�R�F�v)�.uj�y�2�R�F_v)�.ui��S�O;��>�ۧv���S�}j���>eا�>�S�}����>eڧN�>�S�}����>e٧.��CJ�94�?�t�Ԯ��CJH�8�
                                                                                                        �ԡ��C�xH:�L�ԩ��C�|H�9�,�ԥ�sL�15����}w�Cwl\�ǔ���?>���)�1uh��2S�F��)�1uj���2S�F_�)�1ui��RrJͩq�����5zJ�O�}����:4�xJO�c�O���:5�|J�O�s�/��唺4z�)9�|E^��~�|����8�m�������������������������������������������������������������������������������������������
      

      Expected results:

      Error saying you must specify the --output file (or having a default output file like *disk.img.gz*
      
      

      Additional info:

      
      

              rh-ee-alromero Alvaro Romero
              jpeimer@redhat.com Jenia Peimer
              Jenia Peimer Jenia Peimer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: