cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-5949) Remove unused field vnc_password from user_vm_view
Date Wed, 03 Dec 2014 22:48:12 GMT


ASF subversion and git services commented on CLOUDSTACK-5949:

Commit 1716067dddf20e434cdbfac69e19da7b71fea89d in cloudstack's branch refs/heads/master from
[;h=1716067 ]

CLOUDSTACK-5949: remove unused vnc_password from user_vm_view view to avoid decryption bottleneck.

> Remove unused field vnc_password from user_vm_view
> --------------------------------------------------
>                 Key: CLOUDSTACK-5949
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>            Reporter: Koushik Das
>            Assignee: Koushik Das
>            Priority: Critical
>             Fix For: 4.3.0
> vnc_password is an encrypted field. During any list VM query this field is decrypted
and then returned. In a scaled up environment if many simultaneous list VM queries are run
then this may result in blocked threads as shown below. A single instance of StandardPBEByteEncryptor
is used for encryption/decryption. Due to this all decrypt calls during list VM queries get
blocked as the decrypt method is thread safe (see
> "catalina-exec-83" daemon prio=10 tid=0x00007eff300b1000 nid=0x6b9e waiting for monitor
entry [0x00007efee294a000]
> java.lang.Thread.State: BLOCKED (on object monitor)
> at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(
> waiting to lock <0x000000070416a398> (a javax.crypto.Cipher)
> at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(
> at
> at

This message was sent by Atlassian JIRA

View raw message