On Sep 1, 2015, at 9:17 AM, Rajani Karuturi <rajani.karut...@citrix.com> wrote:
> Where did you give cloudstack apikey and secret? > Did you give AWS keys both at AWS configure and ec2-register? yes you need to do both… $ aws configure ….> give your keys $ ec2stack-register ….> give your keys That step is a bit clumsy right now > > ~Rajani > > > > On 01-Sep-2015, at 10:16 am, Rohit Yadav > <rohit.ya...@shapeblue.com<mailto:rohit.ya...@shapeblue.com>> wrote: > > > On 28-Aug-2015, at 4:34 pm, Rajani Karuturi > <rajani.karut...@citrix.com<mailto:rajani.karut...@citrix.com>> wrote: > > $ ec2stack-register http://localhost:5000<http://localhost:5000/> cs_api_key > cs_secret_key > $ aws ec2 describe-images --endpoint=http://localhost:5000 > # it gave the below error message > # Unable to locate credentials. You can configure credentials by running "aws > configure”. > $ aws configure # gave AWS api and secret key > $ aws ec2 describe-images --endpoint=http://localhost:5000 > # this is the output I see > # localhost - - [28/Aug/2015 16:25:24] "POST / HTTP/1.1" 401 - > # ‘RequestID’ > > Something went wrong with registering the user, use this to register the > apikey/secretkey: > > curl -d AWSSecretKey=yoursecretkey -d AWSAccessKeyId=yourapikey -d > Action=RegisterSecretKey http://localhost:5000<http://localhost:5000/> > > Regards, > Rohit Yadav > Software Architect, ShapeBlue > > > > > M. +91 88 262 30892 | > rohit.ya...@shapeblue.com<mailto:rohit.ya...@shapeblue.com> > Blog: bhaisaab.org<http://bhaisaab.org/> | Twitter: @_bhaisaab > > > > > Find out more about ShapeBlue and our range of CloudStack related services > > IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> > CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> > CloudStack Software > Engineering<http://shapeblue.com/cloudstack-software-engineering/> > CloudStack Infrastructure > Support<http://shapeblue.com/cloudstack-infrastructure-support/> > CloudStack Bootcamp Training > Courses<http://shapeblue.com/cloudstack-training/> > > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based upon > its contents, nor copy or show it to anyone. Please contact the sender if you > believe you have received this email in error. Shape Blue Ltd is a company > incorporated in England & Wales. ShapeBlue Services India LLP is a company > incorporated in India and is operated under license from Shape Blue Ltd. > Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is > operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company > registered by The Republic of South Africa and is traded under license from > Shape Blue Ltd. ShapeBlue is a registered trademark. >