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 Sat, 06 Oct 2012 20:15:03 GMT

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

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

Good point, so the actual bug is that is does not detect that encryption is already setup.
That warrants its own ticket, can you raise one? This
 fix is still usefull for complex passwords I guess.
                
> 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
>             Fix For: 4.0.0
>
>
> > 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