This is the expected behavior and it has nothing to do with ssh. `image-
download` default's output is stdout. In order to avoid 'gibberishing'
the terminal, you should redirect the output to a file.

Unfortunately, we can't do anything about the terminal being completely
messed up after the image is dumped to stdout, AFAIK.

I don't think we should change this behavior, it's useful to pipe
image's output.

** Changed in: glance
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1314705

Title:
  image-download fails causes terminal text to gibberish

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

Bug description:
  Description of problem:

  Glance image-download fails causing ssh terminal text to gibberish. 
  Tested using ssh directly to Glance server, as well as ssh to cloud 
controller (separate server). Tested from two different remote hosts running 
two different terminal clients, not a host/ssh/terminal issue.

  Version-Release number of selected component (if applicable):
  RHEL 6.5
  openstack-glance-2013.2.3-2.el6ost.noarch
  python-glanceclient-0.12.0-2.el6ost.noarch
  python-glance-2013.2.3-2.el6ost.noarch

  How reproducible:
  Every time

  Steps to Reproduce:
  1. Upload an image        (Glance backend is Gluster based)
  2. # glance image-download <image_ID>
  3. After a short delay a few seconds terminal text turn to gibberish. 

  Actual results:
  After a few seconds of delay the screen fills with: 
                                
  @2o�xw��4�emuu�s�R���S!����Q�P��. 
��▒��[b3�p7b�!X;��ԌĎɡ-u�q�%����Mao�1E�.1�x▒��=�ؽ��@)�~� ���   
�����-��t���؏)���w��W�[▒���ߕ�o▒�F��OlR/��1b��x%�#F�|��0�1���U#ң֍�tc��zF���� 
�▒Ȕq��I�J�sP)���ʸJ▒8m�"a߰�4��0�"*��}$▒J#��\:T2z�J▒�S�c&p�3$o2n7i��t.Ob�����6q%����I�����*X��_jl|H4���q[d�e��le��ѿ�,YJ���}˄cM��������
                          
  �/{ˌ���,k��p�_▒���|� IA�z�g��w��:Ȼ  
�B�3��d�'�u��▒����qj�vP�&��T�ȄL0<�.��������S�ßU                                 

                                             
  Expected results:

  Image should download successfully without gibberishing ssh session.

  Additional info:

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1314705/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to