cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koushik Das (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5949) Remove unused field vnc_password from user_vm_view
Date Mon, 27 Jan 2014 09:54:38 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Koushik Das updated CLOUDSTACK-5949:
------------------------------------

    Summary: Remove unused field vnc_password from user_vm_view  (was: Removed unused field
vnc_password from user_vm_view)

> Remove unused field vnc_password from user_vm_view
> --------------------------------------------------
>
>                 Key: CLOUDSTACK-5949
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5949
>             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 http://www.jasypt.org/api/jasypt/1.8/org/jasypt/encryption/pbe/StandardPBEStringEncryptor.html)
> "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(StandardPBEByteEncryptor.java:962)
> waiting to lock <0x000000070416a398> (a javax.crypto.Cipher)
> at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:725)
> at com.cloud.utils.crypt.DBEncryptionUtil.decrypt(DBEncryptionUtil.java:65)
> at com.cloud.utils.db.GenericDaoBase.setField(GenericDaoBase.java:511)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message