incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo Trippaers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-268) cloud-setup-encryption dies with a python exception
Date Fri, 05 Oct 2012 18:54:03 GMT

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

Hugo Trippaers commented on CLOUDSTACK-268:
-------------------------------------------

The only reference to this script in the code is here:

./server/src/com/cloud/upgrade/dao/Upgrade2214to30.java:                throw new CloudRuntimeException("Encryption
is not enabled. Please Run cloud-setup-encryption to enable encryption");

                
> cloud-setup-encryption dies with a python exception
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-268
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-268
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Install and Setup
>    Affects Versions: 4.1.0
>            Reporter: Hugo Trippaers
>            Assignee: Hugo Trippaers
>            Priority: Minor
>
> > sudo cloud-setup-encryption
> Preparing /etc/cloud/management/db.properties                                       
      [ OK ]
> Processing encryption ...                                                           
      Traceback (most recent call last):
>   File "/usr/bin/cloud-setup-encryption", line 266, in <module>
>     o.run()
>   File "/usr/bin/cloud-setup-encryption", line 255, in run
>     self.processEncryptionStuff()
>   File "/usr/bin/cloud-setup-encryption", line 215, in processEncryptionStuff
>     encryptDBPassword()
>   File "/usr/bin/cloud-setup-encryption", line 204, in encryptDBPassword
>     self.putDbProperty('db.cloud.password', formatEncryptResult(encrypt(dbPasswo    
      rd)))
>   File "/usr/bin/cloud-setup-encryption", line 188, in encrypt
>     return runCmd(cmd).strip('\n')
>   File "/usr/bin/cloud-setup-encryption", line 51, in runCmd
>     raise Exception(stderr)
> Exception: /bin/sh: -c: line 0: syntax error near unexpected token `('
> /bin/sh: -c: line 0: `java -classpath /usr/share/java/cloud-jasypt-1.8.jar org.j    
      asypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input=ENC(nuxRTKA9hSfV1y5   
       pJGYV4vYShq8QyT5H) password=password verbose=false'

--
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

Mime
View raw message