[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642636#comment-13642636
 ] 

ASF subversion and git services commented on CLOUDSTACK-601:
------------------------------------------------------------

Commit 2f40a90c53067c3901cf9e5c9a33309907e48aab in branch refs/heads/master 
from [~ashutoshk]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2f40a90 ]

Multiple fixes to marvin framework

1. adding hypervisor information to configs
    TODO: support for multi-hypervisor zones?
2. CLOUDSTACK-601: Marvin unicode decode errors when running mysql
queries via dbClient
3. adding keypair support for remotessh client

Signed-off-by: Prasanna Santhanam <[email protected]>

                
> Marvin unicode decode errors when running mysql queries via dbClient
> --------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-601
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-601
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Test Tools
>            Reporter: Prasanna Santhanam
>            Assignee: Girish Shilamkar
>             Fix For: 4.2.0
>
>
> When forming dbQueries with results from the management server API response 
> we see the following unicode error from mysql-connector-python
> Traceback (most recent call last):
>   File "/root/cloudstack-oss_new/test/integration/smoke/test_snapshots.py", 
> line 246, in test_01_snapshot_root_disk
>     % str(snapshot.id<http://snapshot.id>)
>   File "/usr/local/lib/python2.7/site-packages/marvin/dbConnection.py", line 
> 35, in execute
>   File "/usr/local/lib/python2.7/site-packages/mysql/connector/__init__.py", 
> line 44, in Connect
>     return MySQLConnection(*args, **kwargs)
>   File 
> "/usr/local/lib/python2.7/site-packages/mysql/connector/connection.py", line 
> 106, in __init__
>     self.connect(**kwargs)
>   File 
> "/usr/local/lib/python2.7/site-packages/mysql/connector/connection.py", line 
> 325, in connect
>     self._open_connection()
>   File 
> "/usr/local/lib/python2.7/site-packages/mysql/connector/connection.py", line 
> 292, in _open_connection
>     self._ssl)
>   File 
> "/usr/local/lib/python2.7/site-packages/mysql/connector/connection.py", line 
> 150, in _do_auth
>     charset=charset, client_flags=client_flags)
>   File "/usr/local/lib/python2.7/site-packages/mysql/connector/protocol.py", 
> line 87, in make_auth
>     '\x00' * 23 + auth[0] + auth[1] + auth[2]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xa2 in position 1: 
> ordinal not in range(128)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to