You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Jamal Mohamed <ja...@yahoo.com> on 2014/01/29 02:17:54 UTC

'lein deploy-storm --start --name mycluster' FAILED...

Hi folks,

We are trying to deploy storm cluster into Amazon EC2 cloud using the 
below script duly filled. We got the private and public key files from 
amazon's 'your security credentials' page, section 'X.509 certificates'.


************** SCRIPT START *************************

(defpallet
  :services
  {
   :default {
             :blobstore-provider "aws-s3"
             :provider
 "aws-ec2"
             :environment {:user {:username "storm"  ; this must be "storm"
                                  :private-key-path "$YOUR_PRIVATE_KEY_PATH$"
                                  :public-key-path "$YOUR_PUBLIC_KEY_PATH$"}
                           :aws-user-id "$YOUR_USER_ID$"}
             :identity
 "$YOUR_AWS_ACCESS_KEY$"
             :credential "$YOUR_AWS_ACCESS_KEY_SECRET$"
             :jclouds.regions "$YOUR_AWS_REGION$"
             }
    })
**************** SCRIPT END *************************

'lein deploy-storm...' FAILS with the following ERROR:
"key should start with ssh-rsa"

Can one of you help us resolve this ERROR please? In particular, we would like to know:
1. Are we generating the correct set of keys from Amazon? If not, please elaborate how to get the right set of keys.
2. Should we save the keys in a specific directory with a specific file name? Please elaborate.
3. Any other ERRORs that users commonly run into when deploying storm into EC2 cloud that we should be aware of and how to resolve the same - 
pointer to FAQ or some archive in this context will also help.

Best,Jamal